:root {
  --bg: #061127;
  --panel: #0b1935;
  --text: #f8fafc;
  --muted: #a8b4ca;
  --blue: #2474ff;
  --purple: #8b5cf6;
  --line: rgba(148, 163, 184, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }

.site-header { height: 76px; padding: 0 clamp(24px, 6vw, 96px); display: flex; align-items: center; gap: 40px; border-bottom: 1px solid var(--line); background: rgba(6,17,39,.92); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, var(--purple), var(--blue)); box-shadow: 0 8px 24px rgba(99,102,241,.35); }
.main-nav { display: flex; gap: 34px; margin: auto; color: #d7deea; font-size: 14px; }
.main-nav a:hover { color: white; }
.header-actions, .hero-actions { display: flex; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 0 22px; border-radius: 9px; border: 1px solid transparent; font-weight: 700; font-size: 14px; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #2474ff, #2762e8); color: white; box-shadow: 0 12px 30px rgba(36,116,255,.24); }
.button-ghost { border-color: rgba(203,213,225,.34); background: rgba(255,255,255,.02); }
.button-large { min-height: 54px; padding: 0 28px; font-size: 15px; }

.hero { min-height: 640px; padding: 72px clamp(24px, 6vw, 96px) 58px; display: grid; grid-template-columns: minmax(380px,.88fr) minmax(480px,1.12fr); align-items: center; gap: 64px; overflow: hidden; background: radial-gradient(circle at 74% 42%, rgba(71,60,255,.19), transparent 33%); }
.eyebrow { display: inline-flex; color: #ddd6fe; border: 1px solid rgba(139,92,246,.22); background: rgba(109,40,217,.18); padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.hero h1 { margin: 22px 0 18px; font-size: clamp(54px,6vw,86px); line-height: .98; letter-spacing: -.065em; }
.hero h1 span { color: #a78bfa; }
.hero-copy > p { max-width: 620px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { margin-top: 28px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 22px; padding: 0; margin: 30px 0 0; list-style: none; color: #b8c4d8; font-size: 13px; }
.trust-list li::first-letter { color: #34d399; }

.hero-visual { position: relative; min-height: 510px; display: grid; place-items: center; perspective: 900px; }
.glow { position: absolute; width: 440px; height: 260px; border-radius: 50%; background: #3b4eff; filter: blur(100px); opacity: .28; }
.store-model { position: relative; width: 430px; height: 330px; border: 2px solid rgba(196,181,253,.55); border-radius: 24px 24px 14px 14px; background: linear-gradient(145deg,#8064d9,#3f46a6 55%,#252e75); box-shadow: 0 34px 80px rgba(16,20,100,.7), inset 0 0 35px rgba(255,255,255,.1); transform: rotateY(-7deg) rotateX(2deg); }
.store-model::after { content:""; position:absolute; left:-35px; right:-35px; height:26px; bottom:-25px; border-radius:50%; background:#315dff; filter:blur(8px); opacity:.75; }
.store-sign { position:absolute; left:75px; right:75px; top:34px; padding:15px; text-align:center; border-radius:10px; background:#17255e; box-shadow:inset 0 0 0 3px rgba(167,139,250,.55); font-weight:800; letter-spacing:.08em; }
.awning { position:absolute; display:flex; left:38px; right:38px; top:98px; height:55px; overflow:hidden; border-radius:7px 7px 18px 18px; }
.awning i { flex:1; background:#f1edff; }
.awning i:nth-child(even) { background:#6555cf; }
.store-window { position:absolute; left:48px; bottom:42px; width:240px; height:145px; display:flex; justify-content:space-around; align-items:flex-end; padding:20px; background:linear-gradient(#ffcfa8,#9b8bcb); border:7px solid #273373; box-shadow:inset 0 0 34px rgba(255,190,125,.6); }
.store-window span { width:40px; height:72px; border-radius:18px 18px 4px 4px; background:linear-gradient(#fff1d6,#ef9f9f); }
.store-door { position:absolute; right:42px; bottom:42px; width:86px; height:145px; background:linear-gradient(90deg,#7087d0,#ced8f5 49%,#5269b0 50%); border:7px solid #273373; }
.notification { position:absolute; right:0; min-width:190px; display:flex; gap:12px; align-items:center; padding:14px 17px; border:1px solid rgba(148,163,184,.3); border-radius:12px; background:rgba(12,25,55,.92); box-shadow:0 16px 36px rgba(0,0,0,.35); }
.notification b { width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:#10b981; }
.notification span { font-size:12px; font-weight:700; }
.notification small { display:block; margin-top:4px; color:#94a3b8; font-weight:500; }
.notification-one { top:55px; }
.notification-two { top:138px; right:-20px; }
.mini-dashboard { position:absolute; right:0; bottom:10px; width:280px; padding:18px; border:1px solid var(--line); border-radius:14px; background:rgba(8,22,50,.95); }
.mini-dashboard small { color:#9baac1; }
.mini-dashboard strong { display:block; margin:8px 0 16px; font-size:22px; }
.chart-line { display:block; height:44px; background:linear-gradient(175deg,transparent 45%,#2b74ff 46%,#2b74ff 50%,transparent 51%); }

.examples { padding: 10px clamp(24px,6vw,96px) 58px; display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.store-card { min-height:190px; padding:28px; border:1px solid var(--line); border-radius:16px; overflow:hidden; position:relative; background:#12213e; }
.store-card::after { content:""; position:absolute; width:180px; height:180px; border-radius:50%; right:-45px; bottom:-80px; background:currentColor; opacity:.23; }
.store-card span { font-size:12px; font-weight:700; opacity:.72; }
.store-card h3 { margin:28px 0 8px; }
.store-card p { max-width:210px; color:#dbe3ef; }
.store-card strong { display:inline-block; margin-top:20px; padding:7px 10px; border-radius:999px; background:rgba(255,255,255,.1); font-size:11px; color:#fff; }
.pink { color:#fb7185; background:linear-gradient(135deg,#4b2639,#8d4964); }
.forge { color:#f59e0b; background:linear-gradient(135deg,#24180f,#68401e); }
.green { color:#34d399; background:linear-gradient(135deg,#173b38,#285e55); }
.blue { color:#60a5fa; background:linear-gradient(135deg,#102a50,#183f75); }

.benefits { display:grid; grid-template-columns:repeat(3,1fr); background:#f8fafc; color:#14213b; padding:46px clamp(24px,6vw,96px); }
.benefits article { display:flex; gap:18px; padding:12px 34px; border-right:1px solid #e2e8f0; }
.benefits article:last-child { border:0; }
.benefit-icon { flex:0 0 52px; height:52px; display:grid; place-items:center; border-radius:50%; color:#7c3aed; background:#ede9fe; font-size:24px; }
.benefits h2 { margin:0 0 8px; font-size:17px; }
.benefits p { margin:0; color:#64748b; font-size:13px; line-height:1.55; }
.cta { padding:96px 24px; text-align:center; background:linear-gradient(135deg,#101d3c,#25185a); }
.cta p { color:#a78bfa; font-weight:700; }
.cta h2 { max-width:760px; margin:12px auto 30px; font-size:clamp(32px,4vw,52px); }

.simple-page { min-height:100vh; padding:36px clamp(24px,6vw,96px); background:radial-gradient(circle at center,#16295b,var(--bg) 55%); }
.simple-page section { max-width:680px; margin:16vh auto; text-align:center; }
.simple-page h1 { font-size:clamp(42px,7vw,76px); margin:20px 0; }
.simple-page p { color:var(--muted); margin-bottom:32px; font-size:18px; }

.flash-stack { position:fixed; top:88px; right:24px; z-index:50; display:grid; gap:10px; width:min(390px,calc(100vw - 48px)); }
.flash { padding:14px 18px; border-radius:10px; color:#fff; font-size:14px; box-shadow:0 18px 40px rgba(0,0,0,.3); }
.flash-error { background:#b91c1c; }
.flash-success { background:#047857; }
.flash-info { background:#1d4ed8; }

.auth-page { min-height:100vh; display:grid; grid-template-columns:minmax(360px,.9fr) minmax(480px,1.1fr); background:#f8fafc; color:#0f172a; }
.auth-brand-panel { position:relative; padding:46px clamp(36px,5vw,82px); display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; color:#fff; background:radial-gradient(circle at 80% 20%,rgba(91,75,255,.38),transparent 34%),linear-gradient(145deg,#07142e,#111d49); }
.auth-brand-panel::after { content:""; position:absolute; width:430px; height:430px; border:1px solid rgba(167,139,250,.2); border-radius:44%; right:-210px; bottom:-210px; transform:rotate(28deg); box-shadow:0 0 80px rgba(37,99,235,.25); }
.auth-brand-panel > div { position:relative; z-index:1; max-width:560px; margin-bottom:10vh; }
.auth-brand-panel h1 { margin:20px 0; font-size:clamp(42px,5vw,68px); line-height:1.05; letter-spacing:-.05em; }
.auth-brand-panel p { color:#b8c4d8; font-size:17px; line-height:1.7; }
.register-benefits { list-style:none; padding:0; display:grid; gap:14px; color:#cbd5e1; }
.register-benefits li::first-letter { color:#34d399; }
.auth-form-panel { display:grid; place-items:center; padding:48px 24px; }
.auth-card { width:min(460px,100%); }
.auth-kicker { margin:0 0 8px; color:#6d5dfc; text-transform:uppercase; letter-spacing:.12em; font-size:12px; font-weight:800; }
.auth-card h2 { margin:0; font-size:38px; letter-spacing:-.04em; }
.auth-subtitle { margin:12px 0 30px; color:#64748b; line-height:1.55; }
.auth-form { display:grid; gap:18px; }
.auth-form label { display:grid; gap:8px; font-size:13px; font-weight:700; color:#334155; }
.auth-form input:not([type="checkbox"]) { width:100%; height:50px; padding:0 14px; border:1px solid #cbd5e1; border-radius:9px; background:#fff; color:#0f172a; font:inherit; outline:none; }
.auth-form input:focus { border-color:#4f70ff; box-shadow:0 0 0 3px rgba(79,112,255,.12); }
.auth-form small { color:#64748b; font-weight:500; }
.auth-form .button { width:100%; border:0; cursor:pointer; margin-top:4px; }
.checkbox-row { display:flex!important; align-items:center; gap:9px!important; font-weight:500!important; }
.checkbox-row input { accent-color:#2563eb; }
.auth-switch { margin-top:26px; color:#64748b; text-align:center; font-size:14px; }
.auth-switch a { color:#2563eb; font-weight:700; }

.panel-header { height:72px; display:flex; align-items:center; justify-content:space-between; padding:0 clamp(24px,5vw,72px); border-bottom:1px solid var(--line); }
.panel-user { display:flex; gap:18px; align-items:center; font-size:14px; }
.panel-user form { margin:0; }
.panel-user button { border:1px solid rgba(203,213,225,.3); border-radius:8px; padding:9px 13px; background:transparent; color:#fff; cursor:pointer; }
.dashboard-page { min-height:calc(100vh - 72px); padding:54px clamp(24px,7vw,110px); background:#f8fafc; color:#0f172a; }
.dashboard-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.dashboard-heading h1 { margin:4px 0 6px; font-size:40px; }
.dashboard-heading p:last-child { color:#64748b; }
.empty-store { margin-top:40px; padding:70px 24px; border:1px dashed #cbd5e1; border-radius:18px; text-align:center; background:#fff; }
.empty-icon { width:64px; height:64px; display:grid; place-items:center; margin:0 auto 20px; border-radius:18px; color:#6d5dfc; background:#ede9fe; font-size:28px; }
.empty-store h2 { margin:0 0 10px; }
.empty-store p { color:#64748b; margin-bottom:26px; }
.empty-store .button:disabled { opacity:.65; cursor:not-allowed; transform:none; }
.store-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:36px; }
.dashboard-card { padding:24px; border:1px solid #e2e8f0; border-top:4px solid var(--store-primary,#2563eb); border-radius:14px; background:#fff; }
.store-status { color:#047857; font-size:12px; font-weight:700; text-transform:uppercase; }
.store-meta { display:flex; justify-content:space-between; gap:10px; padding-top:18px; margin-top:20px; border-top:1px solid #e2e8f0; color:#64748b; font-size:12px; }

.plans-section { margin-top:64px; }
.section-heading h2 { margin:4px 0 8px; font-size:30px; }
.section-heading p:last-child { color:#64748b; }
.plans-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:28px; align-items:stretch; }
.plan-card { position:relative; display:flex; flex-direction:column; padding:28px; border:1px solid #e2e8f0; border-radius:16px; background:#fff; box-shadow:0 10px 30px rgba(15,23,42,.04); }
.plan-card.featured { border-color:#7c6bff; box-shadow:0 16px 38px rgba(109,93,252,.13); }
.plan-label { align-self:flex-start; padding:6px 9px; border-radius:999px; color:#6554e8; background:#ede9fe; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.plan-card h3 { margin:20px 0 8px; font-size:25px; }
.plan-card strong { color:#475569; font-size:15px; }
.plan-card ul { display:grid; gap:12px; margin:24px 0 30px; padding:0; list-style:none; color:#475569; font-size:13px; }
.plan-card li::before { content:"✓"; margin-right:9px; color:#10b981; font-weight:800; }
.plan-card button { width:100%; margin-top:auto; padding:12px; border:1px solid #cbd5e1; border-radius:9px; background:#f8fafc; color:#64748b; font-weight:700; }

.panel-back { color:#cbd5e1; font-size:14px; }
.store-setup-page { min-height:calc(100vh - 72px); padding:54px clamp(24px,8vw,150px) 80px; background:#f8fafc; color:#0f172a; }
.setup-heading { max-width:700px; margin-bottom:34px; }
.setup-heading h1 { margin:4px 0 8px; font-size:42px; letter-spacing:-.04em; }
.setup-heading > p:last-child { color:#64748b; }
.store-setup-form { display:grid; gap:20px; max-width:980px; }
.setup-card { padding:30px; border:1px solid #e2e8f0; border-radius:16px; background:#fff; }
.setup-card-title { display:flex; gap:15px; align-items:flex-start; margin-bottom:24px; }
.setup-card-title > span { flex:0 0 34px; height:34px; display:grid; place-items:center; border-radius:10px; color:#fff; background:linear-gradient(135deg,#8b5cf6,#2474ff); font-weight:800; }
.setup-card-title h2 { margin:0 0 5px; font-size:19px; }
.setup-card-title p { margin:0; color:#64748b; font-size:13px; }
.form-grid, .color-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.store-setup-form label { display:grid; gap:8px; color:#334155; font-size:13px; font-weight:700; }
.store-setup-form input:not([type="color"]), .store-setup-form select, .store-setup-form textarea { width:100%; padding:13px 14px; border:1px solid #cbd5e1; border-radius:9px; background:#fff; color:#0f172a; font:inherit; outline:none; }
.store-setup-form input:focus, .store-setup-form select:focus, .store-setup-form textarea:focus { border-color:#4f70ff; box-shadow:0 0 0 3px rgba(79,112,255,.1); }
.store-setup-form textarea { resize:vertical; }
.store-setup-form small { color:#64748b; font-weight:500; }
.full-field { grid-column:1/-1; }
.slug-input { display:flex; align-items:center; overflow:hidden; border:1px solid #cbd5e1; border-radius:9px; background:#f1f5f9; }
.slug-input span { padding:0 0 0 14px; color:#64748b; font-size:13px; white-space:nowrap; }
.slug-input input { border:0!important; box-shadow:none!important; background:transparent!important; }
.color-field { display:flex; align-items:center; gap:12px; height:52px; padding:7px 12px; border:1px solid #cbd5e1; border-radius:9px; }
.color-field input { width:38px; height:34px; padding:0; border:0; background:transparent; cursor:pointer; }
.color-field span { color:#64748b; font-weight:500; }
.setup-actions { display:flex; justify-content:flex-end; gap:12px; padding-top:8px; }
.button-light { border-color:#cbd5e1; background:#fff; color:#334155; }

@media (max-width: 980px) {
  .main-nav { display:none; }
  .site-header { justify-content:space-between; }
  .hero { grid-template-columns:1fr; padding-top:55px; }
  .hero-copy { text-align:center; }
  .hero-copy > p { margin-inline:auto; }
  .hero-actions, .trust-list { justify-content:center; }
  .hero-visual { min-height:470px; transform:scale(.9); }
  .examples, .benefits { grid-template-columns:1fr; }
  .auth-page { grid-template-columns:1fr; }
  .auth-brand-panel { min-height:390px; }
  .auth-brand-panel > div { margin:70px 0 10px; }
  .store-grid { grid-template-columns:1fr; }
  .plans-grid { grid-template-columns:1fr; }
  .benefits article { border-right:0; border-bottom:1px solid #e2e8f0; padding:24px 0; }
}

@media (max-width: 620px) {
  .site-header { height:68px; padding:0 18px; }
  .site-header .button-ghost, .main-nav { display:none; }
  .brand { font-size:18px; }
  .hero { grid-template-columns:minmax(0,1fr); padding:42px 18px; }
  .hero h1 { font-size:52px; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .trust-list { flex-direction:column; gap:10px; }
  .hero-visual { margin:-35px -80px; transform:scale(.68); }
  .examples { padding-inline:18px; }
  .auth-brand-panel { min-height:320px; padding:28px 22px; }
  .auth-brand-panel h1 { font-size:38px; }
  .auth-brand-panel > div { margin:52px 0 0; }
  .auth-form-panel { padding:38px 22px; }
  .panel-user > span { display:none; }
  .dashboard-heading { align-items:flex-start; flex-direction:column; }
  .form-grid, .color-grid { grid-template-columns:1fr; }
  .full-field { grid-column:auto; }
  .setup-card { padding:22px; }
  .slug-input { align-items:stretch; flex-direction:column; }
  .slug-input span { padding:10px 14px 0; }
  .setup-actions { flex-direction:column-reverse; }
}
