
:root {
  --bg: #03060b;
  --surface: rgba(9, 17, 29, .78);
  --surface-strong: #08111f;
  --line: rgba(39, 139, 255, .25);
  --line-strong: rgba(39, 139, 255, .62);
  --text: #f7f9fc;
  --muted: #aab6c8;
  --blue: #0786ff;
  --blue-light: #35b8ff;
  --blue-deep: #0057ff;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 72, 255, .20);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 18%, rgba(0, 102, 255, .16), transparent 28rem),
    radial-gradient(circle at 15% 62%, rgba(0, 160, 255, .08), transparent 34rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image:
    linear-gradient(rgba(61, 145, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 145, 255, .08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.ambient {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .15;
  pointer-events: none;
}
.ambient-one { background: var(--blue); top: -12rem; right: -8rem; }
.ambient-two { background: var(--blue-deep); bottom: 10%; left: -16rem; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: minmax(230px, 360px) 1fr auto;
  align-items: center;
  gap: 2rem;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 10px 14px 10px 18px;
  background: rgba(2, 6, 12, .78);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 45px rgba(0,0,0,.26);
}

.brand img {
  width: 100%;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
  color: var(--muted);
  font-size: .92rem;
}
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: #fff; }

.section {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: clamp(76px, 10vw, 132px);
}

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue-light);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: .92;
  letter-spacing: -.065em;
}
h1 span, h2 span {
  background: linear-gradient(110deg, var(--blue-light), var(--blue-deep));
  -webkit-background-clip: text;
  color: transparent;
}
.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.68;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.4rem;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 14px 36px rgba(0, 105, 255, .28);
}
.button-primary:hover { box-shadow: 0 18px 46px rgba(0, 105, 255, .42); }
.button-ghost {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
}
.button-ghost:hover { border-color: var(--line-strong); }
.button-small { min-height: 42px; padding-inline: 1rem; font-size: .86rem; background: rgba(0,115,255,.12); border-color: var(--line); }
.status-line {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1.7rem;
  color: #8997aa;
  font-size: .88rem;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 18px var(--blue);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 125, 255, .20), transparent 45%),
    linear-gradient(145deg, rgba(9, 22, 41, .8), rgba(2, 6, 12, .9));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.025);
}
.visual-grid {
  position: absolute;
  inset: 0;
  opacity: .3;
  transform: perspective(600px) rotateX(60deg) scale(1.6) translateY(16%);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 36px 36px;
}
.visual-ring {
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(36,145,255,.24);
  border-radius: 50%;
}
.ring-one { animation: spin 18s linear infinite; border-style: dashed; }
.ring-two { inset: 28%; animation: spin 12s linear infinite reverse; }
.hero-icon {
  position: absolute;
  z-index: 3;
  width: 58%;
  left: 21%;
  top: 19%;
  border-radius: 22%;
  mix-blend-mode: screen;
  filter: drop-shadow(0 28px 34px rgba(0, 67, 255, .32));
}
.puzzle-mark {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 7%;
  width: 26%;
  fill: rgba(0, 135, 255, .16);
  stroke: rgba(60, 184, 255, .76);
  stroke-width: 2;
  filter: drop-shadow(0 0 18px rgba(0, 119, 255, .65));
}
.floating-card {
  position: absolute;
  z-index: 5;
  min-width: 138px;
  padding: .9rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(3, 9, 18, .75);
  backdrop-filter: blur(14px);
  box-shadow: 0 15px 40px rgba(0,0,0,.25);
}
.card-a { left: 6%; bottom: 13%; }
.card-b { right: 7%; top: 10%; }
.card-label { display: block; margin-bottom: .28rem; color: var(--blue-light); font-size: .63rem; font-weight: 800; letter-spacing: .16em; }

.statement {
  max-width: 980px;
  text-align: center;
}
.statement h2, .section-heading h2, .generator h2, .social h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.statement > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.section-heading { margin-bottom: 2rem; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.feature-card {
  min-height: 275px;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(13,27,48,.76), rgba(4,9,17,.82));
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 2.6rem;
  color: var(--blue-light);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(0,115,255,.09);
  font-size: 1.55rem;
}
.feature-card h3 { margin-bottom: .7rem; font-size: 1.25rem; }
.feature-card p { color: var(--muted); line-height: 1.62; }

.generator {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
}
.generator-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.check-list { padding: 0; margin: 1.8rem 0; list-style: none; }
.check-list li {
  position: relative;
  padding: .45rem 0 .45rem 1.75rem;
  color: #d5deeb;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-weight: 900;
}
.coming-soon {
  display: inline-flex;
  padding: .6rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--blue-light);
  background: rgba(0,115,255,.08);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mockup {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 25px;
  background: #07101d;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
.mockup-topbar {
  display: flex;
  align-items: center;
  gap: .45rem;
  height: 52px;
  padding-inline: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
}
.mockup-topbar > span { width: 9px; height: 9px; border-radius: 50%; background: #34465e; }
.mockup-topbar strong { margin-left: .5rem; font-size: .88rem; color: #cbd6e6; }
.mockup-body { display: grid; grid-template-columns: 190px 1fr; min-height: 420px; }
.mockup-controls {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,.07);
}
.mockup-controls label {
  display: flex;
  justify-content: space-between;
  padding: .7rem .65rem;
  color: #8fa0b6;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 9px;
  font-size: .72rem;
}
.mockup-controls span { color: #edf4ff; }
.mockup-controls button {
  margin-top: auto;
  padding: .8rem;
  color: #fff;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  font-weight: 800;
}
.mockup-preview { display: grid; place-items: center; padding: 2rem; background: radial-gradient(circle, rgba(0,112,255,.14), transparent 60%); }
.puzzle-grid {
  display: grid;
  grid-template-columns: repeat(6, 38px);
  gap: 3px;
  padding: 20px;
  transform: rotate(-4deg);
  filter: drop-shadow(0 20px 30px rgba(0,60,255,.32));
}
.puzzle-grid i {
  aspect-ratio: 1;
  border: 1px solid rgba(87,192,255,.72);
  background: linear-gradient(140deg, rgba(0,135,255,.8), rgba(0,66,185,.6));
  clip-path: polygon(0 0, 42% 0, 42% 15%, 58% 15%, 58% 0, 100% 0, 100% 42%, 85% 42%, 85% 58%, 100% 58%, 100% 100%, 58% 100%, 58% 85%, 42% 85%, 42% 100%, 0 100%, 0 58%, 15% 58%, 15% 42%, 0 42%);
}

.social {
  text-align: center;
  padding: clamp(65px, 9vw, 110px) clamp(22px, 5vw, 72px);
  margin-bottom: 90px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: radial-gradient(circle at 50% 20%, rgba(0,112,255,.17), transparent 44%), rgba(6,13,24,.68);
}
.social-logo { width: 135px; margin: 0 auto 1.3rem; border-radius: 26px; mix-blend-mode: screen; }
.social > p:not(.eyebrow) { max-width: 680px; margin-inline: auto; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin: 2rem 0;
}
.social-link {
  padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  color: #dae4f2;
  font-weight: 750;
  transition: transform .2s ease, border-color .2s ease;
}
.social-link:hover { transform: translateY(-2px); border-color: var(--line-strong); }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 38px;
  color: #718096;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .85rem;
}
footer img { width: 250px; max-height: 54px; object-fit: contain; object-position: left center; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero, .generator { grid-template-columns: 1fr; }
  .hero { padding-top: 75px; }
  .hero-visual { width: min(650px, 100%); margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .generator-copy { max-width: 720px; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 20px); margin-top: 10px; padding-left: 12px; }
  .brand img { max-height: 40px; }
  .site-header .button-small { display: none; }
  .section { width: min(100% - 26px, 1160px); padding-block: 68px; }
  h1 { font-size: clamp(3rem, 17vw, 4.6rem); }
  .hero { min-height: auto; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .mockup { transform: none; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-controls { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .mockup-preview { min-height: 330px; overflow: hidden; }
  .puzzle-grid { transform: rotate(-4deg) scale(.78); }
  footer { flex-direction: column; text-align: center; }
  footer img { object-position: center; }
  .floating-card { display: none; }
}
