:root {
  --bg: #040816;
  --surface: rgba(12, 18, 42, 0.78);
  --surface-2: rgba(255,255,255,0.06);
  --text: #edf2ff;
  --muted: #aab6d6;
  --line: rgba(255,255,255,0.10);
  --blue: #5c7cff;
  --pink: #ff4fae;
  --cream: #f4efe7;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: radial-gradient(circle at 50% 20%, rgba(108,153,255,.35), transparent 30%), linear-gradient(180deg, #09112a 0%, #050814 50%, #16061c 100%); font-family: Inter, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.shell { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: rgba(4,8,22,.45); border-bottom: 1px solid var(--line); }
.header-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 26px; }
.brand img { width: 54px; height: 54px; object-fit: contain; border-radius: 14px; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.pill, .mini-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.08); color: #d7e0ff; border: 1px solid var(--line); font-size: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; padding: 14px 20px; border: 1px solid transparent; font-weight: 700; cursor: pointer; }
.button-primary { background: linear-gradient(135deg, var(--blue), #6a9bff); color: white; }
.button-dark { background: #0a1026; color: white; border-color: var(--line); }
.button-ghost { background: rgba(255,255,255,0.05); border-color: var(--line); color: var(--text); }
.full { width: 100%; }
.hero-wrap { position: relative; overflow: hidden; padding: 46px 0 26px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 20% 25%, rgba(103,147,255,.45), transparent 25%), radial-gradient(circle at 80% 22%, rgba(82,121,255,.45), transparent 18%), radial-gradient(circle at 50% 80%, rgba(255,77,166,.65), transparent 25%); pointer-events: none; }
.hero-shell { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; min-height: 560px; }
.hero-copy h1 { font-size: clamp(54px, 8vw, 96px); line-height: .92; margin: 18px 0 16px; }
.hero-sub { font-size: clamp(24px, 3vw, 36px); color: #dce5ff; margin: 0 0 12px; }
.hero-note { color: var(--muted); max-width: 760px; font-size: 18px; }
.prompt-box, .panel, .info-card, .package-card, .project-card, .metric-box { background: rgba(244,239,231,0.92); color: #121826; border-radius: 28px; border: 1px solid rgba(255,255,255,0.45); box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.prompt-box { padding: 24px; display: grid; gap: 14px; }
.prompt-label { font-weight: 700; font-size: 18px; }
input, textarea, select { width: 100%; border: 1px solid #d7d4cc; background: rgba(255,255,255,.72); border-radius: 16px; padding: 14px 16px; font: inherit; }
textarea { resize: vertical; }
.prompt-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.muted { color: #58627d; }
.section-grid { display: grid; gap: 22px; margin: 28px auto; }
.four-up { grid-template-columns: repeat(4, 1fr); }
.split { grid-template-columns: 1.15fr .85fr; }
.info-card, .panel { padding: 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-bottom: 18px; }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.compact-grid { grid-template-columns: repeat(3, 1fr); }
.package-card { padding: 22px; }
.package-action { display: grid; gap: 10px; }
.price-main { font-size: 34px; font-weight: 800; color: #111933; }
.price-sub { color: #58627d; font-size: 14px; }
.bullet-list { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.dashboard-hero { padding-top: 32px; display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 14px; }
.metric-box { padding: 18px 20px; display: grid; gap: 8px; }
.metric-box span { color: #58627d; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.workspace-grid, .admin-grid { display: grid; grid-template-columns: 360px 1fr; gap: 22px; margin: 28px auto; }
.lower-grid { grid-template-columns: 1fr 1fr; }
.workspace-sidebar, .workspace-main { min-height: 620px; }
.no-pad { padding: 0; overflow: hidden; }
.workspace-topbar { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: #f2ebdf; border-bottom: 1px solid #ddd6ca; color: #111933; }
.preview-frame { width: 100%; height: 740px; border: 0; background: #fff; }
.stack-form { display: grid; gap: 14px; }
.auth-panel { max-width: 560px; margin: 40px auto; }
.narrow-section { padding: 40px 0; }
.project-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-card { padding: 16px; display: grid; gap: 14px; }
.project-thumb { height: 160px; border-radius: 18px; background: linear-gradient(135deg, #1c2555, #4f79ff 55%, #ff57b1); color: white; display: grid; place-items: center; font-size: 48px; font-weight: 900; }
.project-meta { display: grid; gap: 6px; color: #111933; }
.list-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(17,25,51,.08); color: #111933; }
.list-row span { display:block; color:#58627d; margin-top:4px; }
.inline-form { display:flex; gap:10px; margin:10px 0 16px; }
.alert { padding: 12px 14px; border-radius: 14px; background: #ffe2e2; color: #7a1723; }
.top-gap { margin-top: 22px; }
.site-footer { padding: 30px 0 40px; color: #94a0c4; text-align: center; }
@media (max-width: 1100px) {
  .hero-shell, .split, .workspace-grid, .admin-grid, .lower-grid { grid-template-columns: 1fr; }
  .four-up, .package-grid, .compact-grid, .project-cards, .dashboard-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .header-row, .prompt-row, .dashboard-hero { flex-direction: column; align-items: stretch; }
  .brand span { font-size: 20px; }
  .four-up, .package-grid, .compact-grid, .project-cards, .dashboard-metrics { grid-template-columns: 1fr; }
  .hero-shell { min-height: auto; padding-bottom: 22px; }
  .hero-copy h1 { font-size: 54px; }
}