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

:root {
  color-scheme: dark;
  --bg: #080b14;
  --bg-soft: #0d1220;
  --panel: rgba(19, 25, 43, .72);
  --panel-solid: #12182a;
  --text: #f4f7ff;
  --muted: #9aa7bd;
  --line: rgba(155, 178, 220, .15);
  --blue: #3388ff;
  --cyan: #54d9ff;
  --violet: #8c65ff;
  --green: #42d392;
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(91, 119, 165, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 119, 165, .045) 1px, transparent 1px),
    var(--bg);
  background-size: 56px 56px;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0, transparent 25%, rgba(8, 11, 20, .75) 90%);
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }
.section--tight { padding: 10px 0 72px; }
.page-glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; z-index: -1; }
.page-glow--one { width: 700px; height: 700px; right: -260px; top: 40px; background: radial-gradient(circle, rgba(60, 82, 255, .16), transparent 67%); }
.page-glow--two { width: 650px; height: 650px; left: -300px; top: 930px; background: radial-gradient(circle, rgba(25, 184, 255, .12), transparent 70%); }

.header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: .25s ease; }
.header.is-scrolled { background: rgba(8, 11, 20, .82); border-color: var(--line); backdrop-filter: blur(18px); }
.header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.brand img { border-radius: 10px; box-shadow: 0 8px 24px rgba(39, 109, 255, .3); }
.brand strong { display: block; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; color: #bcc6d8; font-size: 13px; font-weight: 500; }
.nav a { transition: color .2s; }
.nav a:hover, .footer a:hover { color: var(--cyan); }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); color: white; }
.menu-button span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: currentColor; }

.hero { min-height: 860px; padding-top: 176px; display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr); align-items: center; gap: 52px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 21px; color: #8ca3c5; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 12px var(--blue); }
h1, h2 { margin: 0; font-size: clamp(48px, 5.8vw, 80px); line-height: 1.02; letter-spacing: -.055em; font-weight: 750; }
h1 em, h2 em { font-style: normal; color: transparent; background: linear-gradient(100deg, #45caff 0%, #6f86ff 45%, #a269ff 100%); background-clip: text; -webkit-background-clip: text; }
h2 { font-size: clamp(40px, 4.3vw, 61px); }
.hero__lead { max-width: 610px; margin: 29px 0 34px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; padding: 14px 23px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 700; }
.button--primary { background: linear-gradient(110deg, #1878f5, #6655ed); box-shadow: 0 13px 38px rgba(56, 92, 245, .32); }
.button--secondary { border-color: var(--line); background: rgba(18, 24, 42, .65); color: #dce6f5; }
.button--secondary:hover { border-color: rgba(84, 217, 255, .5); }
.button--disabled { cursor: default; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 27px; color: #72819a; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hero__meta span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); vertical-align: 1px; }
.hero__visual { position: relative; min-height: 600px; }
.phone { overflow: hidden; padding: 7px; border: 1px solid rgba(150, 176, 221, .22); border-radius: 28px; background: linear-gradient(145deg, rgba(155, 178, 220, .22), rgba(47, 59, 91, .05)); box-shadow: var(--shadow); }
.phone img { width: 100%; border-radius: 21px; }
.phone--hero { position: absolute; z-index: 3; top: -20px; right: 40px; width: 282px; transform: rotate(2.5deg); box-shadow: 0 35px 90px rgba(0, 0, 0, .55), 0 0 80px rgba(47, 103, 255, .12); }
.code-card { position: absolute; z-index: 2; left: 0; top: 120px; width: 370px; min-height: 230px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: rgba(15, 21, 38, .8); box-shadow: var(--shadow); backdrop-filter: blur(16px); transform: rotate(-4deg); }
.code-card__top { height: 47px; display: flex; align-items: center; gap: 7px; padding: 0 15px; border-bottom: 1px solid var(--line); color: #71819b; font-size: 10px; }
.code-card__top i { width: 7px; height: 7px; border-radius: 50%; background: #364157; }
.code-card__top i:first-child { background: #f36b71; }
.code-card__top span { margin-left: 7px; }
.code-card pre { margin: 0; padding: 24px; color: #b5c4dd; font: 13px/1.9 ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-card b { color: #ff83bc; font-weight: 500; }
.code-card u { color: #77d5ff; text-decoration: none; }
.code-card q { color: #e8ca7c; }
.floating-chip { position: absolute; z-index: 5; padding: 9px 13px; border: 1px solid var(--line); border-radius: 9px; background: rgba(17, 23, 40, .9); box-shadow: 0 12px 32px rgba(0, 0, 0, .36); color: #bac8dc; font: 600 10px ui-monospace, monospace; backdrop-filter: blur(12px); }
.floating-chip--syntax { top: 65px; left: 72px; color: #77d5ff; }
.floating-chip--save { right: 0; bottom: 50px; color: #71e1a9; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 17px; background: rgba(15, 20, 35, .6); backdrop-filter: blur(14px); }
.stats div { padding: 30px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats strong { display: block; font-size: 29px; line-height: 1.15; color: #ddebff; }
.stats span { color: #71809a; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .11em; }
.section-heading { max-width: 720px; margin-bottom: 55px; }
.section-heading p { max-width: 600px; margin: 24px 0 0; color: var(--muted); font-size: 16px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading--center p { margin-inline: auto; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { position: relative; min-height: 285px; overflow: hidden; padding: 31px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg, rgba(20, 28, 48, .88), rgba(12, 17, 30, .72)); transition: transform .25s, border-color .25s; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(84, 217, 255, .28); }
.feature-card::after { content: ""; position: absolute; width: 200px; height: 200px; right: -110px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 116, 255, .12), transparent 70%); }
.feature-card--large { grid-row: span 2; min-height: 586px; }
.feature-card--wide { grid-column: span 2; }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 34px; border: 1px solid rgba(79, 165, 255, .25); border-radius: 11px; background: rgba(35, 99, 204, .12); color: #69c8ff; font: 700 14px ui-monospace, monospace; }
.feature-number { position: absolute; right: 24px; top: 24px; color: #3f4d65; font: 700 10px ui-monospace, monospace; }
.feature-card h3 { margin: 0 0 13px; font-size: 19px; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.mini-code { margin-top: 65px; padding: 22px; border: 1px solid var(--line); border-radius: 11px; background: #0b101c; color: #b9c5d9; font: 12px/2 ui-monospace, monospace; }
.mini-code b { color: #a986ff; }.mini-code q { color: #f2ca78; }.mini-code i { color: #607089; }
.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tool-tags span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; color: #899ab5; font: 600 9px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .06em; }

.showcase { overflow: hidden; background: linear-gradient(180deg, transparent, rgba(26, 38, 68, .3), transparent); }
.phones { height: 620px; display: flex; align-items: flex-start; justify-content: center; gap: 30px; perspective: 1200px; }
.phones .phone { width: 264px; flex: 0 0 auto; }
.phone--center { position: relative; z-index: 2; width: 290px !important; margin-top: 0; }
.phone--side:first-child { margin-top: 55px; transform: rotateY(10deg) rotate(-3deg); opacity: .78; }
.phone--side:last-child { margin-top: 55px; transform: rotateY(-10deg) rotate(3deg); opacity: .78; }
.formats-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.formats-grid .section-heading { margin: 0; }
.format-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.format { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 15px; background: rgba(18, 24, 42, .72); font: 750 13px ui-monospace, monospace; letter-spacing: .06em; box-shadow: inset 0 0 30px rgba(255, 255, 255, .01); }
.format--html { color: #ff7a66; }.format--css { color: #68c7ff; }.format--js { color: #f1d05e; }.format--php { color: #aa93ff; }.format--json { color: #75dfa6; }.format--xml { color: #f1a6d1; }.format--txt { color: #bdc7d7; }
.split-feature { display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: 90px; }
.split-feature__screens { min-height: 560px; position: relative; }
.split-feature__screens .phone { position: absolute; width: 250px; }
.split-feature__screens .phone:first-child { left: 0; top: 10px; transform: rotate(-4deg); }
.split-feature__screens .phone:last-child { right: 5px; top: 75px; transform: rotate(5deg); }
.split-feature__content p { color: var(--muted); }
.check-list { margin: 29px 0; padding: 0; list-style: none; color: #bcc9dc; font-size: 13px; }
.check-list li { margin: 12px 0; }
.check-list li::before { content: "✓"; margin-right: 12px; color: var(--green); }
.text-link { color: #65c6ff; font-size: 13px; font-weight: 700; }
.text-link span { display: inline-block; margin-left: 7px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.section--cta { padding-top: 80px; }
.cta { overflow: hidden; padding: 80px 40px; border: 1px solid var(--line); border-radius: 23px; background: radial-gradient(circle at 50% 100%, rgba(87, 60, 229, .24), transparent 53%), linear-gradient(135deg, rgba(23, 34, 60, .9), rgba(12, 17, 30, .9)); text-align: center; box-shadow: var(--shadow); }
.cta > img { margin: 0 auto 26px; border-radius: 20px; box-shadow: 0 15px 45px rgba(40, 90, 255, .35); }
.cta .eyebrow { justify-content: center; }
.cta p { max-width: 580px; margin: 25px auto 30px; color: var(--muted); }
.footer { padding: 32px 0; border-top: 1px solid var(--line); color: #738099; font-size: 11px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer__links { display: flex; gap: 25px; }
.footer p { margin: 0; }

.policy-main { padding: 150px 0 100px; }
.policy-hero { max-width: 820px; margin-bottom: 55px; }
.policy-hero h1 { font-size: clamp(42px, 5vw, 68px); }
.policy-hero p { margin-top: 25px; color: var(--muted); }
.policy-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.policy-meta span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: #8fa0b9; font-size: 11px; }
.policy-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 64px; align-items: start; }
.policy-nav { position: sticky; top: 105px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(15, 20, 35, .72); }
.policy-nav strong { display: block; margin-bottom: 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #d4ddeb; }
.policy-nav a { display: block; padding: 7px 0; color: #7f8ea7; font-size: 12px; }
.policy-nav a:hover { color: var(--cyan); }
.policy-content { min-width: 0; }
.policy-content section { scroll-margin-top: 110px; padding: 32px 0; border-top: 1px solid var(--line); }
.policy-content section:first-child { padding-top: 0; border: 0; }
.policy-content h2 { margin-bottom: 18px; font-size: 25px; letter-spacing: -.03em; }
.policy-content h3 { margin: 24px 0 10px; font-size: 16px; }
.policy-content p, .policy-content li { color: #9ba9bf; font-size: 14px; line-height: 1.8; }
.policy-content ul { padding-left: 20px; }
.policy-content a { color: #66c7ff; }
.notice { margin: 24px 0; padding: 20px; border: 1px solid rgba(72, 153, 255, .25); border-radius: 12px; background: rgba(41, 102, 197, .08); color: #aebbd0; font-size: 13px; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .section { padding: 85px 0; }
  .hero { padding-top: 140px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__content .eyebrow, .hero__actions { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .hero__meta { justify-content: center; }
  .hero__visual { width: min(570px, 100%); margin: 20px auto 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--large { grid-row: auto; min-height: 320px; }
  .mini-code { margin-top: 30px; }
  .phones { gap: 15px; }
  .phones .phone { width: 220px; }
  .phone--center { width: 245px !important; }
  .formats-grid, .split-feature { grid-template-columns: 1fr; gap: 55px; }
  .format-list { max-width: 650px; }
  .split-feature__screens { width: min(540px, 100%); margin-inline: auto; order: 2; }
  .policy-layout { grid-template-columns: 1fr; gap: 30px; }
  .policy-nav { position: static; display: none; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 68px 0; }
  .header__inner { min-height: 67px; }
  .menu-button { display: block; }
  .nav { position: absolute; inset: 67px 14px auto; display: none; padding: 18px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 13px; background: rgba(11, 15, 27, .97); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px; }
  .hero { min-height: auto; padding-top: 120px; }
  h1 { font-size: 45px; }
  h2 { font-size: 37px; }
  .hero__lead { font-size: 15px; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__meta { gap: 10px 15px; }
  .hero__visual { min-height: 520px; }
  .phone--hero { width: 235px; right: 8px; top: 0; }
  .code-card { width: 285px; left: -8px; top: 160px; }
  .code-card pre { padding: 18px; font-size: 10px; }
  .floating-chip--syntax { left: 4px; top: 70px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stats div:nth-child(4) { border-top: 1px solid var(--line); }
  .stats div { padding: 22px 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: auto; }
  .phones { height: 500px; margin-inline: -55px; gap: 10px; }
  .phones .phone { width: 170px; }
  .phone--center { width: 195px !important; }
  .format-list { grid-template-columns: repeat(3, 1fr); }
  .split-feature__screens { min-height: 440px; }
  .split-feature__screens .phone { width: 190px; }
  .cta { padding: 55px 20px; }
  .footer__inner, .footer__links { flex-direction: column; text-align: center; }
  .footer__inner { gap: 20px; }
  .footer__links { gap: 8px; }
  .policy-main { padding-top: 115px; }
  .policy-content h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
