:root {
    /* Bayn9 x Social Automation Hub — shared purple brand */
    --bg: #07080a;
    --bg2: #0c0d12;
    --dark-bg: #07080a;
    --card-bg: #14141c;
    --card-inner: #1a1a24;
    --primary: #8b5cf6;
    --primary-color: #8b5cf6;
    --purple-color: #8b5cf6;
    --primary-hover: #7c3aed;
    --primary-glow: rgba(139, 92, 246, 0.35);
    --secondary: #a78bfa;
    --green: #10b981;
    --success-color: #10b981;
    --text: #f2f2f7;
    --text-muted: #b9b9cc;
    --text-light: #9a9aad;
    --border: #262633;
    --border-color: #262633;
    --border-light: #2e2e3d;
    --accent-bg: rgba(139, 92, 246, 0.08);
    --accent-border: rgba(139, 92, 246, 0.28);
    --accent-text: #c4b5fd;
}

/* Hub-brand base */
body {
    font-family: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
    background:
        radial-gradient(1000px 500px at 15% -5%, rgba(124, 58, 237, 0.12), transparent 60%),
        radial-gradient(900px 500px at 85% 0%, rgba(139, 92, 246, 0.10), transparent 60%),
        var(--bg) !important;
}

/* Mobile floating CTA (mobile only) */
.floating-cta-bar {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }

    .floating-cta-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        padding: 0.75rem 1rem;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 70%, transparent);
    }

    .floating-cta-bar a {
        display: block;
        background: var(--primary);
        color: #fff;
        text-align: center;
        padding: 0.9rem;
        border-radius: 8px;
        font-weight: 700;
        font-size: 1rem;
        text-decoration: none;
        box-shadow: 0 4px 20px rgba(139, 92, 246, 0.5);
    }
}

.navigation-header-bar {
max-width: 1100px;
            margin: 0 auto 1.5rem auto;
}

.back-dashboard-btn {
display: inline-block;
            color: var(--text-light);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 600;
            padding: 0.5rem 1rem;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 6px;
            transition: all 0.2s;
}

.back-dashboard-btn:hover {
color: var(--primary);
            border-color: var(--primary);
            background: #161922ba;
}

.calculator-container {
max-width: 1100px;
            margin: 0 auto;
            background: var(--card-bg);
            border-radius: 12px;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
            display: grid;
            grid-template-columns: 1fr;
            overflow: hidden;
            border: 1px solid var(--border);
}

.inputs-section {
padding: 2.5rem;
            border-right: 1px solid var(--border);
}

.results-section {
padding: 2.5rem;
            background-color: #101018;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
}

h2 {
margin-top: 0;
            margin-bottom: 1.5rem;
            color: var(--text);
            font-size: 1.5rem;
            border-bottom: 2px solid var(--primary);
            padding-bottom: 0.5rem;
            width: fit-content;
}

.form-group {
margin-bottom: 1.25rem;
            position: relative;
}

.label-row {
display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
}

label {
font-weight: 600;
            font-size: 0.9rem;
            margin: 0;
            color: var(--text);
}

.tooltip-trigger {
background: var(--card-inner);
            color: var(--text-light);
            border-radius: 50%;
            width: 16px;
            height: 16px;
            font-size: 0.7rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: help;
            font-weight: bold;
}

.tooltip-box {
display: none;
            position: absolute;
            bottom: 105%;
            left: 0;
            right: 0;
            background: #0c0d12;
            color: #d5d5e5;
            padding: 0.75rem;
            border-radius: 6px;
            font-size: 0.8rem;
            z-index: 10;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
            font-weight: normal;
            border: 1px solid var(--border);
}

.tooltip-trigger:hover+.tooltip-box, .tooltip-box:hover {
display: block;
}

.input-wrapper {
position: relative;
            display: flex;
            align-items: center;
}

.input-prefix {
position: absolute;
            left: 12px;
            color: var(--text-light);
            font-weight: 500;
}

input[type="number"], select {
width: 100%;
            padding: 0.75rem 0.75rem 0.75rem 2rem;
            border: 1px solid var(--border);
            background-color: var(--bg);
            border-radius: 6px;
            font-size: 1rem;
            color: var(--text);
            box-sizing: border-box;
            transition: all 0.2s;
}

select {
padding-left: 0.75rem;
}

input:focus, select:focus {
outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
            background-color: var(--card-bg);
}

.toggle-container {
display: flex;
            background: var(--bg);
            padding: 0.25rem;
            border-radius: 6px;
            width: fit-content;
            border: 1px solid var(--border);
}

.toggle-btn {
border: none;
            background: none;
            padding: 0.25rem 0.6rem;
            font-size: 0.8rem;
            font-weight: 600;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
            color: var(--text-light);
}

.toggle-btn.active {
background: var(--primary);
            color: #ffffff;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-button {
display: block;
            width: 100%;
            background: var(--primary);
            color: #ffffff;
            text-align: center;
            padding: 1rem;
            border-radius: 6px;
            font-weight: 700;
            font-size: 1rem;
            text-decoration: none;
            margin-top: 1rem;
            box-shadow: 0 4px 14px 0 rgba(139, 92, 246, 0.3);
            transition: background 0.2s;
            border: none;
            cursor: pointer;
            box-sizing: border-box;
}

.cta-button:hover {
background: var(--primary-hover);
}

.result-card {
background: var(--card-bg);
            padding: 1.25rem;
            border-radius: 8px;
            margin-bottom: 1rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
            border-left: 4px solid var(--primary);
}

.result-label {
font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--text-light);
            margin-bottom: 0.25rem;
}

.result-value {
font-size: 2.1rem;
            font-weight: 700;
            color: var(--text);
}

.breakdown {
font-size: 0.9rem;
            color: var(--text-light);
            border-top: 1px solid var(--border);
            padding-top: 0.75rem;
            margin-top: 0.75rem;
            margin-bottom: 1.5rem;
}

.breakdown-row {
display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
}

.breakdown-row strong {
color: var(--text);
}

.pmi-warning {
font-size: 0.75rem;
            color: #fbd38d;
            background-color: #744210;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            display: inline-block;
            margin-top: 0.35rem;
            font-weight: 500;
            border: 1px solid #9c4221;
}

.ai-analysis-box {
background-color: var(--accent-bg);
            border: 1px solid var(--accent-border);
            padding: 1.25rem;
            border-radius: 8px;
            margin-top: 0.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ai-title {
font-size: 0.9rem;
            font-weight: 700;
            color: #8b5cf6;
            margin-bottom: 0.4rem;
}

.ai-text {
font-size: 0.95rem;
            color: var(--accent-text);
            margin: 0;
            line-height: 1.4;
}

.calculator-footer {
max-width: 1100px;
            margin: 2rem auto 0 auto;
            padding: 2rem;
            background: var(--card-bg);
            border-radius: 12px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
            border: 1px solid var(--border);
            box-sizing: border-box;
}

.branding-grid {
display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
}

.legal-disclaimer {
font-size: 0.75rem;
            color: var(--text-light);
            text-align: justify;
            line-height: 1.4;
}

.contact-info-card {
background: var(--bg);
            padding: 1.25rem;
            border-radius: 8px;
            border: 1px solid var(--border);
            font-size: 0.85rem;
            color: var(--text-light);
            line-height: 1.45;
}

.contact-info-card strong {
display: block;
            font-size: 1.1rem;
            color: var(--text);
            margin-bottom: 0.15rem;
}

.contact-title {
color: var(--secondary);
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.5rem;
}

.contact-link {
color: var(--primary);
            text-decoration: none;
            font-weight: 600;
}

.contact-link:hover {
text-decoration: underline;
}

/* from buy-vs-wait */
h3 {
color: var(--secondary);
            font-size: 1rem;
            margin-top: 1rem;
            margin-bottom: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
}

/* from buy-vs-wait */
input[type="number"] {
width: 100%;
            padding: 0.75rem 0.75rem 0.75rem 2rem;
            border: 1px solid var(--border);
            background-color: var(--bg);
            border-radius: 6px;
            font-size: 1rem;
            color: var(--text);
            box-sizing: border-box;
            transition: all 0.2s;
}

/* from buy-vs-wait */
input:focus {
outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
            background-color: var(--card-bg);
}

/* from early-payoff */
/* AI Analysis Box from image_e2e42b.png */ .ai-analysis-box {
background-color: var(--accent-bg);
            border: 1px solid var(--accent-border);
            padding: 1.25rem;
            border-radius: 8px;
            margin-top: 0.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* from early-payoff */
/* --- NEW SAVE MORE OVER TIME STYLES --- */ .save-more-header {
text-align: center;
            margin-bottom: 2rem;
}

/* from early-payoff */
.save-more-header h2 {
font-size: 1.8rem;
            color: #ffffff;
            border-bottom: none;
            margin: 0 auto 0.5rem auto;
            letter-spacing: 0.05em;
}

/* from early-payoff */
.save-more-header p {
color: #9a9aad;
            font-size: 0.95rem;
            margin: 0;
}

/* from early-payoff */
.slider-container {
margin-bottom: 2rem;
            padding: 0;
}

/* from early-payoff */
.slider-header {
color: #9a9aad;
            font-size: 0.9rem;
            margin-bottom: -10px;
}

/* from early-payoff */
.slider-control-wrapper {
position: relative;
            margin-top: 35px;
            margin-bottom: 10px;
}

/* from early-payoff */
.bubble-wrapper {
position: absolute;
            bottom: 20px;
            transform: translateX(-50%);
            background: #ffffff;
            border: 2px solid #8b5cf6;
            border-radius: 20px;
            padding: 0.2rem 0.5rem;
            display: flex;
            align-items: center;
            box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
            z-index: 10;
}

/* from early-payoff */
.bubble-wrapper .bubble-prefix {
color: #8b5cf6;
            font-weight: 700;
            font-size: 1.05rem;
            margin-right: 2px;
}

/* from early-payoff */
.bubble-wrapper input {
background: transparent;
            border: none;
            color: #8b5cf6;
            font-weight: 700;
            font-size: 1.05rem;
            width: 55px;
            padding: 0;
            outline: none;
            text-align: left;
            border-radius: 0;
}

/* from early-payoff */
.bubble-wrapper input:focus {
box-shadow: none;
}

/* from early-payoff */
.bubble-wrapper input::-webkit-outer-spin-button, .bubble-wrapper input::-webkit-inner-spin-button {
-webkit-appearance: none;
            margin: 0;
}

/* from early-payoff */
.slider-track-fill {
position: absolute;
            height: 6px;
            background: #8b5cf6;
            border-radius: 3px;
            top: 7px;
            left: 0;
            z-index: 1;
            pointer-events: none;
}

/* from early-payoff */
input[type=range] {
-webkit-appearance: none;
            width: 100%;
            background: transparent;
            position: relative;
            z-index: 2;
            margin: 0;
            padding: 0;
            border: none;
}

/* from early-payoff */
input[type=range]:focus {
box-shadow: none;
            background: transparent;
}

/* from early-payoff */
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
            height: 6px;
            cursor: pointer;
            background: #b9b9cc;
            border-radius: 3px;
}

/* from early-payoff */
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
            height: 20px;
            width: 20px;
            border-radius: 50%;
            background: #ffffff;
            border: 4px solid #8b5cf6;
            cursor: pointer;
            margin-top: -7px;
            box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* from early-payoff */
.slider-ticks {
display: flex;
            justify-content: space-between;
            color: #9a9aad;
            font-size: 0.8rem;
            padding: 0 5px;
}

/* from early-payoff */
.summary-text {
text-align: center;
            margin-bottom: 2rem;
}

/* from early-payoff */
.summary-text p {
margin: 0.5rem 0;
            color: #b9b9cc;
            font-size: 1.05rem;
}

/* from early-payoff */
.summary-text .small-summary {
font-size: 0.85rem;
            color: #9a9aad;
}

/* from early-payoff */
.text-orange {
color: #8b5cf6 !important;
}

/* from early-payoff */
.text-green {
color: #10b981 !important;
}

/* from early-payoff */
.cards-grid {
display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
            margin-bottom: 1.5rem;
}

/* from early-payoff */
.savings-card {
background: rgba(30, 41, 59, 0.6);
            border: 1px solid rgba(139, 92, 246, 0.3);
            border-radius: 12px;
            padding: 1.5rem 1rem;
            text-align: center;
            transition: all 0.3s;
}

/* from early-payoff */
.savings-card:hover {
border-color: rgba(139, 92, 246, 0.7);
            background: rgba(30, 41, 59, 0.8);
}

/* from early-payoff */
.card-label {
font-size: 0.85rem;
            color: #b9b9cc;
            margin-bottom: 0.5rem;
}

/* from early-payoff */
.card-value {
font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
}

/* from early-payoff */
.card-subtext {
font-size: 0.75rem;
            color: #9a9aad;
}

.tooltip-trigger:hover + .tooltip-box, .tooltip-box:hover {
display: block;
}

/* from rent-vs-buy */
.comparison-block {
display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1rem;
}

/* from rent-vs-buy */
.comp-card {
background: #1f2937;
            padding: 1rem;
            border-radius: 6px;
            border: 1px solid var(--border);
}

/* from rent-vs-buy */
.comp-title {
font-size: 0.75rem;
            text-transform: uppercase;
            color: var(--text-light);
            margin-bottom: 0.25rem;
}

/* from rent-vs-buy */
.comp-val {
font-size: 1.3rem;
            font-weight: 700;
}

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

.main-container {
width: 100%;
            max-width: 540px;
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            padding: 24px;
            margin-bottom: 24px;
}

.header {
text-align: center;
            margin-bottom: 24px;
}

.header h1 {
font-size: 1.25rem;
            font-weight: 700;
            color: #0c0d12;
}

.header p {
font-size: 0.85rem;
            color: #9a9aad;
            margin-top: 4px;
}

.section-title {
font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            color: #9a9aad;
            text-transform: uppercase;
            margin: 12px 0 16px 0;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 4px;
}

/* Homepage marketing section headings — matches hub public page typography */
h2.section-title {
font-size: clamp(1.9rem, 4vw, 2.75rem);
            font-weight: 800;
            letter-spacing: -0.02em;
            color: #ffffff;
            text-transform: none;
            margin: 0 0 1rem 0;
            border-bottom: none;
            padding-bottom: 0;
            line-height: 1.15;
}

.input-group {
margin-bottom: 16px;
}

.input-group label {
display: block;
            font-size: 0.85rem;
            font-weight: 600;
            color: #475569;
            margin-bottom: 6px;
}

.standard-wrapper {
border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
            background: #ffffff;
}

.standard-wrapper input {
width: 100%;
            border: none;
            padding: 12px;
            font-size: 0.95rem;
            color: #0c0d12;
            outline: none;
}

.row-2col {
display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
}

.zip-status {
font-size: 0.75rem;
            color: #2563eb;
            font-weight: 600;
            margin-top: 4px;
            display: block;
}

/* --- POSTER DESIGN (Thick Marker Handwriting Matrix Layout) --- */ .poster-container {
width: 100%;
            max-width: 540px;
            background: #ffffff;
            padding: 10px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            margin-bottom: 12px;
            border: 1px solid #b9b9cc;
}

.poster-paper {
background: #faf9f6; 
            border-radius: 4px;
            padding: 24px;
            font-family: 'Caveat', cursive;
            font-weight: 700; 
            color: #111111;
}

.poster-header {
text-align: center;
            font-size: 2.5rem; 
            line-height: 1.1;
            font-weight: 700;
            margin-bottom: 12px;
}

.poster-meta-grid {
display: grid;
            grid-template-columns: 1fr 1fr;
            font-family: 'Inter', sans-serif;
            font-size: 0.78rem;
            font-weight: 600;
            color: #4b5563;
            background: #f1f5f9;
            padding: 10px 14px;
            border-radius: 8px;
            margin-bottom: 20px;
            gap: 6px 12px;
            border: 1px dashed #b9b9cc;
}

.poster-meta-grid div span {
font-weight: 700;
            color: #0c0d12;
}

.matrix-table {
width: 100%;
            border-collapse: collapse;
            font-size: 1.6rem;
            margin-bottom: 10px;
}

.matrix-table th {
font-size: 1.15rem;
            text-align: left;
            border-bottom: 3px solid #111111;
            padding-bottom: 4px;
            color: #4b5563;
}

.matrix-table td {
padding: 10px 0;
            border-bottom: 1px dashed #b9b9cc;
}

.matrix-table tr:last-child td {
border-bottom: 2px solid #111111;
}

.matrix-table .pct-col {
width: 14%; font-size: 1.7rem; color: var(--primary-color);
}

.matrix-table .borrow-col {
width: 28%;
}

.matrix-table .piti-col {
width: 30%; color: #dc2626; font-size: 1.7rem;
}

.matrix-table .purchase-col {
width: 28%; font-size: 1.7rem; color: #111111; text-align: right;
}

.poster-disclaimer {
font-family: 'Inter', sans-serif; 
            font-size: 0.62rem;
            font-weight: 500;
            color: #4b5563;
            margin-top: 20px;
            text-align: justify;
            line-height: 1.3;
            border-top: 1px solid #d1d5db;
            padding-top: 10px;
}

.poster-disclaimer span {
display: block;
            font-weight: 700;
            margin-top: 3px;
            color: #111111;
}

.btn-single-capture {
width: 100%;
            max-width: 540px;
            background: #0c0d12;
            color: white;
            border: none;
            padding: 14px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background 0.2s;
            box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-single-capture:hover {
background: #161922;
}

.toggle-field-wrapper {
display: flex;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
            background: #ffffff;
}

.toggle-buttons {
display: flex;
            background: #f1f5f9;
            border-right: 1px solid var(--border-color);
}

.toggle-field-wrapper input {
width: 100%;
            border: none;
            padding: 10px 12px;
            font-size: 0.95rem;
            color: #0c0d12;
            outline: none;
}

.standard-wrapper input, .standard-wrapper select {
width: 100%;
            border: none;
            padding: 10px 12px;
            font-size: 0.95rem;
            color: #0c0d12;
            outline: none;
}

.qualification-banner {
background-color: #eff6ff;
            border-left: 4px solid var(--primary-color);
            padding: 12px;
            border-radius: 0 8px 8px 0;
            margin-top: 12px;
            font-size: 0.9rem;
            color: #1e40af;
            line-height: 1.4;
}

.badge {
width: 100%;
            text-align: center;
            padding: 14px;
            border-radius: 10px;
            font-weight: 700;
            margin-top: 12px;
            color: white;
}

.badge-dti {
background-color: var(--success-color); font-size: 1.1rem;
}

.badge-piti {
background-color: #2e2e3d; font-size: 0.95rem;
}

.badge-power {
background-color: var(--purple-color); font-size: 1.1rem; padding: 18px 14px;
}

.badge-power span {
display: block; font-size: 1.5rem; margin-top: 4px;
}

.footer-card {
background-color: var(--dark-bg);
            border-radius: 12px;
            padding: 20px;
            color: white;
            text-align: center;
            margin-top: 20px;
            width: 100%;
            max-width: 480px;
}

.footer-card h3 {
font-size: 1.1rem; font-weight: 700; margin-bottom: 2px;
}

.footer-card p {
font-size: 0.8rem; color: #9a9aad;
}

.footer-card .direct {
color: #f59e0b; font-weight: 700; margin: 8px 0; font-size: 0.9rem;
}

.footer-card .disclaimer {
font-size: 0.65rem; color: #9a9aad; margin-top: 12px; line-height: 1.3; text-align: justify;
}

/* --- POSTER DESIGN (Thick Marker Handwriting Style - image_c1ff6d.jpg) --- */ .poster-container {
width: 100%;
            max-width: 480px;
            background: #ffffff;
            padding: 10px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            margin-bottom: 12px;
            border: 1px solid #b9b9cc;
}

.poster-line {
display: flex;
            justify-content: space-between;
            font-size: 1.8rem; 
            margin-bottom: 8px;
            padding-bottom: 2px;
}

.poster-total {
text-align: center;
            font-size: 2.3rem;
            font-weight: 700;
            margin: 20px 0 16px 0;
            border-top: 4px solid #111111;
            padding-top: 12px;
}

.poster-boxes {
display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-top: 15px;
}

.poster-box {
border: 3px solid #111111;
            border-radius: 10px;
            padding: 10px;
            text-align: center;
}

.poster-box .title {
font-size: 1.3rem; font-weight: 700; margin-bottom: 2px;
}

.poster-box .val {
font-size: 2.1rem; font-weight: 700; color: #111111;
}

/* Single Capture Button positioning styling */ .btn-single-capture {
width: 100%;
            max-width: 480px;
            background: #0c0d12;
            color: white;
            border: none;
            padding: 14px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background 0.2s;
            box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-pre-approval {
width: 100%;
            max-width: 480px;
            background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
            color: white;
            border: none;
            padding: 14px;
            border-radius: 10px;
            font-weight: 700;
            font-size: 1.05rem;
            cursor: pointer;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background 0.2s;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
            text-decoration: none;
}

.btn-pre-approval:hover {
background: #7c3aed;
}

html {
scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */ nav {
position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            background: rgba(10, 15, 30, 0.88);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
            padding: 0 2rem;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: space-between;
}

.nav-brand {
display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
}

.nav-logo-mark {
width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--primary), #c4b5fd);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 1rem;
            color: white;
            flex-shrink: 0;
}

.nav-brand-text {
font-size: 1rem;
            font-weight: 700;
            color: var(--text);
}

.nav-brand-text span {
display: block;
            font-size: 0.7rem;
            font-weight: 500;
            color: var(--text-light);
            letter-spacing: 0.04em;
}

.nav-links {
display: flex;
            align-items: center;
            gap: 0.25rem;
}

.nav-links a {
color: var(--text-light);
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 500;
            padding: 0.4rem 0.85rem;
            border-radius: 6px;
            transition: all 0.2s;
}

.nav-links a:hover {
color: var(--text);
            background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
background: var(--primary) !important;
            color: white !important;
            font-weight: 700 !important;
            padding: 0.45rem 1.1rem !important;
            box-shadow: 0 0 16px var(--primary-glow);
}

.nav-cta:hover {
background: var(--primary-hover) !important;
            transform: translateY(-1px);
}

.nav-links .hide-mobile {
display: none;
}

/* ===== HERO ===== */ .hero {
min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 7rem 2rem 4rem;
            overflow: hidden;
}

.hero-bg-grid {
position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
            background-size: 60px 60px;
            mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-glow-1 {
position: absolute;
            top: -20%;
            left: -15%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
            pointer-events: none;
}

.hero-glow-2 {
position: absolute;
            bottom: -10%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
            pointer-events: none;
}

.hero-inner {
position: relative;
            z-index: 2;
            max-width: 900px;
            text-align: center;
}

.hero-badge {
display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(139, 92, 246, 0.1);
            border: 1px solid rgba(139, 92, 246, 0.3);
            border-radius: 999px;
            padding: 0.35rem 1rem;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 1.5rem;
            letter-spacing: 0.04em;
}

.hero-badge::before {
content: '';
            width: 6px;
            height: 6px;
            background: var(--primary);
            border-radius: 50%;
            animation: pulse-dot 2s infinite;
}

0%, 100% {
opacity: 1;
                transform: scale(1);
}

50% {
opacity: 0.5;
                transform: scale(1.5);
}

.hero h1 {
font-size: clamp(2.5rem, 6vw, 4.5rem);
            font-weight: 900;
            line-height: 1.1;
            letter-spacing: -0.03em;
            margin-bottom: 1.5rem;
            color: var(--text);
}

.hero h1 .gradient-text {
background: linear-gradient(90deg, #a78bfa 0%, #c4b5fd 50%, #a5b4fc 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
}

.hero-subtitle {
font-size: 1.15rem;
            color: var(--text-muted);
            max-width: 620px;
            margin: 0 auto 2.5rem;
            line-height: 1.7;
}

.hero-ctas {
display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 3.5rem;
}

.btn-primary {
background: linear-gradient(135deg, var(--primary), #7c3aed);
            color: white;
            text-decoration: none;
            padding: 0.9rem 2rem;
            border-radius: 10px;
            font-weight: 700;
            font-size: 1rem;
            box-shadow: 0 4px 24px var(--primary-glow);
            transition: all 0.25s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            border: none;
            cursor: pointer;
}

.btn-primary:hover {
transform: translateY(-2px);
            box-shadow: 0 8px 32px var(--primary-glow);
}

.btn-secondary {
background: transparent;
            color: var(--text);
            text-decoration: none;
            padding: 0.9rem 2rem;
            border-radius: 10px;
            font-weight: 600;
            font-size: 1rem;
            border: 1px solid var(--border-light);
            transition: all 0.25s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
}

.btn-secondary:hover {
border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-2px);
}

.hero-stats {
display: flex;
            justify-content: center;
            gap: 3rem;
            flex-wrap: wrap;
}

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

.hero-stat .stat-val {
font-size: 2rem;
            font-weight: 800;
            color: var(--text);
            display: block;
            line-height: 1;
}

.hero-stat .stat-val span {
color: var(--primary);
}

.hero-stat .stat-label {
font-size: 0.8rem;
            color: var(--text-light);
            margin-top: 0.3rem;
            font-weight: 500;
}

/* ===== SECTIONS ===== */ section {
padding: 6rem 2rem;
}

.section-inner {
max-width: 1200px;
            margin: 0 auto;
}

.section-label {
display: inline-block;
            color: #a78bfa;
            font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            margin-bottom: 0.9rem;
}

.section-subtitle {
font-size: 1.125rem;
            color: #b8b8c8;
            max-width: 600px;
            line-height: 1.7;
}

.section-header {
margin-bottom: 3.5rem;
}

.section-divider {
width: 60px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), transparent);
            border-radius: 2px;
            margin-top: 1rem;
}

/* ===== ABOUT ===== */ #about {
background: var(--bg2);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
}

.about-grid {
display: grid;
            grid-template-columns: 1fr;
            gap: 4rem;
            align-items: center;
}

.about-portrait-wrapper {
display: flex;
            justify-content: center;
}

.portrait-frame {
position: relative;
            width: 280px;
            height: 360px;
}

.portrait-bg-accent {
position: absolute;
            inset: -12px;
            border-radius: 24px;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(167, 139, 250, 0.2));
            z-index: 0;
}

.portrait-img {
position: relative;
            z-index: 1;
            width: 100%;
            height: 100%;
            border-radius: 20px;
            background: linear-gradient(145deg, #161922, #1c1c28);
            border: 2px solid var(--border-light);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow: hidden;
}

.portrait-initials {
font-size: 5rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--primary), #c4b5fd);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
            margin-bottom: 0.5rem;
}

.portrait-name-plate {
font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-light);
            letter-spacing: 0.08em;
            text-transform: uppercase;
            text-align: center;
}

.portrait-badge {
position: absolute;
            bottom: -16px;
            right: -16px;
            z-index: 2;
            background: var(--primary);
            color: white;
            border-radius: 12px;
            padding: 0.5rem 0.85rem;
            font-size: 0.72rem;
            font-weight: 700;
            box-shadow: 0 4px 16px var(--primary-glow);
            text-align: center;
            line-height: 1.4;
}

.about-content p {
color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.75;
            margin-bottom: 1rem;
}

.services-list {
list-style: none;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.6rem;
            margin-top: 1.5rem;
}

.services-list li {
display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-muted);
}

.services-list li::before {
content: '✓';
            color: var(--green);
            font-weight: 900;
            font-size: 0.85rem;
            background: rgba(16, 185, 129, 0.12);
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
}

/* ===== WHY ===== */ #why {
background: var(--bg);
}

.why-grid {
display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
}

.why-card {
background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 16px;
            overflow: hidden;
            text-align: left;
            padding: 0;
            transition: all 0.25s;
}

.why-card:hover {
transform: translateY(-3px);
            border-color: rgba(167, 139, 250, 0.4);
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.12);
}

.why-img {
height: 190px;
            overflow: hidden;
}

.why-img img {
width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover .why-img img {
transform: scale(1.05);
}

.why-body {
padding: 1.5rem;
}

.why-card h3 {
font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.6rem;
}

.why-card p {
font-size: 0.88rem;
            color: var(--text-light);
            line-height: 1.6;
}

/* ===== TOOLS ===== */ .tools-grid {
display: grid;
            grid-template-columns: 1fr;
            gap: 1.25rem;
}

.tools-grid {
grid-template-columns: repeat(2, 1fr);
}

.tool-card {
background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            color: inherit;
            position: relative;
            overflow: hidden;
}

.tool-card::before {
content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, var(--primary-glow) 0%, transparent 60%);
            opacity: 0;
            transition: opacity 0.3s;
}

.tool-card:hover {
transform: translateY(-5px);
            border-color: rgba(139, 92, 246, 0.5);
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.15);
}

.tool-card:hover::before {
opacity: 1;
}

.tool-img {
height: 170px;
            overflow: hidden;
}

.tool-img img {
width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-card:hover .tool-img img {
transform: scale(1.05);
}

.tool-body {
padding: 1.5rem 1.5rem 0;
}

.tool-card h3 {
font-size: 1.05rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.5rem;
            position: relative;
            z-index: 1;
}

.tool-card p {
font-size: 0.85rem;
            color: var(--text-light);
            line-height: 1.5;
            margin-bottom: 1.25rem;
            position: relative;
            z-index: 1;
            flex: 1;
}

.tool-card-action {
font-size: 0.85rem;
            font-weight: 700;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 0.4rem;
            position: relative;
            z-index: 1;
            transition: gap 0.2s;
            padding: 0 1.5rem 1.5rem;
}

.tool-card:hover .tool-card-action {
gap: 0.7rem;
}

.tool-card.featured-tool {
grid-column: span 2;
            background: linear-gradient(135deg, #1a2438, #161922);
            border-color: rgba(139, 92, 246, 0.4);
}

/* ===== TESTIMONIALS ===== */ #success {
background: var(--bg2);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
}

.testimonials-grid {
display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
}

.testimonial-card {
background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 1.75rem;
            transition: all 0.25s;
}

.testimonial-card:hover {
transform: translateY(-3px);
            border-color: rgba(139, 92, 246, 0.35);
}

.testimonial-stars {
color: #c4b5fd;
            font-size: 0.95rem;
            margin-bottom: 1rem;
            letter-spacing: 2px;
}

.testimonial-quote {
font-size: 0.95rem;
            line-height: 1.7;
            color: var(--text-muted);
            margin-bottom: 1.5rem;
            font-style: italic;
}

.testimonial-quote::before {
content: '\201C';
            font-size: 2rem;
            line-height: 0;
            vertical-align: -0.6em;
            color: var(--primary);
            opacity: 0.5;
            margin-right: 0.1em;
}

.testimonial-author {
display: flex;
            align-items: center;
            gap: 0.75rem;
}

.author-avatar {
width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.85rem;
            color: white;
            flex-shrink: 0;
}

.author-name {
font-weight: 700;
            font-size: 0.9rem;
            color: var(--text);
}

.author-role {
font-size: 0.78rem;
            color: var(--text-light);
}

/* ===== CTA BANNER ===== */ .cta-banner {
background: linear-gradient(135deg, #1a1030 0%, #0c0d12 50%, #0a1a2e 100%);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            padding: 5rem 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
}

.cta-banner::before {
content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 700px;
            height: 350px;
            background: radial-gradient(ellipse, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
            pointer-events: none;
}

.cta-banner h2 {
font-size: clamp(1.8rem, 4vw, 2.8rem);
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-bottom: 1rem;
            position: relative;
}

.cta-banner p {
color: var(--text-muted);
            font-size: 1.05rem;
            max-width: 540px;
            margin: 0 auto 2rem;
            position: relative;
}

.cta-banner .ctas {
display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            position: relative;
}

/* ===== FOOTER ===== */ footer {
background: var(--bg2);
            border-top: 1px solid var(--border);
            padding: 3rem 2rem;
}

.footer-inner {
max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr;
            gap: 2.5rem;
}

.footer-brand p {
font-size: 0.88rem;
            color: var(--text-light);
            line-height: 1.7;
            max-width: 300px;
            margin-top: 1rem;
}

.footer-col h4 {
font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--primary);
            margin-bottom: 1rem;
}

.footer-col a, .footer-col p {
display: block;
            font-size: 0.88rem;
            color: var(--text-light);
            text-decoration: none;
            margin-bottom: 0.5rem;
            transition: color 0.2s;
}

.footer-col a:hover {
color: var(--primary);
}

.footer-bottom {
max-width: 1200px;
            margin: 2rem auto 0;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            font-size: 0.78rem;
            color: var(--text-light);
}

.nmls-badge {
display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(167, 139, 250, 0.1);
            border: 1px solid rgba(167, 139, 250, 0.25);
            border-radius: 6px;
            padding: 0.2rem 0.6rem;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--secondary);
            margin-top: 0.75rem;
}

/* ===== SCROLL REVEAL ===== */ .reveal {
opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
opacity: 1;
            transform: translateY(0);
}

.reveal-delay-1 {
transition-delay: 0.1s;
}

.reveal-delay-2 {
transition-delay: 0.2s;
}

.reveal-delay-3 {
transition-delay: 0.3s;
}

/* ===== Bayn9 hub-brand flourishes (overrides) ===== */
.btn-primary, .cta-button, .nav-cta, .back-dashboard-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.45), inset 0 1px 0 rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(167, 139, 250, 0.4) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.btn-primary:hover, .cta-button:hover, .nav-cta:hover, .back-dashboard-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.6), inset 0 1px 0 rgba(255,255,255,0.2) !important;
}
.hero-bg-grid {
    background-size: 44px 44px !important;
    background-image:
        linear-gradient(to right, rgba(139, 92, 246, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(139, 92, 246, 0.07) 1px, transparent 1px) !important;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 40%, transparent 100%);
}
.hero-glow-1 { background: radial-gradient(circle, rgba(124, 58, 237, 0.28) 0%, transparent 70%) !important; }
.hero-glow-2 { background: radial-gradient(circle, rgba(139, 92, 246, 0.20) 0%, transparent 70%) !important; }
.hero-badge, .nmls-badge, .badge {
    border: 1px solid rgba(139, 92, 246, 0.35) !important;
    background: rgba(139, 92, 246, 0.10) !important;
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.18) !important;
}
.result-card {
    border: 1px solid rgba(139, 92, 246, 0.16) !important;
}
input:focus, select:focus {
    border-color: #8b5cf6 !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22) !important;
    outline: none !important;
}
.toggle-btn.active {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.5) !important;
}
.floating-cta-bar a {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.5) !important;
}
.portrait-frame {
    border: 1px solid rgba(139, 92, 246, 0.35) !important;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.25) !important;
}

/* ===== Homepage hero visual + CTA banner imagery ===== */
.hero-visual {
    max-width: 980px;
    margin: 3rem auto 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 80px -15px rgba(139, 92, 246, 0.45), 0 24px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}
.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
}
.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 8, 10, 0.55) 0%, transparent 45%);
    pointer-events: none;
}
.cta-banner {
    background-image:
        linear-gradient(rgba(7, 8, 10, 0.82), rgba(7, 8, 10, 0.88)),
        url('../images/calc-banner.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}

/* ============================================================
   HUB MARKETING PAGES — Social Automation Hub for Realtors
   Mirrors the app.bayn9.com marketing design language.
   All classes prefixed hub- to avoid collisions with tool pages.
   ============================================================ */

:root {
    --hub-bg: #0a0a0c;
    --hub-card: #101014;
    --hub-card2: #141419;
    --hub-border: #1f1f24;
    --hub-purple: #8b5cf6;
    --hub-purple-lt: #a78bfa;
    --hub-violet: #7c3aed;
    --hub-heading: #f4f4f5;
    --hub-body: #a1a1aa;
    --hub-green: #22c55e;
    --hub-blue: #60a5fa;
    --hub-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

body.hub-page {
    background:
        radial-gradient(1000px 500px at 15% -5%, rgba(124, 58, 237, 0.14), transparent 60%),
        radial-gradient(900px 500px at 85% 0%, rgba(139, 92, 246, 0.10), transparent 60%),
        var(--hub-bg) !important;
    color: var(--hub-heading);
    overflow-x: hidden;
}
@media (max-width: 768px) {
    body.hub-page { padding-bottom: 0; }
}

/* ---------- Nav ---------- */
.hub-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 12, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hub-border);
}
.hub-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.hub-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}
.hub-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 10px;
    color: var(--hub-purple-lt);
    background: rgba(139, 92, 246, 0.10);
}
.hub-nav-links {
    display: flex;
    gap: 1.75rem;
}
.hub-nav-links a {
    color: var(--hub-body);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s;
}
.hub-nav-links a:hover { color: #fff; }
.hub-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hub-signin {
    color: var(--hub-body);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}
.hub-signin:hover { color: #fff; }
.hub-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hub-menu-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}
.hub-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 0.5rem 1.5rem 1rem;
    gap: 0.25rem;
}
.hub-mobile-menu.open { display: flex; }
.hub-mobile-menu a {
    color: var(--hub-body);
    text-decoration: none;
    padding: 0.6rem 0;
    border-top: 1px solid var(--hub-border);
    font-weight: 500;
}

/* ---------- Buttons ---------- */
.hub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Geist', 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 1.9rem;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    white-space: nowrap;
}
.hub-btn-primary {
    background: linear-gradient(135deg, var(--hub-violet), var(--hub-purple));
    color: #fff;
    box-shadow: 0 0 28px -6px rgba(139, 92, 246, 0.65), 0 8px 24px -8px rgba(124, 58, 237, 0.6);
}
.hub-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px -6px rgba(139, 92, 246, 0.8), 0 12px 28px -8px rgba(124, 58, 237, 0.7);
}
.hub-btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    border: 1px solid #2c2c34;
}
.hub-btn-ghost:hover { border-color: rgba(139, 92, 246, 0.6); transform: translateY(-2px); }
.hub-btn-sm { font-size: 0.88rem; padding: 0.6rem 1.25rem; border-radius: 10px; }
.hub-btn-lg { font-size: 1.1rem; padding: 1rem 2.4rem; }
.hub-btn-block { width: 100%; }
.hub-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Hero ---------- */
.hub-hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 1.5rem 4rem;
}
.hub-hero-compact { padding: 4rem 1.5rem 2rem; }
.hub-dotgrid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 30%, transparent 75%);
    pointer-events: none;
}
.hub-glow {
    position: absolute;
    top: -120px;
    width: 420px;
    height: 520px;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
}
.hub-glow-left { left: -140px; background: rgba(124, 58, 237, 0.22); }
.hub-glow-right { right: -140px; background: rgba(139, 92, 246, 0.16); }
.hub-hero-inner {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.hub-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--hub-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: #e9e4ff;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    margin-bottom: 1.75rem;
}
.hub-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hub-purple-lt);
    box-shadow: 0 0 10px 2px rgba(167, 139, 250, 0.8);
    flex: none;
}
.hub-h1 {
    font-size: clamp(2.4rem, 5.4vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.06;
    color: var(--hub-heading);
    margin: 0 0 1.4rem;
}
.hub-h1-sm { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.hub-gradient {
    background: linear-gradient(92deg, #a78bfa 0%, #d8b4fe 48%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hub-sub {
    font-size: 1.13rem;
    line-height: 1.65;
    color: var(--hub-body);
    max-width: 640px;
    margin: 0 auto 2.25rem;
}
.hub-ctas {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.hub-trust {
    list-style: none;
    margin: 0 0 3.5rem;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem 1.6rem;
    font-size: 0.85rem;
    color: var(--hub-body);
}
.hub-trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hub-tdot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hub-tdot-blue { background: var(--hub-blue); box-shadow: 0 0 8px rgba(96, 165, 250, 0.8); }
.hub-tdot-purple { background: var(--hub-purple); box-shadow: 0 0 8px rgba(139, 92, 246, 0.8); }
.hub-tdot-green { background: var(--hub-green); box-shadow: 0 0 8px rgba(34, 197, 94, 0.8); }

.hub-hero-visual {
    position: relative;
    max-width: 1020px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 90px -18px rgba(139, 92, 246, 0.5), 0 30px 70px rgba(0, 0, 0, 0.55);
}
.hub-hero-visual img { display: block; width: 100%; height: auto; }
.hub-hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.5), transparent 45%);
    pointer-events: none;
}
.hub-float {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background: rgba(16, 16, 20, 0.92);
    border: 1px solid var(--hub-border);
    border-radius: 14px;
    padding: 0.7rem 1rem;
    text-align: left;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 2;
}
.hub-float-1 { left: 4%; bottom: 12%; }
.hub-float-2 { right: 4%; top: 12%; }
.hub-float-pill {
    font-family: var(--hub-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--hub-purple-lt);
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    align-self: flex-start;
    background: rgba(139, 92, 246, 0.12);
}
.hub-float-pill-green {
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.10);
}
.hub-float-sub { font-size: 0.8rem; color: var(--hub-body); }

/* ---------- Sections ---------- */
.hub-section { padding: 6rem 1.5rem; }
.hub-section-inner { max-width: 1200px; margin: 0 auto; }
.hub-section-head { text-align: center; margin-bottom: 3.5rem; }
.hub-label {
    font-family: var(--hub-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--hub-purple);
    margin-bottom: 1rem;
}
.hub-h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--hub-heading);
    margin: 0 0 1rem;
}
.hub-section-sub {
    font-size: 1.1rem;
    color: var(--hub-body);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}
.hub-center { text-align: center; margin-top: 2.5rem; }

/* ---------- Pilot partner ---------- */
.hub-pilot { padding: 0 1.5rem; }
.hub-pilot-card {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--hub-card);
    border: 1px solid var(--hub-border);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
}
.hub-pilot-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(139, 92, 246, 0.5);
    flex: none;
}
.hub-pilot-name { font-weight: 700; color: #fff; margin: 0.15rem 0 0.25rem; font-size: 1.05rem; }
.hub-pilot-name a { color: var(--hub-purple-lt); text-decoration: none; }
.hub-pilot-name a:hover { text-decoration: underline; }
.hub-pilot-note { color: var(--hub-body); margin: 0; font-size: 0.92rem; }

/* ---------- Feature cards ---------- */
.hub-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--hub-card);
    border: 1px solid var(--hub-border);
    border-radius: 26px;
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}
.hub-card::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 25%;
    right: 25%;
    height: 220px;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.16), transparent 70%);
    pointer-events: none;
}
.hub-card:last-child { margin-bottom: 0; }
.hub-feature-pill {
    display: inline-block;
    font-family: var(--hub-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--hub-purple-lt);
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.25rem;
    background: rgba(139, 92, 246, 0.08);
}
.hub-card-text h3 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.2;
}
.hub-card-text p { color: var(--hub-body); line-height: 1.7; margin: 0 0 1.4rem; font-size: 1.02rem; }
.hub-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.hub-bullets li { display: flex; align-items: center; gap: 0.7rem; color: #d6d6e0; font-size: 0.95rem; }
.hub-bdot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hub-bdot-purple { background: var(--hub-purple); box-shadow: 0 0 8px rgba(139, 92, 246, 0.9); }
.hub-bdot-green { background: var(--hub-green); box-shadow: 0 0 8px rgba(34, 197, 94, 0.9); }

.hub-card-visual { position: relative; z-index: 1; }
.hub-card-photo { border-radius: 18px; overflow: hidden; border: 1px solid var(--hub-border); position: relative; }
.hub-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hub-photo-tag {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--hub-mono);
    font-size: 0.75rem;
    color: #e9e4ff;
    background: rgba(10, 10, 14, 0.88);
    border: 1px solid rgba(139, 92, 246, 0.45);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    backdrop-filter: blur(6px);
}

/* CSS mockups */
.hub-mock {
    background: var(--hub-card2);
    border: 1px solid var(--hub-border);
    border-radius: 18px;
    padding: 1.4rem;
}
.hub-mock-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--hub-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--hub-body);
    margin-bottom: 1.1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--hub-border);
}
.hub-mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hub-green); box-shadow: 0 0 8px rgba(34,197,94,0.9); }
.hub-chat {
    max-width: 85%;
    padding: 0.65rem 0.95rem;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 0.6rem;
}
.hub-chat-them { background: #23232e; color: #e4e4ec; border-bottom-left-radius: 4px; }
.hub-chat-me { background: rgba(124, 58, 237, 0.22); border: 1px solid rgba(139, 92, 246, 0.4); color: #f0ebff; margin-left: auto; border-bottom-right-radius: 4px; }
.hub-chat-auto { border-color: rgba(34, 197, 94, 0.45); background: rgba(34, 197, 94, 0.08); }
.hub-kws { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.9rem 0 0.4rem; }
.hub-kw {
    font-family: var(--hub-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--hub-purple-lt);
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
}
.hub-kw-blue { color: #93c5fd; background: rgba(96, 165, 250, 0.12); border-color: rgba(96, 165, 250, 0.5); }
.hub-flow-step {
    background: #1b1b24;
    border: 1px solid var(--hub-border);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    color: #d9d9e4;
}
.hub-flow-tag {
    display: inline-block;
    font-family: var(--hub-mono);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hub-purple-lt);
    margin-right: 0.6rem;
}
.hub-flow-tag-green { color: #86efac; }
.hub-flow-arrow { width: 2px; height: 22px; background: linear-gradient(var(--hub-purple), transparent); margin: 0.15rem auto; }
.hub-mock-stats {
    font-family: var(--hub-mono);
    font-size: 0.75rem;
    color: var(--hub-body);
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--hub-border);
}
.hub-broadcast {
    background: #1b1b24;
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
}
.hub-broadcast-title { font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.hub-broadcast-body { font-size: 0.9rem; color: var(--hub-body); margin-bottom: 0.9rem; line-height: 1.5; }
.hub-broadcast-cta {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--hub-violet), var(--hub-purple));
    border-radius: 10px;
    padding: 0.55rem 1.2rem;
}

/* ---------- Playbooks ---------- */
.hub-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.hub-play {
    background: var(--hub-card);
    border: 1px solid var(--hub-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.18s, border-color 0.18s;
}
.hub-play:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.55); }
.hub-play-photo { aspect-ratio: 16/10; overflow: hidden; }
.hub-play-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.hub-play:hover .hub-play-photo img { transform: scale(1.05); }
.hub-play h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; margin: 0; padding: 1.25rem 1.25rem 0.6rem; }
.hub-play-line { font-size: 0.88rem; color: var(--hub-body); line-height: 1.55; margin: 0; padding: 0 1.25rem 0.45rem; }
.hub-play-line:last-child { padding-bottom: 1.4rem; }
.hub-play-line b { color: #d9d9e4; font-weight: 600; }

/* ---------- Steps ---------- */
.hub-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}
.hub-step {
    background: var(--hub-card);
    border: 1px solid var(--hub-border);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    text-align: center;
}
.hub-step-num {
    width: 52px;
    height: 52px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--hub-violet), var(--hub-purple));
    border-radius: 16px;
    box-shadow: 0 0 24px -4px rgba(139, 92, 246, 0.7);
}
.hub-step h3 { color: #fff; font-size: 1.2rem; margin: 0 0 0.7rem; letter-spacing: -0.01em; }
.hub-step p { color: var(--hub-body); font-size: 0.95rem; line-height: 1.65; margin: 0; }

/* ---------- FAQ ---------- */
.hub-faq-inner { max-width: 820px; }
.hub-faq { display: flex; flex-direction: column; gap: 0.9rem; }
.hub-faq-item {
    background: var(--hub-card);
    border: 1px solid var(--hub-border);
    border-radius: 16px;
    overflow: hidden;
}
.hub-faq-item summary {
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: #fff;
    font-size: 1.02rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.hub-faq-item summary::-webkit-details-marker { display: none; }
.hub-faq-item summary::after {
    content: '+';
    flex: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 50%;
    color: var(--hub-purple-lt);
    font-size: 1.1rem;
    font-weight: 400;
}
.hub-faq-item[open] summary::after { content: '–'; }
.hub-faq-item p {
    margin: 0;
    padding: 0 1.5rem 1.4rem;
    color: var(--hub-body);
    line-height: 1.7;
    font-size: 0.97rem;
}

/* ---------- Final CTA ---------- */
.hub-final {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 90px -18px rgba(139, 92, 246, 0.55);
    text-align: center;
    padding: 5.5rem 2rem;
}
.hub-final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hub-final-shade { position: absolute; inset: 0; background: linear-gradient(rgba(10, 10, 14, 0.88), rgba(10, 10, 14, 0.94)); }
.hub-final-content { position: relative; z-index: 1; }
.hub-final-content .hub-h2 { margin-bottom: 1rem; }
.hub-final-content .hub-section-sub { margin-bottom: 2.25rem; }

/* ---------- Footer ---------- */
.hub-footer {
    border-top: 1px solid var(--hub-border);
    padding: 4rem 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.25);
}
.hub-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.hub-footer-brand p { color: var(--hub-body); font-size: 0.92rem; line-height: 1.65; margin: 1rem 0 0; max-width: 280px; }
.hub-footer-col h4 {
    font-family: var(--hub-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hub-purple-lt);
    margin: 0 0 1.1rem;
}
.hub-footer-col a, .hub-footer-link {
    display: block;
    color: var(--hub-body);
    text-decoration: none;
    font-size: 0.92rem;
    margin-bottom: 0.65rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}
.hub-footer-col a:hover, .hub-footer-link:hover { color: #fff; }
.hub-footer-bottom {
    border-top: 1px solid var(--hub-border);
    padding-top: 1.75rem;
    text-align: center;
    color: var(--hub-body);
    font-size: 0.85rem;
}

/* ---------- Modal ---------- */
.hub-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(5, 5, 8, 0.78);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.hub-modal-backdrop.open { display: flex; }
.hub-modal {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    overflow-y: auto;
    background: var(--hub-card2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 22px;
    padding: 2.25rem 2rem;
    box-shadow: 0 0 80px -12px rgba(139, 92, 246, 0.5), 0 30px 60px rgba(0, 0, 0, 0.6);
}
.hub-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 1.1rem;
    background: none;
    border: none;
    color: var(--hub-body);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}
.hub-modal-close:hover { color: #fff; }
.hub-modal-body h3 { color: #fff; font-size: 1.5rem; margin: 0 0 0.5rem; letter-spacing: -0.02em; }
.hub-modal-sub { color: var(--hub-body); font-size: 0.95rem; line-height: 1.6; margin: 0 0 1.5rem; }
.hub-field { display: block; margin-bottom: 1.1rem; }
.hub-field span { display: block; font-size: 0.85rem; font-weight: 600; color: #d9d9e4; margin-bottom: 0.45rem; }
.hub-field input, .hub-field textarea {
    width: 100%;
    box-sizing: border-box;
    background: #0d0d12;
    border: 1px solid var(--hub-border);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    padding: 0.8rem 1rem;
    outline: none;
    transition: border-color 0.15s;
}
.hub-field input:focus, .hub-field textarea:focus { border-color: var(--hub-purple); }
.hub-field textarea { resize: vertical; }
.hub-form-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    margin: 0 0 1.1rem;
}

/* ---------- Tools grid ---------- */
.hub-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.hub-tool-card {
    display: block;
    background: var(--hub-card);
    border: 1px solid var(--hub-border);
    border-radius: 20px;
    padding: 1.75rem;
    text-decoration: none;
    transition: transform 0.18s, border-color 0.18s;
}
.hub-tool-card:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.55); }
.hub-tool-card h3 { color: #fff; font-size: 1.15rem; margin: 0 0 0.6rem; letter-spacing: -0.01em; }
.hub-tool-card p { color: var(--hub-body); font-size: 0.93rem; line-height: 1.6; margin: 0 0 1.1rem; }
.hub-tool-go {
    font-family: var(--hub-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--hub-purple-lt);
}

/* ---------- Legal pages ---------- */
.hub-legal { padding: 5rem 1.5rem 6rem; }
.hub-legal .hub-section-inner { max-width: 780px; }
.hub-legal p { color: var(--hub-body); line-height: 1.75; font-size: 1.02rem; }
.hub-legal p strong { color: #e4e4ec; }
.hub-legal a { color: var(--hub-purple-lt); }
.hub-legal-meta { font-family: var(--hub-mono); font-size: 0.8rem; color: #6b6b7d; margin-top: 2.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hub-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hub-tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hub-card { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
    .hub-steps { grid-template-columns: 1fr; }
    .hub-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hub-nav-links { display: none; }
    .hub-signin { display: none; }
    .hub-menu-toggle { display: flex; }
    .hub-hero { padding: 3.5rem 1.25rem 3rem; }
    .hub-section { padding: 4rem 1.25rem; }
    .hub-float-1 { left: 3%; bottom: 6%; }
    .hub-float-2 { right: 3%; top: 6%; }
    .hub-float { padding: 0.55rem 0.8rem; }
    .hub-float-sub { font-size: 0.72rem; }
    .hub-pilot-card { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
    .hub-grid-4 { grid-template-columns: 1fr; }
    .hub-tools-grid { grid-template-columns: 1fr; }
    .hub-footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .hub-ctas .hub-btn { width: 100%; }
    .hub-card { padding: 1.5rem; border-radius: 20px; }
    .hub-final { padding: 3.5rem 1.5rem; }
}
