/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #5B21B6;
    --primary-blue: #1E3A8A;
    --accent-green: #10B981;
    --accent-yellow: #F59E0B;
    --dark-bg: #1F2937;
    --light-bg: #F3F4F6;
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-green);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-button {
    display: inline-block;
    background: var(--accent-green);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.6s both;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.cta-button:hover {
    background: var(--accent-yellow);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Welcome Section */
.welcome {
    padding: 80px 20px;
    background: var(--white);
    text-align: center;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Starter Stack Section */
.starter-stack {
    padding: 80px 20px;
    background: var(--light-bg);
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.plays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.play-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.play-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.play-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.play-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.play-impact {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-bg);
}

.impact-item {
    text-align: center;
}

.impact-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
}

.impact-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* R-A-I-L Framework Section */
.rail-framework {
    padding: 80px 20px;
    background: var(--white);
}

.rail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.rail-card {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    color: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.rail-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(91, 33, 182, 0.3);
}

.rail-letter {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.rail-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.rail-card p {
    opacity: 0.9;
}

.rail-quote {
    text-align: center;
    margin-top: 3rem;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 12px;
}

.rail-quote p {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-blue);
    font-weight: 600;
}

/* Download Section */
.download {
    padding: 80px 20px;
    background: var(--light-bg);
}

.download-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.toolkit-includes {
    list-style: none;
    margin: 2rem 0;
}

.toolkit-includes li {
    padding: 10px 0;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.download-button {
    display: inline-block;
    background: var(--primary-purple);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.download-button:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.download-note {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
}

/* 30-Day Challenge Section */
.challenge {
    padding: 80px 20px;
    background: var(--white);
}

.challenge-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 3rem 0;
}

.challenge-step {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.challenge-step h3 {
    margin-bottom: 0.5rem;
}

.challenge-step p {
    color: var(--text-light);
}

.challenge-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 40px;
    background: var(--light-bg);
    border-radius: 12px;
}

.challenge-cta p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Resources Section */
.resources {
    padding: 80px 20px;
    background: var(--light-bg);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.resource-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.resource-card ul {
    list-style: none;
}

.resource-card li {
    padding: 8px 0;
}

/* About Section */
.about {
    padding: 80px 20px;
    background: var(--white);
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 1rem auto;
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    padding: 5px 0;
}

.footer-section a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    margin: 5px 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .plays-grid,
    .rail-grid,
    .challenge-steps,
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .hero,
    .footer {
        background: var(--white);
        color: var(--text-dark);
    }
    
    .cta-button,
    .download-button {
        border: 2px solid var(--primary-purple);
    }
}



/* Author Section */
.author {
    padding: 80px 20px;
    background: var(--light-bg);
}

.author-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.author-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(91, 33, 182, 0.2);
    border: 4px solid var(--white);
}

.author-bio {
    padding-top: 10px;
}

.author-bio p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.author-bio a {
    color: var(--primary-purple);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-bio a:hover {
    color: var(--accent-green);
}

.author-links {
    display: flex;
    gap: 20px;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-purple);
    color: var(--white) !important;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(91, 33, 182, 0.2);
}

.author-link:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    color: var(--white) !important;
}

.author-link svg {
    flex-shrink: 0;
}

.author-cta {
    font-size: 1.0625rem;
    margin-top: 1.5rem;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
}

/* Responsive Design for Author Section */
@media (max-width: 768px) {
    .author-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .author-image {
        margin: 0 auto;
    }
    
    .author-image img {
        width: 150px;
        height: 150px;
    }
    
    .author-links {
        justify-content: center;
    }
}

