/*
 * Madrasa Malayalam — Landing Page Stylesheet
 * Clean, premium, modern showcase. No interactive sandboxes.
 */

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

/* ─── Design Tokens ─── */
:root {
  --primary: #10b981;
  --primary-dark: #047857;
  --primary-light: #34d399;
  --primary-glow: rgba(16, 185, 129, 0.25);
  --gold: #eab308;
  --gold-dark: #ca8a04;
  --gold-light: #fde047;
  --gold-glow: rgba(234, 179, 8, 0.2);
  --bg-body: #050a14;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(20, 30, 55, 0.8);
  --bg-glass: rgba(30, 41, 59, 0.5);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(148, 163, 184, 0.1);
  --border-glow: rgba(16, 185, 129, 0.3);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 40px var(--primary-glow);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-arabic: 'Amiri', serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: var(--font-body); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding { padding: 6rem 0; }

/* ─── Ambient Background Blobs ─── */
.ambient { position: fixed; border-radius: 50%; filter: blur(120px); opacity: 0.12; pointer-events: none; z-index: -1; }
.ambient-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; left: -200px; }
.ambient-2 { width: 500px; height: 500px; background: var(--gold); bottom: -150px; right: -200px; }
.ambient-3 { width: 400px; height: 400px; background: #6366f1; top: 50%; left: 50%; transform: translate(-50%,-50%); }

/* ─── Scroll Reveal Animation ─── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Header ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.8rem 0;
  transition: var(--transition);
  background: transparent;
}
header.scrolled {
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}
.logo:hover { color: var(--primary-light); }
.logo svg { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
}
.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary-light);
  background: rgba(16,185,129,0.08);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 0.5rem;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,10,20,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.6rem 2rem;
  border-radius: var(--radius-sm);
}
.mobile-nav-link:hover { background: rgba(16,185,129,0.1); color: var(--primary); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* ─── Badges & Buttons ─── */
.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 50px;
  margin-bottom: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #052e16;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
  color: #052e16;
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(16,185,129,0.06);
  color: var(--primary-light);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #1c1917;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--gold-glow); }

/* ─── Section Titles ─── */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}
.gold-text { color: var(--gold); }
.primary-text { color: var(--primary); }

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Google Play Button */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.6rem;
  background: #000;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: #fff;
  transition: var(--transition);
}
.store-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}
.store-btn svg { width: 24px; height: 24px; fill: currentColor; }
.store-btn-text { display: flex; flex-direction: column; text-align: left; }
.store-btn-text span:first-child { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }
.store-btn-text span:last-child { font-size: 1.05rem; font-weight: 700; }

/* Hero Ornaments */
.hero-ornament {
  position: absolute;
  opacity: 0.06;
  pointer-events: none;
  animation: spin-slow 40s linear infinite;
}
.ornament-1 { width: 300px; top: -50px; left: -100px; }
.ornament-2 { width: 200px; bottom: 50px; right: -50px; animation-direction: reverse; }

@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ─── Phone Mockup ─── */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}
.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 40px;
  border: 3px solid rgba(148,163,184,0.15);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.05),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
  animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotateY(-5deg); }
  50% { transform: translateY(-15px) rotateY(5deg); }
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 0 1.2rem;
  margin-top: -8px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.phone-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0a0f1a, #0f172a);
}
.phone-app-content {
  flex: 1;
  padding: 0.8rem;
  overflow: hidden;
}

/* Mock App Grid inside phone */
.mock-section-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0.6rem 0 0.4rem;
}
.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.mock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.25rem;
  background: rgba(30,41,59,0.6);
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.06);
  transition: var(--transition);
}
.mock-item:hover { border-color: var(--primary-glow); }
.mock-icon-wrap {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(234,179,8,0.1));
}
.mock-icon-wrap svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
}
.mock-label {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.3;
}

/* ─── Stats Banner ─── */
.stats-banner {
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(234,179,8,0.04));
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}
.stat-item p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── Features Grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(234,179,8,0.08));
  border: 1px solid rgba(16,185,129,0.15);
  margin-bottom: 1.2rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.feature-card .feature-label-ml {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.6rem;
  display: block;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Feature card highlight variant */
.feature-card.highlighted {
  border-color: rgba(16,185,129,0.2);
  background: rgba(16,185,129,0.04);
}
.feature-card.highlighted .feature-icon {
  background: linear-gradient(135deg, rgba(16,185,129,0.25), rgba(234,179,8,0.15));
}

/* ─── Category Tabs ─── */
.category-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.cat-tab {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.cat-tab:hover { border-color: var(--primary); color: var(--primary-light); }
.cat-tab.active {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #052e16;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* ─── Why Choose Us ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.why-card {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.why-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}
.why-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(234,179,8,0.08));
}
.why-card h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.why-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ─── Screenshots Carousel ─── */
.carousel-outer {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.carousel-track-wrapper {
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.carousel-slide {
  min-width: 100%;
  padding: 2rem;
}
.carousel-slide-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
}
.carousel-phone {
  width: 200px;
  height: 400px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 30px;
  border: 2px solid rgba(148,163,184,0.12);
  overflow: hidden;
  flex-shrink: 0;
}
.carousel-phone-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0.8rem 0.8rem;
}
.carousel-phone-head {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 0.5rem;
}
.carousel-phone-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}
.carousel-phone-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-phone-body svg { opacity: 0.6; }

.carousel-info h3 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.carousel-info p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.carousel-info .feature-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.carousel-info .feature-tag {
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  background: rgba(16,185,129,0.1);
  color: var(--primary);
  border: 1px solid rgba(16,185,129,0.15);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 5;
  backdrop-filter: blur(10px);
}
.carousel-btn:hover { border-color: var(--primary); background: rgba(16,185,129,0.1); }
.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  transition: var(--transition);
  cursor: pointer;
}
.carousel-dot.active {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  width: 28px;
  border-radius: 5px;
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(16,185,129,0.2); }
.faq-item.open { border-color: var(--border-glow); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  gap: 1rem;
}
.faq-icon {
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.2rem;
}
.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── CTA Section ─── */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  position: relative;
}
.cta-box {
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(234,179,8,0.05));
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}
.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  position: relative;
}
.cta-box p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-box .store-btn { position: relative; }

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 1.5rem;
  background: rgba(5,10,20,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-about p {
  font-size: 0.9rem;
  margin-top: 0.8rem;
  color: var(--text-muted);
  max-width: 320px;
}
.footer-links h5 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.social-links { display: flex; gap: 0.6rem; }
.social-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .phone-mockup-wrapper { margin-top: 2rem; }
  .phone-mockup { width: 240px; height: 480px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-slide-inner { grid-template-columns: 1fr; text-align: center; }
  .carousel-phone { margin: 0 auto; width: 160px; height: 320px; }
  .carousel-info .feature-tags { justify-content: center; }
  .carousel-btn.prev { left: 5px; }
  .carousel-btn.next { right: 5px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
  .section-padding { padding: 4rem 0; }
  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .phone-mockup { width: 220px; height: 440px; }
  .carousel-slide { padding: 1rem; }
  .carousel-slide-inner { padding: 1.5rem; }
}
