@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

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

html {
    scroll-behavior: smooth;
}

:root {
    --primary: #38bdf8;
    --primary-dark: #0284c7;
    --primary-light: #7dd3fc;
    --purple-primary: #38bdf8;
    --purple-dark: #0284c7;
    --purple-light: #7dd3fc;
    --dark-bg: #0f172a;
    --hero-background: #0f172a;
    --hero-gradient: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
    --yellow-accent: #fbbf24;
    --orange-accent: #e67e22;
    --pink-accent: #e74c3c;
    --blue-accent: #74b9ff;
    --green-accent: #00b894;

    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --text-white: #FFFFFF;

    --background: #FFFFFF;
    --background-light: #F9FAFB;
    --background-purple: #f1f5f9;

    --border: #E5E7EB;
    --card-shadow: 0 4px 6px rgba(0,0,0,0.07);
    --card-hover-shadow: 0 10px 30px rgba(8, 145, 178, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}


/* conteneur vague */
.wave{
    position:absolute; left:0; width:100%;
    overflow:hidden; line-height:0; pointer-events:none;
}
.wave--top{ top:-1px; transform:translateY(-1px); }   /* couvre la jonction */
.wave--bottom{ bottom:-1px; transform:translateY(1px);}
.wave svg{ display:block; width:100%; height:120px; }

.wave svg path{ fill:currentColor; }  /* la couleur vient du parent */

/* couleurs d'enchaînement (adaptées à tes variables) */
.wave--to-light{ color: var(--background); }          /* la vague "remplit" avec la couleur de la section suivante claire */
.wave--to-app-content{ color: #f8fafc; }              /* vers la section app content gris clair */
.wave--to-dark{  color: var(--hero-background); }     /* vers une section sombre */
.wave--to-stats{ color: #f8fafc; }                    /* vers la section stats grise */
.wave--to-gray{ color: #f9fafb; }                     /* vers la section testimonials gris clair */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    backdrop-filter: blur(10px);
    box-shadow: none;
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 18px;
    -webkit-text-fill-color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--purple-primary);
}

.nav-cta {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    color: white !important;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
}

.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '↓';
    margin-left: 4px;
    font-size: 12px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -16px;
    background: white;
    min-width: 280px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    list-style: none;
    border: 1px solid var(--border);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--background-purple);
    color: var(--purple-primary) !important;
}



.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--yellow-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* ============================= */
/* HERO SECTION                  */
/* ============================= */

/* Dark centered hero */
.hero {
    background: linear-gradient(180deg,
      #1e3a5f 0%,
      #16314d 25%,
      #122740 50%,
      #0f1d30 70%,
      #0f172a 85%,
      #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: clamp(540px, 78vh, 820px);  /* plus court sur XXL */
    padding-top: clamp(40px, 5vw, 80px);
    padding-bottom: clamp(80px, 10vw, 140px);
    position: relative;
    isolation: isolate;
  }

  /* Gradient overlay at the top and middle */
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
      rgba(56, 189, 248, 0.15) 0%,
      rgba(14, 165, 233, 0.08) 30%,
      rgba(6, 182, 212, 0.05) 50%,
      transparent 75%);
    pointer-events: none;
    z-index: 0;
  }

  /* Additional radial gradient for depth */
  .hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 150%;
    background: radial-gradient(ellipse at 50% 0%,
      rgba(56, 189, 248, 0.2) 0%,
      transparent 40%);
    pointer-events: none;
    z-index: 0;
  }
  
  /* Centered content container */
  .hero .container {
    text-align: center;
    max-width: 1200px;
    padding: 0 60px;
  }

  /* User avatars and rating */
  .hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 40px;
  }

  .hero-avatars {
    display: flex;
    align-items: center;
    padding-left: 12px;
  }

  .hero-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #1e3a5f;
    background: #475569;
    margin-left: -12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
  }

  .hero-avatar:first-child {
    margin-left: 0;
  }

  .hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-divider {
    width: 1px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
  }

  .hero-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .hero-stars {
    display: flex;
    gap: 3px;
    font-size: 20px;
    color: var(--yellow-accent);
  }

  .hero-rating-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
  }
  
  /* Hero content */
  .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 9999;
  }
  
  /* Main hero title */
  .hero-title {
    font-size: clamp(42px, 5.5vw, 64px);
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
  }
  
  .hero-title .highlight {
    background: linear-gradient(135deg, #38bdf8, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;   
    position: relative;
  }
  
  .hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.5;
    font-weight: 400;
  }

  .hero-title,
.hero-subtitle,
.hero-cta {
opacity: 0;
transform: translateY(20px);
animation: fadeUp 0.8s ease forwards;
}

.hero-subtitle { animation-delay: 0.2s; }
.hero-cta { animation-delay: 0.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

  /* CTA Button */
  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #38bdf8, #06b6d4);
    color: #0f172a;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25);
  }
  
  .hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.35);
  }
  
  /* Background decoration */
  .hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(56, 189, 248, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
  }
  .cta-group {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  
  /* 8) Mobile view – stack columns and backgrounds */
  @media (max-width: 768px) {
    .hero {
      min-height: auto;
    }
    .hero-bg {
      flex-direction: column;
    }
    .hero-bg-left,
    .hero-bg-right {
      flex: none;
      height: 50vh;
    }
    .hero .container {
      grid-template-columns: 1fr;
      padding-block: 48px;
    }
    .hero-right {
      min-height: 50vh;
    }
    .hero-content {
      text-align: center;
      max-width: 100%;
      margin: 0 auto;
    }
    .cta-group {
      justify-content: center;
    }
  }
  
  /* 9) Optional floating animation for illustration */
  @keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
  }
  .floating {
    animation: floating 3s ease-in-out infinite;
  }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* CSS vars control positions; JS updates them */
.hero-anim{
    position:absolute;
    inset:0;
    z-index:1;                   /* below .container, above base bg */
    pointer-events:none;
    --x1: 20%; --y1: 30%;
    --x2: 80%; --y2: 70%;
    --angle: 45deg;

    /* three gentle layers: two radial “glows” + a soft conic shimmer */
    background:
        radial-gradient(60% 80% at var(--x1) var(--y1), rgba(56, 189, 248, 0.22), transparent 60%),
        radial-gradient(60% 80% at var(--x2) var(--y2), rgba(14, 165, 233, 0.18), transparent 65%),
        conic-gradient(from var(--angle), rgba(15, 23, 42, 0) 0%, rgba(2, 132, 199, 0.08) 25%, rgba(15, 23, 42, 0) 50%, rgba(56,189,248,0.06) 75%, rgba(15, 23, 42, 0) 100%);
    mix-blend-mode: screen;      /* keeps it subtle over your dark gradient */
    filter: saturate(110%);
    will-change: transform, background;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
    .hero-anim{ animation: none; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    min-width: 140px;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    color: white;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.4);
}

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

.btn-secondary:hover {
    background: #e0f2fe;
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-3px);
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

.section-description {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

#apps {
    padding-top: 60px !important;
    padding-bottom: 160px;
    position: relative;
    background: white;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.app-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    opacity: 0;
    transition: var(--transition);
}

.app-card:nth-child(1)::before { background: linear-gradient(90deg, #38bdf8, #0284c7); }
.app-card:nth-child(2)::before { background: var(--pink-accent); }
.app-card:nth-child(3)::before { background: var(--blue-accent); }
.app-card:nth-child(4)::before { background: var(--green-accent); }
.app-card:nth-child(5)::before { background: var(--orange-accent); }

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.15);
    border-color: transparent;
}

.app-card:hover::before {
    opacity: 1;
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
}

.app-card:nth-child(1) .app-icon { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.app-card:nth-child(2) .app-icon { background: var(--pink-accent); }
.app-card:nth-child(3) .app-icon { background: var(--blue-accent); }
.app-card:nth-child(4) .app-icon { background: var(--green-accent); }
.app-card:nth-child(5) .app-icon { background: var(--orange-accent); }

.app-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    min-height: 60px;
    line-height: 1.3;
}

.app-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    min-height: 96px;
}

.app-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #0284c7;
    font-weight: 600;
}

.star {
    color: var(--yellow-accent);
}

.stats-section {
    background: #f8fafc;
    padding: 60px 0 160px 0;
    margin: 0;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.stat {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 32px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.3);
}

.stat-number {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-section {
    padding: 60px 0 160px 0;
    background: var(--background-light);
    position: relative;
}

.testimonial-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-wrapper {
    overflow: hidden;
    border-radius: 24px;
    margin-bottom: 40px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    width: 100%;
    flex-shrink: 0;
    text-align: center;
    position: relative;
    color: var(--text-primary);
    margin-right: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.testimonial-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 32px;
    color: var(--text-primary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
}

.author-title {
    font-size: 14px;
    color: var(--text-secondary);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.carousel-btn {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: white;
}

.carousel-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-indicators {
    display: flex;
    gap: 8px;
    align-items: center;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.indicator:hover {
    background: #7dd3fc;
}

.indicator.active {
    width: 32px;
    border-radius: 5px;
    background: linear-gradient(135deg, #38bdf8, #0284c7);
}

.brands-section {
    padding: 60px 0;
    background: var(--background-light);
    text-align: center;
}

.brands-title {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 500;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.footer {
    background: var(--dark-bg);
    color: white;
    padding: 60px 0 40px;
    margin-top: 0;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 15px;
    display: block;
    padding: 6px 0;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.social-links a:hover {
    color: white;
    background: linear-gradient(135deg, #38bdf8, #0284c7);
}

.app-detail-hero {
    background: linear-gradient(180deg,
      #1e3a5f 0%,
      #16314d 25%,
      #122740 50%,
      #0f1d30 70%,
      #0f172a 85%,
      #0f172a 100%);
    padding: 140px 0 160px;
    margin-top: 72px;
    color: white;
    position: relative;
}

.app-detail-header {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.app-detail-info h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    color: white;
    line-height: 1.1;
}

.app-detail-info .tagline {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.5;
}

.app-detail-meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.meta-item strong {
    color: white;
    font-weight: 700;
}

.install-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    position: sticky;
    top: 100px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.install-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.install-card .btn {
    width: 100%;
    margin-bottom: 16px;
}

.install-card .price {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
}

.app-content {
    padding: 60px 0 160px;
    background: #f8fafc;
    position: relative;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
}

.main-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin: 60px 0 28px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.main-content h2:first-child {
    margin-top: 0;
}

.main-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 17px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 40px 0;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #e0f2fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.feature-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeIn 0.8s ease-out;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* App Page Testimonial */
.app-testimonial {
    background: white;
    border-radius: 24px;
    padding: 48px;
    margin-top: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.app-testimonial-text {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.app-testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.app-testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.app-testimonial-info {
    display: flex;
    flex-direction: column;
}

.app-testimonial-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

.app-testimonial-title {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Legal Pages Styles */
.legal-sidebar {
    position: sticky;
    top: 100px;
}

.legal-nav {
    max-height: 380px;
    overflow-y: auto;
}

.legal-nav-toggle {
    display: none;
}

.legal-nav a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    border-left: 2px solid transparent;
    padding-left: 8px;
}

.legal-nav a:hover {
    color: var(--primary);
    border-left-color: var(--primary);
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .hero .container {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 48px;
    }

    .stats-grid {
        padding: 0 40px;
    }

    /* App Detail Pages Tablet */
    .app-detail-header {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .app-detail-info h1 {
        font-size: 48px;
        text-align: center;
    }

    .app-detail-info .tagline {
        text-align: center;
    }

    .app-detail-meta {
        justify-content: center;
    }

    .content-grid {
        grid-template-columns: 1fr 300px;
        gap: 50px;
    }

    .main-content h2 {
        font-size: 36px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .testimonial-card {
        padding: 40px 32px;
    }

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

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

    .container {
        padding: 0 30px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 30px;
        padding-bottom: 60px;
    }

    .hero-social-proof {
        gap: 20px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .hero-avatars {
        padding-left: 8px;
    }

    .hero-avatar {
        width: 40px;
        height: 40px;
        margin-left: -8px;
        font-size: 20px;
    }

    .hero-split {
        flex-direction: column;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }

    .hero-left {
        padding: 60px 30px;
    }

    .hero-content {
        padding-left: 0;
    }

    .hero-left {
        order: 1;
    }

    .hero-right {
        order: 2;
        min-height: 50vh;
    }

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

    .hero-title {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: 16px;
        margin-bottom: 30px;
    }

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

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

    .app-card {
        padding: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 30px;
    }

    /* App Detail Pages Mobile */
    .app-detail-hero {
        padding: 60px 0 80px;
        margin-top: 72px;
        text-align: center;
    }

    .app-detail-hero .container {
        padding-bottom: 80px !important;
    }

    .app-detail-header {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .app-detail-info {
        text-align: center;
    }

    .app-detail-info .app-icon {
        margin: 0 auto 20px !important;
    }

    .app-detail-info h1 {
        font-size: 32px;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .app-detail-info .tagline {
        font-size: 16px;
        margin-bottom: 20px;
        opacity: 0.9;
    }

    .app-detail-meta {
        gap: 16px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .meta-item {
        font-size: 14px;
    }

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

    .main-content h2 {
        font-size: 32px;
        margin: 40px 0 20px;
    }

    .main-content h2:first-child {
        margin-top: 0;
    }

    .main-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 30px 0;
    }

    .install-card {
        position: static;
        margin: 20px 0 0 0;
        padding: 24px;
        border-radius: 16px;
    }

    .install-card h3 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .install-card .btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .install-card .price {
        font-size: 14px;
    }

    /* Terms and Privacy Pages Mobile */
    .legal-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 40px;
        padding: 20px;
    }

    .legal-nav {
        display: none;
    }

    .legal-nav.mobile-open {
        display: block;
        background: white;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 20px;
        margin-top: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .legal-nav-toggle {
        display: block;
        width: 100%;
        background: var(--primary);
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: var(--transition);
    }

    .legal-nav-toggle:hover {
        background: var(--primary-dark);
    }

    .testimonial-card {
        padding: 32px 24px;
        margin-right: 20px;
    }

    .testimonial-text {
        font-size: 18px;
        margin-bottom: 24px;
    }
}

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

    .hero {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-social-proof {
        margin-bottom: 24px;
        flex-direction: column;
        gap: 16px;
    }

    .hero-divider {
        display: none;
    }

    .section-title {
        font-size: 32px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 20px;
    }

    .stat {
        padding: 24px 16px;
    }

    .apps-grid {
        gap: 20px;
    }

    .app-card {
        padding: 20px;
    }

    .app-card h3 {
        font-size: 20px;
        min-height: auto;
        margin-bottom: 10px;
    }

    .app-card p {
        font-size: 14px;
        min-height: auto;
        margin-bottom: 20px;
    }

    /* App Detail Pages Mobile Small */
    .app-detail-header,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .app-detail-hero {
        padding: 40px 0 60px;
    }

    .app-detail-info {
        text-align: center;
    }

    .app-detail-info .app-icon {
        width: 64px !important;
        height: 64px !important;
        font-size: 32px !important;
        margin: 0 auto 16px !important;
    }

    .app-detail-info h1 {
        font-size: 26px;
        text-align: center;
        margin-bottom: 10px;
        line-height: 1.1;
    }

    .app-detail-info .tagline {
        font-size: 15px;
        text-align: center;
        margin-bottom: 16px;
        opacity: 0.8;
    }

    .app-detail-meta {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .meta-item {
        font-size: 13px;
    }

    .main-content h2 {
        font-size: 24px;
        margin: 30px 0 16px;
    }

    .main-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .install-card {
        position: static;
        padding: 24px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 24px 0;
    }

    .feature-item {
        gap: 16px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .feature-content h4 {
        font-size: 16px;
    }

    .feature-content p {
        font-size: 14px;
    }

    /* Legal pages mobile */
    .legal-sidebar {
        margin-bottom: 30px;
        padding: 16px;
    }

    .testimonial-card {
        padding: 24px 20px;
        margin-right: 16px;
    }

    .testimonial-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}