/*
Theme Name: The Aspiring CMO
Description: Custom Playful Pixel design for theaspiringcmo.com
Version: 1.0
Author: Ani Hoang
Author URI: https://theaspiringcmo.com
*/

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

:root {
    /* Pixel Purple - Playful & Colorful */
    --primary: #A855F7;
    --primary-dark: #9333EA;
    --purple-100: #F3E8FF;
    --purple-200: #E9D5FF;
    --pink: #EC4899;
    --yellow: #FBBF24;
    --teal: #14B8A6;
    --orange: #FB923C;
    --dark: #18181B;
    --light: #FFFFFF;
    --gray: #FAFAFA;
    --gray-100: #F4F4F5;
    --gray-200: #E4E4E7;
    --text: #18181B;
    --text-light: #71717A;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: var(--light);
    border-bottom: 3px solid var(--dark);
    z-index: 1000;
    padding: 1.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
    color: var(--dark);
    font-weight: 800;
    font-size: 1.5rem;
}

.logo img {
    width: 45px;
    height: 45px;
    filter: drop-shadow(3px 3px 0 var(--primary));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 4px;
    background: var(--dark);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, var(--purple-100) 0%, var(--light) 100%);
    padding: var(--space-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '✨';
    position: absolute;
    top: 10%;
    left: 10%;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.hero::after {
    content: '🚀';
    position: absolute;
    bottom: 15%;
    right: 10%;
    font-size: 3rem;
    animation: float 3s ease-in-out 1s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.supporting-headline {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--purple-200);
    border-radius: 50px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: var(--space-md);
    line-height: 1;
    color: var(--dark);
    text-shadow: 4px 4px 0 var(--purple-200);
}

.hero-subheadline {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: var(--space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.2rem 3rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    display: inline-block;
    border: 4px solid var(--dark);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
    box-shadow: 6px 6px 0 var(--dark);
}

.btn-primary:hover {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 var(--dark);
}

.btn-secondary {
    background: var(--light);
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--yellow);
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 var(--dark);
}

/* Email Signup Section */
.email-signup {
    background: var(--gray);
    padding: var(--space-xl) 0;
    text-align: center;
    position: relative;
}

.email-signup::before {
    content: '💌';
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 4rem;
    opacity: 0.3;
}

.email-signup h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--space-md);
    color: var(--dark);
    font-weight: 900;
}

.signup-description {
    font-size: 1.2rem;
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    color: var(--text-light);
}

.ml-embedded {
    max-width: 550px;
    margin: 0 auto;
    background: var(--light);
    padding: var(--space-lg);
    border-radius: 30px;
    border: 4px solid var(--dark);
    box-shadow: 8px 8px 0 var(--primary);
}

/* About Section */
.about {
    padding: var(--space-xl) 0;
    background: linear-gradient(180deg, var(--light) 0%, var(--purple-100) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--space-lg);
    align-items: center;
    background: var(--light);
    padding: var(--space-lg);
    border-radius: 30px;
    border: 4px solid var(--dark);
    box-shadow: 10px 10px 0 var(--pink);
    position: relative;
}

.about-content::before {
    content: '⭐';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 3rem;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about-image {
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    border: 4px solid var(--dark);
    box-shadow: 6px 6px 0 var(--teal);
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-md);
    color: var(--dark);
    font-weight: 900;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
}

/* Podcast Section */
.podcast {
    background: var(--gray-100);
    padding: var(--space-xl) 0;
    position: relative;
}

.podcast::before {
    content: '🎙️';
    position: absolute;
    top: 5%;
    left: 3%;
    font-size: 4rem;
    opacity: 0.2;
}

.podcast h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: var(--space-sm);
    color: var(--dark);
    font-weight: 900;
}

.podcast-subheadline {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: var(--space-xl);
    font-weight: 600;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.episode {
    background: var(--light);
    border-radius: 25px;
    overflow: hidden;
    border: 4px solid var(--dark);
    transition: all 0.3s ease;
    position: relative;
}

.episode:nth-child(1) { box-shadow: 6px 6px 0 var(--primary); }
.episode:nth-child(2) { box-shadow: 6px 6px 0 var(--pink); }
.episode:nth-child(3) { box-shadow: 6px 6px 0 var(--yellow); }
.episode:nth-child(4) { box-shadow: 6px 6px 0 var(--teal); }
.episode:nth-child(5) { box-shadow: 6px 6px 0 var(--orange); }
.episode:nth-child(6) { box-shadow: 6px 6px 0 var(--primary); }

.episode:hover {
    transform: translate(3px, 3px);
}

.episode:nth-child(1):hover { box-shadow: 3px 3px 0 var(--primary); }
.episode:nth-child(2):hover { box-shadow: 3px 3px 0 var(--pink); }
.episode:nth-child(3):hover { box-shadow: 3px 0 var(--yellow); }
.episode:nth-child(4):hover { box-shadow: 3px 3px 0 var(--teal); }
.episode:nth-child(5):hover { box-shadow: 3px 3px 0 var(--orange); }
.episode:nth-child(6):hover { box-shadow: 3px 3px 0 var(--primary); }

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: var(--space-lg) 0;
    border-top: 5px solid var(--primary);
}

.footer-content {
    text-align: center;
}

.footer-tagline {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.social-links a {
    color: var(--light);
    transition: all 0.2s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--pink);
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-weight: 600;
}

/* MailerLite Form Styling */
.ml-embedded input[type="text"],
.ml-embedded input[type="email"] {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 3px solid var(--dark);
    border-radius: 15px;
    font-size: 1.05rem;
    margin-bottom: var(--space-sm);
    transition: all 0.2s ease;
    font-family: var(--font-primary);
    background: var(--gray-100);
    color: var(--text);
}

.ml-embedded input[type="text"]:focus,
.ml-embedded input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--light);
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 var(--primary);
}

.ml-embedded button[type="submit"] {
    width: 100%;
    padding: 1.2rem 2rem;
    background: var(--primary);
    color: var(--light);
    border: 3px solid var(--dark);
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 4px 4px 0 var(--dark);
}

.ml-embedded button[type="submit"]:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--dark);
}

.ml-embedded label {
    font-weight: 800;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--light);
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-bottom: 3px solid var(--dark);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--space-md);
    }

    .about-image {
        margin: 0 auto;
    }

    .episodes-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 350px;
    }

    .ml-embedded {
        padding: var(--space-md);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
a:focus,
button:focus {
    outline: 4px solid var(--primary);
    outline-offset: 4px;
}
