@font-face { font-family: 'SG'; src: url('fonts/SpaceGrotesk_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'SG'; src: url('fonts/SpaceGrotesk_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'In'; src: url('fonts/Inter_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'In'; src: url('fonts/Inter_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --bg: #0B0D10;
  --bg-2: #121418;
  --surface: #181B20;
  --border: rgba(255, 255, 255, 0.08);
  --text: #F4F5F7;
  --muted: #A3A9B2;
  --accent: #FF7A1A;
  --accent-2: #FF9A4D;
  --blue: #3D7BD9;
  --green: #12855A;
  --radius: 28px;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'In', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(16px);
  background: rgba(11, 13, 16, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: 'SG'; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav .cta-small { margin-left: 8px; }

/* buttons */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: #fff; color: #000; border-radius: 14px; padding: 12px 22px 12px 18px;
  font-weight: 600; line-height: 1.15; transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.store-btn small { display: block; font-size: 12px; font-weight: 400; opacity: .75; }
.store-btn strong { font-size: 19px; }
.store-btn svg { width: 26px; height: 26px; }
.cta-small {
  text-decoration: none; background: var(--accent); color: #0B0D10; font-weight: 600; font-size: 14px;
  padding: 9px 16px; border-radius: 999px;
}

/* hero */
.hero { position: relative; padding: 96px 0 40px; text-align: center; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(600px 420px at 50% 72%, rgba(255, 122, 26, .30), transparent 70%),
    radial-gradient(520px 380px at 18% 30%, rgba(61, 123, 217, .16), transparent 70%);
}
.eyebrow { font-family: 'SG'; font-weight: 500; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
h1, h2, h3 { font-family: 'SG'; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.hero h1 { font-size: clamp(44px, 8vw, 88px); margin: 18px auto 0; max-width: 900px; }
.hero h1 em, h2 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 640px; margin: 24px auto 0; }
.hero .actions { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero .note { font-size: 14px; color: var(--muted); }

/* CSS phone (same look as the store screenshots) */
.phone {
  position: relative; width: 300px; aspect-ratio: 900 / 1956; border-radius: 50px;
  background: linear-gradient(135deg, #5A5F68 0%, #2A2D33 30%, #1A1C20 60%, #44484F 100%);
  box-shadow: 0 50px 100px rgba(0, 0, 0, .6), inset 0 0 0 1.5px rgba(255, 255, 255, .18);
  padding: 8px; flex: none;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 43px; background: #000; }
.phone::after { content: ''; position: absolute; top: 18px; left: 50%; width: 84px; height: 25px; margin-left: -42px; border-radius: 14px; background: #000; }
.showcase {
  position: relative; margin: 64px auto 0; height: 740px; max-width: 980px;
  perspective: 1800px; display: flex; justify-content: center; align-items: flex-start;
}
.showcase .phone { position: absolute; top: 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.showcase .p-left { transform: translateX(-300px) translateY(70px) rotateY(24deg) rotateZ(-4deg) scale(.86); opacity: .9; }
.showcase .p-right { transform: translateX(300px) translateY(70px) rotateY(-24deg) rotateZ(4deg) scale(.86); opacity: .9; }
.showcase .p-center { z-index: 2; transform: translateZ(60px); }
.float {
  position: absolute; z-index: 3; background: rgba(24, 27, 32, .92); border: 1px solid var(--border);
  border-radius: 20px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; text-align: left;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55); backdrop-filter: blur(12px);
  animation: bob 6s ease-in-out infinite;
}
.float .icon { width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(145deg, var(--accent-2), var(--accent)); display: grid; place-items: center; font-family: 'SG'; font-weight: 700; color: #0B0D10; flex: none; }
.float b { display: block; font-size: 15px; }
.float span { font-size: 13px; color: var(--muted); }
.float.n1 { top: 40px; left: 50%; margin-left: -420px; }
.float.n2 { top: 380px; left: 50%; margin-left: 120px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* trust strip */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding: 28px 0 8px; color: var(--muted); font-size: 15px; }
.trust span::before { content: '✓'; color: var(--accent); margin-right: 8px; font-weight: 600; }

/* feature blocks */
.feature { padding: 110px 0; border-top: 1px solid var(--border); }
.feature .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature:nth-of-type(even) .media { order: -1; }
.feature h2 { font-size: clamp(34px, 4.6vw, 54px); margin: 14px 0 20px; }
.feature p { color: var(--muted); font-size: 18px; max-width: 480px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips li { list-style: none; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.media { display: flex; justify-content: center; perspective: 1600px; position: relative; }
.media .phone { transform: rotateY(-14deg) rotateX(5deg) rotateZ(-2deg); }
.feature:nth-of-type(even) .media .phone { transform: rotateY(14deg) rotateX(5deg) rotateZ(2deg); }
.media .glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(255, 122, 26, .28), transparent); filter: blur(10px); z-index: -1; }
.media .glow.blue { background: radial-gradient(closest-side, rgba(61, 123, 217, .30), transparent); }
.media .glow.green { background: radial-gradient(closest-side, rgba(18, 133, 90, .32), transparent); }
.media .float { animation: none; }

/* pricing */
.pricing { padding: 110px 0; border-top: 1px solid var(--border); text-align: center; }
.pricing h2 { font-size: clamp(34px, 4.6vw, 54px); margin-top: 14px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; text-align: left; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 80px rgba(255, 122, 26, .12); }
.plan h3 { font-size: 24px; }
.plan .price { font-family: 'SG'; font-weight: 700; font-size: 40px; margin: 14px 0 4px; letter-spacing: -0.02em; }
.plan .price small { font-size: 16px; color: var(--muted); font-family: 'In'; font-weight: 400; letter-spacing: 0; }
.plan ul { margin-top: 18px; display: grid; gap: 10px; }
.plan li { list-style: none; color: var(--muted); font-size: 15px; padding-left: 26px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #0B0D10; background: var(--accent); border-radius: 999px; padding: 3px 10px; margin-left: 8px; vertical-align: middle; }

/* faq */
.faq { padding: 110px 0; border-top: 1px solid var(--border); }
.faq h2 { font-size: clamp(34px, 4.6vw, 54px); margin: 14px 0 36px; text-align: center; }
.faq details { max-width: 780px; margin: 0 auto; border-bottom: 1px solid var(--border); padding: 22px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin-top: 12px; }

/* final cta + footer */
.final { padding: 120px 0; text-align: center; border-top: 1px solid var(--border); position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 300px at 50% 100%, rgba(255, 122, 26, .25), transparent 70%); pointer-events: none; }
.final h2 { font-size: clamp(36px, 5vw, 60px); max-width: 760px; margin: 0 auto; }
.final .store-btn, .final .store-badge { margin-top: 36px; }
footer { border-top: 1px solid var(--border); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* legal / support pages */
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 100px; }
.doc h1 { font-size: clamp(36px, 6vw, 52px); }
.doc .updated { color: var(--muted); margin: 12px 0 36px; font-size: 15px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; letter-spacing: -0.02em; }
.doc p, .doc li { color: #C9CDD3; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 6px; margin: 10px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--border); padding: 10px 8px; vertical-align: top; }
.doc th { color: var(--text); }
.doc .todo { background: rgba(255, 122, 26, .12); border: 1px dashed var(--accent); border-radius: 12px; padding: 12px 16px; color: var(--accent-2); }
.doc a { color: var(--accent-2); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .cta-small { margin-left: auto; }
  .feature .wrap { grid-template-columns: 1fr; gap: 48px; }
  .feature:nth-of-type(even) .media { order: 0; }
  .feature { padding: 80px 0; }
  .plans { grid-template-columns: 1fr; }
  .showcase { height: 560px; }
  .showcase .phone { width: 250px; }
  .showcase .p-left { transform: translateX(-150px) translateY(60px) rotateY(24deg) scale(.8); opacity: .55; }
  .showcase .p-right { transform: translateX(150px) translateY(60px) rotateY(-24deg) scale(.8); opacity: .55; }
  .float.n1 { margin-left: -170px; top: 30px; }
  .float.n2 { margin-left: -20px; top: 400px; }
}
@media (prefers-reduced-motion: reduce) { .float { animation: none; } html { scroll-behavior: auto; } }

/* official App Store badge (Apple Marketing Tools): keep the artwork unmodified */
.store-badge { display: inline-block; line-height: 0; transition: transform .2s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { width: 180px; height: 60px; }
