/* AppleGaming AI — Landing
   Aesthetic: deep near-black, electric blue + violet + cyan accents.
   Type: Sora (display + UI), JetBrains Mono (mono accents).
*/

:root {
  --bg-0: #06070d;
  --bg-1: #0a0c14;
  --bg-2: #10131e;
  --bg-3: #161a28;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ink-0: #ffffff;
  --ink-1: rgba(255, 255, 255, 0.78);
  --ink-2: rgba(255, 255, 255, 0.56);
  --ink-3: rgba(255, 255, 255, 0.38);

  --accent-blue: #5b8cff;
  --accent-violet: #a06bff;
  --accent-cyan: #4be3d0;
  --accent-pink: #ff6bd0;

  --glow-blue: 91 140 255;
  --glow-violet: 160 107 255;
  --glow-cyan: 75 227 208;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --font-display: 'Sora', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Sora', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  --container: 1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--ink-0);
  font-family: var(--font-body);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background:
    radial-gradient(1200px 700px at 8% -10%, rgba(91, 140, 255, 0.18), transparent 60%),
    radial-gradient(1000px 600px at 100% 10%, rgba(160, 107, 255, 0.14), transparent 55%),
    radial-gradient(900px 500px at 50% 110%, rgba(75, 227, 208, 0.10), transparent 60%),
    var(--bg-0);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* subtle grid noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  z-index: 0;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(var(--glow-cyan), 0.9);
  margin-right: 10px;
  transform: translateY(-1px);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.h-section {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h-card {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}
.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-1);
  font-weight: 400;
  text-wrap: pretty;
}
.muted { color: var(--ink-2); }

.gradient-text {
  background: linear-gradient(100deg, #fff 0%, #c9d4ff 35%, var(--accent-violet) 65%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 120ms ease, background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, #6e9bff 0%, #4f7af0 100%);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 10px 30px rgba(91, 140, 255, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
.btn-primary:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 14px 40px rgba(91, 140, 255, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-0);
  border-color: var(--line-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-sm { height: 40px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 60px; padding: 0 28px; font-size: 16px; }

/* ---------- Glass card ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  position: relative;
}
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%);
  mask: linear-gradient(#000, transparent 40%);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 50;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  margin: 0 auto;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  background: rgba(10, 12, 20, 0.65);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 15px;
}
.nav-logo .mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 25%, #cfd9ff 0%, transparent 45%),
    linear-gradient(135deg, #5b8cff 0%, #a06bff 55%, #4be3d0 100%);
  box-shadow: 0 6px 20px rgba(91, 140, 255, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.nav-links {
  display: flex; gap: 4px;
  font-size: 14px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-1);
  transition: background 150ms ease, color 150ms ease;
}
.nav-links a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ---------- Sections ---------- */
section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .h-section { font-size: clamp(26px, 7vw, 38px) !important; }
  .lead { font-size: 15px !important; }
  .section-head { margin-bottom: 36px; gap: 14px; }
}
@media (max-width: 560px) {
  .nav { top: 12px; }
  .nav-inner { padding: 8px 8px 8px 14px; gap: 8px; }
  .nav-logo { font-size: 13px; }
  .nav-logo .mark { width: 24px; height: 24px; border-radius: 7px; }
  .btn { height: 44px; padding: 0 16px; font-size: 14px; }
  .btn-lg { height: 52px; padding: 0 22px; font-size: 15px; }
  .btn-sm { height: 36px; padding: 0 14px; font-size: 12.5px; }
  .feature { padding: 22px 18px; min-height: auto; gap: 12px; }
  .price-card { padding: 30px 22px; gap: 18px; }
  .price-side { padding: 24px 22px; }
  .price-tag .price { font-size: 64px; }
  .price-tag .currency { font-size: 24px; }
  .cta-card { padding: 48px 22px; }
  .provider-card { padding: 22px 20px; }
  .provider-card .pc-family { font-size: 17px; }
  .provider-card .tag { font-size: 9px; padding: 3px 7px; }
  footer { padding: 28px 0 40px; font-size: 12px; }
  footer .container { gap: 14px; }
  footer .links { gap: 14px; flex-wrap: wrap; }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
  margin-bottom: 56px;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 180px;
  padding-bottom: 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-1);
  margin-bottom: 28px;
  width: fit-content;
}
.hero-tag .pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.25), rgba(160, 107, 255, 0.25));
  color: #cfd9ff;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 140, 255, 0.3);
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  color: var(--ink-2);
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.hero-meta .item { display: flex; align-items: center; gap: 8px; }
.hero-meta .check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(75, 227, 208, 0.15);
  border: 1px solid rgba(75, 227, 208, 0.4);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-cyan);
  font-size: 10px;
}

/* ---------- Hero mockup ---------- */
.hero-mockup {
  position: relative;
  perspective: 1800px;
}
.hero-mockup .glow {
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(50% 50% at 30% 30%, rgba(91, 140, 255, 0.45), transparent 60%),
    radial-gradient(50% 50% at 80% 70%, rgba(160, 107, 255, 0.4), transparent 60%),
    radial-gradient(40% 40% at 50% 100%, rgba(75, 227, 208, 0.35), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.mock {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 24, 38, 0.85), rgba(10, 12, 20, 0.92));
  border: 1px solid var(--line-strong);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.mock-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.mock-titlebar .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.mock-titlebar .url {
  margin-left: 12px;
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  text-align: center;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  letter-spacing: 0.04em;
}

/* ---------- Problem section ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 920px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .problem-arrow { transform: rotate(90deg); margin: 0 auto; }
}
.chaos {
  position: relative;
  height: 460px;
}
.chaos-card {
  position: absolute;
  width: 200px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(20, 24, 38, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px;
  color: var(--ink-2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.chaos-card .ch-head { display: flex; align-items: center; gap: 8px; color: var(--ink-0); font-weight: 500; font-size: 13px; }
.chaos-card .ch-head .badge {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}
.chaos-card .ch-row {
  display: flex; justify-content: space-between;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  font-family: var(--font-mono);
}
.chaos-card .err { color: #ff8a8a; }

.problem-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.2), rgba(160, 107, 255, 0.2));
  border: 1px solid rgba(91, 140, 255, 0.3);
  margin: 0 auto;
  color: #cfd9ff;
}

.hub-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(91, 140, 255, 0.08), rgba(160, 107, 255, 0.04));
  border: 1px solid rgba(91, 140, 255, 0.2);
  display: flex; flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  min-height: 460px;
}
.hub-card::after {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  right: -120px; bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.4), transparent 70%);
  filter: blur(40px);
}
.hub-card .hub-models {
  display: flex; flex-wrap: wrap;
  gap: 10px;
  position: relative; z-index: 1;
}
.hub-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 13px;
}
.hub-pill .swatch { width: 16px; height: 16px; border-radius: 4px; }

/* ---------- Solution / Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1020px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  min-height: 220px;
  display: flex; flex-direction: column;
  gap: 16px;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.feature .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.18), rgba(160, 107, 255, 0.18));
  border: 1px solid rgba(91, 140, 255, 0.25);
  color: #cfd9ff;
}
.feature p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; }

/* ---------- Provider cards (Models section) ---------- */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 920px) { .provider-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .provider-grid { grid-template-columns: 1fr; } }

.provider-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease;
}
.provider-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, var(--gradient-a, #5b8cff), transparent 60%);
  opacity: 0.08;
  pointer-events: none;
}
.provider-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.provider-card .pc-head {
  display: flex; align-items: flex-start; gap: 14px;
  position: relative;
}
.provider-card .pc-glyph {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.provider-card .pc-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.provider-card .pc-provider {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.provider-card .pc-family {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #fff;
}
.provider-card .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(75, 227, 208, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(75, 227, 208, 0.25);
  align-self: center;
  white-space: nowrap;
}
.provider-card .tag.soon {
  background: rgba(160, 107, 255, 0.1);
  color: #d4baff;
  border-color: rgba(160, 107, 255, 0.25);
}
.provider-card .pc-desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}
.provider-card .pc-variants {
  display: flex; flex-direction: column;
  gap: 6px;
}
.provider-card .pc-variant {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  transition: background 150ms ease;
}
.provider-card .pc-variant:hover { background: rgba(255,255,255,0.05); }
.provider-card .pc-variant-name {
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  font-family: var(--font-display);
  letter-spacing: -0.005em;
}
.provider-card .pc-tier {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 920px) { .models-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .models-grid { grid-template-columns: 1fr; } }

.model-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  gap: 16px;
  min-height: 240px;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease;
}
.model-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.model-card .head { display: flex; justify-content: space-between; align-items: flex-start; }
.model-card .glyph {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.model-card .glyph::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gradient-a, #5b8cff), var(--gradient-b, #a06bff));
  opacity: 0.18;
}
.model-card .glyph span { position: relative; z-index: 1; }
.model-card .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(75, 227, 208, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(75, 227, 208, 0.25);
}
.model-card .tag.soon {
  background: rgba(160, 107, 255, 0.1);
  color: #d4baff;
  border-color: rgba(160, 107, 255, 0.25);
}
.model-card p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; flex: 1; }
.model-card .specs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: auto;
}
.model-card .spec {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ---------- Pricing ---------- */
.pricing-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 920px) { .pricing-wrap { grid-template-columns: 1fr; } }

.price-card {
  padding: 44px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(91, 140, 255, 0.18), transparent 60%),
    radial-gradient(80% 60% at 100% 100%, rgba(160, 107, 255, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(20, 24, 38, 0.6), rgba(10, 12, 20, 0.7));
  border: 1px solid rgba(91, 140, 255, 0.25);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  gap: 24px;
}
.price-tag {
  display: inline-flex; align-items: baseline;
  font-family: var(--font-display);
}
.price-tag .price {
  font-size: 88px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #fff, #b8c2e0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-tag .currency { font-size: 32px; font-weight: 500; margin-right: 4px; color: var(--ink-1); }
.price-tag .period { font-size: 18px; color: var(--ink-2); margin-left: 8px; }

.price-list {
  display: flex; flex-direction: column; gap: 14px;
  padding: 0; margin: 0; list-style: none;
}
.price-list li {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-1); font-size: 15px;
}
.price-list .ck {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(75, 227, 208, 0.18);
  border: 1px solid rgba(75, 227, 208, 0.4);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-cyan);
}

.price-side {
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  display: flex; flex-direction: column;
  gap: 18px;
  justify-content: space-between;
}

/* ---------- Product Preview (interactive) ---------- */
.preview-frame {
  position: relative;
  border-radius: 26px;
  padding: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line-strong);
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
}
.preview-glow {
  position: absolute; inset: -1px;
  pointer-events: none;
  border-radius: 26px;
  background:
    radial-gradient(60% 30% at 20% 0%, rgba(91, 140, 255, 0.35), transparent 70%),
    radial-gradient(50% 30% at 80% 0%, rgba(160, 107, 255, 0.25), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.app {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  height: 720px;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(20px);
}
@media (max-width: 1080px) {
  .app { grid-template-columns: 220px 1fr; }
  .app .panel-right { display: none; }
}
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; height: 640px; }
  .app .panel-left { display: none; }
}

.panel-left {
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  padding: 18px 14px;
  gap: 14px;
}
.panel-right {
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  padding: 18px;
  gap: 14px;
  overflow-y: auto;
}
.panel-main {
  display: flex; flex-direction: column;
  height: 100%;
  min-height: 0;
}

.sb-section {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 8px;
  margin-top: 4px;
}
.sb-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--ink-1);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
  position: relative;
}
.sb-item:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.sb-item.active {
  background: linear-gradient(90deg, rgba(91, 140, 255, 0.18), rgba(160, 107, 255, 0.08));
  color: #fff;
  border: 1px solid rgba(91, 140, 255, 0.25);
}
.sb-item .swatch {
  width: 22px; height: 22px;
  border-radius: 7px;
  flex-shrink: 0;
}
.sb-item .name { flex: 1; font-weight: 500; }
.sb-item .ic { color: var(--ink-3); }
.sb-item.active .ic { color: var(--accent-cyan); }

.sb-history-item {
  font-size: 12.5px;
  color: var(--ink-2);
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sb-history-item:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }

.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.model-switch {
  display: flex; gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.model-switch button {
  background: transparent;
  border: 0;
  color: var(--ink-2);
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: 999px;
  transition: background 150ms ease, color 150ms ease;
  font-weight: 500;
}
.model-switch button:hover { color: #fff; }
.model-switch button.active {
  background: linear-gradient(135deg, #5b8cff, #a06bff);
  color: #fff;
  box-shadow: 0 4px 14px rgba(91, 140, 255, 0.4);
}

.chat-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 28px 24px 16px;
  display: flex; flex-direction: column;
  gap: 20px;
  scroll-behavior: smooth;
  min-height: 0;
}
.chat-scroll::-webkit-scrollbar { width: 8px; }
.chat-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 999px; }

.msg { display: flex; gap: 14px; max-width: 86%; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg .avatar {
  width: 32px; height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}
.msg.user .avatar {
  background: linear-gradient(135deg, #2a3550, #3b4a73);
  color: #cfd9ff;
}
.msg.bot .avatar {
  background: linear-gradient(135deg, #5b8cff, #a06bff);
  color: #fff;
  box-shadow: 0 0 14px rgba(91, 140, 255, 0.5);
}
.bubble {
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-1);
  white-space: pre-wrap;
}
.msg.user .bubble {
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.18), rgba(160, 107, 255, 0.14));
  border: 1px solid rgba(91, 140, 255, 0.25);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.msg.bot .bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}
.msg.bot .bubble code,
.msg.bot .bubble pre {
  font-family: var(--font-mono);
  font-size: 13px;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  color: #cfe3ff;
}
.msg.bot .bubble pre {
  display: block;
  padding: 12px 14px;
  margin: 10px 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-x: auto;
  white-space: pre;
}
.bot-meta {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--ink-3);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: flex; gap: 8px; align-items: center;
}
.bot-meta .swatch { width: 8px; height: 8px; border-radius: 2px; }

.typing-dots { display: inline-flex; gap: 5px; padding: 4px 0; }
.typing-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-2);
  animation: typing 1.4s infinite ease-in-out both;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.composer {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.composer-inner {
  display: flex; align-items: flex-end;
  gap: 10px;
  padding: 10px 10px 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  transition: border-color 150ms ease, background 150ms ease;
}
.composer-inner:focus-within {
  border-color: rgba(91, 140, 255, 0.5);
  background: rgba(91, 140, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.08);
}
.composer textarea {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  resize: none;
  outline: none;
  max-height: 120px;
  min-height: 24px;
  line-height: 1.5;
  padding: 8px 0;
}
.composer textarea::placeholder { color: var(--ink-3); }

.send-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5b8cff, #a06bff);
  border: 0;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(91, 140, 255, 0.4);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.send-btn:hover { transform: scale(1.04); }
.send-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.send-btn.stop {
  background: linear-gradient(135deg, #ff6b6b, #ff8a8a);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.35);
}

.composer-toolbar {
  display: flex; gap: 8px;
  margin-top: 10px;
  padding: 0 4px;
  font-size: 12px;
  color: var(--ink-3);
  align-items: center;
}
.composer-toolbar .tool {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 11.5px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.composer-toolbar .tool:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.composer-toolbar .hint {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
}

.prompt-chip {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-1);
  cursor: pointer;
  text-align: left;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
  display: flex; flex-direction: column; gap: 6px;
  width: 100%;
}
.prompt-chip:hover {
  background: rgba(91, 140, 255, 0.07);
  border-color: rgba(91, 140, 255, 0.3);
  transform: translateY(-1px);
}
.prompt-chip .pl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Mobile mockup ---------- */
.mobile-wrap {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 920px) {
  .mobile-wrap { grid-template-columns: 1fr; gap: 40px; }
  .mobile-wrap .phone { margin: 0 auto; }
}

.phone {
  width: 340px;
  height: 700px;
  border-radius: 48px;
  background: linear-gradient(180deg, #161a28, #0a0c14);
  border: 1.5px solid #25293a;
  padding: 14px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}
.phone::before {
  content: '';
  position: absolute;
  inset: -50px;
  background:
    radial-gradient(50% 50% at 50% 30%, rgba(91, 140, 255, 0.4), transparent 70%),
    radial-gradient(40% 40% at 50% 80%, rgba(160, 107, 255, 0.35), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  background: var(--bg-0);
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.phone-status .right { display: flex; gap: 6px; align-items: center; }
.notch {
  position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 5;
}

.mob-top {
  padding: 12px 18px 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.mob-top .title { font-size: 17px; font-weight: 600; }
.mob-top .model {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--ink-2);
  display: flex; align-items: center; gap: 6px;
  margin-top: 2px;
}
.mob-models {
  padding: 8px 18px;
  display: flex; gap: 8px;
  overflow-x: auto;
}
.mob-model {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--ink-1);
  white-space: nowrap;
  flex-shrink: 0;
}
.mob-model.active {
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.3), rgba(160, 107, 255, 0.25));
  border-color: rgba(91, 140, 255, 0.4);
  color: #fff;
}
.mob-chat {
  flex: 1;
  padding: 12px 18px;
  display: flex; flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}
.mob-msg {
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 14px;
  max-width: 80%;
  line-height: 1.45;
}
.mob-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.25), rgba(160, 107, 255, 0.2));
  border: 1px solid rgba(91, 140, 255, 0.3);
  border-bottom-right-radius: 4px;
}
.mob-msg.bot {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--ink-1);
  border-bottom-left-radius: 4px;
}
.mob-suggest {
  padding: 8px 18px 4px;
  display: flex; gap: 8px;
  overflow-x: auto;
}
.mob-suggest .chip {
  font-size: 11.5px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--ink-1);
  white-space: nowrap;
  flex-shrink: 0;
}
.mob-composer {
  padding: 8px 16px 12px;
  display: flex; gap: 8px; align-items: center;
}
.mob-composer input {
  flex: 1;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.mob-composer .mob-send {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5b8cff, #a06bff);
  border: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.mob-nav {
  display: flex;
  border-top: 1px solid var(--line);
  background: rgba(7, 9, 14, 0.9);
  backdrop-filter: blur(20px);
}
.mob-nav .item {
  flex: 1;
  padding: 10px 0 14px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px;
  color: var(--ink-3);
}
.mob-nav .item.active { color: #fff; }
.mob-nav .item.active .ic { color: var(--accent-blue); }

/* ---------- CTA ---------- */
.cta {
  padding: 120px 0 140px;
}
.cta-card {
  padding: 80px 60px;
  border-radius: 32px;
  background:
    radial-gradient(60% 80% at 20% 0%, rgba(91, 140, 255, 0.3), transparent 60%),
    radial-gradient(60% 80% at 80% 100%, rgba(160, 107, 255, 0.28), transparent 60%),
    radial-gradient(40% 40% at 50% 50%, rgba(75, 227, 208, 0.15), transparent 70%),
    linear-gradient(180deg, rgba(20, 24, 38, 0.7), rgba(10, 12, 20, 0.8));
  border: 1px solid var(--line-strong);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 35% 80%, rgba(255, 255, 255, 0.5), transparent);
  pointer-events: none;
}
@media (max-width: 720px) {
  .cta-card { padding: 56px 28px; }
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 60px;
  color: var(--ink-3);
  font-size: 13px;
}
footer .container {
  display: flex; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
footer .links { display: flex; gap: 24px; }
footer a:hover { color: var(--ink-0); }
