/* ── ExecuteAI Dark Green Design Tokens ───────────────────────────────── */
:root {
    --bg-base: #091411;
    --bg-section: #0F211D;
    --bg-panel: #162B25;
    --bg-card: #1B352E;
    --border-card: #2D574B;
    --border-subtle: rgba(45, 87, 75, 0.4);

    --accent-mint: #38D39F;
    --accent-green: #4EAA90;
    --accent-glow: rgba(56, 211, 159, 0.25);

    --text-primary: #F1F7F4;
    --text-secondary: #9EBAAF;
    --text-muted: #6B8E83;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Global Base ─────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Three.js Fixed Background Canvas */
#bg-globe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ── Glassmorphism Utility ───────────────────────────────────────────── */
.glass-panel {
    background: rgba(27, 53, 46, 0.65);
    border: 1px solid var(--border-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 15px var(--accent-glow);
}

/* ── Navigation Bar ─────────────────────────────────────────────────── */
.navbar-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(6, 17, 14, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(56, 211, 159, 0.09);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
    z-index: 100;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-logo-img {
    width: 50px;
    height: auto;
    object-fit: contain;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.04);
    filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.6));
}

.brand-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #FFFFFF;
}

.accent-dot {
    color: var(--accent-mint);
    text-shadow: 0 0 12px rgba(56, 211, 159, 0.5);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(13, 29, 24, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 6px;
    border-radius: 9999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-item {
    color: rgba(220, 238, 232, 0.72);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    padding: 7px 18px;
    border-radius: 9999px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: -0.01em;
}

.nav-item:hover {
    color: #FFFFFF;
    background: rgba(56, 211, 159, 0.12);
    box-shadow: 0 0 14px rgba(56, 211, 159, 0.18);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta-btn {
    padding: 9px 22px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 9999px;
    background: linear-gradient(135deg, #38D39F 0%, #10A37F 100%);
    color: #04120D;
    box-shadow: 0 0 18px rgba(56, 211, 159, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 28px rgba(56, 211, 159, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.nav-cta-btn svg {
    transition: transform 0.2s ease;
}

.nav-cta-btn:hover svg {
    transform: translateX(3px);
}

/* ── Button Styles ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-green));
    color: #061611;
    font-weight: 700;
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(56, 211, 159, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(27, 53, 46, 0.8);
    color: var(--text-primary);
    border: 1px solid var(--border-card);
}

.btn-secondary:hover {
    background: rgba(45, 87, 75, 0.6);
    border-color: var(--accent-mint);
}

.btn-large {
    padding: 15px 32px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.glow-btn {
    box-shadow: 0 0 20px rgba(56, 211, 159, 0.35);
}

/* ── Hero Section ───────────────────────────────────────────────────── */
.hero-section {
    padding: 100px 24px 60px;
    text-align: center;
    max-width: 960px;
}

.hero-badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 211, 159, 0.08);
    border: 1px solid rgba(56, 211, 159, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-mint);
    letter-spacing: 0.2px;
}

.hero-heading {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 20%, var(--accent-mint) 70%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheading {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto 36px;
}

.hero-subheading strong {
    color: var(--text-primary);
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Fast Stats Strip */
.stats-strip {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(22, 43, 37, 0.7);
    border: 1px solid var(--border-card);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 24px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--accent-mint);
    letter-spacing: -0.5px;
}

.stat-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background-color: var(--border-subtle);
}

/* ── Section General ────────────────────────────────────────────────── */
.section-container {
    padding: 90px 24px;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-mint);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ── Savings Calculator ─────────────────────────────────────────────── */
.calculator-card {
    padding: 40px;
}

.calc-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border-subtle);
}

.control-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 600;
}

.control-val {
    color: var(--accent-mint);
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
}

.slider-input {
    width: 100%;
    height: 8px;
    background: #091411;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    border: 1px solid var(--border-card);
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: var(--accent-mint);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-mint);
    transition: var(--transition);
}

.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
}

.calc-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.result-card {
    background: rgba(15, 33, 29, 0.7);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.result-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.result-value {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--font-mono);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.result-note {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    white-space: nowrap;
}

.highlight-card {
    background: rgba(56, 211, 159, 0.08);
    border: 1px solid var(--accent-mint);
    box-shadow: 0 0 20px rgba(56, 211, 159, 0.15);
}

.highlight-tag {
    color: var(--accent-mint);
}

.text-mint {
    color: var(--accent-mint);
}

.text-muted {
    color: var(--text-muted);
}

/* ── OTPI Matrix Table ──────────────────────────────────────────────── */
.table-wrapper {
    overflow-x: auto;
    padding: 10px;
}

.otpi-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.otpi-table th {
    padding: 16px 20px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-subtle);
}

.otpi-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(45, 87, 75, 0.25);
    vertical-align: middle;
}

.otpi-table tr:hover {
    background: rgba(45, 87, 75, 0.18);
}

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

.model-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.badge-claude { background: rgba(204, 120, 92, 0.2); color: #E08264; border: 1px solid rgba(204, 120, 92, 0.4); }
.badge-openai { background: rgba(16, 163, 127, 0.2); color: #10A37F; border: 1px solid rgba(16, 163, 127, 0.4); }
.badge-haiku { background: rgba(56, 211, 159, 0.2); color: var(--accent-mint); border: 1px solid var(--accent-mint); }
.badge-gemini { background: rgba(66, 133, 244, 0.2); color: #4285F4; border: 1px solid rgba(66, 133, 244, 0.4); }
.badge-xai { background: rgba(229, 231, 235, 0.15); color: #F3F4F6; border: 1px solid rgba(229, 231, 235, 0.35); }
.badge-deepseek { background: rgba(37, 99, 235, 0.2); color: #60A5FA; border: 1px solid rgba(59, 130, 246, 0.45); }
.badge-meta { background: rgba(99, 102, 241, 0.2); color: #818CF8; border: 1px solid rgba(99, 102, 241, 0.4); }
.badge-muse { background: rgba(168, 85, 247, 0.2); color: #C084FC; border: 1px solid rgba(168, 85, 247, 0.45); }
.badge-bytedance { background: rgba(6, 182, 212, 0.2); color: #22D3EE; border: 1px solid rgba(6, 182, 212, 0.4); }
.badge-qwen { background: rgba(249, 115, 22, 0.2); color: #FB923C; border: 1px solid rgba(249, 115, 22, 0.45); }
.badge-kimi { background: rgba(236, 72, 153, 0.2); color: #F472B6; border: 1px solid rgba(236, 72, 153, 0.45); }
.badge-nvidia { background: rgba(118, 185, 0, 0.2); color: #84CC16; border: 1px solid rgba(118, 185, 0, 0.45); }
.badge-gpu { background: rgba(118, 185, 0, 0.2); color: #84CC16; border: 1px solid rgba(118, 185, 0, 0.45); }
.badge-china { background: rgba(239, 68, 68, 0.2); color: #F87171; border: 1px solid rgba(239, 68, 68, 0.45); }
.badge-baidu { background: rgba(59, 130, 246, 0.2); color: #60A5FA; border: 1px solid rgba(59, 130, 246, 0.45); }
.badge-minicpm { background: rgba(16, 185, 129, 0.2); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.45); }

/* Artificial Analysis Intelligence Index Pill */
.index-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    font-family: var(--font-mono);
    margin-left: 8px;
    letter-spacing: 0.3px;
    vertical-align: middle;
}
.index-pill.rank-1 {
    background: rgba(234, 179, 8, 0.25);
    color: #FACC15;
    border: 1px solid rgba(234, 179, 8, 0.6);
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.35);
}
.index-pill.top-tier {
    background: rgba(56, 211, 159, 0.18);
    color: var(--accent-mint);
    border: 1px solid rgba(56, 211, 159, 0.4);
}
.index-pill.high-tier {
    background: rgba(59, 130, 246, 0.18);
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.4);
}


/* Provider Switcher Tabs */
.provider-tabs-wrapper {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.provider-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px;
    background: rgba(15, 33, 29, 0.85);
    border: 1px solid var(--border-card);
    padding: 5px 8px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    max-width: 100%;
    overflow-x: auto;
}

.provider-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.provider-tab:hover {
    color: var(--text-primary);
    background: rgba(45, 87, 75, 0.25);
    border-color: rgba(56, 211, 159, 0.2);
}

.provider-tab.active {
    background: linear-gradient(135deg, rgba(56, 211, 159, 0.22), rgba(45, 87, 75, 0.35));
    border-color: var(--accent-mint);
    color: var(--accent-mint);
    box-shadow: 0 0 14px rgba(56, 211, 159, 0.25);
}

.tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
}

.tab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-mint);
    box-shadow: 0 0 6px var(--accent-mint);
}

.calc-select {
    width: 100%;
    background: rgba(15, 33, 29, 0.85);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-select:focus {
    border-color: var(--accent-mint);
    box-shadow: 0 0 12px rgba(56, 211, 159, 0.3);
}

.calc-select optgroup {
    background: #0F211D;
    color: var(--accent-mint);
    font-weight: 700;
}

.calc-select option {
    background: #091411;
    color: var(--text-primary);
    font-weight: 400;
    padding: 8px;
}
.badge-gpu { background: rgba(118, 185, 0, 0.2); color: #76B900; border: 1px solid rgba(118, 185, 0, 0.4); }

.model-name {
    font-weight: 700;
    font-size: 15px;
}

.model-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.rate-strike {
    color: var(--text-muted);
    text-decoration: line-through;
    font-family: var(--font-mono);
}

.rate-cleared {
    color: var(--accent-mint);
    font-weight: 700;
    font-family: var(--font-mono);
}

.spread-tag {
    background: rgba(56, 211, 159, 0.15);
    color: var(--accent-mint);
    border: 1px solid rgba(56, 211, 159, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-family: var(--font-mono);
    font-size: 12px;
}

/* ── Pillars Grid ───────────────────────────────────────────────────── */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar-card {
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
}

.pillar-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}

.pillar-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pillar-list {
    list-style: none;
    margin-top: auto;
}

.pillar-list li {
    font-size: 13px;
    color: var(--text-primary);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pillar-list li::before {
    content: "✓";
    color: var(--accent-mint);
    font-weight: 800;
}

/* ── Code Snippet Box ───────────────────────────────────────────────── */
.code-box-wrapper {
    overflow: hidden;
}

.code-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #091411;
    border-bottom: 1px solid var(--border-subtle);
}

.code-tabs {
    display: flex;
    gap: 8px;
}

.code-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.code-tab.active, .code-tab:hover {
    background: var(--bg-card);
    color: var(--accent-mint);
}

.btn-copy {
    background: rgba(45, 87, 75, 0.4);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    font-size: 12px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy:hover {
    border-color: var(--accent-mint);
    color: var(--accent-mint);
}

.code-content pre {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    color: #CEE4DC;
    overflow-x: auto;
}

/* ── Bottom CTA ─────────────────────────────────────────────────────── */
.cta-banner-wrapper {
    padding-bottom: 100px;
}

.cta-banner {
    padding: 60px 40px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(56, 211, 159, 0.12) 0%, rgba(27, 53, 46, 0.7) 100%);
    border: 1px solid var(--accent-mint);
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -1px;
}

.cta-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer-wrapper {
    background: #060E0C;
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 30px;
    font-size: 13px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-mint);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(45, 87, 75, 0.2);
    color: var(--text-muted);
    font-size: 12px;
}

/* ── Modal Dialog ───────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    width: 100%;
    max-width: 520px;
    padding: 36px;
    border-radius: var(--radius-xl);
    position: relative;
    border: 1px solid var(--accent-mint);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 800;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 26px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    background: #091411;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--accent-mint);
    box-shadow: 0 0 10px rgba(56, 211, 159, 0.3);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

.key-result-box {
    margin-top: 24px;
    padding: 18px;
    background: #091411;
    border-radius: var(--radius-md);
    border: 1px solid var(--accent-mint);
}

.key-label {
    font-size: 12px;
    color: var(--accent-mint);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.key-display-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.key-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-primary);
}

.key-tip {
    font-size: 11px;
    color: var(--text-muted);
}

.key-tip code {
    color: var(--accent-mint);
}

/* ── Mobile Responsive ──────────────────────────────────────────────── */
@media (max-width: 992px) {
    .hero-heading { font-size: 46px; }
    .calc-controls { grid-template-columns: 1fr; }
    .calc-results-grid { grid-template-columns: 1fr 1fr; }
    .pillars-grid { grid-template-columns: 1fr; }
    .stats-strip { flex-direction: column; gap: 18px; }
    .stat-divider { display: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-heading { font-size: 36px; }
    .hero-subheading { font-size: 16px; }
    .calc-results-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .brand-title { font-size: 16px; }
    .brand-logo-img { width: 42px; }
    .nav-cta-btn { padding: 8px 14px; font-size: 12.5px; }
}

