@import url('/base.css');

/* Logo gradient (same as homepage) */
.logo-text {
    background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-active {
    color: var(--primary) !important;
}

/* Sections */
.section,
.section-alt {
    padding: 5rem 0;
}

.section {
    background: var(--bg);
}

.section-alt {
    background: var(--bg-alt);
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.centered {
    text-align: center;
}

.centered p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.section-eyebrow {
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.section-intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Simulator Hero */
.sim-hero {
    padding: 6rem 0 5rem;
    background: var(--bg);
    text-align: center;
}

.sim-hero h1 {
    font-size: 3rem;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.2;
}

.sim-hero-sub {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.5;
}

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

.sim-hero-note {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Buttons */
.btn-cta {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: transform 180ms ease, box-shadow 180ms ease;
    box-shadow: 0 4px 12px var(--primary-20);
}

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

.btn-secondary {
    display: inline-block;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    padding: 0.85rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: background 180ms ease;
}

.btn-secondary:hover {
    background: var(--primary-5);
}

/* Grid & Cards */
.grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

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

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

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.glass-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.6rem;
    background: linear-gradient(135deg, var(--primary-12), var(--primary-6));
    border: 1px solid var(--primary-20);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.glass-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pillar-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.5;
}

.pillar-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
}

.pillar-list li:last-child {
    margin-bottom: 0;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Spec Groups */
.spec-group {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.spec-group h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-list li {
    padding: 0.5rem 0 0.5rem 1.25rem;
    position: relative;
    color: var(--text-light);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    font-size: 0.95rem;
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.95em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
}

/* Results Stats */
.results-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.result-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.result-value {
    display: block;
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.results-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Differentiator Cards */
.diff-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.diff-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

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

/* CTA Section */
.cta-buttons {
    margin-bottom: 1rem;
}

.cta-note {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer */
.site-footer {
    position: relative;
    background: var(--bg-alt);
    padding: 3.5rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    align-items: center;
}

.footer-etymology {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(15, 23, 42, 0.8);
}

.footer-name {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #0f172a;
}

.footer-separator {
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.4), transparent);
}

.footer-tagline {
    color: rgba(15, 23, 42, 0.75);
}

.footer-rights {
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 767px) {
    .sim-hero {
        padding: 4rem 0 3rem;
    }

    .sim-hero h1 {
        font-size: 1.75rem;
    }

    .sim-hero-sub {
        font-size: 1.05rem;
    }

    .section,
    .section-alt {
        padding: 3rem 0;
    }

    .section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .section-intro {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
    }

    .grid-3,
    .grid-2,
    .steps-grid {
        grid-template-columns: 1fr;
    }

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

    .card,
    .spec-group,
    .diff-card {
        padding: 1.5rem;
    }

    .sim-hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .footer-etymology {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-separator {
        display: none;
    }
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-rights {
        text-align: right;
    }
}
