:root {
    --gold: #D4AF37;
    --deep-blue: #0a1628;
    --slate: #1e293b;
    --sky: #38bdf8;
    --success: #22c55e;
    --white: #f8fafc;
    --muted: #94a3b8;
}

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: var(--deep-blue);
    color: var(--white);
    line-height: 1.7;
}

/* NAVIGATION */
nav {
    background: var(--slate);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
}

nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 2px;
}

nav .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

nav .nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
}

nav .nav-links a:hover {
    color: var(--gold);
}

nav .nav-links a.active {
    color: var(--gold);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.6rem;
    margin-left: 0.25rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--slate);
    border: 1px solid var(--gold);
    border-radius: 4px;
    min-width: 160px;
    display: none;
    flex-direction: column;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu a {
    padding: 0.5rem 1rem;
    color: var(--white);
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
}

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    nav .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--slate);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        border-bottom: 2px solid var(--gold);
    }
    
    nav .nav-links.active {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        border: none;
        margin-top: 0.5rem;
        padding-left: 1rem;
    }
    
    .dropdown:hover .dropdown-menu {
        display: flex;
    }
}

/* CONTAINER */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* HEADER */
header {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--slate) 100%);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 3px solid var(--gold);
}

header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 1rem;
}

header .tagline {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
}

header .subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

/* SECTION HEADERS */
.part-header {
    background: var(--slate);
    padding: 2rem;
    margin: 3rem 0 2rem 0;
    border-left: 4px solid var(--gold);
}

.part-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    color: var(--gold);
}

.part-header p {
    color: var(--muted);
    margin-top: 0.5rem;
}

section {
    padding: 2rem 0;
}

section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: var(--sky);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

section h3 .num {
    background: var(--gold);
    color: var(--deep-blue);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* CARDS */
.benefit-card, .faq-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

.benefit-card p, .faq-card p {
    margin-bottom: 0.75rem;
}

.benefit-card ul, .faq-card ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.benefit-card li, .faq-card li {
    margin-bottom: 0.4rem;
}

.highlight {
    color: var(--success);
    font-weight: 600;
}

/* FAQ SPECIFIC */
.faq-card h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.faq-card p:last-child {
    margin-bottom: 0;
}

/* TABLES */
.comparison-table, .data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th, .data-table th {
    background: var(--slate);
    padding: 1rem;
    text-align: left;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    color: var(--gold);
}

.comparison-table td, .data-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.comparison-table tr:last-child td, .data-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .old {
    color: #f87171;
    text-decoration: line-through;
    opacity: 0.7;
}

.comparison-table .new, .data-table .value {
    color: var(--success);
    font-weight: 600;
}

.data-table .value {
    color: var(--sky);
}

/* BIG NUMBERS */
.big-number {
    text-align: center;
    padding: 2.5rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, var(--slate) 0%, var(--deep-blue) 100%);
    border-radius: 8px;
    border: 1px solid var(--gold);
}

.big-number .number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 10vw, 5rem);
    color: var(--gold);
    line-height: 1;
}

.big-number .label {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: var(--white);
}

.big-number .sublabel {
    font-size: 0.95rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

/* MECHANISM BOX */
.mechanism-box {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid var(--sky);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
}

.mechanism-box h4 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--sky);
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

/* GRIDS */
.savings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.savings-card {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid var(--success);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.savings-card .amount {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--success);
}

.savings-card .desc {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pillar-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
}

.pillar-card h4 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pillar-card ul {
    margin-left: 1.25rem;
}

.pillar-card li {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.state-card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: border-color 0.2s, transform 0.2s;
}

.state-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.state-card a {
    text-decoration: none;
    color: inherit;
}

.state-card .name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: var(--gold);
}

.state-card .rate {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sky);
}

.state-card .savings {
    font-size: 0.9rem;
    color: var(--success);
}

/* GRT TRAJECTORY */
.grt-trajectory {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin: 2rem 0;
    text-align: center;
}

@media (max-width: 600px) {
    .grt-trajectory {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grt-phase {
    background: rgba(30, 41, 59, 0.7);
    padding: 1rem;
    border-radius: 8px;
    border-top: 3px solid var(--gold);
}

.grt-phase .years {
    font-size: 0.85rem;
    color: var(--muted);
}

.grt-phase .rate {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--sky);
}

.grt-phase .status {
    font-size: 0.8rem;
    color: var(--success);
}

/* TIMELINE */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--gold), var(--sky), var(--success));
}

.timeline-item {
    position: relative;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0 8px 8px 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    transform: translateX(-4.5px);
}

.timeline-item h4 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

/* DIVIDER */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 3rem 0;
}

/* FOOTER */
footer {
    background: var(--slate);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 3px solid var(--gold);
}

footer h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

footer a {
    color: var(--sky);
    text-decoration: none;
}

footer p {
    margin: 0.5rem 0;
}

/* STATE PAGE SPECIFIC */
.state-header {
    padding: 3rem 0;
    text-align: center;
}

.state-header .state-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.state-header .state-tagline {
    font-size: 1.2rem;
    color: var(--muted);
}

.state-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
}

.stat-card .stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--sky);
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--muted);
}

/* CTA BUTTON */
.cta-button {
    display: inline-block;
    background: var(--gold);
    color: var(--deep-blue);
    padding: 1rem 2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, transform 0.2s;
}

.cta-button:hover {
    background: #e5c349;
    transform: translateY(-2px);
}
