/* ==========================================================================
   Spektrum Production: Turbogrosik Dashboard Stylesheet (Luxury Gold & Velvet Black)
   ========================================================================== */

:root {
    --color-bg-deep: #090a0f;
    --color-bg-card: rgba(14, 16, 23, 0.65);
    --color-gold: #d4af37;
    --color-gold-hover: #e5bf4c;
    --color-gold-glow: rgba(212, 175, 55, 0.45);
    --color-neon-green: #30d158;
    --color-neon-green-glow: rgba(48, 209, 88, 0.35);
    --color-text-white: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-border-glass: rgba(212, 175, 55, 0.15);
    --color-border-active: rgba(212, 175, 55, 0.45);
    
    --font-headers: 'Playfair Display', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset and Core Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Star Overlay Effect */
.stars-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 40px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}

/* Pre-styled containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.gold-text { color: var(--color-gold); text-shadow: 0 0 10px rgba(212, 175, 55, 0.15); }
.muted { color: var(--color-text-muted); }

/* Executive Header Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-headers);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text-white);
    text-decoration: none;
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-left: 2rem;
    transition: var(--transition-smooth);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-gold);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

/* Glassmorphic Panels */
.glass-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border-glass);
    border-radius: 16px;
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: var(--transition-smooth);
    margin-bottom: 2.2rem;
}

.card-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

/* Header Value Proposition */
.dashboard-wrapper {
    max-width: 1140px;
    margin: 3.5rem auto;
    padding: 0 3rem;
}

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

.section-tagline {
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    margin-bottom: 0.6rem;
}

.dashboard-title {
    font-family: var(--font-headers);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #ffffff 30%, #ebd390 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-desc {
    font-size: 1.05rem;
    max-width: 760px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-weight: 300;
}

/* Toggle Distribution Switcher */
.distribution-selector-container {
    margin-bottom: 2.5rem;
    text-align: center;
}

.distribution-selector-container h3 {
    font-family: var(--font-headers);
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.toggle-switch-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.toggle-switch-btn {
    flex: 1;
    max-width: 340px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.1rem 1.5rem;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition-smooth);
}

.toggle-switch-btn:hover {
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--color-text-white);
    background: rgba(212, 175, 55, 0.02);
}

.toggle-switch-btn.active-toggle {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.08);
    color: var(--color-text-white);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.12);
}

.toggle-switch-btn strong {
    font-size: 0.88rem;
    letter-spacing: 0.05em;
}

.toggle-switch-btn span {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Balance Box */
.balance-box {
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    margin-top: 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.balance-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.3rem;
}

.balance-box strong {
    font-size: 1.8rem;
    font-weight: 800;
}

.balance-box p {
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

/* Tab Switching Control */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.9rem 1.5rem;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-text-white);
    background: rgba(212, 175, 55, 0.03);
}

.tab-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-bg-deep);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

.tab-content {
    display: none;
}

.tab-content.active-panel {
    display: block;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: left;
}

@media (min-width: 769px) {
    .benefit-full-width {
        grid-column: span 2;
    }
}

.mode-toggle-btn {
    border: none;
    background: none;
    color: var(--color-text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-toggle-btn.active {
    background: var(--color-gold) !important;
    color: #000 !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   TAB 1: Budget Simulator Grid
   ========================================================================== */
.simulator-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.2rem;
    margin-bottom: 1.5rem;
}

.simulator-controls h2, .simulator-results h2, .pa-options h2, .pa-breakdown h2 {
    font-family: var(--font-headers);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* Sliders */
.slider-group {
    margin-bottom: 1.8rem;
}

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

.slider-label-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.slider-val-bubble {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--color-text-white);
}

.premium-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    transition: background 0.3s;
}

.premium-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #cbd5e1;
    border: 3px solid var(--color-bg-deep);
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

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

/* Colors for sliders */
.slider-blue::-webkit-slider-thumb { background: #2f80ed; box-shadow: 0 0 10px rgba(47,128,237,0.5); }
.slider-green::-webkit-slider-thumb { background: #30d158; box-shadow: 0 0 10px rgba(48,209,88,0.5); }
.slider-gold::-webkit-slider-thumb { background: var(--color-gold); box-shadow: 0 0 10px var(--color-gold-glow); }
.slider-purple::-webkit-slider-thumb { background: #9b51e0; box-shadow: 0 0 10px rgba(155,81,224,0.5); }
.slider-red::-webkit-slider-thumb { background: #eb5757; box-shadow: 0 0 10px rgba(235,87,87,0.5); }

/* Progress ring */
.svg-gauge-container {
    position: relative;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
}

.progress-ring-fill {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke-dasharray: 439.82; /* 2 * PI * 70 = 439.82 */
    stroke-dashoffset: 439.82;
    transition: stroke-dashoffset 0.4s ease;
}

.gauge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gauge-pct {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text-white);
}

.gauge-label {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-top: 0.2rem;
}

/* Pie Chart Legend */
.legend-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.legend-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.legend-val {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-left: auto;
}

/* ==========================================================================
   TAB 2: Recoupment Waterfall Table & Chart
   ========================================================================== */
.waterfall-table-wrapper {
    overflow-x: auto;
}

.waterfall-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.waterfall-table th, .waterfall-table td {
    padding: 1.1rem 1.3rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.waterfall-table th {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-gold);
    text-transform: uppercase;
}

.waterfall-table td {
    font-size: 0.82rem;
}

.waterfall-table tbody tr {
    transition: var(--transition-smooth);
}

.waterfall-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.total-rec-val {
    font-weight: 800;
    color: var(--color-text-white);
}

.investor-rec-val {
    font-weight: 800;
    color: var(--color-gold);
}

.coprod-rec-val {
    font-weight: 800;
    color: #9b51e0;
}

.spektrum-rec-val {
    font-weight: 800;
    color: #2f80ed;
}

.roi-text-sub {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.8;
}

.chip-btn-sm {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chip-btn-sm:hover, .chip-btn-sm.active {
    border-color: var(--color-gold);
    color: var(--color-text-white);
    background: rgba(212, 175, 55, 0.08);
}

#waterfall-bar-chart rect {
    transition: height 0.6s cubic-bezier(0.1, 0.8, 0.2, 1), 
                y 0.6s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* ==========================================================================
   TAB 3: Oferta Sponsoringu / Sponsors Panel
   ========================================================================== */
.sponsor-card-large {
    display: flex;
    flex-direction: column;
    background: rgba(14, 16, 23, 0.45);
    border-radius: 16px;
    border: 1px solid var(--color-border-glass);
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    opacity: 0.5;
    filter: grayscale(70%);
}

.sponsor-card-large.unlocked-tier-large {
    opacity: 1;
    filter: none;
    border-color: var(--color-border-active);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8),
                0 0 25px rgba(212, 175, 55, 0.15);
}

.sponsor-card-large.unlocked-tier-large .sponsor-glow {
    opacity: 0.95;
}

/* ==========================================================================
   TAB 4: P&A Campaign Planner
   ========================================================================== */
.pa-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.2rem;
}

.pa-scenario-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 1.8rem 0;
}

.pa-scen-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.pa-scen-btn:hover {
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.02);
}

.pa-scen-btn.active-scen {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.pa-scen-btn h3 {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--color-text-white);
    margin-bottom: 0.3rem;
}

.pa-scen-btn p {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
}

.scen-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-gold);
}

.pa-notes {
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.glass-panel-dark {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.pa-notes h3 {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.pa-notes ul {
    list-style: none;
}

.pa-notes li {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1rem;
}

.pa-notes li::before {
    content: "•";
    color: var(--color-gold);
    position: absolute;
    left: 0;
    top: 0;
}

/* Cost categories breakdown */
.cost-cat-block h3 {
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    color: var(--color-gold);
    font-weight: 800;
    margin-bottom: 1rem;
    border-left: 2.5px solid var(--color-gold);
    padding-left: 0.6rem;
}

.cost-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

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

.cost-val {
    font-weight: 600;
    color: var(--color-text-white);
}

.total-pa-display {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-pa-display span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.total-pa-display strong {
    font-size: 1.6rem;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   Sponsorship Grid (Unified look for both grids)
   ========================================================================== */
.sponsorship-section {
    margin-top: 6rem;
}

.section-title {
    font-family: var(--font-headers);
    font-size: 2.2rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
    font-weight: 300;
}

.sponsorship-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.sponsor-card {
    display: flex;
    flex-direction: column;
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(14, 16, 23, 0.35);
    padding: 2rem 1.8rem;
    opacity: 0.45;
    filter: grayscale(80%);
    pointer-events: none;
    transform: scale(0.96);
    transition: var(--transition-smooth);
}

.sponsor-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.15), transparent 70%);
    transition: var(--transition-smooth);
}

.status-badge {
    align-self: flex-start;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
}

.tier-name {
    font-family: var(--font-headers);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 0.3rem;
}

.tier-price {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-gold);
    letter-spacing: 0.05em;
    margin-bottom: 1.8rem;
}

.tier-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tier-features li {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    position: relative;
    padding-left: 1rem;
}

.tier-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-gold);
}

/* Active sponsorships */
.sponsor-card.unlocked-tier {
    opacity: 1;
    filter: none;
    pointer-events: auto;
    transform: scale(1.03);
    background: var(--color-bg-card);
    border-color: var(--color-border-active);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8),
                0 0 30px rgba(212, 175, 55, 0.15);
}

.sponsor-card.unlocked-tier .sponsor-glow {
    opacity: 1;
}

.sponsor-card.unlocked-tier .status-badge {
    background: rgba(48, 209, 88, 0.15);
    color: var(--color-neon-green);
    border-color: rgba(48, 209, 88, 0.25);
}

/* ==========================================================================
   Case Studies Grid
   ========================================================================== */
.cases-section {
    margin-top: 6rem;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.case-card {
    display: flex;
    flex-direction: column;
    padding: 2.2rem 2rem;
    height: 100%;
}

.case-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 0.6rem;
}

.case-card h3 {
    font-family: var(--font-headers);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.2rem;
}

.case-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1.8rem;
    font-weight: 600;
}

.case-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.case-points li {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    position: relative;
    padding-left: 1.2rem;
}

.case-points li::before {
    content: "•";
    color: var(--color-gold);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
    line-height: 1;
}

/* ==========================================================================
   Lead Generation & Contact Form
   ========================================================================== */
.lead-section {
    margin-top: 6rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-family: var(--font-headers);
    font-size: 2.2rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.contact-details-mini {
    margin-top: 2rem;
    font-size: 0.88rem;
}

.contact-details-mini p {
    margin-bottom: 0.6rem;
}

.contact-details-mini a {
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-details-mini a:hover {
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

/* Form inputs */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.form-group input, .form-group textarea {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    color: var(--color-text-white);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-gold);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.submit-btn {
    align-self: flex-start;
    background: var(--color-gold);
    border: 1px solid var(--color-gold);
    border-radius: 50px;
    padding: 1rem 2.2rem;
    color: var(--color-bg-deep);
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    background: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    margin-top: 6rem;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.footer-meta {
    margin-top: 0.5rem;
}

.footer-meta a {
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-meta a:hover {
    color: var(--color-gold);
}

/* ==========================================================================
   Password Gate login layout
   ========================================================================== */
.gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-deep);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.gate-card {
    max-width: 440px;
    width: 100%;
    text-align: center;
}

.gate-header {
    margin-bottom: 2rem;
}

.gate-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    border: 1px solid var(--color-border-glass);
    margin-bottom: 1.2rem;
}

.gate-card h2 {
    font-family: var(--font-headers);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, #ffffff 40%, #ebd390 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gate-card p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    font-weight: 600;
}

.gate-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.8rem;
}

.gate-form input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    color: var(--color-text-white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    text-align: center;
    outline: none;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

.gate-form input:focus {
    border-color: var(--color-gold);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.gate-error-msg, .gate-timeout-msg {
    font-size: 0.78rem;
    font-weight: 600;
    color: #ef4444;
    margin-top: 0.3rem;
}

.submit-btn-gate {
    background: var(--color-gold);
    border: 1px solid var(--color-gold);
    border-radius: 50px;
    padding: 1rem 2.2rem;
    color: var(--color-bg-deep);
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
}

.submit-btn-gate:hover {
    background: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
    transform: translateY(-1px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .sponsorship-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1.2rem 1.5rem;
    }
    
    .dashboard-wrapper {
        padding: 0 1.5rem;
    }

    .navbar .nav-links {
        display: none; /* Mobile simplicity */
    }
    
    .dashboard-title {
        font-size: 2.2rem;
    }
    
    .simulator-grid, .pa-grid, .contact-grid, .cases-grid, .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .tabs-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .pie-layout {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .legend-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .sponsorship-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .sponsor-card.unlocked-tier {
        transform: none;
    }
}
