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

:root {
  --bg-main: #F9FAFB;
  --bg-surface: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --accent-primary: #EF4444;
  --accent-secondary: #DC2626;
  --accent-gradient: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  --text-primary: #111827;
  --text-muted: #6B7280;
  --border-light: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 20px 40px rgba(239, 68, 68, 0.2);
  --radius-md: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes floatTilt {
  0% { transform: translateY(0px) rotateY(-15deg) rotateX(10deg); }
  50% { transform: translateY(-20px) rotateY(-12deg) rotateX(12deg); }
  100% { transform: translateY(0px) rotateY(-15deg) rotateX(10deg); }
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-icon {
  background: var(--accent-gradient);
  color: #fff;
  padding: 6px;
  border-radius: 10px;
  display: flex;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 1rem;
  transition: color 0.3s;
}

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

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-glow);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(239, 68, 68, 0.3);
}

.btn-dark {
  background: #111827;
  color: #fff;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-dark:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* ── HERO SECTION ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 5% 60px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-bg-accent {
  position: absolute;
  top: -10%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(239,68,68,0.1) 0%, transparent 60%);
  z-index: -1;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: fadeIn 0.8s ease backwards;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  animation: fadeIn 0.8s ease 0.1s backwards;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
  animation: fadeIn 0.8s ease 0.2s backwards;
}

.store-buttons {
  display: flex;
  gap: 16px;
  animation: fadeIn 0.8s ease 0.3s backwards;
}

.app-store-btn {
  background: #111827;
  color: #fff;
  padding: 12px 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.app-store-btn:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.app-store-text {
  display: flex;
  flex-direction: column;
}
.app-store-text span:first-child { font-size: 10px; color: #9CA3AF; line-height: 1; }
.app-store-text span:last-child { font-size: 16px; font-weight: 700; line-height: 1.2; margin-top:2px; }

/* ── IPHONE MOCKUP ── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
  animation: fadeIn 1s ease 0.4s backwards;
}

.iphone-frame {
  width: 320px;
  height: 692px;
  background: #000;
  border-radius: 44px;
  border: 4px solid #DFE1E5; /* Light frame */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), inset 0 0 0 6px #000;
  transform: rotateY(-15deg) rotateX(10deg);
  position: relative;
  overflow: visible;
  animation: floatTilt 6s ease-in-out infinite;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
}

.app-screen-img {
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: cover;
  border-radius: 36px;
  z-index: 2;
}

.iphone-dynamic-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 25px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

/* Buttons */
.iphone-action-button { position: absolute; left: -6px; top: 140px; width: 3px; height: 24px; background: #DFE1E5; border-radius: 2px 0 0 2px; }
.iphone-volume-up { position: absolute; left: -6px; top: 190px; width: 3px; height: 46px; background: #DFE1E5; border-radius: 2px 0 0 2px; }
.iphone-volume-down { position: absolute; left: -6px; top: 250px; width: 3px; height: 46px; background: #DFE1E5; border-radius: 2px 0 0 2px; }
.iphone-power-button { position: absolute; right: -6px; top: 210px; width: 3px; height: 60px; background: #DFE1E5; border-radius: 0 2px 2px 0; }

.floating-badge {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 16px 24px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  z-index: 10;
  color: var(--text-primary);
}
.badge-1 { top: 15%; right: -30px; animation: float 5s ease-in-out infinite 1s; }
.badge-2 { bottom: 20%; left: -60px; animation: float 7s ease-in-out infinite 0.5s; background: var(--bg-surface); }
.badge-icon {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-primary);
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}

/* ── SOCIAL PROOF STATS ── */
.stats-section {
  padding: 60px 5%;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item { text-align: center; }
.stat-number { font-size: 3rem; font-weight: 900; color: var(--text-primary); margin-bottom: 4px; letter-spacing: -1px; }
.stat-label { font-size: 1rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ── CORE SECTIONS ── */
.section {
  padding: 120px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

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

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 40px;
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(239, 68, 68, 0.2);
}

.feature-icon {
  width: 64px; height: 64px;
  background: rgba(239, 68, 68, 0.08);
  color: var(--accent-primary);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg { width: 32px; height: 32px; }

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

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

/* ── HOW IT WORKS ── */
.process-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 72px; height: 72px;
  background: var(--bg-main);
  color: var(--accent-primary);
  font-size: 1.8rem; font-weight: 900;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.05);
}

.process-step h3 { font-size: 1.4rem; margin-bottom: 12px; font-weight: 800; }
.process-step p { color: var(--text-muted); }

/* ── APP PREVIEW ── */
.preview-section {
  padding: 120px 5%;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.preview-content { flex: 1; }
.preview-images { flex: 1; display: flex; gap: -40px; justify-content: center; perspective: 1500px; align-items: center;}
.preview-img { margin: 0 -30px; }

.preview-img {
  width: 240px;
  border-radius: 30px;
  border: 6px solid #111;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  background: #000;
  object-fit: cover;
  height: 520px;
}
.preview-img.left { transform: rotateY(-20deg) rotateX(10deg) translateZ(-50px); opacity:0.9; }
.preview-img.center { transform: rotateY(-5deg) rotateX(10deg) translateZ(40px); z-index:2; box-shadow: 0 40px 80px rgba(0,0,0,0.3); }
.preview-img.right { transform: rotateY(15deg) rotateX(10deg) translateZ(-40px); opacity:0.9; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-surface);
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.stars { color: #FBBF24; font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 2px;}

.user-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.user-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #E5E7EB;
  background-size: cover;
}

/* ── CTA SECTION ── */
.cta-section {
  position: relative;
  text-align: center;
  padding: 100px 5%;
  background: var(--bg-surface);
}

.cta-box {
  background: var(--accent-gradient);
  border-radius: var(--radius-xl);
  padding: 80px 5%;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.cta-box h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

/* ── FOOTER ── */
.footer {
  background: #FFFFFF;
  padding: 80px 5% 40px;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto 60px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 24px;
  font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; color: var(--text-muted); font-weight: 500; }
.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: var(--accent-primary); }

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .hero-grid, .preview-section { grid-template-columns: 1fr; text-align: center; gap: 40px;}
  .floating-badge { display: none; }
  .hero-actions, .store-buttons { justify-content: center; }
  .stats-grid { flex-wrap: wrap; gap: 40px;}
  .process-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; gap: 60px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 40px; }
  .preview-images { display: none; }
}
