/* ==========================================================================
   MAZHALI DESIGN SYSTEM
   Warm, playful, trustworthy — for kindergarten owners and teachers
   ========================================================================== */

:root {
  /* Mazhali brand palette — indigo + teal + coral on a white/grey base */
  --color-primary: #6366F1;
  /* Indigo - main brand color */
  --color-primary-dark: #4F46E5;
  /* Darker indigo for hover states */
  --color-primary-light: #C7D2FE;
  /* Light indigo for accents */

  --color-secondary: #14B8A6;
  /* Teal/Mint - fresh secondary */
  --color-secondary-dark: #0D9488;
  /* Dark teal for hover */
  --color-secondary-light: #99F6E4;
  /* Light teal for backgrounds */

  --color-accent: #FB7185;
  /* Coral - warm accent */
  --color-accent-light: #FECDD3;
  /* Light coral for subtle accents */

  --color-background: #F4F5F7;
  /* Light grey - main background */
  --color-surface: #FFFFFF;
  /* White - cards, modals */
  --color-surface-alt: #ECEEF2;
  /* Slightly darker grey for sections */

  --color-text: #2D2D2D;
  /* Deep Charcoal - body text */
  --color-text-light: #666666;
  /* Light text for secondary content */
  --color-text-muted: #999999;
  /* Muted text */
  --color-text-inverse: #FFFFFF;
  /* White text on dark backgrounds */

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;

  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  min-height: 100vh;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

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

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p { margin-bottom: var(--space-4); }

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section { padding: var(--space-20) 0; }
.section-alt { background-color: var(--color-surface-alt); }

.section-dark {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #312E81 100%);
  color: var(--color-text-inverse);
}

.section-header { text-align: center; margin-bottom: var(--space-12); }

.section-title {
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  max-width: 600px;
  margin: var(--space-6) auto 0;
}

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: var(--space-12) 0; }
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-md), 0 4px 14px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 6px 20px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-md), 0 4px 14px rgba(20, 184, 166, 0.35);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 6px 20px rgba(20, 184, 166, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--color-text-inverse);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
}

.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-lg); }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-sm); }

/* --------------------------------------------------------------------------
   CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.value-card {
  text-align: center;
  padding: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
}

.value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-4xl);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary-light) 100%);
  border-radius: var(--radius-xl);
}

.value-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-primary-dark);
}

.value-text {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-sticky);
  background: rgba(247, 255, 254, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.5px;
}

.logo-dot {
  color: var(--color-secondary);
}

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

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--color-text);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}
.nav-link:hover { color: var(--color-primary); }
.nav-link:hover::after { width: 100%; }

.nav-cta { margin-left: var(--space-4); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}
.mobile-menu-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text);
  transition: all var(--transition-fast);
}

@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: var(--space-8);
    gap: var(--space-6);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }
  .nav-menu.active { transform: translateY(0); opacity: 1; visibility: visible; }
  .mobile-menu-btn { display: flex; }
  .nav-cta { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: linear-gradient(135deg, var(--color-background) 0%, var(--color-surface-alt) 50%, var(--color-primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
  opacity: 0.5;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-secondary-light) 0%, transparent 70%);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(4deg); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero-title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero-title span { color: var(--color-primary); }

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-light);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.hero-buttons { display: flex; gap: var(--space-4); flex-wrap: wrap; }

.hero-free-note {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(160deg, #1A2E35 0%, #2B4A52 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-2xl), 0 0 60px rgba(99, 102, 241, 0.2);
  animation: slideInRight 1s ease;
  position: relative;
}

.hero-phone-screen {
  width: 100%;
  height: 100%;
  background: var(--color-background);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-status-bar {
  height: 28px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-display);
}

.phone-content {
  flex: 1;
  padding: 12px;
  overflow: hidden;
}

.phone-header {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.phone-card {
  background: white;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.phone-card-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 4px;
}

.phone-card-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  font-family: var(--font-display);
}

.phone-attendance-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.phone-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.phone-dot-green { background: #4CAF50; }
.phone-dot-red { background: #F44336; }
.phone-dot-yellow { background: #FF9800; }

.phone-name {
  font-size: 10px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 500;
  flex: 1;
}

.phone-status {
  font-size: 9px;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 2px 6px;
  border-radius: 8px;
}

.phone-status-present { background: #E8F5E9; color: #2E7D32; }
.phone-status-absent { background: #FFEBEE; color: #C62828; }
.phone-status-leave { background: #FFF8E1; color: #F57F17; }

.phone-report-mood {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}

.phone-emoji {
  font-size: 16px;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-alt);
  border-radius: 8px;
  cursor: default;
}

.phone-emoji-selected {
  background: var(--color-primary-light);
  outline: 2px solid var(--color-primary);
}

.phone-notification {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 8px;
}

.phone-notif-title {
  font-size: 9px;
  font-weight: 700;
  color: white;
  font-family: var(--font-display);
  margin-bottom: 2px;
}

.phone-notif-body {
  font-size: 9px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
}

.hero-floating-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  animation: float 5s ease-in-out infinite;
}

.hero-floating-badge-1 {
  top: 60px; left: -40px;
  animation-delay: -2s;
}

.hero-floating-badge-2 {
  bottom: 80px; right: -50px;
  animation-delay: -4s;
  font-size: var(--text-xs);
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .hero-title { font-size: var(--text-4xl); }
}

/* --------------------------------------------------------------------------
   SOCIAL PROOF BAR
   -------------------------------------------------------------------------- */
.proof-bar {
  background: var(--color-secondary-dark);
  padding: var(--space-4) 0;
  overflow: hidden;
}

.proof-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
}

.proof-number {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   FEATURES
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border-top: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-top-color: var(--color-primary);
}

.feature-icon {
  width: 64px; height: 64px;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-surface-alt) 100%);
  border-radius: var(--radius-xl);
}

.feature-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.feature-text {
  font-size: var(--text-base);
  color: var(--color-text-light);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   HOW IT WORKS
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 40px);
  right: calc(16.67% + 40px);
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
  border-radius: var(--radius-full);
  z-index: 0;
}

.step { text-align: center; position: relative; z-index: 1; }

.step-number {
  width: 80px; height: 80px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text-inverse);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 50%;
  box-shadow: var(--shadow-lg), 0 4px 20px rgba(99, 102, 241, 0.4);
}

.step:nth-child(2) .step-number {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  box-shadow: var(--shadow-lg), 0 4px 20px rgba(20, 184, 166, 0.4);
}

.step:nth-child(3) .step-number {
  background: linear-gradient(135deg, var(--color-accent) 0%, #1A3D2B 100%);
  box-shadow: var(--shadow-lg), 0 4px 20px rgba(45, 106, 79, 0.4);
}

.step-icon { font-size: var(--text-4xl); margin-bottom: var(--space-4); }
.step-title { font-size: var(--text-xl); margin-bottom: var(--space-2); color: var(--color-primary-dark); }
.step-text { color: var(--color-text-light); font-size: var(--text-base); }

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}

/* --------------------------------------------------------------------------
   TWO-COLUMN CONTENT
   -------------------------------------------------------------------------- */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.split-text h3 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-6);
}

.check-list { margin-bottom: var(--space-8); }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
}

.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  flex-shrink: 0;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-size: var(--text-sm);
  font-weight: bold;
}

.split-visual {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 1024px) {
  .split-content { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   PRICING
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 2px solid transparent;
  position: relative;
}

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

.pricing-card-featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--color-primary-light);
  transform: scale(1.03);
}

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

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.pricing-plan-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.pricing-price-free {
  color: var(--color-accent);
}

.pricing-period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.pricing-divider {
  height: 1px;
  background: var(--color-surface-alt);
  margin: var(--space-6) 0;
}

.pricing-features { margin-bottom: var(--space-8); }

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.pricing-feature::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-feature-no {
  color: var(--color-text-muted);
}

.pricing-feature-no::before {
  content: '—';
  color: var(--color-text-muted);
}

.pricing-cta { width: 100%; text-align: center; }

.pricing-note {
  text-align: center;
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pricing-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .pricing-card-featured { transform: none; }
  .pricing-card-featured:hover { transform: translateY(-4px); }
}

/* --------------------------------------------------------------------------
   TESTIMONIALS / TRUST
   -------------------------------------------------------------------------- */
.trust-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #312E81 100%);
  color: var(--color-text-inverse);
}

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

.trust-card {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all var(--transition-base);
}

.trust-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}

.trust-quote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-6);
  font-style: italic;
}

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

.trust-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary-light), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  flex-shrink: 0;
}

.trust-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: white;
}

.trust-role {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
}

@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  text-align: center;
  padding: var(--space-20) 0;
}

.cta-title {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-4);
}

.cta-text {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-8);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }
.cta-sub { margin-top: var(--space-4); font-size: var(--text-sm); color: rgba(255,255,255,0.7); }

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

.contact-info h3 { font-size: var(--text-2xl); margin-bottom: var(--space-6); }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  font-size: var(--text-xl);
  flex-shrink: 0;
}

.contact-label { font-weight: 600; margin-bottom: var(--space-1); }
.contact-value { color: var(--color-text-light); }

.social-links { display: flex; gap: var(--space-4); margin-top: var(--space-8); }

.social-link {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  font-size: var(--text-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.social-link:hover {
  transform: translateY(-2px);
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.contact-form {
  background: var(--color-surface);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: var(--space-6); }
.form-label { display: block; font-weight: 600; margin-bottom: var(--space-2); }

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: var(--space-4);
  border: 2px solid var(--color-surface-alt);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  background: var(--color-background);
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: linear-gradient(135deg, #2D2D2D 0%, #1a1a1a 100%);
  color: var(--color-text-inverse);
  padding: var(--space-16) 0 var(--space-8);
}

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

.footer-brand { max-width: 300px; }

.footer-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-secondary);
  letter-spacing: -0.5px;
  margin-bottom: var(--space-4);
}

.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.footer-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-6);
  color: var(--color-primary);
  font-family: var(--font-display);
}

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--color-primary); }

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  color: rgba(255,255,255,0.4);
  font-size: var(--text-sm);
}

.footer-legal-links {
  display: flex;
  gap: var(--space-6);
}

.footer-legal-links a {
  color: rgba(255,255,255,0.4);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover { color: var(--color-primary-light); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* --------------------------------------------------------------------------
   APP DOWNLOAD
   -------------------------------------------------------------------------- */
.app-download-section {
  text-align: center;
  padding: var(--space-12) 0;
}

.app-download-section h3 {
  margin-bottom: var(--space-8);
}

.app-buttons {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
}

.app-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background: var(--color-text);
  border-radius: var(--radius-md);
  color: white;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  transition: all var(--transition-base);
  text-decoration: none;
  min-width: 140px;
}

.app-button:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.app-button-icon {
  font-size: 28px;
}

.app-button-label {
  font-size: 11px;
  opacity: 0.8;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.app-button-name {
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-body);
}

.app-button-coming-soon {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  background: var(--color-text-muted);
}

.app-button-coming-soon:hover {
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }

.grid > *:nth-child(1) { animation-delay: 0.1s; }
.grid > *:nth-child(2) { animation-delay: 0.2s; }
.grid > *:nth-child(3) { animation-delay: 0.3s; }
.grid > *:nth-child(4) { animation-delay: 0.4s; }
.grid > *:nth-child(5) { animation-delay: 0.5s; }
.grid > *:nth-child(6) { animation-delay: 0.6s; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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