@import './common.css';

:root {
    /* Evolve page — blue-gold palette to complement Evolve's blue cover */
    --color-gold: #d4af37;
    --color-gold-hover: #f0ce46;
    --color-gold-transparent: rgba(212, 175, 55, 0.2);
    --color-blue: #4a7ec2;
    --color-blue-deep: #1a3a6a;
    --color-purple: #3b1870;
    --color-heading-accent: var(--color-gold);
    --gradient-bg: linear-gradient(131deg, rgb(74, 126, 194) 0%, rgb(42, 20, 90) 50%, rgb(28, 27, 32) 65%, rgb(1, 1, 1) 100%);
    --card-bg: linear-gradient(131deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.40) 35%, rgba(0,0,0,0.40) 70%, rgba(0,0,0,0.20) 100%);
}

/* Base styles (mobile-first) */
body, html {
    background: var(--gradient-bg);
    background-size: 200% 200%;
    animation: gradient 70s ease infinite;
    font-weight: lighter;
}

h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: normal;
    margin: 0 0 15px 0;
    color: var(--color-gold);
}

a {
    color: var(--color-gold);
}

/* Hero Section */
.evolve-hero {
    text-align: center;
    padding: 0 20px 40px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.evolve-hero h1 {
    font-family: var(--font-display);
    font-size: 1.8em;
    color: var(--color-white);
    margin: 0 0 20px 0;
    font-weight: normal;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}

.evolve-hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.evolve-hero-features li {
    padding: 4px 0;
    color: var(--color-white);
    font-size: 1.05em;
}

.evolve-hero-systems {
    font-size: 0.95em;
    color: var(--color-white-muted);
    margin: 0 0 24px 0;
    font-style: italic;
}

/* Cover Hero Image */
.evolve-cover-hero {
    text-align: center;
    padding: 0 20px 10px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.evolve-cover-hero img {
    width: calc(100% + 40px);
    margin: 0 -20px;
    border-radius: var(--radius-md);
}

/* Story Section */
.evolve-story {
    text-align: center;
    padding: 20px 20px 30px 20px;
    max-width: 650px;
    margin: 0 auto;
    color: var(--color-white);
    font-size: 1.05em;
    line-height: 1.6;
}

/* Feature Sections */
.feature-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 20px;
}

.feature-section h2 {
    text-align: center;
}

.feature-image {
    width: calc(100% + 40px);
    margin: 0 -20px 20px -20px;
    border-radius: var(--radius-md);
    display: block;
}

.feature-lead {
    font-size: 1.1em;
    font-style: italic;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 16px;
}

.feature-body {
    color: var(--color-white);
    line-height: 1.6;
}

.feature-details {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    color: var(--color-white-muted);
    font-size: 0.95em;
}

.feature-details li {
    padding: 4px 0 4px 20px;
    position: relative;
}

.feature-details li::before {
    content: '·';
    position: absolute;
    left: 4px;
    color: var(--color-gold);
    font-weight: bold;
}

.feature-steps {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    counter-reset: step;
}

.feature-steps li {
    padding: 6px 0 6px 32px;
    position: relative;
    color: var(--color-white);
    line-height: 1.5;
}

.feature-steps li::before {
    counter-increment: step;
    content: counter(step) '.';
    position: absolute;
    left: 4px;
    color: var(--color-gold);
    font-family: var(--font-display);
    font-weight: bold;
}

/* Feature Grid (More Inside) */
.more-inside {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

.more-inside h2 {
    text-align: center;
}

.feature-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card {
    text-align: center;
}

.feature-card h3 {
    color: var(--color-gold);
}

.also-inside {
    max-width: 500px;
    margin: 20px auto 0 auto;
    text-align: center;
}

.also-inside h3 {
    font-size: 1.1em;
    margin-bottom: 8px;
}

.also-inside ul {
    list-style: none;
    padding: 0;
    color: var(--color-white-muted);
    font-size: 0.95em;
}

.also-inside li {
    padding: 3px 0;
}

/* Box Set Section */
.box-set-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 20px;
    color: var(--color-white);
}

.box-set-section img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-md);
    margin: 16px 0;
}

.box-set-books {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    text-align: left;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.box-set-books li {
    padding: 6px 0;
    color: var(--color-white);
}

.box-set-books strong {
    font-family: var(--font-display);
    color: var(--color-gold);
}

.box-set-tagline {
    font-style: italic;
    color: var(--color-white-muted);
    margin-top: 12px;
}

/* Try Before You Back */
.try-section {
    text-align: center;
    padding: 20px 12px;
    max-width: 700px;
    margin: 0 auto;
}

.try-section .tools-differentiator {
    color: var(--color-white-muted);
    font-style: italic;
    margin-bottom: 20px;
}

.try-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.try-card {
    text-align: center;
    display: block;
    color: var(--color-white);
    transition: transform var(--transition-fast);
}

.try-card:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.try-card h3 {
    color: var(--color-gold);
}

.try-tagline {
    color: var(--color-white-muted);
    font-style: italic;
    margin-top: 16px;
}

/* Social Proof */
.social-proof {
    padding: 30px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.proof-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.proof-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.proof-label {
    font-family: var(--font-display);
    font-size: 1.1em;
    color: var(--color-gold);
}

.proof-detail {
    font-size: 0.9em;
    color: var(--color-white-muted);
}

/* CTA Section */
.evolve-cta {
    text-align: center;
    padding: 30px 20px 40px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.evolve-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.evolve-btn {
    background-color: var(--color-gold);
    color: var(--color-purple);
    text-shadow: 1px 1px 0px #00000067;
    box-shadow: 4px 4px var(--color-shadow);
}

.evolve-btn:hover {
    background-color: #ffffffd0;
    text-decoration: none;
}

.evolve-btn-secondary {
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    background-color: transparent;
}

.evolve-btn-secondary:hover {
    background-color: var(--color-gold-transparent);
    text-decoration: none;
}

/* Desktop overrides */
@media (min-width: 600px) {
    h2 {
        font-size: 36px;
    }

    .evolve-hero h1 {
        font-size: 2.2em;
    }

    .feature-grid {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }

    .feature-card {
        width: 45%;
    }

    .try-grid {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }

    .try-card {
        width: 45%;
    }

    .proof-items {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .proof-item {
        flex: 0 0 40%;
    }

    .evolve-cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Print */
@media print {
    .tab-nav, .footer, .evolve-cta, .social-proof, .try-section {
        display: none;
    }
}
