/* ==========================================================================
   Pinage — Redesign stylesheet
   Premium dark "command centre" theme for multi-site retail marketing teams.
   ========================================================================== */

:root {
    /* Surfaces */
    --bg:           #080B18;
    --bg-top:       #0B1126;
    --panel:        #0E1430;
    --card:         #111A3A;
    --card-2:       #16204A;
    --line:         rgba(255, 255, 255, 0.08);
    --line-strong:  rgba(255, 255, 255, 0.16);

    /* Ink */
    --ink:          #EAF0FF;
    --ink-soft:     #C4CDE6;
    --muted:        #93A0C0;

    /* Accents */
    --cyan:         #56D6E8;
    --blue:         #5B8DEF;
    --green:        #37D9A0;
    --amber:        #F6BE4B;
    --red:          #F2667A;

    --grad:         linear-gradient(135deg, #5B8DEF 0%, #56D6E8 100%);
    --grad-soft:    linear-gradient(135deg, rgba(91, 141, 239, 0.16), rgba(86, 214, 232, 0.16));

    /* Effects */
    --shadow-sm:    0 4px 18px rgba(2, 6, 23, 0.45);
    --shadow:       0 18px 50px rgba(2, 6, 23, 0.55);
    --shadow-lg:    0 40px 90px rgba(2, 6, 23, 0.65);
    --glow:         0 10px 40px rgba(86, 142, 232, 0.35);

    /* Radii */
    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;
    --pill: 999px;

    --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
.mobile-only { display: none; }

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, system-ui, -apple-system, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background:
        radial-gradient(1100px 600px at 78% -8%, rgba(91, 141, 239, 0.16), transparent 60%),
        radial-gradient(900px 600px at 8% 4%, rgba(86, 214, 232, 0.10), transparent 55%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 38%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(86, 214, 232, 0.28); }

/* ---------- Layout primitives ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 6rem 0; position: relative; }
.section--tight { padding: 4rem 0; }

.section-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: ''; width: 22px; height: 1px; background: var(--cyan); opacity: 0.7;
}

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; color: #fff; }

.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.section-head p { font-size: 1.15rem; color: var(--ink-soft); }

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

.lead { font-size: 1.2rem; color: var(--ink-soft); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    padding: 0.95rem 1.6rem; border-radius: var(--pill);
    font-weight: 600; font-size: 1rem; cursor: pointer; border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #07122b; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 46px rgba(86, 142, 232, 0.5); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--cyan); background: rgba(86, 214, 232, 0.07); }
.btn-light { background: #fff; color: #0c1326; }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }

/* ---------- Header / nav ---------- */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 1.1rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(8, 11, 24, 0.78);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    padding: 0.7rem 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav-logo img { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a {
    font-size: 0.98rem; font-weight: 500; color: var(--ink-soft);
    position: relative; padding: 0.2rem 0; transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after {
    content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px;
    background: var(--grad); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-toggle {
    display: none; background: none; border: 0; cursor: pointer; padding: 8px;
    flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero { padding: 11rem 0 5rem; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }

.pill-tag {
    display: inline-flex; align-items: center; gap: 0.55rem;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
    padding: 0.45rem 0.9rem; border-radius: var(--pill);
    font-size: 0.82rem; color: var(--ink-soft); font-weight: 500; margin-bottom: 1.6rem;
}
.pill-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(55, 217, 160, 0.6); animation: pulse 2.4s infinite; }

.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); margin-bottom: 1.4rem; }
.hero h1 .grad-text { display: inline; }
.hero p.lead { margin-bottom: 2.2rem; max-width: 560px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-assure { display: flex; gap: 1.6rem; flex-wrap: wrap; color: var(--muted); font-size: 0.92rem; }
.hero-assure span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-assure svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- Console (dashboard mock) ---------- */
.console-wrap { position: relative; }
.console-wrap::before {
    content: ''; position: absolute; inset: -40px -20px; z-index: -1;
    background: radial-gradient(closest-side, rgba(91, 141, 239, 0.25), transparent 70%);
    filter: blur(20px);
}
.console {
    background: linear-gradient(160deg, #101A3C 0%, #0A1027 100%);
    border: 1px solid var(--line-strong); border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
    animation: floaty 7s ease-in-out infinite;
}
.console-top {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}
.console-dots { display: flex; gap: 6px; }
.console-dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.console-dots span:nth-child(1) { background: #F2667A; }
.console-dots span:nth-child(2) { background: #F6BE4B; }
.console-dots span:nth-child(3) { background: #37D9A0; }
.console-title { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.console-live {
    margin-left: auto; display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.78rem; color: var(--green); font-weight: 600;
}
.console-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }

.console-body { display: grid; grid-template-columns: 130px 1fr; }
.console-side { border-right: 1px solid var(--line); padding: 1rem 0.7rem; display: flex; flex-direction: column; gap: 0.25rem; }
.console-nav { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.6rem; border-radius: 10px; font-size: 0.82rem; color: var(--muted); }
.console-nav svg { width: 15px; height: 15px; }
.console-nav.active { background: var(--grad-soft); color: #fff; }
.console-main { padding: 1.1rem; display: flex; flex-direction: column; gap: 1rem; }

.console-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.chip {
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
    border-radius: 12px; padding: 0.7rem 0.7rem;
}
.chip .k { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.chip .v { font-size: 1.25rem; font-weight: 700; color: #fff; margin-top: 2px; }
.chip .v small { font-size: 0.7rem; color: var(--green); font-weight: 600; margin-left: 3px; }

.screen-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.screen-grid .cell {
    aspect-ratio: 16 / 10; border-radius: 6px; border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}
.screen-grid .cell.on { background: linear-gradient(135deg, rgba(91, 141, 239, 0.6), rgba(86, 214, 232, 0.55)); border-color: transparent; }
.screen-grid .cell.live { animation: cellpulse 2.6s ease-in-out infinite; }

.publish {
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
    border-radius: 12px; padding: 0.8rem 0.9rem;
}
.publish-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; margin-bottom: 0.55rem; }
.publish-row .name { color: #fff; font-weight: 600; }
.publish-row .name b { color: var(--cyan); font-weight: 700; }
.publish-row .pct { color: var(--muted); }
.progress { height: 7px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 999px; animation: fill 3.4s ease-out forwards 0.6s; }

/* ---------- Logo / trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.2rem 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; text-align: center; }
.trust-label { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.trust-points { display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center; }
.trust-points span { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink-soft); font-weight: 500; }
.trust-points svg { width: 18px; height: 18px; color: var(--cyan); }

/* ---------- Generic cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 1.6rem; }

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 2rem; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }

.icon-badge {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad-soft); border: 1px solid var(--line-strong);
    margin-bottom: 1.3rem;
}
.icon-badge svg { width: 26px; height: 26px; color: var(--cyan); }
.card h3 { font-size: 1.35rem; margin-bottom: 0.7rem; }
.card p { color: var(--ink-soft); }

/* ---------- Pillars (numbered feature rows) ---------- */
.pillar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
    padding: 3.5rem 0; border-top: 1px solid var(--line);
}
.pillar:nth-child(even) .pillar-media { order: -1; }
.pillar-num {
    font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; color: var(--cyan);
    margin-bottom: 1rem;
}
.pillar h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.pillar p { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.pillar ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.pillar ul li { display: flex; gap: 0.7rem; color: var(--ink-soft); }
.pillar ul li svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

.pillar-media {
    background: linear-gradient(160deg, #101A3C 0%, #0A1027 100%);
    border: 1px solid var(--line-strong); border-radius: var(--r-lg);
    padding: 1.6rem; box-shadow: var(--shadow); min-height: 260px;
    display: flex; flex-direction: column; gap: 0.9rem; justify-content: center;
}

/* mini visuals inside pillar media */
.mock-toolbar { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.4rem; }
.mock-toolbar .b { height: 30px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); flex: 1; }
.mock-toolbar .b.accent { background: var(--grad); border-color: transparent; max-width: 96px; }
.mock-line { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); }
.mock-line.short { width: 55%; }
.mock-line.mid { width: 75%; }

.region-row { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0.2rem; border-bottom: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-soft); }
.region-row:last-child { border-bottom: 0; }
.region-row .status { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--green); font-size: 0.8rem; }
.region-row .status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.region-row .count { color: #fff; font-weight: 600; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding-top: 0.5rem; }
.bars .bar { flex: 1; border-radius: 6px 6px 0 0; background: var(--grad); opacity: 0.85; animation: grow 1.4s ease-out backwards; }
.spark-label { display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; }
.spark-label b { color: #fff; } .spark-label .up { color: var(--green); font-weight: 600; }

.innov-track { display: flex; flex-direction: column; gap: 0.7rem; }
.innov-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.02); font-size: 0.92rem; color: var(--ink-soft); }
.innov-item .tag { margin-left: auto; font-size: 0.7rem; font-weight: 700; padding: 0.18rem 0.55rem; border-radius: 999px; }
.tag.live { background: rgba(55, 217, 160, 0.16); color: var(--green); }
.tag.beta { background: rgba(246, 190, 75, 0.16); color: var(--amber); }
.tag.soon { background: rgba(91, 141, 239, 0.16); color: var(--blue); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: step; }
.step { position: relative; padding: 2rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.02); }
.step-num {
    width: 40px; height: 40px; border-radius: 12px; background: var(--grad-soft);
    border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--cyan); margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.step p { color: var(--ink-soft); }

/* ---------- Split / callout panels ---------- */
.panel {
    background: linear-gradient(160deg, #101A3C 0%, #0A1027 100%);
    border: 1px solid var(--line-strong); border-radius: var(--r-lg);
    padding: 3rem; box-shadow: var(--shadow);
}
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.split h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1.2rem; }
.split p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 1rem; }

.compare { display: grid; gap: 0.8rem; }
.compare .row { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.85rem 1rem; border-radius: 12px; border: 1px solid var(--line); }
.compare .row.old { background: rgba(242, 102, 122, 0.05); }
.compare .row.new { background: rgba(55, 217, 160, 0.06); }
.compare .row svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.compare .row.old svg { color: var(--red); }
.compare .row.new svg { color: var(--green); }
.compare .row .t { font-size: 0.96rem; }
.compare .row .t b { display: block; color: #fff; }
.compare .row .t span { color: var(--muted); font-size: 0.86rem; }

/* ---------- Privacy / feedback block ---------- */
.privacy-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.6rem; }
.pc { border-radius: var(--r); padding: 1.4rem; border: 1px solid var(--line); }
.pc.do { background: rgba(55, 217, 160, 0.06); }
.pc.dont { background: rgba(242, 102, 122, 0.05); }
.pc h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.pc.do h4 { color: var(--green); } .pc.dont h4 { color: var(--red); }
.pc p { display: flex; align-items: center; gap: 0.5rem; color: var(--ink-soft); margin-bottom: 0.5rem; font-size: 0.95rem; }
.pc p:last-child { margin-bottom: 0; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat-box { text-align: center; padding: 1.6rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, 0.02); }
.stat-box .n { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; }
.stat-box .l { color: var(--muted); font-size: 0.92rem; margin-top: 0.3rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.8rem; max-width: 860px; margin: 0 auto; }
.price-card {
    position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.4rem;
    display: flex; flex-direction: column;
}
.price-card.featured { border-color: rgba(86, 214, 232, 0.5); box-shadow: 0 0 0 1px rgba(86, 214, 232, 0.2), var(--shadow); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #07122b; font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.95rem; border-radius: 999px; }
.price-card h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.price-card .sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.4rem; }
.price-amount { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.3rem; }
.price-amount .num { font-size: 3rem; font-weight: 700; }
.price-amount .per { color: var(--muted); font-size: 0.95rem; }
.price-note { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.6rem; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1.8rem; flex: 1; }
.price-card ul li { display: flex; gap: 0.65rem; color: var(--ink-soft); }
.price-card ul li svg { width: 19px; height: 19px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.price-tag-pill { display: inline-flex; align-self: flex-start; font-size: 0.72rem; font-weight: 700; padding: 0.18rem 0.6rem; border-radius: 999px; background: rgba(246, 190, 75, 0.16); color: var(--amber); margin-bottom: 1rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, 0.02); overflow: hidden; }
.faq summary {
    list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; font-weight: 600; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.faq summary .plus::before, .faq summary .plus::after { content: ''; position: absolute; background: var(--cyan); border-radius: 2px; transition: 0.25s; }
.faq summary .plus::before { top: 10px; left: 3px; width: 16px; height: 2px; }
.faq summary .plus::after { top: 3px; left: 10px; width: 2px; height: 16px; }
.faq details[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .panel { padding: 4rem 2rem; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.cta-band p { color: var(--ink-soft); font-size: 1.15rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: start; }
.form-card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.4rem; }
.form-card h2 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.form-card > p.intro { color: var(--ink-soft); margin-bottom: 1.8rem; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-weight: 500; color: var(--ink-soft); margin-bottom: 0.5rem; font-size: 0.95rem; }
.field label .req { color: var(--cyan); }
.field input, .field select, .field textarea {
    width: 100%; padding: 0.85rem 1rem; border-radius: 12px;
    border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); color: var(--ink);
    font-family: inherit; font-size: 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #5e6b8c; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--cyan); background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(86, 214, 232, 0.1);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select option { color: #0c1326; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-aside { display: flex; flex-direction: column; gap: 1.2rem; }
.aside-card { border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; background: rgba(255, 255, 255, 0.02); }
.aside-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.aside-card p { color: var(--ink-soft); font-size: 0.95rem; }
.aside-card a.link { color: var(--cyan); font-weight: 600; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }
.form-msg { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.4rem; display: none; font-size: 0.95rem; }
.form-msg.show { display: block; }
.form-msg.success { background: rgba(55, 217, 160, 0.12); border: 1px solid rgba(55, 217, 160, 0.4); color: #aef0d6; }
.form-msg.error { background: rgba(242, 102, 122, 0.12); border: 1px solid rgba(242, 102, 122, 0.4); color: #f7c0c9; }

.contact-methods { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.4rem; }
.contact-methods a, .contact-methods span { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 9rem 0 3rem; text-align: center; }
.page-hero.left { text-align: left; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.page-hero p { font-size: 1.2rem; color: var(--ink-soft); max-width: 640px; margin: 0 auto; }
.page-hero.left p { margin: 0; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 8.5rem 0 4rem; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 0.6rem; }
.legal .subtitle { color: var(--ink-soft); font-size: 1.15rem; margin-bottom: 0.4rem; }
.legal-section { margin-bottom: 2.4rem; }
.legal-section h2 { font-size: 1.4rem; margin-bottom: 0.9rem; color: #fff; }
.legal-section h3 { font-size: 1.05rem; margin: 1.2rem 0 0.5rem; color: var(--ink); }
.legal-section p, .legal-section li { color: var(--ink-soft); margin-bottom: 0.7rem; }
.legal-section ul { padding-left: 1.3rem; }
.legal-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 1.5rem 0 2.5rem; }
.legal-highlights .h { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; background: rgba(255, 255, 255, 0.02); }
.legal-highlights .h b { display: block; color: #fff; margin-bottom: 0.25rem; }
.legal-highlights .h span { color: var(--muted); font-size: 0.9rem; }
.scroll-indicator { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: transparent; z-index: 1001; }
.scroll-progress { height: 100%; width: 0; background: var(--grad); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 4rem 0 2rem; background: rgba(4, 6, 14, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand img { height: 34px; margin-bottom: 1.1rem; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 320px; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 1.1rem; }
.footer-col a { display: block; color: var(--ink-soft); margin-bottom: 0.7rem; font-size: 0.95rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.88rem; }
.footer-bottom a { color: var(--muted); } .footer-bottom a:hover { color: var(--cyan); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(55, 217, 160, 0.5); } 70% { box-shadow: 0 0 0 9px rgba(55, 217, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(55, 217, 160, 0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes cellpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes fill { to { width: 92%; } }
@keyframes grow { from { height: 0; opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .console-wrap { max-width: 520px; }
    .pillar, .split, .form-layout { grid-template-columns: 1fr; gap: 2rem; }
    .pillar:nth-child(even) .pillar-media { order: 0; }
    .steps { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .privacy-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .nav-links, .nav-cta .btn-ghost { display: none; }
    .nav-toggle { display: flex; }
    .site-header.menu-open { background: rgba(8, 11, 24, 0.96); backdrop-filter: blur(14px); }
    .nav-links.open {
        display: flex; position: absolute; top: 100%; left: 0; width: 100%;
        flex-direction: column; gap: 0; padding: 0.5rem 24px 1.5rem;
        background: rgba(8, 11, 24, 0.98); border-bottom: 1px solid var(--line);
    }
    .nav-links.open li { width: 100%; }
    .nav-links.open a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
    .nav-links.open .mobile-only { display: block; }
    .hero { padding-top: 8.5rem; }
    .section { padding: 4rem 0; }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .footer-bottom { flex-direction: column; }
    .console-side { display: none; }
    .console-body { grid-template-columns: 1fr; }
}
