/* ---------- NBS Digital brand tokens ---------- */
:root {
    --nbs-navy: #0b1020;
    --nbs-navy-2: #1a1446;
    --nbs-violet-deep: #3b1f8f;
    --nbs-violet: #7c3aed;
    --nbs-violet-light: #a78bfa;
    --nbs-lavender: #c4b5fd;
    --nbs-text: #ffffff;
    --nbs-text-soft: #d6d3f0;
    --nbs-link: #c7c2f4;
    --nbs-orange: #f97316;
    --nbs-orange-light: #fb923c;
    --nbs-gutter: clamp(16px, 5.6vw, 72px);
    --nbs-font: 'Exo 2', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    background: #ffffff;
    color: #141230;
    font-family: var(--nbs-font);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

a { color: var(--nbs-link); text-decoration: none; }
a:hover { color: var(--nbs-text); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px var(--nbs-gutter);
    background: var(--nbs-navy);
}

.brand { display: flex; align-items: center; gap: 14px; }

.brand-sphere {
    position: relative;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 55%, #2a2550 0%, #141230 60%, #07061a 100%);
    box-shadow: 0 6px 16px rgba(20,18,48,0.5);
    flex: none;
}
.brand-sphere > span { position: absolute; border-radius: 50%; }
.brand-sphere-rim   { inset: 2px; background: linear-gradient(160deg, #f4f3fa 0%, #bdbad0 35%, #6f6c88 70%, #cbc9dc 100%); }
.brand-sphere-glass { inset: 4px; background: radial-gradient(circle at 50% 30%, var(--nbs-violet-light) 0%, var(--nbs-violet) 45%, #4c1d95 85%, #2e1065 100%); box-shadow: inset 0 -4px 8px rgba(20,10,60,0.5); }
.brand-sphere-warm  { inset: 4px; background: radial-gradient(circle at 78% 82%, rgba(251,146,60,0.75) 0%, rgba(249,115,22,0.35) 18%, rgba(249,115,22,0) 42%); }
.brand-sphere-shine { left: 11px; top: 6px; width: 26px; height: 13px; background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.06) 100%); }

.brand-name {
    font-size: 29px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--nbs-orange-light);
    line-height: 1;
}

.site-nav { display: flex; gap: 36px; font-size: 15px; font-weight: 400; letter-spacing: 0.5px; }
.site-nav a.active { color: var(--nbs-text); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    color: var(--nbs-text);
    margin-top: -104px;              /* pull up under the sticky header */
    padding-top: 104px;
    background: linear-gradient(160deg, var(--nbs-navy) 0%, var(--nbs-navy-2) 45%, var(--nbs-violet-deep) 100%);
}

.hero-blob, .hero-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-blob-left  { left: -200px; bottom: -340px; width: 1100px; height: 600px; background: rgba(139,92,246,0.22); }
.hero-blob-right { left: 40%; bottom: -420px; width: 1200px; height: 620px; background: rgba(109,40,217,0.35); }
.hero-glow-violet { right: -160px; top: -200px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(167,139,250,0.35) 0%, rgba(167,139,250,0) 70%); }
.hero-glow-orange { right: 120px; top: 150px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(249,115,22,0.28) 0%, rgba(249,115,22,0) 70%); }

.hero-inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px var(--nbs-gutter) 120px;
}

.hero-copy { display: flex; flex-direction: column; gap: 22px; max-width: 520px; }
.hero-kicker { margin: 0; font-size: 18px; letter-spacing: 2px; color: var(--nbs-lavender); }
.hero-title  { margin: 0; font-size: clamp(36px, 4.4vw, 56px); font-weight: 300; line-height: 1.1; }
.hero-lead   { margin: 0; font-size: 18px; line-height: 1.6; color: var(--nbs-text-soft); }

/* ---------- 3D phone ---------- */
.hero-device { position: relative; width: 560px; height: 500px; flex: none; }

.device-glow {
    position: absolute; right: 20px; top: 0;
    width: 360px; height: 480px;
    object-fit: cover; border-radius: 180px;
    opacity: 0.55; filter: blur(30px);
}

.device-image {
    position: absolute; right: 0; top: 0;
    width: 560px; height: auto;
    filter: drop-shadow(0 30px 40px rgba(4,3,18,0.45));
}
.device-image-desktop { right: -40px; top: 40px; width: 640px; }

/* ---------- Footer ---------- */
.site-footer {
    display: block;
    padding: 18px var(--nbs-gutter);
    border-top: 1px solid rgba(20,18,48,0.12);
    font-size: 13px;
    letter-spacing: 0.5px;
    color: #5b5880;
}
/* The link row is its own flex box; the disclaimer paragraph sits below it as
   an ordinary block, so it can never share a line with the links. */
.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.site-footer nav { display: flex; gap: 32px; }
.site-footer a { color: #5b5880; }
.site-footer a:hover { color: var(--nbs-violet); }

/* ---------- Inner pages ---------- */
.page {
    max-width: 880px;
    margin: 0 auto;
    padding: 48px var(--nbs-gutter) 96px;
}
.page h1 { font-weight: 300; font-size: clamp(32px, 4vw, 44px); margin: 0 0 24px; }
.page p  { line-height: 1.7; color: #4a4870; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hero-inner { flex-direction: column; align-items: flex-start; padding-bottom: 80px; }
    .hero-device { width: 100%; height: 520px; }
    .hero-device { width: 100%; height: 480px; }
    .device-image { right: auto; left: 50%; margin-left: -280px; }
    .device-image-desktop { width: 600px; margin-left: -300px; }
    .device-glow { right: auto; left: 50%; margin-left: -180px; }
}
@media (max-width: 720px) {
    .site-header { padding-top: 18px; padding-bottom: 18px; }
    .brand-sphere { width: 40px; height: 40px; }
    .brand-name { font-size: 24px; }
    .site-nav { gap: 20px; font-size: 14px; }
    .hero { margin-top: -84px; padding-top: 84px; }
    .hero-device { height: 360px; }
    .device-image { width: 400px; margin-left: -200px; }
    .device-image-desktop { width: 360px; margin-left: -180px; }
    .device-glow { width: 280px; height: 360px; margin-left: -140px; }
    .footer-row { flex-direction: column; align-items: flex-start; }
    .site-footer nav { flex-wrap: wrap; gap: 16px 24px; }
}

/* ---------- Products / Features ---------- */
.page-intro {
    max-width: 760px;
    margin: 0 auto;
    padding: 72px var(--nbs-gutter) 24px;
    text-align: center;
}
.kicker { margin: 0 0 12px; font-size: 15px; letter-spacing: 3px; text-transform: uppercase; color: var(--nbs-violet); font-weight: 500; }
.page-intro h1 { margin: 0 0 16px; font-size: clamp(34px, 4.2vw, 52px); font-weight: 300; line-height: 1.1; color: #141230; }
.page-intro .lead { margin: 0; font-size: 18px; line-height: 1.65; color: #4a4870; }

.product-row, .feature-row {
    display: flex;
    align-items: center;
    gap: 64px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px var(--nbs-gutter);
}
.product-row-reverse, .feature-row-reverse { flex-direction: row-reverse; }
.product-media, .feature-media { flex: 1 1 50%; display: flex; justify-content: center; min-width: 0; }
.product-copy, .feature-copy { flex: 1 1 50%; min-width: 0; }

.product-copy h2, .feature-copy h2 { margin: 0 0 6px; font-size: 32px; font-weight: 400; color: #141230; }
.product-tag { margin: 0 0 16px; font-size: 15px; letter-spacing: 1px; color: var(--nbs-orange); font-weight: 500; }
.product-copy p, .feature-copy p { line-height: 1.7; color: #4a4870; font-size: 17px; }
.product-meta { font-size: 14px; color: #7a789a; }
.product-meta a { color: var(--nbs-violet); }

.check-list { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: #2d2b4d; line-height: 1.5; }
.check-list li::before {
    content: "";
    position: absolute; left: 0; top: 6px;
    width: 14px; height: 14px; border-radius: 50%;
    background: linear-gradient(135deg, var(--nbs-violet-light), var(--nbs-violet));
    box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}

/* device bezels */
.device-frame { background: #1b1d25; box-shadow: 0 24px 50px rgba(20,18,48,0.28), inset 0 0 0 1px rgba(255,255,255,0.08); }
.device-frame img { display: block; width: 100%; height: auto; }
.device-frame-phone { width: 300px; padding: 10px; border-radius: 32px; }
.device-frame-phone img { border-radius: 24px; }
.device-frame-tablet { width: 100%; max-width: 580px; padding: 14px; border-radius: 22px; }
.device-frame-tablet img { border-radius: 10px; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px var(--nbs-gutter) 64px;
}
.feature-tile {
    padding: 28px 24px;
    border-radius: 18px;
    background: #f6f5fc;
    border: 1px solid rgba(124,58,237,0.10);
}
.feature-tile h3 { margin: 0 0 10px; font-size: 18px; font-weight: 500; color: #141230; }
.feature-tile p { margin: 0; font-size: 15px; line-height: 1.6; color: #4a4870; }

.cta-band {
    margin: 32px var(--nbs-gutter) 80px;
    padding: 56px var(--nbs-gutter);
    border-radius: 28px;
    text-align: center;
    color: var(--nbs-text);
    background: linear-gradient(160deg, var(--nbs-navy-2) 0%, var(--nbs-violet-deep) 100%);
}
.cta-band h2 { margin: 0 0 10px; font-size: 30px; font-weight: 300; }
.cta-band p { margin: 0 0 24px; color: var(--nbs-text-soft); }
.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--nbs-orange) 0%, var(--nbs-orange-light) 100%);
    color: #ffffff; font-weight: 500; font-size: 16px;
    box-shadow: 0 10px 24px rgba(249,115,22,0.35);
}
.btn-primary:hover { color: #ffffff; filter: brightness(1.06); }

@media (max-width: 900px) {
    .product-row, .feature-row, .product-row-reverse, .feature-row-reverse { flex-direction: column; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .feature-grid { grid-template-columns: 1fr; }
    .device-frame-phone { width: 240px; }
}

/* ---------- Language switch (footer) ---------- */
.lang-switch { display: flex; gap: 8px; font-size: 12px; letter-spacing: 1.5px; }
.lang-switch a { color: #9a98b8; }
.lang-switch a.active { color: var(--nbs-violet); font-weight: 600; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal .kicker { text-align: left; }
.legal h1 { margin-bottom: 6px; }
.legal-date { margin: 0 0 32px; font-size: 14px; color: #7a789a; }
.legal h2 { margin: 40px 0 12px; font-size: 22px; font-weight: 500; color: #141230; }
.legal h3 { margin: 28px 0 8px; font-size: 17px; font-weight: 600; color: #2d2b4d; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: #4a4870; }
.legal ul { padding-left: 22px; margin: 8px 0 16px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: #141230; font-weight: 600; }

/* ---------- Error / 404 page ---------- */
.error-page { max-width: 760px; text-align: center; padding-top: 72px; padding-bottom: 96px; }
.error-page .kicker { text-align: center; font-size: 56px; letter-spacing: 6px; color: var(--nbs-violet-light); margin-bottom: 8px; font-weight: 300; }
.error-page h1 { font-size: clamp(28px, 3.6vw, 40px); }
.error-path { margin: 8px 0 28px; }
.error-path code { display: inline-block; padding: 6px 14px; border-radius: 8px; background: #f3f1fb; color: #5b4bdb; font-size: 14px; word-break: break-all; }
.error-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 0 24px; }
.error-hint { font-size: 14px; color: #7a789a; }

/* ---------- "We are a software company" statements ---------- */
.footer-disclaimer { display: block; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(20,18,48,0.08); font-size: 12.5px; line-height: 1.6; color: #6f6d8f; max-width: 1180px; }
.footer-disclaimer strong { color: #4a4870; font-weight: 600; }
.not-section { background: #f6f5fc; border-top: 1px solid rgba(124,58,237,0.10); border-bottom: 1px solid rgba(124,58,237,0.10); padding: 64px var(--nbs-gutter); }
.not-inner { max-width: 1180px; margin: 0 auto; }
.not-inner .kicker { text-align: left; }
.not-inner h2 { margin: 0 0 28px; font-size: clamp(26px, 3.2vw, 36px); font-weight: 300; color: #141230; }
.not-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.not-tile { background: #ffffff; border-radius: 18px; padding: 26px 24px; border: 1px solid rgba(20,18,48,0.08); }
.not-tile h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: #141230; }
.not-tile p { margin: 0; font-size: 15px; line-height: 1.65; color: #4a4870; }
.not-tile em { font-style: normal; color: var(--nbs-violet); font-weight: 500; }
@media (max-width: 900px) { .not-grid { grid-template-columns: 1fr; } }

/* ---------- "Who GoldPro is for" ---------- */
.who-section { padding: 72px var(--nbs-gutter) 64px; }
.who-inner { max-width: 1180px; margin: 0 auto; }
.who-inner .kicker { text-align: left; }
.who-inner h2 { margin: 0 0 14px; font-size: clamp(26px, 3.2vw, 36px); font-weight: 300; color: #141230; }
.who-lead { margin: 0 0 32px; max-width: 760px; font-size: 17px; line-height: 1.65; color: #4a4870; }
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.who-tile { padding: 28px 26px; border-radius: 18px; background: #f6f5fc; border: 1px solid rgba(124,58,237,0.10); }
.who-tile h3 { margin: 0 0 10px; font-size: 19px; font-weight: 500; color: #141230; }
.who-tile p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #4a4870; }
.who-paper { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 24px; padding: 30px 28px; border-radius: 18px; background: linear-gradient(135deg, #1a1446 0%, #3b1f8f 100%); color: #ffffff; }
.who-paper h3 { margin: 0 0 10px; font-size: 20px; font-weight: 500; color: #ffffff; }
.who-paper-copy p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--nbs-lavender); }
.who-paper-note { margin: 0; padding-left: 28px; border-left: 2px solid rgba(251,146,60,0.7); font-size: 13.5px; line-height: 1.6; color: #d6d0f5; }
.who-not { margin: 28px 0 0; font-size: 15px; line-height: 1.6; color: #6f6d8f; }
.who-not strong { color: var(--nbs-orange); font-weight: 600; }
@media (max-width: 900px) {
    .who-grid, .who-paper { grid-template-columns: 1fr; }
    .who-paper-note { padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.18); }
}

/* ---------- Company-first home: hero illustration ---------- */
.hero-illustration svg { position: absolute; right: 0; top: 0; width: 560px; height: 500px; }
@media (max-width: 1100px) {
    .hero-illustration svg { right: auto; left: 50%; margin-left: -280px; }
}
@media (max-width: 560px) {
    .hero-illustration svg { width: 400px; height: 357px; margin-left: -200px; }
}

/* ---------- Product lines ---------- */
.lines-section { padding: 72px var(--nbs-gutter) 24px; }
.lines-inner { max-width: 1180px; margin: 0 auto; }
.lines-inner .kicker { text-align: left; }
.lines-inner h2 { margin: 0 0 14px; font-size: clamp(26px, 3.2vw, 36px); font-weight: 300; color: #141230; }
.lines-lead { margin: 0 0 32px; max-width: 760px; font-size: 17px; line-height: 1.65; color: #4a4870; }
.lines-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
/* Two product lines since the desktop line left the English pages (v23). */
.lines-grid.lines-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
/* A "coming" label inside a feature heading, same colours as .line-status-soon. */
.feature-soon { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; vertical-align: middle; background: rgba(249,115,22,0.14); color: #c2410c; }
.line-card { display: flex; flex-direction: column; padding: 28px 26px; border-radius: 18px; background: #f6f5fc; border: 1px solid rgba(124,58,237,0.10); }
.line-card h3 { margin: 14px 0 10px; font-size: 20px; font-weight: 500; color: #141230; }
.line-card p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.65; color: #4a4870; flex: 1 1 auto; }
.line-link { font-size: 14.5px; font-weight: 500; color: var(--nbs-violet); }
.line-link:hover { color: var(--nbs-violet-deep); }
.line-status { display: inline-block; align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; }
.line-status-live { background: rgba(124,58,237,0.12); color: var(--nbs-violet-deep); }
.line-status-soon { background: rgba(249,115,22,0.14); color: #c2410c; }
.product-copy .line-status { margin-bottom: 12px; }

/* ---------- How we build ---------- */
.how-section { padding: 56px var(--nbs-gutter) 72px; }
.how-inner { max-width: 1180px; margin: 0 auto; }
.how-inner .kicker { text-align: left; }
.how-inner h2 { margin: 0 0 28px; font-size: clamp(26px, 3.2vw, 36px); font-weight: 300; color: #141230; }
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.how-tile { padding: 24px 22px; border-radius: 18px; background: #ffffff; border: 1px solid rgba(20,18,48,0.08); }
.how-tile h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: #141230; }
.how-tile p { margin: 0; font-size: 15px; line-height: 1.6; color: #4a4870; }

/* ---------- Line figures on the Products page ---------- */
.line-figure { width: 260px; height: 260px; border-radius: 40px; display: flex; align-items: center; justify-content: center; box-shadow: 0 24px 50px rgba(20,18,48,0.22); }
.line-figure-violet { background: linear-gradient(135deg, #7c3aed 0%, #3b1f8f 100%); }
.line-figure-orange { background: linear-gradient(135deg, #fb923c 0%, #f97316 100%); }
.line-figure-navy { background: linear-gradient(135deg, #1a1446 0%, #0b1020 100%); border: 1px solid rgba(167,139,250,0.35); }

/* ---------- Icon tiles on the Features page ---------- */
.feature-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
.tile-icon { display: inline-flex; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; align-items: center; justify-content: center; background: #ffffff; color: var(--nbs-violet); border: 1px solid rgba(124,58,237,0.18); }
.tile-icon svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
    .lines-grid, .lines-grid.lines-grid-2 { grid-template-columns: 1fr; }
    .how-grid, .feature-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .line-figure { width: 200px; height: 200px; }
}
@media (max-width: 560px) {
    .how-grid, .feature-grid-3 { grid-template-columns: 1fr; }
}
