:root {
  --bg: #0b0f1a;
  --bg-alt: #10152400;
  --surface: #131a2b;
  --surface-2: #171f33;
  --text: #eef1f8;
  --text-dim: #a3adc2;
  --primary: #ff7a59;
  --primary-2: #ffb454;
  --accent: #4fd1c5;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.15;
  margin: 0 0 .5em;
}

p { color: var(--text-dim); margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  color: #17110c;
  box-shadow: 0 10px 30px rgba(255, 122, 89, 0.35);
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255, 122, 89, 0.45); }

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover { background: var(--surface-2); }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 26, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 500;
  font-size: 15px;
}

.nav__links a:not(.nav__cta) { color: var(--text-dim); transition: color .15s ease; }
.nav__links a:not(.nav__cta):hover { color: var(--text); }

.nav__cta {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 12px;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

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

.hero__glow {
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(255,122,89,0.25), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

.hero__subtitle { font-size: 18px; max-width: 520px; }

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 40px;
}

.hero__stats {
  display: flex;
  gap: 36px;
}

.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 22px; font-family: 'Poppins', sans-serif; }
.hero__stats span { font-size: 13px; color: var(--text-dim); }

/* ===== Phone mock ===== */
.hero__mock { display: flex; justify-content: center; }

.phone {
  width: 300px;
  height: 600px;
  background: linear-gradient(160deg, #1a2138, #0e1322);
  border-radius: 44px;
  border: 8px solid #050810;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.phone__notch {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 22px;
  background: #050810;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}

.phone__screen {
  height: 100%;
  overflow: hidden;
  padding: 30px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.feed-card--1 { height: 62%; }
.feed-card--2 { height: 32%; }

.feed-card__img { width: 100%; height: 60%; }

.feed-card--2 .feed-card__img { height: 100%; }

.feed-card__img--1 { background: linear-gradient(135deg, #ff7a59, #ffb454, #4fd1c5); }
.feed-card__img--2 { background: linear-gradient(135deg, #4fd1c5, #2b6cb0, #ff7a59); }

.feed-card__meta {
  padding: 10px 12px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feed-card__meta strong { font-size: 14px; }
.feed-card__meta span { font-size: 11px; color: var(--text-dim); }

.feed-card__actions {
  display: flex;
  gap: 12px;
  padding: 4px 12px 10px;
  font-size: 11px;
  color: var(--text-dim);
}

/* ===== Strip ===== */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
}

.strip .dot { color: var(--primary); }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section--alt { background: var(--surface); }

.section__head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }

/* ===== Feature grid ===== */
.grid { display: grid; gap: 24px; }
.grid--features { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .2s ease, border-color .2s ease;
}

.card:hover { transform: translateY(-4px); border-color: rgba(255,122,89,0.4); }

.card__icon {
  font-size: 28px;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border-radius: 14px;
  margin-bottom: 18px;
}

.card h3 { font-size: 18px; }
.card p { font-size: 14.5px; margin-bottom: 0; }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.step__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  color: #17110c;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 16px;
}

.step h3 { font-size: 16.5px; }
.step p { font-size: 14px; margin-bottom: 0; }

/* ===== Design section ===== */
.design {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.design__list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.design__visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.story-card {
  height: 260px;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.story-card--1 { background: linear-gradient(160deg, #ff7a59, #ffb454); margin-top: 30px; }
.story-card--2 { background: linear-gradient(160deg, #4fd1c5, #2b6cb0); }
.story-card--3 { background: linear-gradient(160deg, #ffb454, #ff7a59, #4fd1c5); margin-top: 30px; }

/* ===== CTA ===== */
.section--cta {
  background: radial-gradient(circle at 50% 0%, rgba(255,122,89,0.15), transparent 60%), var(--surface);
}

.cta { text-align: center; max-width: 560px; }
.cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }

.cta__form {
  display: flex;
  gap: 12px;
  margin: 28px 0 12px;
}

.cta__form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.cta__form input:focus { outline: 2px solid var(--primary); }

.cta__note { font-size: 13px; }

/* ===== Footer ===== */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--border); }

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.footer__brand { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; }
.footer__brand p { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 13px; margin-top: 6px; }

.footer__links, .footer__legal {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-dim);
}

.footer__copy {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== Reveal animation ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__mock { order: -1; }
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .design { grid-template-columns: 1fr; }
  .design__visual { order: -1; }
}

@media (max-width: 720px) {
  .nav__links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__burger { display: flex; }
  .grid--features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta__form { flex-direction: column; }
  .phone { width: 240px; height: 480px; }
}
