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

:root {
  --primary: #e65100;
  --primary-dark: #bf360c;
  --primary-light: #ff8a50;
  --primary-glow: rgba(230, 81, 0, 0.45);
  --bg: #0c0a09;
  --bg-elevated: #141210;
  --surface: #1c1917;
  --text: #fafaf9;
  --text-soft: #d6d3d1;
  --muted: #a8a29e;
  --card: rgba(28, 25, 23, 0.72);
  --card-border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --side: clamp(24px, 6vw, 96px);
  --container: 1180px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: #ffb74d; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--side);
  padding-right: var(--side);
}

/* ── Animated background ── */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(230, 81, 0, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(255, 138, 80, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(191, 54, 12, 0.15) 0%, transparent 55%),
    var(--bg);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  animation: orb-float 18s var(--ease-out) infinite alternate;
}

.bg-orb--1 {
  width: 420px; height: 420px;
  background: rgba(230, 81, 0, 0.25);
  top: -120px; left: -80px;
}

.bg-orb--2 {
  width: 360px; height: 360px;
  background: rgba(255, 138, 80, 0.12);
  top: 40%; right: -100px;
  animation-delay: -6s;
  animation-duration: 22s;
}

.bg-orb--3 {
  width: 300px; height: 300px;
  background: rgba(191, 54, 12, 0.18);
  bottom: 10%; left: 20%;
  animation-delay: -12s;
  animation-duration: 20s;
}

@keyframes orb-float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.08); }
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}

.site-header.scrolled {
  background: rgba(12, 10, 9, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--card-border);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
  box-shadow: 0 8px 24px var(--primary-glow);
  transition: transform 0.4s var(--ease-out);
}

.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand:hover { text-decoration: none; color: var(--text); }

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

.nav a {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--card-border);
  color: var(--text);
  width: 44px; height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.25rem;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(12, 10, 9, 0.96);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  padding: 14px 28px;
  text-decoration: none;
}

/* ── Hero ── */
.hero {
  padding: 160px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 10px;
  background: rgba(230, 81, 0, 0.12);
  border: 1px solid rgba(230, 81, 0, 0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
  animation: fade-up 0.8s var(--ease-out) both;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fade-up 0.8s var(--ease-out) 0.1s both;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, #fff 20%, var(--primary-light) 60%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
  animation: fade-up 0.8s var(--ease-out) 0.2s both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fade-up 0.8s var(--ease-out) 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--card-border);
  animation: fade-up 0.8s var(--ease-out) 0.4s both;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Phone mockup */
.hero-visual {
  position: relative;
  animation: fade-up 1s var(--ease-out) 0.25s both;
}

.phone-frame {
  position: relative;
  margin: 0 auto;
  width: min(300px, 85vw);
  aspect-ratio: 9/18.5;
  background: linear-gradient(160deg, #2a2522 0%, #1a1714 100%);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255,255,255,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
  animation: phone-float 5s var(--ease-out) infinite alternate;
}

@keyframes phone-float {
  0% { transform: translateY(0) rotate(-1deg); }
  100% { transform: translateY(-14px) rotate(1deg); }
}

.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 26px;
  background: #0c0a09;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.phone-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.2) 0%, transparent 50%);
}

.phone-screen img {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  animation: icon-pulse 3s ease infinite;
}

@keyframes icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.phone-label {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.phone-tagline {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 0 24px;
}

.floating-card {
  position: absolute;
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: card-bob 4s var(--ease-out) infinite alternate;
}

.floating-card--1 {
  top: 8%; right: -8%;
  animation-delay: 0s;
}

.floating-card--2 {
  bottom: 18%; left: -12%;
  animation-delay: -2s;
}

.floating-card .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.floating-card--1 .icon { background: rgba(74, 222, 128, 0.15); }
.floating-card--2 .icon { background: rgba(96, 165, 250, 0.15); }

@keyframes card-bob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ── Ticker ── */
.ticker-wrap {
  overflow: hidden;
  border-block: 1px solid var(--card-border);
  background: rgba(255,255,255,0.02);
  padding: 14px 0;
}

.ticker {
  display: flex;
  width: max-content;
  animation: ticker 35s linear infinite;
}

.ticker span {
  padding: 0 40px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.ticker span em {
  color: var(--primary-light);
  font-style: normal;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Sections ── */
.section {
  padding: clamp(72px, 10vw, 120px) 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ── Feature cards ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.card {
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
  opacity: 0;
  transform: translateY(32px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 81, 0, 0.35);
  box-shadow: 0 20px 60px rgba(230, 81, 0, 0.12);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(230,81,0,0.2), rgba(230,81,0,0.05));
  border: 1px solid rgba(230, 81, 0, 0.2);
  transition: transform 0.4s var(--ease-out);
}

.card:hover .card-icon {
  transform: scale(1.08) rotate(-4deg);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── How it works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 8px 32px var(--primary-glow);
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── Download ── */
.download-section {
  position: relative;
}

.download-box {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px);
  background:
    linear-gradient(135deg, rgba(230,81,0,0.15) 0%, rgba(28,25,23,0.9) 50%, rgba(12,10,9,0.95) 100%);
  border: 1px solid rgba(230, 81, 0, 0.25);
  overflow: hidden;
}

.download-box::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(230,81,0,0.2) 0%, transparent 70%);
  animation: glow-spin 12s linear infinite;
}

@keyframes glow-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.download-box > * { position: relative; z-index: 1; }

.download-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.download-box > p.sub {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.platform {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.35s var(--ease-out), border-color 0.3s;
}

.platform:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 81, 0, 0.3);
}

.platform-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.platform h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.platform p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.download-meta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  font-size: 0.88rem;
  color: var(--muted);
}

.download-meta code {
  background: rgba(255,255,255,0.06);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230, 81, 0, 0.15);
  color: var(--primary-light);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(230, 81, 0, 0.3);
  animation: badge-glow 2.5s ease infinite;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 81, 0, 0); }
  50% { box-shadow: 0 0 20px rgba(230, 81, 0, 0.25); }
}

/* ── Audience ── */
.audience-card {
  text-align: center;
  padding: 40px 28px;
}

.audience-card .card-icon {
  margin: 0 auto 18px;
  width: 64px; height: 64px;
  font-size: 1.8rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 32px var(--primary-glow);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px var(--primary-glow);
  color: #fff;
}

.btn-outline {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--card-border);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
}

.btn svg { width: 18px; height: 18px; }

/* ── Footer ── */
.site-footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--card-border);
}

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

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-soft);
  font-size: 0.92rem;
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary-light); text-decoration: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--card-border);
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── Legal pages ── */
.legal-page {
  padding: 140px 0 80px;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-page .updated {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 0.92rem;
}

.legal-content {
  max-width: 720px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
}

.legal-page h2 {
  margin: 32px 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.legal-page h2:first-of-type { margin-top: 0; }

.legal-page p, .legal-page li {
  color: var(--text-soft);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-weight: 600;
  color: var(--primary-light);
}

/* ── Animations ── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto 20px; }
  .floating-card--1 { right: 0; }
  .floating-card--2 { left: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .mobile-nav { display: flex; }
  .grid-3, .download-grid, .steps, .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .card, .step { opacity: 1; transform: none; }
}
