/* ==========================================================================
   HOMAI DESIGN SYSTEM & STYLESHEET
   Aesthetic: Scandinavian Modern Tech (Clean, Precise, High-End SaaS)
   Colors requested: #12355B, #DEE9FB, #3E76F4, White (#FFFFFF), Black/Dark
   ========================================================================== */

:root {
  --color-navy: #12355B;
  --color-navy-dark: #0A1C30;
  --color-navy-light: #1A477B;
  --color-ice-blue: #DEE9FB;
  --color-ice-subtle: #F4F8FE;
  --color-tech-blue: #3E76F4;
  --color-tech-blue-hover: #2B62DE;
  --color-tech-blue-glow: rgba(62, 118, 244, 0.35);
  
  --color-white: #FFFFFF;
  --color-black: #080E18;
  --color-slate-900: #0F172A;
  --color-slate-800: #1E293B;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748B;
  --color-slate-400: #94A3B8;
  --color-slate-200: #E2E8F0;
  --color-slate-100: #F1F5F9;

  --color-success: #10B981;
  --color-success-bg: #ECFDF5;
  --color-warning: #F59E0B;
  --color-warning-bg: #FFFBEB;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(18, 53, 91, 0.05);
  --shadow-md: 0 4px 14px -2px rgba(18, 53, 91, 0.08), 0 2px 6px -1px rgba(18, 53, 91, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(18, 53, 91, 0.12), 0 4px 12px -2px rgba(18, 53, 91, 0.06);
  --shadow-xl: 0 24px 50px -8px rgba(18, 53, 91, 0.18), 0 12px 24px -4px rgba(18, 53, 91, 0.08);
  --shadow-glow: 0 0 40px rgba(62, 118, 244, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-slate-800);
  background-color: #F8FAFD;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   AMBIENT AURORA GLOW BACKGROUND (Global Page Atmosphere)
   ========================================================================== */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  -webkit-filter: blur(95px);
  will-change: transform, opacity;
}

/* Orb 1: Upper Hero Center Radiance (Vibrant Tech Blue + Cyan Glow) */
.aurora-orb-1 {
  width: clamp(600px, 65vw, 960px);
  height: clamp(450px, 50vw, 720px);
  top: -6vh;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(62, 118, 244, 0.38) 0%, rgba(56, 189, 248, 0.28) 42%, rgba(222, 233, 251, 0.15) 70%, transparent 100%);
  animation: aurora-float-1 14s ease-in-out infinite alternate;
}

/* Orb 2: Left Ambient Glow (Soft Indigo & Sky Blue) */
.aurora-orb-2 {
  width: clamp(520px, 55vw, 850px);
  height: clamp(520px, 55vw, 850px);
  top: 32vh;
  left: -14vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, rgba(147, 197, 253, 0.32) 45%, rgba(222, 233, 251, 0.15) 70%, transparent 80%);
  animation: aurora-float-2 18s ease-in-out infinite alternate;
}

/* Orb 3: Right Ambient Glow (Sky Azure & Subtle Turquoise Aura) */
.aurora-orb-3 {
  width: clamp(540px, 58vw, 880px);
  height: clamp(540px, 58vw, 880px);
  top: 48vh;
  right: -12vw;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.30) 0%, rgba(59, 130, 246, 0.22) 42%, rgba(45, 212, 191, 0.16) 65%, transparent 80%);
  animation: aurora-float-3 16s ease-in-out infinite alternate;
}

@keyframes aurora-float-1 {
  0% { transform: translateX(-50%) scale(1); opacity: 0.9; }
  100% { transform: translateX(-50%) scale(1.08) translateY(24px); opacity: 1; }
}

@keyframes aurora-float-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -25px) scale(1.1); }
}

@keyframes aurora-float-3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-25px, -30px) scale(1.08); }
}

main {
  position: relative;
  z-index: 1;
}

/* Utility Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography & Accent Text */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-tech-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(222, 233, 251, 0.12);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(10, 28, 48, 0.45);
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
}

.site-header .nav-container {
  width: 100%;
  max-width: 100%;
  padding-left: clamp(20px, 3.5vw, 48px);
  padding-right: clamp(20px, 3.5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.brand-logo {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
  transition: var(--transition);
  display: block;
  object-fit: contain;
}

.brand-logo:hover {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5));
  opacity: 0.95;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  text-decoration: none;
  color: var(--color-slate-700);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-tech-blue);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-item:hover {
  color: var(--color-navy);
}

.nav-item:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.btn-primary {
  background-color: var(--color-tech-blue);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(62, 118, 244, 0.28);
}

.btn-primary:hover {
  background-color: var(--color-tech-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(62, 118, 244, 0.38);
}

.btn-demo-nav {
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-size: 0.92rem;
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-navy);
  border-color: rgba(18, 53, 91, 0.15);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-ice-subtle);
  border-color: var(--color-tech-blue);
  color: var(--color-tech-blue);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Hero Section: Modern Centered Typography */
.hero-section {
  position: relative;
  padding: 105px 24px 115px 24px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content-container {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-main-title {
  font-size: clamp(3rem, 6.2vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  text-align: center;
  width: 100%;
}

.hero-gradient-text {
  display: block;
  text-align: center;
  font-size: clamp(3.5rem, 7.4vw, 5.8rem);
  background: linear-gradient(135deg, #12355B 0%, #2563EB 42%, #0284C7 78%, #0EA5E9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 6px;
  letter-spacing: -0.035em;
  margin: 0 auto;
}

.hero-title-sub {
  display: block;
  text-align: center;
  font-size: clamp(2.8rem, 5.8vw, 4.5rem);
  color: var(--color-navy);
  margin-top: 4px;
}

.hero-desc {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: var(--color-slate-600);
  max-width: 660px;
  margin: 0 auto 16px auto;
  font-weight: 400;
  text-align: center;
}

.hero-highlight {
  font-size: clamp(1.1rem, 1.35vw, 1.22rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.55;
  max-width: 660px;
  margin: 0 auto 40px auto;
  text-align: center;
  letter-spacing: -0.01em;
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-cta-prompt {
  font-size: clamp(0.98rem, 1.15vw, 1.06rem);
  font-weight: 600;
  color: #3E5A7B;
  letter-spacing: -0.01em;
  text-align: center;
}

.btn-hero-cta {
  min-width: 226px;
  padding: 18px 56px;
  font-size: 1.24rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, #508BFF 0%, #306FF2 48%, #1A54D4 100%);
  color: var(--color-white);
  border: none;
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.75),
    inset 0 -3px 5px rgba(10, 30, 90, 0.28),
    0 10px 25px -3px rgba(46, 102, 235, 0.42),
    0 4px 10px rgba(46, 102, 235, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.btn-hero-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #5E94FF 0%, #3875F6 48%, #1E5AE0 100%);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.85),
    inset 0 -3px 5px rgba(10, 30, 90, 0.25),
    0 14px 32px -3px rgba(46, 102, 235, 0.52),
    0 6px 14px rgba(46, 102, 235, 0.25);
}

.btn-hero-cta:active {
  transform: translateY(1px);
  box-shadow: 
    inset 0 2px 4px rgba(10, 28, 70, 0.3),
    0 4px 12px rgba(46, 102, 235, 0.3);
}

/* 3 Core Pillars Section */
.pillars-section {
  padding: 40px 0 90px 0;
  background-color: transparent;
  position: relative;
}

.section-badge-wrapper {
  text-align: center;
  margin-bottom: 14px;
}

.section-badge {
  display: inline-block;
  background: var(--color-ice-blue);
  color: var(--color-navy);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--color-navy);
}

.section-subtitle {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
  font-size: 1.1rem;
  color: var(--color-slate-600);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid rgba(18, 53, 91, 0.08);
  box-shadow: 0 10px 30px rgba(18, 53, 91, 0.06), 0 1px 3px rgba(18, 53, 91, 0.04);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(62, 118, 244, 0.4);
  box-shadow: 0 20px 40px rgba(0, 53, 121, 0.12), 0 6px 16px rgba(62, 118, 244, 0.08);
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #00367a;
  background: rgba(0, 54, 122, 0.06);
  border: 1px solid rgba(0, 54, 122, 0.12);
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 18px;
}

.pillar-heading {
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.35;
  margin-bottom: 16px;
  color: var(--color-navy);
}

.pillar-body {
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--color-slate-600);
  margin-bottom: 24px;
}

.pillar-mid-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--color-navy);
  margin: 18px 0 8px 0;
  line-height: 1.4;
}

.pillar-highlight {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 53, 121, 0.08);
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--color-navy);
}

.pillar-highlight strong {
  font-weight: 700;
  color: #0d253f;
}

/* Callout Section Under Cards */
.bottom-callout-section {
  text-align: center;
  margin-top: 84px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.bottom-callout-section .section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--color-navy);
}

.bottom-callout-desc {
  font-size: 1.15rem;
  color: var(--color-slate-600);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 18px auto;
}

.bottom-callout-bold {
  font-size: 1.05rem;
  color: var(--color-navy);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto;
}

.bottom-callout-bold strong {
  font-weight: 700;
  color: #0b2239;
}

.speed-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 8px;
}

.flow-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 1;
}

.flow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-slate-400);
}

.flow-point.active .flow-dot {
  background: var(--color-tech-blue);
  box-shadow: 0 0 0 3px rgba(62, 118, 244, 0.25);
}

.flow-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-slate-600);
  text-align: center;
}

.flow-connector {
  flex-grow: 1;
  height: 2px;
  background: var(--color-slate-200);
  margin: 0 6px;
  margin-bottom: 16px;
  position: relative;
}

.flow-connector.active {
  background: var(--color-tech-blue);
}

.flow-bullet {
  width: 4px;
  height: 4px;
  background: var(--color-white);
  position: absolute;
  top: -1px;
  animation: bulletMove 2s infinite linear;
}

@keyframes bulletMove {
  0% { left: 0; }
  100% { left: 100%; }
}

.flow-caption {
  font-size: 0.72rem;
  color: var(--color-slate-500);
  text-align: center;
  font-weight: 500;
}

.coach-insight-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.insight-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  border: 1px solid var(--color-slate-100);
}

.insight-row.active {
  border-color: rgba(62, 118, 244, 0.3);
  background: var(--color-ice-blue);
}

.insight-row.muted {
  opacity: 0.6;
}

.check-icon {
  font-weight: bold;
  color: var(--color-success);
}

.insight-row.active .check-icon {
  color: var(--color-tech-blue);
}

.insight-text {
  flex-grow: 1;
  font-weight: 600;
  color: var(--color-navy);
}

.insight-time {
  font-size: 0.65rem;
  color: var(--color-slate-400);
}

.ecosystem-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.eco-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  border: 1px solid rgba(18, 53, 91, 0.1);
  color: var(--color-navy);
}

.eco-badge.active {
  background: var(--color-navy);
  color: var(--color-white);
}

.eco-arrow {
  color: var(--color-tech-blue);
  font-weight: bold;
  font-size: 0.75rem;
}

/* Comparison Section */
.comparison-section {
  padding: 80px 0;
  background: #F4F8FD;
}

.comparison-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(18, 53, 91, 0.08);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  overflow: hidden;
}

.comp-col {
  padding: 48px 40px;
}

.comp-traditional {
  background: #FAFBFD;
}

.comp-homai {
  background: #FFFFFF;
}

.comp-vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 50px;
  background: var(--color-ice-subtle);
  border-left: 1px dashed var(--color-slate-200);
  border-right: 1px dashed var(--color-slate-200);
}

.comp-vs-divider span {
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 8px;
  border-radius: var(--radius-full);
}

.comp-header {
  margin-bottom: 28px;
}

.comp-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.comp-tag.danger {
  background: #FEE2E2;
  color: #B91C1C;
}

.comp-tag.success {
  background: var(--color-ice-blue);
  color: var(--color-tech-blue);
}

.comp-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-navy);
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cross-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FEE2E2;
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.comp-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.comp-list p {
  font-size: 0.86rem;
  color: var(--color-slate-600);
  line-height: 1.45;
}

/* Contact & Demo Booking Form Section */
.contact-section {
  padding: 80px 0 110px 0;
  background: transparent;
  color: var(--color-navy);
  position: relative;
  overflow: visible;
}

.contact-glow {
  position: absolute;
  top: 35%;
  right: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(62, 118, 244, 0.16) 0%, rgba(56, 189, 248, 0.08) 45%, transparent 70%);
  pointer-events: none;
}

.contact-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-header-area {
  max-width: 540px;
}

.contact-badge {
  display: inline-block;
  background: var(--color-ice-blue);
  color: var(--color-navy);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid rgba(62, 118, 244, 0.18);
  letter-spacing: 0.04em;
}

.contact-title {
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 20px;
  line-height: 1.1;
}

.contact-intro {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--color-slate-600);
  margin-bottom: 14px;
  font-weight: 450;
}

.contact-subintro {
  font-size: 0.95rem;
  color: var(--color-slate-500);
  margin-bottom: 36px;
}

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(222, 233, 251, 0.8);
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(18, 53, 91, 0.04);
}

.perk-icon {
  font-size: 1.25rem;
}

.perk-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--color-navy);
}

.perk-item span {
  font-size: 0.8rem;
  color: var(--color-slate-600);
}

/* Form Card (Custom Gradient) */
.contact-form-card {
  background: linear-gradient(135deg, #113459 0%, #00367A 100%);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: 
    0 25px 60px -12px rgba(0, 54, 122, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 1px 2px rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  position: relative;
  min-height: 590px;
  display: flex;
  flex-direction: column;
}

.form-header {
  margin-bottom: 24px;
}

.form-header h3 {
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 4px;
}

.form-header p {
  font-size: 0.85rem;
  color: var(--color-slate-300);
}

.homai-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 18px;
}

.form-group:last-of-type {
  padding-bottom: 4px;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #D8E4F5;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.form-group label .req {
  color: #EF4444;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 12px 14px;
  background: #F8FAFC;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  color: var(--color-slate-900);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-tech-blue);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(62, 118, 244, 0.15);
}

.form-group.has-error input {
  border-color: #EF4444;
  background: #FEF2F2;
}

.field-error {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 0.72rem;
  color: #DC2626;
  font-weight: 600;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
  line-height: 1;
  pointer-events: none;
}

.form-group.has-error .field-error {
  visibility: visible;
  opacity: 1;
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.btn-submit {
  width: 100%;
  background-color: var(--color-tech-blue);
  color: var(--color-white);
  padding: 15px;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(62, 118, 244, 0.35);
  margin-top: 6px;
  position: relative;
}

.btn-submit:hover {
  background-color: var(--color-tech-blue-hover);
  box-shadow: 0 6px 22px rgba(62, 118, 244, 0.45);
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-send-icon {
  display: none;
}

.btn-submit.loading .btn-spinner {
  display: block;
}

.form-note {
  font-size: 0.72rem;
  color: var(--color-slate-400);
  text-align: center;
  margin-top: 4px;
}

/* Success State */
.form-success-state {
  display: none;
  text-align: center;
  padding: 40px 10px;
  animation: fadeIn 0.4s ease;
  margin: auto 0;
}

.form-success-state.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-icon-wrap {
  width: 76px;
  height: 76px;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.form-success-state h4 {
  font-size: 1.45rem;
  color: var(--color-white);
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.form-success-state p {
  font-size: 0.95rem;
  color: #CBD5E1;
  max-width: 380px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

#reset-form-btn {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  transition: var(--transition);
}

#reset-form-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Site Footer */
.site-footer {
  position: relative;
  z-index: 10;
  background: #06101E;
  color: var(--color-slate-400);
  padding: 36px 0 18px 0;
  border-top: 1px solid rgba(222, 233, 251, 0.1);
  font-size: 0.88rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 22px;
}

.footer-brand-col {
  max-width: 440px;
}

.footer-logo {
  height: 34px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--color-slate-400);
  margin-bottom: 12px;
}

.swedish-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  color: var(--color-ice-blue);
}

.footer-links-col {
  padding-top: 2px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.footer-simple-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  text-align: right;
}

.footer-simple-links a {
  color: var(--color-slate-400);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  display: inline-block;
}

.footer-simple-links a:hover {
  color: var(--color-white);
  transform: translateX(-2px);
}

.footer-apps-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-apps-label {
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--color-slate-400);
}

.footer-apps-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 11px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
}

.app-icon-badge.app-store {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.app-icon-badge.app-store:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 22px rgba(0, 122, 255, 0.5);
}

.app-icon-badge.google-play {
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.app-icon-badge.google-play:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 22px rgba(255, 255, 255, 0.3);
}

.app-icon-badge.fortnox-badge {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.app-icon-badge.fortnox-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 22px rgba(0, 168, 89, 0.4);
}

.store-icon-img {
  width: 50px;
  height: 50px;
  border-radius: 11px;
  display: block;
}

.play-icon-img {
  width: 30px;
  height: 30px;
  display: block;
}

.fortnox-icon-img {
  width: 50px;
  height: 50px;
  border-radius: 11px;
  display: block;
  object-fit: cover;
}

.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.82rem;
}

.copyright-text {
  text-align: center;
  width: 100%;
  color: var(--color-slate-500);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-metrics-strip {
    justify-content: center;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .comparison-card {
    grid-template-columns: 1fr;
  }

  .comp-vs-divider {
    width: 100%;
    height: 40px;
    border-left: none;
    border-right: none;
    border-top: 1px dashed var(--color-slate-200);
    border-bottom: 1px dashed var(--color-slate-200);
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero-section {
    padding: 60px 18px 70px 18px;
  }

  .hero-main-title {
    font-size: 2.6rem;
  }

  .hero-desc {
    font-size: 1.02rem;
  }

  .hero-highlight {
    font-size: 1.05rem;
    margin-bottom: 28px;
  }

  .btn-hero-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-metrics-strip {
    flex-direction: column;
    gap: 12px;
  }

  .metric-divider {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form-card {
    padding: 24px 18px;
  }

  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  .footer-links-col {
    align-items: flex-start;
  }

  .footer-simple-links {
    text-align: left;
  }

  .footer-apps-section {
    align-items: flex-start;
  }

  .aurora-orb {
    filter: blur(50px);
    -webkit-filter: blur(50px);
    animation: none;
    will-change: auto;
  }
}
