
:root {
  --bg: #070b0f;
  --bg-2: #0b1117;
  --panel: rgba(16, 23, 29, .82);
  --panel-solid: #10171d;
  --panel-soft: #121b22;
  --line: rgba(255,255,255,.09);
  --text: #f1eee9;
  --muted: #a9afb5;
  --copper: #d7854f;
  --copper-2: #f0a15f;
  --copper-dark: #8d4b2b;
  --blue: #7fa8c4;
  --ok: #89b58b;
  --warn: #d9ad70;
  --danger: #cf7f78;
  --shadow: 0 18px 60px rgba(0,0,0,.34);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(41,83,118,.11), transparent 36%),
    radial-gradient(circle at 88% 20%, rgba(186,88,42,.06), transparent 32%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position:absolute; left:-9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background:#fff; color:#111; padding:10px 14px; border-radius:8px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,9,12,.83);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 72px; display:flex; align-items:center; gap:26px; }
.brand { display:flex; align-items:center; gap:12px; min-width:max-content; }
.brand-mark {
  width:42px; height:42px; display:grid; place-items:center;
  font-family: Georgia, serif; font-weight:800; font-size:21px; letter-spacing:-2px;
  color:#ffc18a; border:1px solid rgba(221,137,79,.35); border-radius:12px;
  background: linear-gradient(145deg, rgba(206,112,56,.18), rgba(255,255,255,.02));
  box-shadow: inset 0 0 20px rgba(231,110,49,.08), 0 0 24px rgba(198,91,38,.08);
}
.brand-name { font-size: 18px; letter-spacing:.02em; }
.brand-name span { color:var(--copper-2); }
.nav-links { display:flex; align-items:center; gap:22px; margin-left:auto; }
.nav-links a { color:#c9ced2; font-size:14px; font-weight:650; position:relative; padding:25px 0; }
.nav-links a:hover, .nav-links a.active { color:#fff; }
.nav-links a.active:after { content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--copper); }
.nav-actions { display:flex; align-items:center; gap:10px; margin-left:10px; }
.btn {
  border:1px solid transparent; border-radius:11px; padding:11px 16px;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:750; font-size:14px; cursor:pointer; transition:.2s ease;
  min-height:44px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background:linear-gradient(135deg, var(--copper-2), var(--copper)); color:#1e0e05; box-shadow:0 10px 28px rgba(207,104,49,.2); }
.btn-primary:hover { filter:brightness(1.06); }
.btn-secondary { border-color:rgba(255,255,255,.13); background:rgba(255,255,255,.045); color:#f2f4f5; }
.btn-ghost { color:#d4d8da; background:transparent; }
.btn-danger { border-color:rgba(207,127,120,.3); color:#efb3ad; background:rgba(207,127,120,.07); }
.btn[disabled] { opacity:.46; cursor:not-allowed; transform:none; }
.mobile-toggle { display:none; margin-left:auto; width:44px; height:44px; background:transparent; color:#fff; border:1px solid var(--line); border-radius:10px; }

.user-menu { position:relative; }
.user-trigger { border:1px solid rgba(255,255,255,.13); background:rgba(255,255,255,.04); color:#fff; border-radius:11px; padding:8px 11px; display:flex; align-items:center; gap:9px; cursor:pointer; }
.avatar { width:29px; height:29px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(135deg,var(--copper-2),var(--copper-dark)); color:#190b04; font-weight:900; }
.dropdown { position:absolute; right:0; top:52px; width:220px; padding:8px; background:#10171d; border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); display:none; }
.dropdown.show { display:block; }
.dropdown a, .dropdown button { width:100%; text-align:left; padding:10px 12px; border:0; color:#e7e9ea; background:transparent; border-radius:8px; cursor:pointer; display:block; }
.dropdown a:hover, .dropdown button:hover { background:rgba(255,255,255,.06); }

.hero {
  position:relative; min-height:760px; display:flex; align-items:center; overflow:hidden;
  background-image: linear-gradient(90deg, rgba(3,7,10,.93) 0%, rgba(3,7,10,.63) 42%, rgba(3,7,10,.30) 68%, rgba(3,7,10,.64) 100%), url('../images/nychta-forge-theme.webp');
  background-position:center; background-size:cover;
  border-bottom:1px solid var(--line);
}
.hero:after { content:""; position:absolute; inset:auto 0 0; height:220px; background:linear-gradient(transparent,var(--bg)); pointer-events:none; }
.hero-content { position:relative; z-index:2; max-width:690px; padding:96px 0 120px; }
.eyebrow { color:#e39a65; text-transform:uppercase; letter-spacing:.22em; font-weight:800; font-size:12px; }
.hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size:clamp(48px,7vw,88px); line-height:.98; margin:15px 0 10px; font-weight:700; text-shadow:0 16px 55px rgba(0,0,0,.5); }
.hero .motto { letter-spacing:.35em; color:#d79a73; font-size:13px; font-weight:800; margin-bottom:26px; }
.hero p { color:#c9ced2; font-size:19px; max-width:640px; margin:0 0 32px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.hero-note { margin-top:18px; color:#8d989f; font-size:13px; }

.section { padding:86px 0; }
.section-tight { padding:58px 0; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:34px; }
.section-title { margin:0; font-size:clamp(31px,4vw,46px); line-height:1.08; }
.section-subtitle { color:var(--muted); max-width:700px; margin:10px 0 0; }
.kicker { color:var(--copper-2); font-weight:800; letter-spacing:.12em; text-transform:uppercase; font-size:12px; }

.product-feature { display:grid; grid-template-columns:1.05fr .95fr; overflow:hidden; border:1px solid var(--line); border-radius:24px; background:linear-gradient(145deg,rgba(16,24,31,.95),rgba(10,15,20,.94)); box-shadow:var(--shadow); }
.product-copy { padding:54px; display:flex; flex-direction:column; justify-content:center; }
.product-copy h2 { font-size:42px; margin:10px 0 14px; }
.product-copy p { color:#b8bec3; font-size:17px; }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 28px; }
.chip { border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.035); color:#cbd1d5; border-radius:999px; padding:7px 10px; font-size:12px; font-weight:750; }
.product-visual { min-height:470px; position:relative; background:radial-gradient(circle at 50% 40%, rgba(226,130,74,.15), transparent 36%), linear-gradient(160deg,#101820,#0a0f13); display:grid; place-items:center; overflow:hidden; }
.app-mock { width:min(88%,560px); border:1px solid rgba(255,255,255,.13); border-radius:16px; background:#0b1116; box-shadow:0 28px 70px rgba(0,0,0,.5); overflow:hidden; transform:rotate(-1deg); }
.app-top { height:35px; background:#111a21; border-bottom:1px solid var(--line); display:flex; align-items:center; gap:6px; padding:0 12px; }
.dot { width:8px; height:8px; border-radius:50%; background:#59636b; }
.app-body { display:grid; grid-template-columns:130px 1fr; min-height:300px; }
.app-side { border-right:1px solid var(--line); padding:15px 10px; }
.side-item { height:30px; border-radius:7px; margin-bottom:7px; background:rgba(255,255,255,.04); }
.side-item.active { background:rgba(215,133,79,.17); border:1px solid rgba(215,133,79,.22); }
.app-main { padding:23px; }
.mock-title { width:45%; height:18px; border-radius:6px; background:rgba(255,255,255,.12); margin-bottom:20px; }
.mock-row { height:44px; border:1px solid rgba(255,255,255,.07); border-radius:9px; margin-bottom:10px; background:rgba(255,255,255,.025); }
.radial { width:165px; height:165px; border:28px solid rgba(216,126,70,.45); border-radius:50%; margin:20px auto; position:relative; box-shadow:0 0 40px rgba(212,111,52,.12); }
.radial:before, .radial:after { content:""; position:absolute; background:#0b1116; }
.radial:before { width:3px; height:115%; left:50%; top:-7%; transform:translateX(-50%); }
.radial:after { height:3px; width:115%; top:50%; left:-7%; transform:translateY(-50%); }

.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.card { border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(145deg,rgba(18,27,34,.82),rgba(10,15,19,.85)); padding:26px; }
.card h3 { margin:10px 0 8px; font-size:20px; }
.card p { margin:0; color:var(--muted); }
.card .icon { width:42px; height:42px; display:grid; place-items:center; border-radius:11px; background:rgba(214,129,76,.12); color:#f0a15f; border:1px solid rgba(214,129,76,.18); font-weight:900; }

.gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.gallery-card { min-height:260px; border-radius:18px; border:1px solid var(--line); overflow:hidden; background:#0c1318; position:relative; cursor:pointer; }
.gallery-card:after { content:""; position:absolute; inset:45% 0 0; background:linear-gradient(transparent,rgba(3,5,7,.92)); }
.gallery-art { height:100%; min-height:260px; padding:24px; background:radial-gradient(circle at 80% 15%, rgba(205,105,48,.18), transparent 28%), linear-gradient(150deg,#12202a,#0a0f13 70%); }
.gallery-label { position:absolute; z-index:2; left:18px; right:18px; bottom:16px; }
.gallery-label strong { display:block; font-size:17px; }
.gallery-label span { color:#a9b0b4; font-size:13px; }
.mini-window { border:1px solid rgba(255,255,255,.11); border-radius:11px; background:#0a1014; height:160px; box-shadow:0 16px 34px rgba(0,0,0,.33); padding:16px; }
.mini-line { height:9px; border-radius:5px; background:rgba(255,255,255,.09); margin-bottom:10px; }
.mini-line.w60 { width:60%; } .mini-line.w35 { width:35%; } .mini-line.copper { background:rgba(215,133,79,.35); }

.page-hero { padding:88px 0 48px; border-bottom:1px solid var(--line); background:linear-gradient(180deg,rgba(17,28,36,.55),rgba(7,11,15,0)); }
.page-hero h1 { font-size:clamp(40px,6vw,66px); margin:10px 0 14px; line-height:1; }
.page-hero p { color:var(--muted); max-width:760px; font-size:18px; }
.breadcrumb { color:#89939a; font-size:13px; }
.breadcrumb a:hover { color:#fff; }

.product-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.product-card { border:1px solid var(--line); border-radius:20px; overflow:hidden; background:var(--panel-solid); }
.product-card .thumb { min-height:240px; display:grid; place-items:center; background:radial-gradient(circle at 50% 50%, rgba(221,126,66,.14), transparent 34%),#0b1217; }
.product-card .content { padding:28px; }
.product-card h2 { margin:0 0 8px; }
.status { display:inline-flex; align-items:center; gap:7px; padding:6px 9px; border-radius:999px; font-size:12px; font-weight:800; border:1px solid rgba(255,255,255,.09); }
.status.dev { color:#e7ba82; background:rgba(217,173,112,.08); }
.status.active { color:#a9d2aa; background:rgba(137,181,139,.08); }

.info-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.info-box { padding:18px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.025); }
.info-box .label { color:#8f999f; font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.info-box .value { margin-top:6px; font-weight:800; }

.download-box { border:1px solid var(--line); border-radius:20px; background:linear-gradient(145deg,#111a21,#0b1116); padding:30px; display:grid; grid-template-columns:1fr auto; gap:25px; align-items:center; }
.download-meta { color:var(--muted); display:flex; flex-wrap:wrap; gap:14px; font-size:13px; }
.callout { padding:18px 20px; border-radius:13px; border:1px solid rgba(217,173,112,.22); background:rgba(217,173,112,.07); color:#dbc39f; }

.support-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.support-item { border:1px solid var(--line); border-radius:15px; padding:21px; background:rgba(255,255,255,.025); transition:.2s ease; cursor:pointer; }
.support-item:hover { border-color:rgba(215,133,79,.35); background:rgba(215,133,79,.045); transform:translateY(-2px); }
.support-item strong { display:block; margin-bottom:4px; }
.support-item span { color:var(--muted); font-size:13px; }

.auth-shell { min-height:calc(100vh - 73px); display:grid; grid-template-columns:1.08fr .92fr; }
.auth-art { background-image:linear-gradient(90deg,rgba(4,8,11,.2),rgba(4,8,11,.76)),url('../images/nychta-forge-theme.webp'); background-size:cover; background-position:center; display:flex; align-items:flex-end; padding:50px; }
.auth-art-copy { max-width:580px; text-shadow:0 10px 34px rgba(0,0,0,.6); }
.auth-art-copy h2 { font-size:44px; margin:8px 0; }
.auth-panel { display:grid; place-items:center; padding:50px 28px; background:#090e12; }
.auth-box { width:min(100%,480px); }
.auth-box h1 { font-size:38px; margin:0 0 8px; }
.auth-box > p { color:var(--muted); margin-bottom:26px; }
.field { margin-bottom:16px; }
.field label { display:block; font-weight:700; font-size:13px; margin-bottom:7px; color:#d8dbdd; }
.field input, .field textarea, .field select { width:100%; background:#0f171d; color:#fff; border:1px solid rgba(255,255,255,.12); border-radius:10px; min-height:46px; padding:11px 13px; outline:none; }
.field textarea { min-height:130px; resize:vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color:rgba(229,146,88,.7); box-shadow:0 0 0 3px rgba(215,133,79,.09); }
.check-row { display:flex; gap:10px; align-items:flex-start; color:#afb5b9; font-size:13px; }
.form-actions { display:flex; flex-direction:column; gap:10px; margin-top:20px; }
.prototype-note { font-size:12px; color:#b8a88f; border-left:3px solid var(--warn); padding:10px 12px; background:rgba(217,173,112,.05); margin-bottom:18px; }

.account-layout { display:grid; grid-template-columns:250px 1fr; gap:24px; }
.account-side { border:1px solid var(--line); border-radius:16px; background:#0d1419; padding:14px; height:max-content; position:sticky; top:94px; }
.account-side a { display:block; padding:11px 12px; border-radius:9px; color:#bfc4c7; margin-bottom:3px; }
.account-side a:hover, .account-side a.active { background:rgba(215,133,79,.09); color:#fff; }
.account-main { min-width:0; }
.profile-card { border:1px solid var(--line); border-radius:18px; background:#0d1419; padding:26px; margin-bottom:16px; }
.profile-line { display:flex; align-items:center; gap:18px; }
.big-avatar { width:64px; height:64px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(135deg,var(--copper-2),var(--copper-dark)); color:#1a0d05; font-weight:900; font-size:24px; }
.data-row { display:flex; justify-content:space-between; gap:20px; padding:15px 0; border-bottom:1px solid var(--line); }
.data-row:last-child { border-bottom:0; }
.data-row .left span { color:var(--muted); font-size:13px; display:block; }
.data-row .right { text-align:right; color:#dfe2e4; }

.footer { border-top:1px solid var(--line); padding:34px 0; color:#8f989e; background:#060a0d; }
.footer-wrap { display:flex; align-items:center; gap:26px; justify-content:space-between; }
.footer-links { display:flex; flex-wrap:wrap; gap:18px; font-size:13px; }
.footer a:hover { color:#fff; }

.modal-backdrop { position:fixed; inset:0; background:rgba(0,0,0,.72); display:none; align-items:center; justify-content:center; z-index:100; padding:20px; }
.modal-backdrop.show { display:flex; }
.modal { width:min(100%,560px); background:#10171d; border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); padding:28px; }
.modal h3 { margin-top:0; }
.modal p { color:var(--muted); }
.modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:22px; }
.toast { position:fixed; right:20px; bottom:20px; z-index:120; background:#152018; border:1px solid rgba(137,181,139,.22); color:#d7ead8; border-radius:12px; padding:13px 16px; box-shadow:var(--shadow); display:none; max-width:360px; }
.toast.show { display:block; }

@media (max-width: 980px) {
  .nav-links, .nav-actions { display:none; }
  .mobile-toggle { display:block; }
  .nav-wrap.open { flex-wrap:wrap; padding-bottom:14px; }
  .nav-wrap.open .nav-links { order:3; display:flex; width:100%; flex-direction:column; align-items:stretch; gap:2px; }
  .nav-wrap.open .nav-links a { padding:11px 6px; }
  .nav-wrap.open .nav-links a.active:after { display:none; }
  .nav-wrap.open .nav-actions { order:4; display:flex; width:100%; margin:0; }
  .nav-wrap.open .nav-actions .btn { flex:1; }
  .product-feature, .auth-shell { grid-template-columns:1fr; }
  .product-visual { min-height:400px; }
  .auth-art { min-height:360px; }
  .cards, .gallery, .support-grid { grid-template-columns:1fr 1fr; }
  .info-grid { grid-template-columns:1fr 1fr; }
  .account-layout { grid-template-columns:1fr; }
  .account-side { position:static; display:flex; overflow:auto; gap:4px; }
  .account-side a { min-width:max-content; }
}
@media (max-width: 680px) {
  .container { width:min(var(--max),calc(100% - 28px)); }
  .hero { min-height:670px; background-position:58% center; }
  .hero-content { padding:70px 0 110px; }
  .hero p { font-size:16px; }
  .hero .motto { letter-spacing:.22em; }
  .section { padding:62px 0; }
  .product-copy { padding:30px; }
  .product-copy h2 { font-size:34px; }
  .cards, .gallery, .support-grid, .product-grid, .info-grid { grid-template-columns:1fr; }
  .download-box { grid-template-columns:1fr; }
  .download-box .btn { width:100%; }
  .footer-wrap { align-items:flex-start; flex-direction:column; }
  .auth-art { min-height:300px; padding:28px; }
  .auth-art-copy h2 { font-size:34px; }
  .auth-panel { padding:38px 20px; }
  .data-row { flex-direction:column; gap:8px; }
  .data-row .right { text-align:left; }
}
