/* 
   KidSkip Landing Page Stylesheet
   Designed with premium aesthetics, modern typography, HSL colors, and smooth micro-animations.
*/

:root {
  /* Color System */
  --primary: hsl(218, 100%, 55%);
  --primary-dark: hsl(218, 100%, 40%);
  --primary-light: hsl(218, 100%, 95%);
  --accent: hsl(165, 100%, 39%);
  --accent-light: hsl(165, 80%, 94%);
  --text: hsl(213, 52%, 11%);
  --text-muted: hsl(213, 17%, 43%);
  --bg-main: hsl(218, 100%, 98%);
  --bg-card: hsl(0, 0%, 100%);
  --bg-dark: hsl(213, 52%, 8%);
  --border-light: rgba(26, 111, 255, 0.08);
  
  /* Elevation & Shadows */
  --shadow-sm: 0 4px 12px rgba(26, 111, 255, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 111, 255, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 111, 255, 0.14);
  
  /* Fonts */
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Sora', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Utility */
h1, h2, h3, h4 {
  font-family: var(--font-header);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

/* Navigation Bar */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  text-decoration: none;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.nav-logo:hover img {
  transform: rotate(8deg) scale(1.05);
}

.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(26, 111, 255, 0.25);
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 111, 255, 0.35);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 5%;
  gap: 80px;
  max-width: 1300px;
  margin: 0 auto;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-family: var(--font-header);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(26, 111, 255, 0.3);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(26, 111, 255, 0.4);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid var(--primary);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

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

.hero-image::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(26, 111, 255, 0.08) 0%, rgba(26, 111, 255, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  max-width: 440px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform var(--transition-normal);
}

/* Social Proof Bar */
.social-proof {
  background: #fff;
  padding: 28px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.proof-item strong {
  color: var(--text);
}

/* Features Section */
.features {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 5%;
}

.section-label {
  text-align: center;
  font-size: 0.85rem;
  font-family: var(--font-header);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 64px;
  letter-spacing: -0.01em;
}

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

.feature-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 40px 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 111, 255, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

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

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* How It Works Section */
.how {
  background: linear-gradient(135deg, var(--bg-dark) 0%, hsl(215, 60%, 15%) 100%);
  padding: 100px 5%;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.how::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(26, 111, 255, 0.15) 0%, rgba(26, 111, 255, 0) 60%);
  pointer-events: none;
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.how .section-label {
  color: hsl(218, 100%, 75%);
}

.how .section-title {
  color: #fff;
}

.steps {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 60px;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  padding: 36px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform var(--transition-normal);
}

.step:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
}

.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.15);
  font-weight: 300;
  pointer-events: none;
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
  font-weight: 900;
  font-size: 1.4rem;
  margin: 0 auto 20px;
  box-shadow: 0 6px 18px rgba(26, 111, 255, 0.4);
}

.step h4 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Demo Video Section */
.demo-section {
  max-width: 960px;
  margin: 100px auto;
  padding: 0 5%;
  text-align: center;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 24px;
}

/* Screenshot Action Section */
.screenshot-section {
  max-width: 1100px;
  margin: 100px auto;
  padding: 0 5%;
  text-align: center;
}

.banner-img-container {
  margin-bottom: 48px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background: #fff;
}

.banner-img-container img {
  width: 100%;
  display: block;
  transition: transform var(--transition-normal);
}

.banner-img-container img:hover {
  transform: scale(1.02);
}

.screenshots-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-card {
  flex: 1;
  min-width: 320px;
  max-width: 48%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.screenshot-card img {
  width: 100%;
  display: block;
  transition: transform var(--transition-normal);
}

.screenshot-card img:hover {
  transform: scale(1.03);
}

/* Pricing Section */
.pricing {
  max-width: 800px;
  margin: 0 auto 100px;
  padding: 0 5%;
}

.pricing-card {
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary);
  position: relative;
}

.pricing-card::before {
  content: 'RECOMMANDÉ';
  position: absolute;
  top: 24px;
  right: -48px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 40px;
  transform: rotate(45deg);
  letter-spacing: 0.1em;
}

.pricing-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 48px 40px;
  color: #fff;
  text-align: center;
}

.pricing-header h3 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price {
  font-family: var(--font-header);
  font-weight: 900;
  font-size: 4rem;
  line-height: 1;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
}

.price span {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 8px;
  margin-right: 4px;
}

.price-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
  font-weight: 500;
}

.pricing-body {
  padding: 48px 48px;
}

.free-tier {
  background: var(--primary-light);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 36px;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-left: 4px solid var(--primary);
  line-height: 1.6;
}

.free-tier strong {
  color: var(--text);
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-main);
  font-size: 1rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .check {
  color: var(--accent);
  font-weight: bold;
  font-size: 1.25rem;
}

.btn-purchase {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 18px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(26, 111, 255, 0.3);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-purchase:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(26, 111, 255, 0.4);
}

/* Footer Section */
footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  padding: 48px 5%;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
  margin-bottom: 12px;
}

footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-family: var(--font-header);
  font-weight: 600;
}

footer a:hover {
  color: #fff;
}

/* Media Queries (Responsiveness) */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps {
    flex-direction: column;
    gap: 40px;
  }
  
  .step:not(:last-child)::after {
    content: '↓';
    right: 50%;
    bottom: -32px;
    top: auto;
    transform: translateX(50%);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 4%;
  }
  
  .nav-logo {
    font-size: 1.3rem;
  }
  
  .nav-cta {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  .hero {
    flex-direction: column;
    padding: 60px 4%;
    gap: 48px;
    text-align: center;
  }

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

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

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

  .social-proof {
    gap: 24px;
    padding: 24px 4%;
  }

  .features {
    margin: 60px auto;
    padding: 0 4%;
  }

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

  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .how {
    padding: 60px 4%;
  }

  .demo-section, .screenshot-section {
    margin: 60px auto;
    padding: 0 4%;
  }

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

  .screenshot-card {
    max-width: 100%;
  }

  .pricing {
    padding: 0 4%;
    margin-bottom: 60px;
  }

  .pricing-body {
    padding: 32px 24px;
  }
  
  .pricing-card::before {
    display: none;
  }
}

/* Top Banner Styles */
.top-banner {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 5%;
  text-align: center;
}

.top-banner img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-normal);
}

.top-banner img:hover {
  transform: translateY(-2px);
}

