/* ========================================
   KinCare — Design System & Landing Page
   "Your kin. Our care."
   ======================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Primary Palette */
  --coral:        #32CD32;
  --coral-light:  #45E045;
  --coral-dark:   #28A428;
  --navy:         #0A1628;
  --navy-light:   #142236;
  --gold:         #FFD93D;
  --gold-dark:    #E6C235;
  --lavender:     #D5F5E3;
  --lavender-dark:#B8E8D0;

  /* Neutrals */
  --white:        #FFFFFF;
  --cloud:        #F8F9FC;
  --mist:         #EEF0F5;
  --slate:        #6B7280;
  --charcoal:     #2D3436;
  --black:        #0D0D1A;

  /* Semantic */
  --success:      #10B981;
  --warning:      #F59E0B;
  --danger:       #EF4444;

  /* Surfaces */
  --bg-primary:   var(--cloud);
  --bg-card:      var(--white);
  --bg-glass:     rgba(255, 255, 255, 0.65);
  --text-primary: var(--charcoal);
  --text-secondary: var(--slate);
  --text-heading: var(--navy);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-accent:  'Space Grotesk', sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radii */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md:   0 4px 20px rgba(26, 26, 46, 0.08);
  --shadow-lg:   0 8px 40px rgba(26, 26, 46, 0.12);
  --shadow-xl:   0 16px 64px rgba(26, 26, 46, 0.16);
  --shadow-glow: 0 0 30px rgba(50, 205, 50, 0.3);

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:    0.3s;
  --duration-lg: 0.6s;
}

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
  --bg-primary:    var(--black);
  --bg-card:       var(--navy);
  --bg-glass:      rgba(26, 26, 46, 0.75);
  --text-primary:  #E5E7EB;
  --text-secondary:#9CA3AF;
  --text-heading:  var(--white);
  --cloud:         #111122;
  --mist:          #1A1A2E;
  --shadow-sm:     0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md:     0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg:     0 8px 40px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration) var(--ease-out);
}

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

ul { list-style: none; }

/* ---------- Utility Classes ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-padding {
  padding: var(--space-4xl) 0;
}

.text-center { text-align: center; }

.section-label {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
  line-height: 1.8;
}

.gradient-text {
  background: linear-gradient(135deg, #32CD32, #45E045, #90EE90);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(50, 205, 50, 0.4));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--duration);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(50, 205, 50, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(50, 205, 50, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(50, 205, 50, 0.1);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 217, 61, 0.5);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(10, 22, 40, 0.08);
  transition: all var(--duration) var(--ease-out);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px rgba(10, 22, 40, 0.1);
  padding: var(--space-sm) 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-logo img {
  height: 64px;
  width: auto;
  display: inline-block;
  transition: height var(--duration) var(--ease-out);
}

.nav.scrolled .nav-logo img {
  height: 48px;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
}

.nav-logo-text span {
  color: var(--coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--slate);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transition: width var(--duration) var(--ease-out);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-login-btn {
  background: transparent !important;
  color: var(--navy) !important;
  border: 1.5px solid var(--navy) !important;
  padding: 8px 20px !important;
  font-size: 0.85rem !important;
  font-weight: 600;
}

.nav-login-btn:hover {
  background: var(--navy) !important;
  color: #FFFFFF !important;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: all var(--duration) var(--ease-out);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.6) 50%, rgba(10, 22, 40, 0.8) 100%);
  z-index: 1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 10s ease-in-out infinite;
  z-index: 0;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(50, 205, 50, 0.08);
  top: 5%;
  left: -10%;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(50, 205, 50, 0.05);
  bottom: 10%;
  right: -10%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.05); }
  50% { transform: translate(-10px, 20px) scale(0.95); }
  75% { transform: translate(15px, 10px) scale(1.02); }
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: center;
  max-width: 680px;
}

/* Big centered hero logo — Sisters Party Store pattern */
.hero-logo {
  max-width: 480px;
  width: 85%;
  height: auto;
  margin: 0 auto var(--space-xl);
  display: block;
  image-rendering: -webkit-optimize-contrast;
  animation: heroLogoIn 1s ease-out;
}

@keyframes heroLogoIn {
  0% { opacity: 0; transform: scale(0.9) translateY(15px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Screen-reader only h1 for SEO */
.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;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: var(--space-md);
  line-height: 1.2;
  animation: heroFadeUp 0.8s ease-out 0.3s both;
}

.hero-text .hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto var(--space-2xl);
  max-width: 520px;
  line-height: 1.8;
  animation: heroFadeUp 0.8s ease-out 0.5s both;
}

@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  animation: heroFadeUp 0.8s ease-out 0.7s both;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: heroFadeUp 0.8s ease-out 0.9s both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.hero-trust-item svg {
  flex-shrink: 0;
}

.hero-stats-bar {
  position: relative;
  z-index: 2;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-xl) 0;
}

.hero-stats {
  display: flex;
  justify-content: space-around;
  gap: var(--space-xl);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 700;
  color: var(--coral);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ---------- Scrolling Ticker ---------- */
.ticker {
  background: var(--navy);
  padding: var(--space-md) 0;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0 var(--space-2xl);
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.9rem;
}

.ticker-item span {
  color: var(--gold);
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Services Section ---------- */
.services {
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mist);
  transition: all var(--duration-lg) var(--ease-spring);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-lg) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto var(--space-lg);
  transition: transform var(--duration) var(--ease-spring);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
}

.service-icon-baby { background: linear-gradient(135deg, #FEE2E2, #FECACA); }
.service-icon-pet { background: linear-gradient(135deg, #E0E7FF, #C7D2FE); }
.service-icon-transport { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }
.service-icon-home { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.service-icon-senior { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.service-icon-tutor { background: linear-gradient(135deg, #CFFAFE, #A5F3FC); }

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-tag {
  display: inline-block;
  margin-top: var(--space-md);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-accent);
  background: var(--cloud);
  color: var(--coral);
}

/* ---------- How It Works ---------- */
.how-it-works {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 90%, rgba(50, 205, 50, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(232, 213, 245, 0.1) 0%, transparent 50%);
}

.how-it-works .section-title {
  color: var(--white);
}

.how-it-works .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  font-family: var(--font-accent);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(50, 205, 50, 0.2);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto var(--space-lg);
  transition: all var(--duration) var(--ease-spring);
}

.step-card:hover .step-icon {
  background: rgba(50, 205, 50, 0.15);
  border-color: var(--coral);
  transform: scale(1.1);
}

.step-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.step-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  max-width: 280px;
  margin: 0 auto;
}

.step-connector {
  display: none;
}

/* ---------- Trust & Safety ---------- */
.trust {
  position: relative;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.trust-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.trust-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.trust-feature {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease-out);
}

.trust-feature:hover {
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.trust-feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
}

.trust-feature h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.trust-feature p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ---------- App Preview ---------- */
.app-preview {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--lavender) 50%, var(--bg-primary) 100%);
  overflow: hidden;
}

[data-theme="dark"] .app-preview {
  background: linear-gradient(180deg, var(--black) 0%, rgba(42, 42, 69, 0.5) 50%, var(--black) 100%);
}

.app-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.app-preview-image {
  display: flex;
  justify-content: center;
}

.app-preview-image img {
  max-width: 400px;
  filter: drop-shadow(0 20px 60px rgba(26, 26, 46, 0.2));
  animation: phoneFloat 5s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.app-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--duration) var(--ease-spring);
}

.app-feature:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.app-feature-icon {
  font-size: 1.5rem;
}

.app-feature-text h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.app-feature-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mist);
  position: relative;
  transition: all var(--duration) var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--coral), var(--lavender));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ---------- Pricing ---------- */
.pricing {
  background: var(--cloud);
}

[data-theme="dark"] .pricing {
  background: var(--navy-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--mist);
  position: relative;
  transition: all var(--duration) var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--coral);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--coral);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--white);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pricing-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.pricing-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.pricing-price {
  font-family: var(--font-accent);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-xs);
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-xl);
}

.pricing-features {
  text-align: left;
  margin-bottom: var(--space-xl);
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  min-width: 20px;
}

/* ---------- Franchise CTA ---------- */
.franchise {
  background: linear-gradient(135deg, var(--navy) 0%, #2A1A4E 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.franchise::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.franchise-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.franchise-content .section-title {
  color: var(--white);
}

.franchise-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.franchise-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.franchise-stat {
  text-align: center;
}

.franchise-stat-number {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.franchise-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: var(--space-md);
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  font-size: 0.9rem;
  transition: all var(--duration);
}

.footer-links a:hover {
  color: var(--coral);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--duration) var(--ease-spring);
}

.footer-social:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-content {
    text-align: center;
  }

  .hero-text .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust-row { justify-content: center; }
  .hero-label { text-align: center; }

  .services-grid,
  .steps-container,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid,
  .app-preview-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trust-image { order: -1; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: var(--space-xl);
    box-shadow: 0 10px 40px rgba(10, 22, 40, 0.15);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .nav-links.active a {
    color: var(--navy);
    padding: var(--space-md) 0;
    font-size: 1.05rem;
  }

  .nav-logo img {
    height: 42px !important;
  }

  .hero {
    padding-top: 90px;
    min-height: auto;
  }

  .hero-content {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }

  .hero-logo {
    max-width: 320px;
  }

  .hero-tagline { font-size: 1.6rem; }
  .hero-text .hero-desc { font-size: 1rem; }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    justify-content: center;
    text-align: center;
  }

  .hero-trust-row {
    gap: var(--space-md);
  }

  .hero-trust-item {
    font-size: 0.78rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
  }

  .hero-stat {
    flex: 0 0 40%;
  }

  .hero-stat-number {
    font-size: 1.6rem;
  }

  .services-grid,
  .steps-container,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

  .franchise-stats {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .nav-logo img {
    height: 36px !important;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text .hero-desc {
    font-size: 0.95rem;
  }

  .hero-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .hero-trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .hero-stat {
    flex: 0 0 45%;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* Mobile Landscape Orientation Rules */
@media (max-height: 550px) and (orientation: landscape) {
  .hero-section {
    padding-top: 5rem;
    padding-bottom: 3rem;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-trust-row {
    margin-top: 1.5rem;
  }

  .nav-menu {
    max-height: 80vh;
    overflow-y: auto;
  }
}

