:root {
  --bg: #0c0c0e;
  --surface: #17171a;
  --surface-2: #202024;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --brand: #ff9f43;
  --brand-2: #ff6b6b;
  --brand-glow: rgba(255, 159, 67, 0.35);
  --radius: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 24px;
  background: rgba(12, 12, 14, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.logo-icon { font-size: 1.4rem; }
.nav-cta {
  padding: 10px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600; font-size: 0.9rem; transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--surface-2); border-color: var(--brand); color: var(--brand); }

.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  max-width: 1200px; margin: 0 auto; padding: 140px 24px 80px;
}
.hero-content { animation: fadeUp 0.8s ease both; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 159, 67, 0.12); color: var(--brand);
  font-weight: 600; font-size: 0.82rem; margin-bottom: 24px;
}
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse 2s infinite; }
h1 {
  font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 22px;
  background: linear-gradient(135deg, #fff 0%, #d4d4d8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 16px; font-weight: 700; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 12px 32px var(--brand-glow); }
.btn-primary span { font-size: 0.72rem; font-weight: 500; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.04em; }
.btn-primary strong { font-size: 1.1rem; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px var(--brand-glow); }
.btn-secondary { background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--text); }
.btn-secondary:hover { background: var(--surface-2); }

.hero-visual { position: relative; height: 520px; display: flex; align-items: center; justify-content: center; animation: fadeIn 1s ease both 0.2s; }
.phone-float {
  width: 260px; border-radius: 36px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.55), 0 0 0 10px rgba(255, 255, 255, 0.03);
  position: absolute;
}
.phone-1 { z-index: 2; animation: float 6s ease-in-out infinite; }
.phone-2 { width: 230px; right: 0; top: 80px; z-index: 1; transform: rotate(8deg); animation: float 7s ease-in-out infinite 0.5s; }

.marquee {
  padding: 28px 0; background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 28px; animation: marquee 24s linear infinite;
  font-weight: 600; font-size: 0.95rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
}
.marquee-track span:nth-child(odd) { color: var(--text); }

.features { padding: 120px 24px; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2, .screenshots h2, .download h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.section-header p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  opacity: 0; transform: translateY(30px);
}
.feature-card.visible { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease; }
.feature-card:hover { border-color: rgba(255, 159, 67, 0.4); }
.feature-card.large, .feature-card.wide { grid-column: span 2; flex-direction: row; align-items: center; }
.feature-card.wide { flex-direction: row-reverse; }
.feature-text h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.feature-text p { color: var(--muted); font-size: 1rem; }
.feature-img { width: 220px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); margin: 0 auto; }
.feature-card.large .feature-img, .feature-card.wide .feature-img { width: 280px; }

.screenshots { padding: 80px 24px; overflow: hidden; text-align: center; }
.screenshot-scroll {
  display: flex; gap: 24px; overflow-x: auto; padding: 40px 0 60px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.screenshot-scroll img { height: 520px; border-radius: 32px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); scroll-snap-align: center; flex-shrink: 0; transition: transform 0.3s ease; }
.screenshot-scroll img:hover { transform: scale(1.03); }

.download { padding: 120px 24px; }
.download-inner {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.12), rgba(255, 107, 107, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius); padding: 64px 32px;
}
.download p { color: var(--muted); margin-bottom: 28px; }
.btn-primary.large { padding: 18px 36px; }
.note { margin-top: 18px; font-size: 0.85rem; opacity: 0.7; }

footer { padding: 48px 24px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.links { display: flex; gap: 24px; color: var(--muted); font-size: 0.95rem; }
.links a:hover { color: var(--brand); }
.copyright { width: 100%; color: var(--muted); font-size: 0.85rem; opacity: 0.6; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { height: 420px; }
  .phone-float { width: 220px; }
  .phone-2 { width: 190px; right: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.large, .feature-card.wide { grid-column: span 1; flex-direction: column; }
  .feature-card.large .feature-img, .feature-card.wide .feature-img { width: 240px; }
  .screenshot-scroll img { height: 420px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
