/* ============================================================
   Basispoint — Shared Stylesheet
   All pages include this file
   ============================================================ */

:root {
    --primary-tan:  #1e1209;
    --accent-gold:  #c9a36a;
    --accent-dark:  #c9a36a;
    --gold-dim:     #b08d57;
    --deep-charcoal:#f5ede0;
    --text-muted:   #a89070;
    --border-color: #7a4e2e;
    --bg-card:      #2a1608;
    --header-tan:   #3a1e0c;
    --hover-tan:    #251209;
}

*, *::before, *::after { box-sizing: border-box; }

body, html {
    margin: 0; padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--primary-tan);
    color: var(--deep-charcoal);
    overflow-x: hidden;
}

/* ── Navigation ── */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 4%; background: rgba(30,18,9,0.98);
    border-bottom: 1px solid var(--border-color);
    position: sticky; top: 0; z-index: 1000;
}
.logo {
    font-size: 1.5rem; font-weight: 800;
    color: var(--deep-charcoal); text-decoration: none; cursor: pointer;
}
.logo span { color: var(--accent-gold); }
.logo-sub { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.nav-links { display: flex; gap: 14px; align-items: center; flex: 1; justify-content: flex-end; flex-wrap: nowrap; }
.nav-link {
    text-decoration: none; color: var(--text-muted); font-weight: 700;
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px;
    cursor: pointer; transition: color 0.3s; white-space: nowrap;
}
.nav-link:hover { color: var(--accent-gold); }
.nav-link.active { color: var(--accent-gold); border-bottom: 2px solid var(--accent-gold); padding-bottom: 5px; }

/* ── Dropdown ── */
.nav-dropdown-wrap { position: relative; cursor: pointer; padding-bottom: 8px; }
.nav-dropdown { display: none; position: absolute; top: 100%; left: 0; background: rgba(30,18,9,0.98); border: 1px solid var(--border-color); border-radius: 4px; min-width: 160px; padding: 6px 0; z-index: 1001; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.nav-dropdown-wrap:hover .nav-dropdown { display: block; }
.nav-dropdown-item { display: block; padding: 10px 18px; text-decoration: none; color: var(--text-muted); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s, background 0.2s; white-space: nowrap; }
.nav-dropdown-item:hover, .nav-dropdown-item.active { color: var(--accent-gold); background: rgba(201,163,106,0.08); }

/* ── Buttons ── */
.btn-primary {
    padding: 16px 36px; border-radius: 4px; font-weight: 700;
    text-decoration: none; text-transform: uppercase;
    font-size: 0.85rem; letter-spacing: 1px;
    background: var(--accent-gold); color: #1a0a02;
    transition: background 0.3s; display: inline-block;
    cursor: pointer; border: none;
}
.btn-primary:hover { background: var(--gold-dim); }

/* ── Hero sections ── */
.open-hero {
    padding: 80px 10% 60px; text-align: center;
    background: #0f0603; position: relative; overflow: visible;
}
.open-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(176,141,87,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.open-eyebrow {
    font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 3px; color: var(--accent-gold); margin-bottom: 20px;
    display: inline-flex; align-items: center; gap: 12px;
}
.open-eyebrow::before, .open-eyebrow::after {
    content: ''; display: inline-block; width: 32px; height: 1px;
    background: var(--accent-gold); opacity: 0.5;
}
.open-hero-title {
    font-size: 3.8rem; font-weight: 800; line-height: 1.08;
    color: white; margin: 0 auto 24px; max-width: 860px;
}
.open-hero-title .gold { color: var(--accent-gold); }
.open-hero-sub {
    font-size: 1.1rem; color: rgba(255,255,255,0.55);
    line-height: 1.7; max-width: 620px; margin: 0 auto 50px;
}

/* ── Stats strip ── */
.open-stats-strip {
    display: grid; grid-template-columns: repeat(4,1fr);
    background: #1e1209;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.open-stat-cell {
    padding: 26px 20px; text-align: center;
    border-right: 1px solid var(--border-color);
}
.open-stat-cell:last-child { border-right: none; }
.open-stat-num { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 6px; }
.open-stat-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.65); }

/* ── Why cards ── */
.why-section { background: #0f0603; color: #f5ede0; padding: 56px 10%; }
.why-eyebrow { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--accent-gold); margin-bottom: 12px; }
.why-section h3 { font-size: 1.8rem; font-weight: 800; margin: 0 0 40px 0; color: white; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.why-card { padding: 24px; background: #2a1608; border: 1px solid rgba(201,163,106,0.4); border-radius: 4px; }
.why-card-icon {
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px; background: #2a1608; border: 1px solid var(--accent-gold);
}
.why-card-sep { width: 100%; height: 2px; background: var(--accent-gold); margin-bottom: 18px; }
.why-card-title { font-weight: 800; font-size: 1.15rem; color: white; margin-bottom: 10px; }
.why-card-text { font-size: 1rem; color: rgba(255,255,255,0.58); line-height: 1.65; }

/* ── Simulation screen wrapper ── */
.sim-section { padding: 0; background: #1e1209; }
.sim-quote {
    font-size: 1.5rem; font-weight: 800; color: #fff;
    text-align: center; padding: 48px 10% 8px; line-height: 1.3;
}
.sim-label {
    font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 2px; color: var(--accent-gold);
    margin-bottom: 8px; padding: 12px 0 0; padding-left: 15%;
}
.sim-iframe {
    width: 70%; height: 700px;
    border: 1px solid var(--border-color); border-radius: 4px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    display: block; margin: 0 auto 48px;
}

/* ── Examples divider ── */
.examples-divider {
    background: #1a0a02; padding: 32px 10% 0; text-align: center;
}
.examples-divider-label {
    font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 3px; color: var(--accent-gold);
}
.examples-divider-line {
    width: 40px; height: 2px; background: var(--accent-gold); margin: 10px auto 0;
}

/* ── Splash ── */
#splash-screen {
    position: fixed; inset: 0; z-index: 9999;
    background: #0f0603;
    display: none; flex-direction: column;
    align-items: center; justify-content: center; gap: 18px;
    opacity: 1; transition: opacity 0.8s ease;
}
#splash-screen.splash-gone { opacity: 0; pointer-events: none; }
.splash-bar-wrap { width: 200px; height: 2px; background: #3a1e0c; border-radius: 2px; overflow: hidden; margin-top: 30px; }
.splash-bar { height: 100%; width: 0%; background: #b08d57; border-radius: 2px; }
@keyframes splashFill { from { width: 0%; } to { width: 100%; } }

/* ── Animations ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-in { animation: fadeIn 0.5s ease; }

/* ── Modal ── */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); align-items: center; justify-content: center; }
.modal.open { display: flex; }
.modal-content { background-color: #2a1608; padding: 25px; border: 1px solid var(--border-color); border-radius: 8px; position: relative; max-width: 500px; width: 90%; color: var(--deep-charcoal); }
.close-btn { position: absolute; right: 15px; top: 10px; font-size: 24px; cursor: pointer; color: var(--accent-dark); }

/* ============================================================
   Conversion-focused homepage redesign — preserves original
   Basispoint color palette and Segoe UI typography
   ============================================================ */
.bp-redesign { background:#0f0603; color:#f5ede0; font-family:'Segoe UI', sans-serif; }
.bp-wrap { width:min(1180px, 88vw); margin:0 auto; position:relative; z-index:1; }
.bp-hero { position:relative; overflow:hidden; padding:86px 0 64px; background:#0f0603; border-bottom:1px solid rgba(201,163,106,0.22); }
.bp-hero-glow { position:absolute; inset:0; background:radial-gradient(ellipse 70% 50% at 50% 0%, rgba(176,141,87,0.20), transparent 72%); pointer-events:none; }
.bp-hero-grid { display:grid; grid-template-columns:1fr 0.92fr; gap:56px; align-items:center; }
.bp-eyebrow { display:inline-flex; align-items:center; gap:12px; color:var(--accent-gold); font-size:0.72rem; font-weight:800; letter-spacing:3px; text-transform:uppercase; margin-bottom:18px; }
.bp-eyebrow:before { content:''; width:32px; height:1px; background:var(--accent-gold); opacity:.55; }
.bp-hero h1, .bp-section h2, .bp-compare h2, .bp-ai-band h2, .bp-final-cta h2 { color:#fff; font-weight:800; letter-spacing:-0.03em; line-height:1.04; margin:0; }
.bp-hero h1 { font-size:clamp(3rem, 6vw, 5.7rem); max-width:760px; }
.bp-lede { color:rgba(255,255,255,0.62); font-size:1.13rem; line-height:1.75; max-width:690px; margin:28px 0 34px; }
.bp-actions { display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.bp-actions.center { justify-content:center; }
.bp-btn { appearance:none; border-radius:4px; padding:15px 28px; font-size:0.82rem; font-weight:800; letter-spacing:1px; text-transform:uppercase; text-decoration:none; cursor:pointer; transition:background .18s ease, border-color .18s ease, transform .18s ease; border:1px solid transparent; display:inline-flex; align-items:center; justify-content:center; }
.bp-btn:hover { transform:translateY(-1px); }
.bp-btn-primary { background:var(--accent-gold); color:#1a0a02; border-color:var(--accent-gold); }
.bp-btn-primary:hover { background:#b08d57; }
.bp-btn-secondary { color:#f5ede0; border-color:rgba(201,163,106,0.45); background:rgba(42,22,8,0.42); }
.bp-btn-secondary:hover { border-color:var(--accent-gold); background:rgba(201,163,106,0.08); }
.bp-proofline { margin-top:22px; color:rgba(245,237,224,0.42); font-size:.8rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; }
.bp-terminal-card { background:#1e1209; border:1px solid rgba(201,163,106,0.38); border-radius:6px; box-shadow:0 34px 90px rgba(0,0,0,.48); overflow:hidden; }
.bp-terminal-top { display:flex; align-items:center; gap:8px; padding:13px 16px; background:#3a1e0c; border-bottom:1px solid rgba(201,163,106,0.22); color:rgba(245,237,224,.72); font-size:.72rem; text-transform:uppercase; letter-spacing:1.8px; }
.bp-terminal-top span { width:9px; height:9px; border-radius:50%; background:#7a4e2e; display:inline-block; }
.bp-terminal-top strong { margin-left:10px; font-size:.68rem; color:rgba(245,237,224,.58); }
.bp-terminal-body { padding:20px; display:grid; gap:16px; }
.bp-mini-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.bp-mini-kpis div, .bp-curve-card, .bp-table-card { background:#130802; border:1px solid rgba(201,163,106,.20); padding:16px; }
.bp-mini-kpis label { display:block; color:rgba(255,255,255,.42); font-size:.62rem; font-weight:800; text-transform:uppercase; letter-spacing:1.5px; margin-bottom:7px; }
.bp-mini-kpis strong { color:#fff; font-size:1.55rem; }
.bp-card-title { color:var(--accent-gold); font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:2px; margin-bottom:12px; }
.bp-bar { position:relative; display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center; padding:9px 0; color:rgba(255,255,255,.62); font-size:.78rem; }
.bp-bar i { position:absolute; left:0; bottom:0; height:2px; background:var(--accent-gold); opacity:.8; }
.bp-bar b { color:#fff; font-size:.82rem; }
.bp-table-card table { width:100%; border-collapse:collapse; font-size:.72rem; }
.bp-table-card th { color:rgba(255,255,255,.44); text-transform:uppercase; font-size:.58rem; letter-spacing:1px; padding:8px; border-bottom:1px solid rgba(201,163,106,.15); text-align:left; }
.bp-table-card td { color:rgba(255,255,255,.72); padding:8px; border-bottom:1px solid rgba(201,163,106,.10); }
.bp-stats { display:grid; grid-template-columns:repeat(4,1fr); background:#1e1209; border-top:1px solid var(--border-color); border-bottom:1px solid var(--border-color); }
.bp-stat { padding:28px 18px; text-align:center; border-right:1px solid rgba(122,78,46,.75); }
.bp-stat:last-child { border-right:none; }
.bp-stat strong { display:block; color:#fff; font-size:2.1rem; font-weight:800; line-height:1; margin-bottom:8px; }
.bp-stat span { color:rgba(255,255,255,.56); font-size:.68rem; font-weight:800; letter-spacing:1.3px; text-transform:uppercase; }
.bp-section { padding:78px 0; }
.bp-section-head { max-width:850px; margin-bottom:34px; }
.bp-section-head.compact { text-align:center; margin-left:auto; margin-right:auto; }
.bp-section h2, .bp-compare h2, .bp-ai-band h2, .bp-final-cta h2 { font-size:clamp(2.1rem, 4vw, 3.4rem); }
.bp-section-head p, .bp-compare p, .bp-ai-band p, .bp-final-cta p { color:rgba(255,255,255,.56); font-size:1rem; line-height:1.75; }
.bp-feature-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:2px; background:rgba(201,163,106,.18); border:1px solid rgba(201,163,106,.30); }
.bp-feature-card { background:#130802; padding:30px 26px; min-height:300px; text-decoration:none; color:inherit; transition:background .18s ease; }
.bp-feature-card:hover { background:#1e1209; }
.bp-icon { width:42px; height:42px; border-radius:50%; border:1px solid var(--accent-gold); display:flex; align-items:center; justify-content:center; color:var(--accent-gold); font-size:.7rem; font-weight:900; margin-bottom:24px; }
.bp-feature-card h3 { color:#fff; font-size:1.18rem; margin:0 0 12px; }
.bp-feature-card p { color:rgba(255,255,255,.50); line-height:1.65; font-size:.9rem; margin:0; }
.bp-compare { padding:84px 0; background:#1e1209; border-top:1px solid rgba(201,163,106,.18); border-bottom:1px solid rgba(201,163,106,.18); }
.bp-compare-grid { display:grid; grid-template-columns:.85fr 1fr; gap:54px; align-items:center; }
.bp-text-link { color:var(--accent-gold); font-weight:800; text-decoration:none; text-transform:uppercase; letter-spacing:1px; font-size:.8rem; }
.bp-comparison-table { border:1px solid rgba(201,163,106,.32); background:#130802; }
.bp-row { display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid rgba(201,163,106,.18); }
.bp-row:last-child { border-bottom:none; }
.bp-row span { padding:18px 20px; color:rgba(255,255,255,.62); border-right:1px solid rgba(201,163,106,.18); }
.bp-row span:last-child { border-right:none; color:#fff; font-weight:800; }
.bp-row.bp-head span { color:var(--accent-gold); font-size:.7rem; font-weight:900; text-transform:uppercase; letter-spacing:2px; background:#2a1608; }
.bp-preview-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.bp-preview-card { display:flex; min-height:230px; flex-direction:column; justify-content:flex-end; padding:24px; text-decoration:none; color:#fff; background:linear-gradient(180deg, rgba(42,22,8,.35), #130802), radial-gradient(circle at 20% 10%, rgba(201,163,106,.18), transparent 42%); border:1px solid rgba(201,163,106,.28); transition:transform .18s ease, border-color .18s ease; }
.bp-preview-card:hover { transform:translateY(-3px); border-color:var(--accent-gold); }
.bp-preview-card span { color:var(--accent-gold); font-size:.68rem; font-weight:900; text-transform:uppercase; letter-spacing:2px; margin-bottom:10px; }
.bp-preview-card strong { font-size:1.1rem; line-height:1.35; }
.bp-ai-band { padding:84px 0; background:#0d0501; border-top:1px solid rgba(201,163,106,.16); border-bottom:1px solid rgba(201,163,106,.16); }
.bp-ai-grid { display:grid; grid-template-columns:1fr .8fr; gap:54px; align-items:center; }
.bp-prompt-box { display:grid; gap:12px; }
.bp-prompt-box div { background:#1e1209; border:1px solid rgba(201,163,106,.28); color:rgba(255,255,255,.74); padding:18px 20px; border-radius:4px; font-weight:700; }
.bp-final-cta { padding:92px 0 104px; text-align:center; background:radial-gradient(ellipse 70% 58% at 50% 100%, rgba(176,141,87,.18), transparent 70%), #0f0603; }
.bp-final-cta p { max-width:650px; margin:20px auto 30px; }
@media (max-width: 980px) {
  .bp-hero-grid, .bp-compare-grid, .bp-ai-grid { grid-template-columns:1fr; }
  .bp-feature-grid, .bp-preview-grid { grid-template-columns:repeat(2,1fr); }
  .bp-stats { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 620px) {
  .bp-hero { padding-top:56px; }
  .bp-actions, .bp-actions.center { align-items:stretch; flex-direction:column; }
  .bp-btn { width:100%; }
  .bp-feature-grid, .bp-preview-grid, .bp-mini-kpis, .bp-stats { grid-template-columns:1fr; }
  .bp-stat, .bp-feature-card { border-right:none; }
  .bp-row { grid-template-columns:1fr; }
  .bp-row span { border-right:none; border-bottom:1px solid rgba(201,163,106,.12); }
}
