@import url('variables.css');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--violet); color: #fff; }
a { text-decoration: none; color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* === NAV === */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,251,250,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand .name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 21px; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14.5px; color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--violet); }

.lang {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 7px; padding: 5px 9px;
  transition: border-color .15s, color .15s;
}
.lang:hover { border-color: var(--ink); color: var(--ink); }

.btn {
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14px;
  padding: 9px 18px; border-radius: 8px; cursor: pointer; border: none;
  transition: transform .12s, background .15s; display: inline-block; text-align: center;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { background: var(--violet-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* === HERO === */
.hero { padding: 96px 0 88px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  background: var(--violet-soft); color: var(--violet-deep);
  padding: 6px 14px; border-radius: 99px; margin-bottom: 26px;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -2px;
  max-width: 840px; margin: 0 auto;
}
h1 .accent { color: var(--violet); }
.hero p {
  font-size: 19px; color: var(--muted); max-width: 600px;
  margin: 22px auto 34px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-cta .btn { padding: 13px 26px; font-size: 15px; }
.hero-note {
  font-size: 13px; color: var(--muted); margin-top: 18px;
  font-family: 'JetBrains Mono', monospace;
}

/* hero product mock */
.hero-mock {
  margin-top: 64px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--white); box-shadow: 0 30px 60px -28px rgba(24,24,27,.22);
  overflow: hidden;
}
.mock-bar {
  height: 38px; background: var(--paper); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 14px; gap: 7px;
}
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mock-body { display: grid; grid-template-columns: 1fr 360px; min-height: 340px; }
.mock-site {
  padding: 38px 34px; border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--paper)); text-align: left;
}
.mock-site .ms-label { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.mock-site .ms-hint { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.url-field {
  display: flex; align-items: center; border: 1px solid var(--line);
  border-radius: 10px; background: var(--white); overflow: hidden;
}
.url-field .pfx {
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--muted);
  padding: 0 0 0 12px;
}
.url-field input {
  border: none; outline: none; flex: 1; font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px; color: var(--ink); padding: 11px 8px; background: transparent;
}
.url-field .go {
  background: var(--violet); color: #fff; font-size: 12px; font-weight: 500;
  padding: 9px 14px; margin: 4px; border-radius: 7px; white-space: nowrap;
}
.ms-progress { margin-top: 18px; }
.ms-progress .pr-line {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px;
  color: var(--ink-soft); margin-bottom: 9px;
}
.ms-progress .pr-line .ck {
  width: 16px; height: 16px; border-radius: 50%; background: var(--violet-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ms-progress .pr-line.done .ck { background: var(--green); }
.ms-progress .pr-line code {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); margin-left: auto;
}
.mock-chat { background: var(--night); padding: 20px; display: flex; flex-direction: column; }
.chat-head {
  display: flex; align-items: center; gap: 9px; padding-bottom: 14px;
  border-bottom: 1px solid var(--night-line); margin-bottom: 16px;
}
.chat-head .nm { color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 14px; }
.chat-head .st { color: var(--night-muted); font-size: 11px; font-family: 'JetBrains Mono', monospace; margin-left: auto; }
.bubble {
  font-size: 13.5px; padding: 10px 13px; border-radius: 12px; margin-bottom: 10px;
  max-width: 88%; line-height: 1.5;
}
.bubble.user { background: var(--violet); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.bubble.bot { background: var(--night-soft); color: #E4E4E7; align-self: flex-start; border-bottom-left-radius: 3px; }
.chat-input {
  margin-top: auto; background: var(--night-soft); border: 1px solid var(--night-line);
  border-radius: 10px; padding: 10px 13px; font-size: 13px; color: var(--night-muted);
  display: flex; justify-content: space-between; align-items: center;
}

/* === LOGO STRIP === */
.strip { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-label {
  text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 20px;
}
.strip-row { display: flex; justify-content: center; gap: 42px; flex-wrap: wrap; align-items: center; }
.strip-row span {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px;
  color: #C4C4CB; letter-spacing: -0.3px;
}

/* === SECTION SHELL === */
section { padding: 96px 0; }
.sec-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--violet); text-align: center;
}
.sec-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(28px, 4vw, 40px); letter-spacing: -1.2px;
  text-align: center; margin: 10px auto 12px; max-width: 660px; line-height: 1.14;
}
.sec-sub {
  text-align: center; font-size: 17px; color: var(--muted);
  max-width: 580px; margin: 0 auto 56px;
}

/* === HOW IT WORKS === */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 26px;
}
.step-num {
  font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500;
  color: var(--violet); background: var(--violet-soft);
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 19px; margin-bottom: 7px; letter-spacing: -0.3px; }
.step p { font-size: 14.5px; color: var(--muted); }
.step .tag {
  margin-top: 14px; font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line);
  padding: 5px 9px; border-radius: 6px; display: inline-block;
}

/* === OPTIONAL PDF === */
.addon { padding: 0 0 96px; }
.addon-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 28px; display: flex; align-items: center; gap: 20px;
}
.addon-card .ac-ico {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 11px;
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.addon-card h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; margin-bottom: 3px; letter-spacing: -0.2px; }
.addon-card p { font-size: 14px; color: var(--muted); }
.addon-card .ac-text { flex: 1; }
.addon-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500;
  color: var(--violet-deep); background: var(--violet-soft);
  padding: 5px 10px; border-radius: 6px; white-space: nowrap;
}

/* === FEATURES === */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 28px; display: flex; gap: 16px;
}
.feat-ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px;
  background: var(--violet-soft); display: flex; align-items: center; justify-content: center;
}
.feat h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; margin-bottom: 5px; letter-spacing: -0.2px; }
.feat p { font-size: 14px; color: var(--muted); }

/* === DEVELOPER (DARK) === */
.dev { background: var(--night); color: #fff; }
.dev .sec-eyebrow { color: var(--lilac); }
.dev .sec-title { color: #fff; }
.dev .sec-sub { color: var(--night-muted); }
.dev-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.dev-points { display: flex; flex-direction: column; gap: 22px; }
.dev-point { display: flex; gap: 14px; }
.dev-point .dp-ico {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  background: var(--night-soft); border: 1px solid var(--night-line);
  display: flex; align-items: center; justify-content: center;
}
.dev-point h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 16px; color: #fff; margin-bottom: 3px; }
.dev-point p { font-size: 14px; color: var(--night-muted); }
.code-card {
  background: var(--night-soft); border: 1px solid var(--night-line); border-radius: 14px;
  overflow: hidden;
}
.code-tabs { display: flex; border-bottom: 1px solid var(--night-line); }
.code-tab {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; padding: 11px 16px;
  color: var(--night-muted); cursor: pointer; border-right: 1px solid var(--night-line);
}
.code-tab.active { color: #fff; background: rgba(255,255,255,.04); }
.code-body {
  padding: 22px; font-family: 'JetBrains Mono', monospace; font-size: 13px;
  line-height: 1.85; overflow-x: auto;
}
.code-body .cm { color: #5F5F6B; }
.code-body .tg { color: var(--lilac); }
.code-body .at { color: #7FB3E8; }
.code-body .st { color: #8FD9B6; }
.code-foot {
  border-top: 1px solid var(--night-line); padding: 12px 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--night-muted);
}
.code-foot b { color: var(--green); font-weight: 500; }
.dev-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.dstat { border: 1px solid var(--night-line); border-radius: 12px; padding: 22px; text-align: center; }
.dstat .v {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 32px;
  color: #fff; letter-spacing: -1px;
}
.dstat .v .u { font-size: 17px; color: var(--lilac); }
.dstat .k { font-size: 13px; color: var(--night-muted); margin-top: 3px; }

/* === PRICING === */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 32px 28px; display: flex; flex-direction: column;
}
.price.featured { border: 2px solid var(--violet); position: relative; }
.price-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--violet); color: #fff; font-size: 11px; font-weight: 600;
  font-family: 'JetBrains Mono', monospace; letter-spacing: .5px;
  padding: 5px 14px; border-radius: 99px; white-space: nowrap;
}
.price .tier { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.price .desc { font-size: 13.5px; color: var(--muted); min-height: 40px; }
.price .amt {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(32px, 4vw, 42px); letter-spacing: -1.5px; margin: 14px 0 2px;
}
.price .amt .per { font-size: 15px; color: var(--muted); font-weight: 400; }
.price .soon {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--violet-deep);
  background: var(--violet-soft); padding: 3px 9px; border-radius: 6px;
  display: inline-block; margin: 14px 0 2px;
}
.price ul { list-style: none; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.price li { font-size: 14px; color: var(--ink-soft); display: flex; gap: 9px; align-items: flex-start; }
.price li svg { flex-shrink: 0; margin-top: 3px; }
.price .btn { width: 100%; text-align: center; padding: 12px; margin-top: auto; }
.price-note {
  text-align: center; font-size: 13px; color: var(--muted); margin-top: 30px;
  font-family: 'JetBrains Mono', monospace;
}

/* === FAQ === */
.faq { max-width: 720px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  cursor: pointer; padding: 22px 4px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 17px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .x {
  flex-shrink: 0; width: 24px; height: 24px; color: var(--violet);
  transition: transform .2s; font-size: 22px; line-height: 1; text-align: center;
}
.qa[open] summary .x { transform: rotate(45deg); }
.qa .ans { padding: 0 4px 22px; font-size: 15px; color: var(--muted); max-width: 620px; }

/* === FINAL CTA === */
.final {
  background: var(--night); color: #fff; text-align: center;
  border-radius: 24px; padding: 72px 32px; margin: 0 32px;
}
.final h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(32px, 4vw, 42px); letter-spacing: -1.3px;
  line-height: 1.1; max-width: 600px; margin: 0 auto 14px;
}
.final p { color: var(--night-muted); font-size: 17px; margin-bottom: 30px; }
.final .hero-cta .btn { padding: 14px 28px; font-size: 15px; }
.final .btn-ghost { color: #fff; border-color: var(--night-line); }
.final .btn-ghost:hover { border-color: #fff; }
.final .consent {
  font-size: 12px; color: #6B6B77; margin-top: 22px; max-width: 440px;
  margin-left: auto; margin-right: auto; line-height: 1.5;
}
.final .consent a { color: var(--night-muted); text-decoration: underline; }

/* === FOOTER === */
footer { padding: 60px 0 40px; border-top: 1px solid var(--line); margin-top: 90px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.foot-brand { max-width: 300px; }
.foot-brand p { font-size: 14px; color: var(--muted); margin-top: 12px; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h5 {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.foot-col a { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 9px; transition: color .15s; }
.foot-col a:hover { color: var(--violet); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 12px;
}

/* === AOS Animations === */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 880px) {
  .wrap { padding: 0 22px; }
  h1 { font-size: clamp(32px, 8vw, 42px); letter-spacing: -1.2px; }
  .sec-title { font-size: clamp(24px, 6vw, 30px); }
  .nav-links { display: none; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-site { border-right: none; border-bottom: 1px solid var(--line); }
  .steps, .feat-grid, .price-grid, .dev-stats { grid-template-columns: 1fr; }
  .dev-split { grid-template-columns: 1fr; gap: 32px; }
  .final h2 { font-size: clamp(24px, 6vw, 30px); }
  section { padding: 64px 0; }
  .hero { padding: 60px 0; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 48px; }
  .hero p { font-size: 17px; }
  .mock-site, .mock-chat { padding: 24px 18px; }
  .addon-card { flex-direction: column; text-align: center; }
  .final { padding: 48px 24px; margin: 0 16px; border-radius: 16px; }
  .strip-row { gap: 24px; }
  .strip-row span { font-size: 16px; }
}
