/* CACHE-BUST: 2025-01-26-21:45 - FIX: CSS variables for MPO=5, calculated panel width */
/* ==============================
   Vivid Bio Labs — styles.css
   Mobile-first responsive design
   ============================== */

:root {
  /* Brand Colors - Vivid Bio Labs Logo Colors */
  --color-teal: #218d8d;
  --color-green: #2E9B5E;
  --color-dark-teal: #005D6B;
  --color-gradient-emerald: #30C876;
  --color-cascade-teal: #009890;
  --color-charcoal: #063042;
  --color-cool-gray: #F5F7F8;

  /* Form Status Colors */
  --color-success: #2E9B5E;
  --color-error: #e74c3c;
  --color-success-rgb: 46, 155, 94;
  --color-error-rgb: 231, 76, 60;

  /* Service-focused adaptations */
  --navy: var(--color-dark-teal);
  --teal: var(--color-teal);
  --green: var(--color-green);
  --gradient: linear-gradient(135deg, var(--color-teal), var(--color-green));
  --ink: var(--color-charcoal);
  --muted: #5c7780;
  --bg: var(--color-cool-gray);
  --white: #ffffff;
  --card: #ffffff;

  /* Design tokens */
  --radius: 18px;
  --shadow: 0 6px 24px rgba(6, 42, 48, 0.08);

  /* Typography */
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;

  /* Panel System Variables */
  --panel-gap: 2rem;
  --max-panels-per-row: 5;
  --panel-width: calc((100% - (var(--max-panels-per-row) - 1) * var(--panel-gap)) / var(--max-panels-per-row));
  --panel-min-width: calc((1024px - (var(--max-panels-per-row) - 1) * var(--panel-gap)) / var(--max-panels-per-row));
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto
}

a {
  color: var(--teal);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .25rem;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem)
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem)
}

h3 {
  font-size: 1.125rem
}

p {
  margin: .25rem 0 1rem
}

ul {
  margin: .5rem 0 1rem 1.25rem
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  z-index: 999;
  background: #000;
  color: #fff;
  padding: .5rem .75rem;
  border-radius: 8px
}

.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 0
}

.brand {
  display: flex;
  align-items: center;
  color: var(--ink);
  font-weight: 700
}

.brand img {
  width: 120px;
  height: auto
}

.site-nav ul {
  display: flex;
  gap: .75rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0
}

.site-nav a {
  display: inline-block;
  padding: .5rem .75rem;
  border-radius: 12px
}

.site-nav a:hover {
  background: rgba(15, 122, 131, .08);
  text-decoration: none
}

.site-nav .cta {
  background: var(--ink);
  color: #fff
}

.site-nav .cta:hover {
  background: var(--teal)
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  border: 0;
  background: transparent;
  padding: .4rem .5rem;
  border-radius: 10px
}

.nav-toggle .bar {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block
}

@media(min-width:900px) {
  .nav-toggle {
    display: none
  }
}

.site-nav {
  position: fixed;
  inset: 64px 0 auto 0;
  background: var(--white);
  transform: translateY(-140%);
  transition: .25s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08)
}

.site-nav.open {
  transform: translateY(0)
}

.site-nav ul {
  flex-direction: column;
  padding: 1rem
}

@media(min-width:900px) {
  .site-nav {
    all: unset
  }

  .site-nav ul {
    flex-direction: row
  }
}

.hero {
  padding: 3rem 0;
  background: radial-gradient(1200px 800px at 110% -10%, rgba(39, 179, 106, .15), transparent 60%);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr
}

.hero-copy p {
  max-width: 60ch
}

.hero-sub {
  color: var(--muted);
  font-size: .95rem
}

.hero-art {
  width: 280px;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 0 auto
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius)
}

.hero .btn {
  margin-right: .5rem
}

.gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

@media(min-width:900px) {
  .hero-grid {
    grid-template-columns: 1.5fr 1fr
  }
}

.section {
  padding: 1.25rem 0
}

.section-head {
  margin-bottom: 1.25rem
}

/* Legacy card styles - use .panel-grid and .panel-item instead */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.check {
  padding-left: 1rem
}

.check li {
  list-style: none;
  position: relative;
  padding-left: 1.2rem;
}

.check li::before {
  content: "✓";
  color: var(--green);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-family: var(--font-body);
}

.link {
  display: inline-block;
  margin-top: .5rem
}

.accent-bg {
  background: linear-gradient(180deg, #ffffff 0%, #f0fbf5 100%)
}

.r2r {
  display: grid;
  gap: 1rem
}

.steps {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5rem
}

.steps li {
  background: #fff;
  border-radius: 12px;
  padding: .75rem .9rem;
  box-shadow: var(--shadow)
}


.center {
  text-align: center
}

.mt {
  margin-top: 1rem
}

.btn {
  display: inline-block;
  border: 2px solid var(--ink);
  padding: .6rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  transition: .2s
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none
}

.btn.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff
}

.btn.primary:hover {
  background: var(--teal);
  border-color: var(--teal)
}

.btn.ghost {
  background: transparent;
  color: var(--ink)
}

.page-hero {
  padding: 0.5rem 0;
  background: radial-gradient(800px 500px at 110% -10%, rgba(39, 179, 106, .12), transparent 60%)
}

.page-hero h1 {
  margin-bottom: 0.125rem
}

.specs {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr
}

@media(min-width:720px) {
  .specs {
    grid-template-columns: repeat(3, 1fr)
  }
}

.about-grid {
  display: grid;
  gap: 1.5rem
}

@media(min-width:900px) {
  .about-grid {
    grid-template-columns: 1.2fr .8fr
  }
}

.team-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .75rem
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem
}

@media(min-width:900px) {
  .contact-grid {
    max-width: 800px;
    margin: 0 auto
  }
}

.contact-direct {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-direct h2 {
  margin: 0 0 1rem 0;
  color: var(--ink);
  font-size: 1.25rem;
}

.contact-list {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: .5rem;
}

.contact-list a {
  color: var(--teal);
  font-weight: 500;
}

.form .field {
  display: flex;
  flex-direction: column;
  margin-bottom: .75rem
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: .65rem .75rem;
  border: 1px solid #d7e3e7;
  border-radius: 12px;
  background: #fff;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(15, 122, 131, .25);
  border-color: var(--teal)
}

.form .checkbox {
  display: flex;
  align-items: center;
  gap: .5rem
}

.form .help {
  color: var(--muted);
  font-size: .9rem
}

.error {
  color: #a42121;
  font-size: .85rem;
  height: 1rem;
  display: block
}

#formStatus,
#subStatus {
  margin-top: .75rem;
  font-weight: 600
}

.cta-banner {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center
}

.cta-banner .btn {
  margin-top: .5rem
}

.site-footer {
  background: #0e2a30;
  color: #d3e3e7;
  margin-top: 2rem;
  font-size: 0.875rem
}

.site-footer a {
  color: #c6f0e5
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 0
}

@media(min-width:900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    justify-content: space-between;
    padding: 1.5rem 0
  }
}

.foot-links ul,
.foot-contact ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.foot-links li,
.foot-contact li {
  margin: .35rem 0
}

.socials {
  display: flex;
  gap: .5rem;
  margin-top: .5rem
}

.social {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #124a52;
  color: #c6f0e5;
  font-weight: 700
}

.legal {
  border-top: 1px solid #16383f;
  padding: .75rem 0;
  text-align: center;
  font-size: .9rem
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

/* Cookie Consent Banner */
#cookieConsentBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-cool-gray);
  color: var(--color-charcoal);
  box-shadow: 0 -2px 16px rgba(0, 93, 107, 0.08);
  z-index: 9999;
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-body);
  animation: fadeInUp 0.5s;
}

.cookie-banner__content {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner__text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-charcoal);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-banner__button {
  background: linear-gradient(90deg, var(--color-dark-teal) 0%, var(--color-gradient-emerald) 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.75rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: filter 0.2s;
}

.cookie-banner__button:hover {
  filter: brightness(1.1);
}

.cookie-banner__button--reject {
  background: #e0e4e6;
  color: var(--color-charcoal);
  border: 1px solid #bfc9ce;
}

.cookie-banner__button--reject:hover {
  background: #cfd8dc;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media (max-width:600px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .cookie-banner {
    padding: 1rem 0.5rem;
  }
}


/* Breadcrumb Navigation */
.breadcrumb {
  background: #f8f9fa;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e1e4eb;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: #6b7280;
}

.breadcrumb a {
  color: var(--color-teal);
  text-decoration: none;
  font-size: 0.875rem;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Service Badge in Hero */
.page-hero .service-badge {
  display: inline-block;
  margin-bottom: 1rem;
}

/* Solution Features */
.solution-features {
  margin-top: 2rem;
}

.solution-features ul {
  max-width: 600px;
}


/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #e1e4eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 93, 107, 0.1);
}




/* CTA Section */
.cta-section {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0 1rem;
  flex-wrap: wrap;
}

.cta-note {
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .process-step {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Technology Features */
.technology-features {
  margin-top: 2rem;
}

.technology-features ul {
  max-width: 700px;
}



/* Mobile Responsive for new elements */
/* Mobile responsive styles removed - flexbox handles this automatically */



/* Launch Information */
.launch-info {
  max-width: 800px;
  margin: 0 auto;
}

.early-engagement-benefits {
  margin-top: 2rem;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e1e4eb;
}

.early-engagement-benefits h3 {
  color: var(--color-dark-teal);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.early-engagement-benefits ul {
  max-width: 600px;
}

/* Waitlist Benefits */
.waitlist-benefits {
  max-width: 600px;
  margin: 0 auto;
}

.waitlist-benefits ul {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Mobile Responsive for new elements */
@media (max-width: 768px) {
  .early-engagement-benefits {
    padding: 1.5rem;
  }
}

/* Dropdown Navigation */
.site-nav ul {
  position: relative;
}

.site-nav li {
  position: relative;
}

.site-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e1e4eb;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 93, 107, 0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.5rem 0;
}

.site-nav li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav .dropdown {
  display: block !important;
  flex-direction: column !important;
}

.site-nav .dropdown li {
  display: block !important;
  margin: 0;
  width: 100%;
  flex: none !important;
}

.site-nav .dropdown a {
  display: block !important;
  width: 100%;
  padding: 0.75rem 1.5rem;
  color: var(--color-charcoal);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f8f9fa;
  box-sizing: border-box;
}

.site-nav .dropdown a:hover {
  background: #f8f9fa;
  color: var(--color-teal);
  padding-left: 2rem;
}

.site-nav .dropdown li:last-child a {
  border-bottom: none;
}

/* Mobile dropdown navigation */
@media (max-width: 768px) {
  .site-nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #f8f9fa;
    margin-top: 0.5rem;
    border-radius: 0;
    padding: 0;
  }

  .dropdown a {
    padding: 0.75rem 1rem 0.75rem 2rem;
    border-bottom: 1px solid #e1e4eb;
    font-size: 0.8rem;
  }

  .dropdown a:hover {
    padding-left: 2.5rem;
  }
}

/* CACHE-BUST: 2025-01-26-20:45 - LOGIC-DRIVEN: flex: 1 1 210px, min-width: 210px, max-width: 600px */
/* ==============================
   SIMPLIFIED FLEXBOX PANEL SYSTEM
   ============================== */

.panel-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  --max-panels-per-row: 5;
}

.panel-item {
  /* Calculate width: (100% - (gaps)) / count */
  flex: 1 1 calc((100% - (var(--max-panels-per-row) - 1) * 2rem) / var(--max-panels-per-row));

  /* Force wrap on smaller screens */
  min-width: 340px;
  max-width: 100%;
}

/* Optional MPO override classes */
.panel-grid.mpo-2 {
  --max-panels-per-row: 2;
}

.panel-grid.mpo-3 {
  --max-panels-per-row: 3;
}

.panel-grid.mpo-4 {
  --max-panels-per-row: 4;
}

.panel-grid.mpo-5 {
  --max-panels-per-row: 5;
}

.panel-grid.mpo-6 {
  --max-panels-per-row: 6;
}


/* Panel items - consistent styling */
.panel-item {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 93, 107, 0.06);
  border: 1px solid rgba(0, 93, 107, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  /* Ensures equal heights in flex rows */
}

.panel-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 93, 107, 0.1);
}

/* Panel content styling */
.panel-item h3 {
  color: var(--color-dark-teal);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.panel-item p {
  color: var(--color-charcoal);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
  /* Push buttons to bottom */
}

/* Panel badges (for service cards) */
.panel-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.panel-badge.early-access {
  background: rgba(33, 141, 141, 0.1);
  color: var(--teal);
  border: 1px solid rgba(33, 141, 141, 0.2);
}

.panel-badge.coming-soon {
  background: rgba(156, 163, 175, 0.1);
  color: #6b7280;
  border: 1px solid rgba(156, 163, 175, 0.2);
}

/* Panel buttons */
.panel-item .btn {
  margin-top: auto;
  /* Push to bottom */
  align-self: flex-start;
}

/* Capability icons for multi-omic sorting panels */
.capability-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}


/* Trust Section */
.trust-section {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.trust-section h2 {
  color: var(--color-dark-teal);
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Trust icon styling for unified panel system */
.trust-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* Process step numbering for unified panel system */
.panel-item .num {
  display: inline-grid;
  place-items: center;
  background: var(--color-dark-teal);
  color: #fff;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Mobile Responsive for Service Zones */
@media (max-width: 768px) {
  .panel-item.service-zone {
    padding: 1.5rem;
  }

  .panel-item.service-zone h3 {
    font-size: 1.25rem;
  }

  .trust-section h2 {
    font-size: 1.5rem;
  }
}

/* ==============================
   Web3Forms Enhanced Form Styling
   ============================== */

/* Form Message Styling */
.form-message {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.form-message.show {
  opacity: 1;
  transform: translateY(0);
}

.form-message.success {
  background-color: rgba(var(--color-success-rgb), 0.1);
  border: 2px solid var(--color-success);
  color: var(--color-success);
}

.form-message.error {
  background-color: rgba(var(--color-error-rgb), 0.1);
  border: 2px solid var(--color-error);
  color: var(--color-error);
}

/* Form Field Error States */
.form-input.error,
.form-textarea.error,
.form-select.error,
input.error,
textarea.error,
select.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(var(--color-error-rgb), 0.1);
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Button Loading State */
.btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn.loading:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

/* Form Validation Feedback */
.form-input:valid,
.form-textarea:valid,
.form-select:valid,
input:valid,
textarea:valid,
select:valid {
  border-color: var(--color-success);
}

.form-input:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown),
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
  border-color: var(--color-error);
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {

  .form-message,
  .loading-spinner,
  .btn {
    animation: none;
    transition: none;
  }

  .form-message {
    transform: none;
  }
}

/* Success celebration animation */
@keyframes celebrate {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.form-message.success.show {
  animation: celebrate 0.6s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .form-message.success.show {
    animation: none;
  }
}