/* =========================================================================
   VARIABLES & DESIGN SYSTEM
   ========================================================================= */
:root {
    /* Colors */
    --bg-primary: #FAFBFC;
    /* warm near-white — never pure white */
    --bg-alt: #F0F4F8;
    /* alternating section background — light cool gray */
    --bg-dark: #1A1A2E;
    /* deep dark — hero, footer, dark sections (not pure black) */
    --text-heading: #1A1A2E;
    /* dark for all headings */
    --text-body: #374151;
    /* slate gray for body copy */
    --text-secondary: #6B7280;
    /* medium gray for labels, captions, meta text */
    --accent-primary: #2563EB;
    /* bright blue — buttons, links, key highlights */
    --accent-secondary: #06B6D4;
    /* cyan/teal — secondary accents, tags, hover states */
    --accent-warm: #F59E0B;
    /* amber — sparingly, for emphasis or badges like "Coming Soon" */
    --accent-hover: #1D4ED8;
    /* deeper blue for button hover */
    --footer-text: #D1D5DB;
    /* light gray for footer body text */
    --footer-link: #93C5FD;
    /* light blue for footer links */

    /* Effects */
    --card-border: rgba(26, 26, 46, 0.08);
    --card-shadow: 0 4px 24px rgba(26, 26, 46, 0.06);
    --gradient-hero: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Layout */
    --max-width: 1200px;
    --section-padding-desktop: 96px;
    --section-padding-mobile: 64px;
    --card-gap: 32px;
    --header-height: 80px;

    /* Transitions */
    --transition-standard: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================================
   BASE STYLES & RESETS
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-body);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Screen Reader Only (accessibility link) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-primary);
    color: white;
    padding: 8px;
    z-index: 10000;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
}

h1 em,
h2 em,
h3 em {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

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

h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-standard);
}

a:hover,
a:focus {
    color: var(--accent-secondary);
}

.monospace-label {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 11px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 16px;
}

/* =========================================================================
   LAYOUT UTILITIES
   ========================================================================= */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-padding-mobile) 0;
}

@media (min-width: 768px) {
    section {
        padding: var(--section-padding-desktop) 0;
    }
}

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

/* =========================================================================
   COMPONENTS
   ========================================================================= */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-standard);
    border: 2px solid transparent;
}

.btn:hover,
.btn:focus {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--accent-hover);
    color: white;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-standard);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 26, 46, 0.1);
    border-color: rgba(26, 26, 46, 0.12);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-warm {
    background-color: var(--accent-warm);
    color: #1A1A2E;
}

/* =========================================================================
   ANIMATIONS
   ========================================================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure no animations on nav, footer, hero content */
#navbar,
.site-footer {
    animation: none !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Hero should load immediately */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content>* {
    opacity: 0;
    animation: heroFadeUp 0.6s ease-out forwards;
}

/* =========================================================================
   NAVIGATION (Sticky Top)
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    /* Default white for hero */
    text-decoration: none;
    z-index: 1001;
}

.navbar.scrolled .logo,
.navbar.menu-open .logo {
    color: var(--text-heading);
}

.logo .ai-domain {
    color: var(--accent-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-standard);
}

.navbar.scrolled .nav-links a,
.navbar.menu-open .nav-links a {
    color: var(--text-body);
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
    color: white;
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a:focus,
.navbar.scrolled .nav-links a.active,
.navbar.menu-open .nav-links a:hover,
.navbar.menu-open .nav-links a:focus,
.navbar.menu-open .nav-links a.active {
    color: var(--accent-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.navbar.scrolled .hamburger,
.navbar.scrolled .hamburger::before,
.navbar.scrolled .hamburger::after,
.navbar.menu-open .hamburger,
.navbar.menu-open .hamburger::before,
.navbar.menu-open .hamburger::after {
    background-color: var(--text-heading);
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    content: '';
    top: -8px;
}

.hamburger::after {
    content: '';
    bottom: -8px;
}

.menu-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent !important;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .navbar.menu-open .nav-links {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 24px;
        color: var(--text-heading);
    }
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.hero-label {
    letter-spacing: 0.2em;
    font-size: 12px;
    color: var(--accent-secondary);
    margin-bottom: 24px;
}

.hero-section h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: white;
    margin-bottom: 24px;
}

.hero-subheadline {
    color: var(--footer-text);
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 680px;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 60px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: translate(-50%, 0);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, 8px);
    }

    100% {
        opacity: 0.3;
        transform: translate(-50%, 0);
    }
}

/* =========================================================================
   LEAD MAGNET SECTION (THE BRIDGE)
   ========================================================================= */
.lead-magnet-section {
    background-color: var(--bg-primary);
    padding-bottom: 0;
    scroll-margin-top: 80px; /* Offset for fixed navbar */
}

.lm-card {
    background: linear-gradient(145deg, rgba(26,26,46,1) 0%, rgba(18,18,34,1) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1000px;
}

@media (min-width: 768px) {
    .lm-card {
        grid-template-columns: 1.2fr 1fr;
    }
}

.lm-content {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-alt); /* Light background for contrast */
}

@media (min-width: 768px) {
    .lm-content {
        padding: 56px 48px;
    }
}

.lm-content h2 {
    color: var(--text-heading);
    margin-bottom: 24px;
    font-size: 2.25rem;
}

.lm-content h2 em {
    color: var(--accent-primary);
    font-style: normal;
}

.lm-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.lm-benefits li {
    color: var(--text-body);
    font-size: 1.125rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-icon {
    color: #10B981; /* Green check */
    font-weight: bold;
}

.lm-form-wrapper {
    background: rgba(26,26,46,0.04);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(26,26,46,0.05);
}

.lm-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 480px) {
    .lm-form {
        flex-direction: row;
        align-items: stretch;
    }
    .lm-btn {
        flex-shrink: 0;
        height: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.lm-input {
    width: 100%;
    height: 54px;
    box-sizing: border-box;
    padding: 0 20px;
    border: 1px solid rgba(26,26,46,0.15);
    background: #ffffff;
    color: var(--text-heading);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: all var(--transition-standard);
}

.lm-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.lm-disclaimer {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 12px;
    margin-bottom: 0;
    text-align: center;
}

@media (min-width: 480px) {
    .lm-disclaimer {
        text-align: left;
    }
}

/* Scarcity Widget */
.scarcity-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    padding: 10px 16px;
    background: rgba(220, 38, 38, 0.08); /* slight red tint */
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 8px;
}

@media (min-width: 480px) {
    .scarcity-widget {
        justify-content: flex-start;
    }
}

.scarcity-dot {
    width: 10px;
    height: 10px;
    background-color: #DC2626; /* Deep red */
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.scarcity-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background-color: rgba(220, 38, 38, 0.4);
    animation: ripple 1.5s infinite ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.scarcity-text {
    font-size: 0.875rem;
    color: #991B1B; /* Darker red text for readability */
    line-height: 1.4;
}

.scarcity-text strong {
    font-weight: 700;
    color: #DC2626;
}

.lm-visual {
    background: radial-gradient(circle at center, rgba(37,99,235,0.15) 0%, rgba(26,26,46,0) 70%);
    background-color: var(--bg-primary); /* Dark background for the visual */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-top: 1px solid rgba(255,255,255,0.03);
}

@media (min-width: 768px) {
    .lm-visual {
        border-top: none;
        border-left: 1px solid rgba(255,255,255,0.03);
    }
}

.lm-mockup {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1.3;
    background: linear-gradient(135deg, #1A1A2E 0%, #0F0F1A 100%);
    border-radius: 12px 24px 24px 12px;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.4), inset -1px 0 0 rgba(255,255,255,0.1), inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.4s ease;
}

.lm-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.lm-mockup::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255,255,255,0.05);
    border-left: 1px solid rgba(0,0,0,0.5);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.mockup-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.mockup-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin-bottom: auto;
}

.mockup-author {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}



/* =========================================================================
   ABOUT SECTION
   ========================================================================= */
.about-section {
    background-color: var(--bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 40px;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 60% 40%;
        align-items: center;
        gap: 80px;
    }
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-body);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: var(--bg-alt);
    border-radius: 16px;
    display: flex;
    /* Kept for fallback placeholder behavior if image fails */
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 1.25rem;
    object-fit: cover;
}

/* =========================================================================
   CREDENTIALS SECTION
   ========================================================================= */
.credentials-section {
    background-color: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtext {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--card-gap);
}

@media (min-width: 768px) {
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .credentials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.credential-card {
    padding: 32px;
}

.card-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.08); /* Soft primary tint */
    color: var(--accent-primary);
    margin-bottom: 24px;
    transition: all var(--transition-standard);
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.credential-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

/* =========================================================================
   COURSE TEASER SECTION
   ========================================================================= */
.course-section {
    background-color: var(--bg-primary);
}

.course-header {
    margin-bottom: 40px;
}

.course-title-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .course-title-wrapper {
        flex-direction: row;
        align-items: baseline;
    }
}

.course-title-wrapper h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.course-description {
    max-width: 800px;
    margin: 0 auto 64px auto;
}

.course-description p {
    font-size: 1.125rem;
}

.course-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .course-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item h4 {
    color: var(--text-heading);
}

.feature-item p {
    color: var(--text-body);
}

.course-cta {
    text-align: center;
}

.cta-microcopy {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* =========================================================================
   PROJECTS SECTION
   ========================================================================= */
.projects-section {
    background-color: var(--bg-alt);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--card-gap);
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

.project-card {
    border-top: 4px solid var(--accent-primary);
    padding-top: 28px;
    height: 100%;
}

.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-top-row .card-tag {
    margin-bottom: 0;
}



.project-card h3 {
    margin-bottom: 16px;
}

.project-card p {
    flex-grow: 1;
    margin-bottom: 24px;
}

.project-link {
    font-weight: 600;
    font-family: var(--font-body);
}

/* =========================================================================
   CONTACT SECTION
   ========================================================================= */
.contact-section {
    background-color: var(--bg-dark);
    color: white;
}

.contact-section h2 {
    color: white;
}

.contact-subtext {
    color: var(--footer-text);
    max-width: 600px;
    margin: 0 auto 64px auto;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .contact-methods {
        flex-direction: row;
        justify-content: center;
        gap: 64px;
    }
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: transparent;
}

.contact-method:hover .contact-icon {
    transform: translateY(-4px);
}

.contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-secondary);
    transition: all var(--transition-standard);
}

.contact-method:hover .contact-icon {
    transform: translateY(-4px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    transition: color var(--transition-standard);
}

.contact-label {
    font-family: var(--font-body);
    font-weight: 600;
    color: white;
}

.contact-value {
    color: var(--footer-link);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
    background-color: #111827;
    padding: 32px 0;
    color: var(--text-secondary);
    font-size: 13px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

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

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    color: var(--text-secondary);
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: var(--footer-link);
}

/* =========================================================================
   Resume Page Specific Styles
   ========================================================================= */

.resume-page {
    --bg-primary: #030305;
    --bg-alt: #0a0a0f;
    --text-heading: #ffffff;
    --text-body: #9ca3af;
    --accent-primary: #3b82f6;
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
    color: var(--text-body);
}

/* Navbar override for Dark Mode */
.resume-page .navbar {
    background-color: rgba(3, 3, 5, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
}
.resume-page .navbar.scrolled {
    background-color: rgba(3, 3, 5, 0.95) !important;
}
.resume-page .logo {
    color: var(--text-heading) !important;
}
.resume-page .nav-links a {
    color: rgba(255, 255, 255, 0.7) !important;
}
.resume-page .nav-links a:hover,
.resume-page .nav-links a.active {
    color: var(--text-heading) !important;
}
.resume-page .hamburger,
.resume-page .hamburger::before,
.resume-page .hamburger::after {
    background-color: var(--text-heading) !important;
}

/* Typography Overrides */
.resume-page h1 {
    color: var(--text-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.resume-page h2, .resume-page h3, .resume-page h4 {
    color: var(--text-heading);
}

.resume-page .resume-header {
    padding: 140px 0 40px;
}

.resume-page .resume-section {
    padding: 32px 0;
}

@media (min-width: 768px) {
    .resume-page .resume-section {
        padding: 48px 0;
    }
}

.resume-page .hero-subheadline {
    color: var(--text-body);
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 10px;
}

/* Socials */
.resume-page .resume-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.resume-page .social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-heading);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.resume-page .social-btn:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.5);
    color: #60a5fa;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.resume-page .social-btn svg {
    width: 18px;
    height: 18px;
}

/* Cards (Timeline & Bento) */
.resume-page .card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

.resume-page .card:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

/* Timeline specific */
.resume-page .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.resume-page .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0.6), rgba(37, 99, 235, 0));
}

.resume-page .timeline-item {
    position: relative;
    margin-bottom: 48px;
    padding-left: 60px;
}

.resume-page .timeline-dot {
    position: absolute;
    top: 0;
    left: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #030305;
    border: 2px solid #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
    z-index: 2;
}

.resume-page .timeline-content {
    padding: 32px;
    border-radius: 16px;
}

.resume-page .timeline-date {
    color: #60a5fa;
    margin-bottom: 20px;
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
}

.resume-page .timeline-content h3 { margin: 0 0 4px; font-size: 20px; color: #fff; }
.resume-page .timeline-content h4 { margin: 0 0 16px; font-weight: 500; color: #9ca3af; }
.resume-page .timeline-content .location { font-size: 14px; opacity: 0.7; margin-bottom: 16px; color: #d1d5db; }

/* Bento Grid */
.resume-page .bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .resume-page .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .resume-page .span-2 { grid-column: span 2; }
}

.resume-page .bento-item {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.resume-page .bento-school {
    font-size: 18px;
    margin-top: 12px;
    color: #e5e7eb;
}

.resume-page .bento-school a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(#3b82f6, #3b82f6);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
}

.resume-page .bento-school a:hover {
    background-size: 100% 2px;
}

.resume-page .bento-sub {
    font-size: 14px;
    color: #9ca3af;
}

.resume-page .mt-2 { margin-top: 16px; }
.resume-page .mt-4 { margin-top: 32px; }

.resume-page .bento-divider {
    margin: 24px 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.resume-page .bento-list { list-style: none; padding: 0; margin: 0; }
.resume-page .bento-list li {
    margin-bottom: 12px;
    color: #cbd5e1;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}
.resume-page .bento-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
}

.resume-page .bento-list a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px dotted rgba(59, 130, 246, 0.5);
    transition: all 0.2s;
}
.resume-page .bento-list a:hover {
    color: #60a5fa;
    border-bottom: 1px solid #3b82f6;
}

/* Certifications */
.resume-page .cert-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.resume-page .badge-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
}
.resume-page .badge-primary {
    background: rgba(37, 99, 235, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
}

/* Footer override for dark mode */
.resume-page .site-footer {
    background-color: var(--bg-alt);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.resume-page .footer-content p,
.resume-page .footer-nav a {
    color: #9ca3af;
}
.resume-page .footer-nav a:hover {
    color: #ffffff;
}