:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a24;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b7b;
  --accent-cyan: #22d3ee;
  --accent-purple: #a855f7;
  --accent-gradient: linear-gradient(135deg, #22d3ee 0%, #a855f7 100%);
  --success: #22c55e;
  --border-color: rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 60px rgba(34, 211, 238, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar - with Dynamic Island safe area */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 1.75rem;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-btn {
  background: var(--bg-card);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.nav-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-cyan);
}

.nav-btn-secondary {
  background: transparent;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  color: var(--accent-cyan) !important;
  border: 1px solid var(--accent-cyan);
  transition: all 0.2s;
}

.nav-btn-secondary:hover {
  background: rgba(34, 211, 238, 0.1);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-cyan);
  top: -200px;
  right: -100px;
  opacity: 0.15;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-purple);
  bottom: -100px;
  left: -100px;
  opacity: 0.2;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.badge-icon {
  font-size: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn-secondary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
}

.btn-secondary-badge .btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-secondary-badge .btn-small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.btn-secondary-badge .btn-large {
  font-size: 1rem;
  font-weight: 700;
}

.android-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.apple-icon {
  width: 24px;
  height: 24px;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-small {
  font-size: 0.7rem;
  opacity: 0.7;
  font-weight: 400;
}

.btn-large {
  font-size: 1.1rem;
  line-height: 1.2;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.trust-icon {
  font-size: 1rem;
}

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

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, #2a2a35, #1a1a24);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 
    0 50px 100px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #12121a 0%, #0a0a0f 100%);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Screenshot Slider */
.phone-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.phone-slides {
  display: flex;
  width: 300%;
  height: 100%;
  animation: slide 12s ease-in-out infinite;
}

.phone-slide {
  width: 33.333%;
  height: 100%;
  flex-shrink: 0;
}

.phone-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.slide-indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

.slide-dot.active {
  background: var(--accent-cyan);
  width: 18px;
  border-radius: 3px;
}

@keyframes slide {
  0%, 28% { transform: translateX(0); }
  33%, 61% { transform: translateX(-33.333%); }
  66%, 94% { transform: translateX(-66.666%); }
  100% { transform: translateX(0); }
}

.phone-glow {
  position: absolute;
  inset: -20px;
  background: var(--accent-gradient);
  filter: blur(60px);
  opacity: 0.3;
  z-index: -1;
  border-radius: 60px;
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.feature-icon-1 { background: rgba(34, 211, 238, 0.15); }
.feature-icon-2 { background: rgba(168, 85, 247, 0.15); }
.feature-icon-3 { background: rgba(34, 197, 94, 0.15); }
.feature-icon-4 { background: rgba(251, 191, 36, 0.15); }
.feature-icon-5 { background: rgba(239, 68, 68, 0.15); }
.feature-icon-6 { background: rgba(59, 130, 246, 0.15); }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* Parents Section */
.parents {
  padding: 6rem 2rem;
}

.parents-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.parents-badge {
  display: inline-block;
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.parents-text .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.parents-text .section-subtitle {
  text-align: left;
  margin: 0 0 2rem 0;
}

.parents-list {
  list-style: none;
  margin-bottom: 2rem;
}

.parents-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.check-icon {
  width: 24px;
  height: 24px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.parents-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.parents-list span {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--accent-cyan);
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--accent-cyan);
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(34, 211, 238, 0.1);
  transform: translateY(-2px);
}

.arrow-icon {
  width: 20px;
  height: 20px;
}

.parents-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.security-card, .stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
}

.security-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.security-icon {
  font-size: 2.5rem;
}

.security-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.security-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.stats-card {
  display: flex;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* How it Works */
.how-it-works {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

.steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 250px;
  position: relative;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  margin: 0 auto 1rem;
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: var(--border-color);
  margin-top: 3rem;
  flex-shrink: 0;
}

/* CTA Section */
.cta {
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.cta-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--accent-gradient);
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  position: relative;
}

.cta-buttons {
  position: relative;
  margin-bottom: 2rem;
}

.btn-primary.btn-large {
  padding: 1rem 2rem;
}

.btn-primary.btn-large .apple-icon {
  width: 28px;
  height: 28px;
}

.btn-primary.btn-large .btn-large {
  font-size: 1.25rem;
}

.qr-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.qr-code {
  width: 80px;
  height: 80px;
  background: var(--text-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.qr-text {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: left;
  line-height: 1.4;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 0;
  }

  .hero-subtitle {
    margin: 0 auto 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .trust-badges {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .parents-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .parents-text .section-title,
  .parents-text .section-subtitle {
    text-align: center;
  }

  .parents-list {
    max-width: 500px;
    margin: 0 auto 2rem;
  }

  .parents-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .nav-links a:not(.nav-btn) {
    display: none;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .phone-frame {
    width: 220px;
    height: 460px;
  }

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

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

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

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

  .footer-main {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
  }

  .stats-card {
    flex-direction: column;
    gap: 1rem;
  }
}
