@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@600;700;800&display=swap');

:root {
  --primary: #00B4A6;
  --primary-glow: rgba(0, 180, 166, 0.4);
  --secondary: #061C2E;
  --accent-orange: #FF9F43;
  --bg: #F9FBFB;
  --surface: #ffffff;
  --text: #04191E;
  --text-muted: #5A8E8C;
  --border: #D1E6E4;
  --accent-soft: #ECF9F8;
  --radius-md: 14px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

/* Fluid Sizing & Global Spacing */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1.1;
  color: var(--secondary);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.section-head h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 20px;
  color: var(--secondary);
}

/* Header & Nav */
.site-header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  color: var(--secondary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.brand-icon {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

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

/* Hero Section */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.kicker {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  justify-content: flex-start;
  align-items: center;
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  overflow: visible;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.store-btn img {
  height: 48px;
  width: auto;
  border-radius: 8px;
  display: block;
}

/* Force Google Play to match Apple optics exactly */
.store-btn img[alt*="Google Play"] {
  height: 60px;
  margin: -6px 0;
}

.store-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
}

.store-btn:hover:not(.disabled) {
  transform: scale(1.05);
}

.coming-soon {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.coming-soon::before {
  content: '✨';
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px -5px rgba(0, 180, 166, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(0, 180, 166, 0.4);
  filter: brightness(1.1);
}

/* Redesigned Features Section */
.features-immersive {
  min-height: 100vh;
  background: var(--secondary);
  color: white;
  position: relative;
  overflow: hidden;
}

.hauteur-fixe {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
}

.features-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.features-info h2 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: white;
  margin-bottom: 24px;
}

.features-info p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.features-stats {
  display: flex;
  gap: 40px;
}

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

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}

.bento-item {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.bento-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: auto;
}

.bento-tag {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.bento-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.bento-icon {
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.bento-header .bento-icon {
  margin-bottom: 0;
}

.bento-item h3 {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 12px;
  font-weight: 700;
}

.bento-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* Bento Sizing Variants */
.bento-lg {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-md {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-sm {
  grid-column: span 1;
  grid-row: span 1;
}

/* Stylized Bento states */
.main-feature {
  background: linear-gradient(165deg, rgba(0, 180, 166, 0.15), rgba(0, 180, 166, 0.02));
  border-color: rgba(0, 180, 166, 0.3);
}

.accent-bento {
  background: linear-gradient(165deg, rgba(255, 159, 67, 0.12), rgba(255, 159, 67, 0.02));
  border-color: rgba(255, 159, 67, 0.25);
}

.accent-bento .bento-icon { color: var(--accent-orange); }

.social-bento {
  grid-column: 1 / 3;
}

@media (max-width: 1024px) {
  .features-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  .features-stats { justify-content: center; }
  .features-immersive { padding: 100px 0; }
  .hauteur-fixe { min-height: auto; }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-lg, .bento-md, .main-feature, .social-bento {
    grid-column: span 1;
  }
  .bento-item {
    min-height: 160px;
    height: auto;
    padding: 24px;
  }
  .bento-header {
    margin-bottom: 24px;
  }
}

.btn-secondary {
  background: white;
  color: var(--secondary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg);
}

.hero-shot {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-shot img {
  width: auto;
  max-width: 100%;
  max-height: clamp(300px, 70vh, 600px);
  height: auto;
  border-radius: 32px;
  box-shadow: var(--shadow-xl);
  border: 6px solid white;
}

/* Features */
.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

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

.feature-card {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--secondary);
}

.feature-card p {
  color: var(--text-muted);
}

/* FAQ */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item summary {
  padding: 24px;
  list-style: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 24px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Animations Logic */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* Policy Content */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 60px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.policy-content h2 {
  margin: 40px 0 20px;
  font-size: 1.5rem;
  color: var(--secondary);
}

.policy-content p, .policy-content li {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Footer Reverted & Optimized */
.footer {
  padding: 60px 0 40px;
  background: #061C2E;
  color: white;
  font-size: 0.9rem;
}

.footer .brand {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.footer .brand-icon {
  width: 32px;
  height: 32px;
}

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

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 20px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

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

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover, .footer-link-primary:hover { color: var(--primary); }

.footer-link-primary {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.footer-link-primary:hover {
  text-decoration: underline;
  filter: brightness(1.2);
}

.footer-col p {
  color: #94A3B8;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-app-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  justify-content: flex-start;
  align-items: center;
}

.footer-app-links .store-btn img {
  border-radius: 8px;
}

.footer-store-btn {
  display: block;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
}

.footer-store-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

.footer-store-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
  filter: grayscale(1);
}

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

/* Responsive Redesign (Compacted) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-actions { justify-content: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: row;
    padding: 12px 0;
    justify-content: space-between;
    height: 60px;
  }
  .hero {
    min-height: calc(100vh - 60px);
  }
  .brand span { display: none; } /* Show only logo on very small screens to save space */
  .nav-links {
    gap: 16px;
    width: auto;
    justify-content: flex-end;
  }
  .hero-actions { justify-content: center; width: 100%; margin: 0 auto 24px; }
  .btn { width: 100%; padding: 14px 24px; }
  .hero-shot img { 
    max-width: 240px;
    max-height: 45vh;
  }
  .section { 
    min-height: 100vh;
    padding: 60px 0; 
  }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 24px; flex-direction: row; align-items: center; gap: 16px; text-align: left; }
  .feature-card div { flex: 1; }
  .footer { padding: 40px 0 30px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2x2 style optimized for mobile */
    text-align: left;
    gap: 32px;
  }
  .footer-col:first-child { grid-column: 1 / -1; margin-bottom: 12px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
