/*
Theme Name: Systems Thinking AI Era
Theme URI: https://systemsthinking.ai
Author: Systems Thinking Course Team
Author URI: https://systemsthinking.ai
Description: Custom WordPress theme for Systems Thinking in the AI Era course series. Fully optimized for SEO and AI search engines with comprehensive schema markup, responsive design, and conversion-focused landing pages.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: systems-thinking
Tags: education, courses, system-design, AI, responsive, seo-optimized

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* ==========================================================================
   Reset and Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent horizontal overflow on all elements */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

.container, .container-narrow, .hero-content, .about-container {
    max-width: 100%;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

:root {
    /* Justin Welsh-inspired color palette */
    --primary-navy: #001c46;
    --accent-cyan: #50c0ff;
    --accent-light-blue: #4a90e2;
    --text-dark: #1a1a1a;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-light: #e2e8f0;
}

body {
    font-family: "Inter", "Work Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    font-size: 17px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--primary-navy);
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1.1em; }
h6 { font-size: 1em; }

p {
    margin-bottom: 1em;
    font-size: 1.1em;
    line-height: 1.8;
}

a {
    color: var(--accent-light-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

ul, ol {
    margin-left: 2em;
    margin-bottom: 1.5em;
}

li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

strong {
    font-weight: 700;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */

.site-header {
    background: var(--primary-navy);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    color: white;
    font-size: 1.5em;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .site-logo {
        font-size: 1.1em;
    }
}

.site-logo:hover {
    color: var(--accent-cyan);
}

.main-nav {
    display: flex;
    gap: 2em;
    align-items: center;
}

.main-nav a {
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--accent-cyan);
}

.nav-cta {
    background: var(--accent-cyan);
    color: white !important;
    padding: 0.6em 1.5em;
    border-radius: 6px;
    font-weight: 700;
}

.nav-cta:hover {
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(80, 192, 255, 0.4);
    background: var(--accent-light-blue);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    cursor: pointer;
    position: relative;
}

.nav-dropdown-toggle::after {
    content: ' ▾';
    font-size: 0.8em;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 0.5em;
    background: transparent;
    min-width: 280px;
    z-index: 1000;
}

.nav-dropdown-menu-inner {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5em 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.8em 1.5em;
    color: var(--primary-navy) !important;
    font-size: 1em;
    border-bottom: 1px solid rgba(0, 28, 70, 0.1);
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--accent-light-blue) !important;
}

.dropdown-section-header {
    padding: 0.5em 1.5em 0.3em;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Mobile Menu Toggle
   ========================================================================== */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--primary-navy);
    color: white;
    padding: 3em 0 1em 0;
    margin-top: 4em;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2em;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3em;
    margin-bottom: 2em;
}

.footer-section h3 {
    color: white;
    font-size: 1.3em;
    margin-bottom: 1em;
}

.footer-section p {
    font-size: 1em;
    line-height: 1.7;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8em;
}

.footer-links a {
    color: white;
    opacity: 0.9;
    font-size: 1em;
    transition: opacity 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5em;
    text-align: center;
    font-size: 0.95em;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1.5em;
    margin-top: 1em;
}

.social-links a {
    color: white;
    font-size: 1.5em;
    opacity: 0.9;
    transition: all 0.2s;
}

.social-links a:hover {
    opacity: 1;
    transform: scale(1.1);
    color: var(--accent-cyan);
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header-content {
        position: relative;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary-navy);
        flex-direction: column;
        gap: 0;
        padding: 80px 2em 2em;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav a {
        padding: 1em 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1em;
    }

    .nav-cta {
        margin-top: 1em;
        text-align: center;
    }

    /* Mobile dropdown styles */
    .nav-dropdown {
        position: static;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-dropdown-toggle {
        display: block;
        padding: 1em 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        pointer-events: none;
        font-size: 0.9em;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.7) !important;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        width: 100%;
    }

    .nav-dropdown-toggle::after {
        display: none;
    }

    .nav-dropdown-menu {
        display: block;
        position: static;
        background: transparent;
        box-shadow: none;
        margin: 0;
        padding: 0;
        min-width: auto;
        width: 100%;
    }

    .nav-dropdown-menu-inner {
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .nav-dropdown-menu a {
        color: white !important;
        padding: 1em 0 1em 1.5em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1em;
    }

    .nav-dropdown-menu a:hover {
        background: transparent;
        color: var(--accent-cyan) !important;
    }

    .dropdown-section-header {
        display: none; /* Hide section headers on mobile since "Courses" is now the main header */
    }

    .nav-cta {
        padding: 1em 3em;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2em;
}

.container-narrow {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    background: white;
    border-radius: 12px;
    padding: 3em;
    margin-bottom: 2em;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    text-align: center;
}

.hero h1 {
    font-size: 2.5em;
    color: var(--primary-navy);
    margin-bottom: 0.5em;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.5em;
    color: var(--accent-light-blue);
    margin-bottom: 1em;
    font-weight: 600;
}

.hero .tagline {
    font-size: 1.4em;
    color: #e74c3c;
    margin-bottom: 1.5em;
    font-weight: 700;
    padding: 1em;
    background: #ffe6e6;
    border-radius: 8px;
}

.hero .crisis-text {
    font-size: 1.2em;
    color: #e74c3c;
    margin-bottom: 1.5em;
    font-weight: 700;
    padding: 1em;
    background: #ffe6e6;
    border-radius: 8px;
}

.hero .value-prop {
    font-size: 1.1em;
    color: var(--text-medium);
    margin-bottom: 2em;
    line-height: 1.8;
}

/* ==========================================================================
   Modern Hero Section (Justin Welsh Style)
   ========================================================================== */

.hero-modern {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #002a5c 100%);
    padding: 2em 2em 3em 2em;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-cyan);
    color: white;
    padding: 0.5em 1.5em;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5em;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: white;
}

.hero-subtitle {
    font-size: 1.6em;
    line-height: 1.5;
    margin-bottom: 1em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.hero-description {
    font-size: 1.2em;
    line-height: 1.7;
    margin-bottom: 2.5em;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1em;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Value Section
   ========================================================================== */

.value-section {
    padding: 4em 2em;
    background: white;
}

.value-section h2 {
    text-align: center;
    color: var(--primary-navy);
    font-size: 2.5em;
    margin-bottom: 2em;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    margin-top: 2em;
}

.value-card {
    padding: 2em;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.value-card h3 {
    font-size: 1.8em;
    margin-bottom: 1em;
}

.value-card p {
    font-size: 1.15em;
    line-height: 1.7;
}

.value-card.obsolete {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    border-left: 5px solid #e74c3c;
}

.value-card.obsolete h3 {
    color: #c0392b;
}

.value-card.essential {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-left: 5px solid #27ae60;
}

.value-card.essential h3 {
    color: #229954;
}

@media (max-width: 968px) {
    .hero-modern {
        padding: 1.5em 2em 2em 2em;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.3em;
    }

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

    .value-section .container-narrow {
        padding-left: 0.5em;
        padding-right: 0.5em;
    }

    .value-card {
        padding: 1.2em;
    }

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

/* ==========================================================================
   Badges
   ========================================================================== */

.badge {
    display: inline-block;
    padding: 0.5em 1.5em;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 1em;
}

.free-badge {
    background: #f39c12;
    color: white;
}

.preorder-badge {
    background: #f39c12;
    color: white;
    padding: 0.6em 2em;
}

.available-badge {
    background: #27ae60;
    color: white;
}

.coming-soon-badge {
    background: #f39c12;
    color: white;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.cta-button {
    display: inline-block;
    background: var(--accent-cyan);
    color: white;
    padding: 1.2em 3em;
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(80, 192, 255, 0.3);
    transition: all 0.2s ease;
    margin: 1em 0.5em;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(80, 192, 255, 0.4);
    background: var(--accent-light-blue);
    color: white;
}

.cta-button.secondary {
    background: var(--primary-navy);
    box-shadow: 0 4px 15px rgba(0, 28, 70, 0.3);
}

.cta-button.secondary:hover {
    box-shadow: 0 6px 20px rgba(0, 28, 70, 0.4);
    background: var(--text-dark);
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.content-section {
    background: white;
    border-radius: 12px;
    padding: 2.5em;
    margin-bottom: 2em;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.content-section h2 {
    font-size: 2em;
    color: var(--primary-navy);
    margin-bottom: 1em;
    border-left: 5px solid var(--accent-cyan);
    padding-left: 0.5em;
}

.content-section h3 {
    font-size: 1.5em;
    color: var(--accent-light-blue);
    margin: 1.5em 0 0.8em 0;
}

.content-section p {
    font-size: 1.1em;
    margin-bottom: 1em;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 2em;
    margin-bottom: 1.5em;
}

.content-section li {
    font-size: 1.1em;
    margin-bottom: 0.8em;
    line-height: 1.6;
}

.content-section li strong {
    color: var(--primary-navy);
}

/* ==========================================================================
   Colored Boxes
   ========================================================================== */

.crisis-box {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 2em;
    border-radius: 8px;
    margin: 1.5em 0;
}

.crisis-box h3 {
    color: white;
    margin-top: 0;
}

.transformation-box {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    padding: 2em;
    border-radius: 8px;
    margin: 1.5em 0;
}

.transformation-box h3 {
    color: white;
    margin-top: 0;
}

.pattern-example {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    padding: 1.5em;
    border-radius: 8px;
    margin: 1em 0;
}

.pattern-example h4 {
    color: white;
    margin-bottom: 0.5em;
    font-size: 1.2em;
}

.key-insight {
    background: var(--accent-light-blue);
    color: white;
    padding: 1.0em;
    margin: 0.5em 0;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    text-align: center;
    font-size: 1.2em;
    line-height: 1.4;
}

.feature-highlight {
    background: var(--bg-light);
    border-left: 4px solid var(--accent-cyan);
    padding: 1.0em;
    margin: 0.5em 0;
    border-radius: 4px;
}

.example-block {
    background: var(--bg-light);
    border-left: 4px solid var(--accent-cyan);
    padding: 1.0em;
    margin: 0.5em 0;
    border-radius: 4px;
    font-size: 1.0em;
    line-height: 1.4;
}

/* ==========================================================================
   About Instructor Section
   ========================================================================== */

.about-instructor {
    background: white;
    border-radius: 12px;
    padding: 3em;
    margin: 3em 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    color: var(--primary-navy);
    font-size: 2em;
    margin-bottom: 0.5em;
    text-align: center;
}

.about-text h3 {
    color: var(--accent-light-blue);
    font-size: 1.8em;
    margin-bottom: 0.3em;
    text-align: center;
}

.instructor-title {
    color: var(--text-medium);
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 2em;
    font-weight: 600;
}

.about-text p {
    font-size: 1.15em;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5em;
}

.about-text strong {
    color: var(--primary-navy);
}

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

/* ==========================================================================
   Comparison Grid
   ========================================================================== */

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    margin: 2em 0;
}

.comparison-box {
    padding: 1.5em;
    border-radius: 8px;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.obsolete-box {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.safe-box {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.comparison-box h3 {
    color: white;
    margin-bottom: 1em;
}

.comparison-box ul {
    margin-left: 1.5em;
    font-size: 1.1em;
    line-height: 1.8;
}

.comparison-box li {
    margin-bottom: 0.8em;
}

/* ==========================================================================
   Courses Grid
   ========================================================================== */

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
    margin: 2em 0;
}

.course-card {
    background: white;
    border-radius: 12px;
    padding: 2em;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card.available {
    border: 3px solid #27ae60;
}

.course-card.coming-soon {
    opacity: 0.9;
}

.course-number {
    font-size: 1.1em;
    color: #3498db;
    font-weight: 600;
    margin-bottom: 0.5em;
}

.course-card h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 0.5em;
}

.course-description {
    font-size: 1.1em;
    line-height: 1.7;
    margin: 1em 0;
    color: #555;
}

.case-studies {
    background: #ecf0f1;
    padding: 1em;
    border-radius: 6px;
    margin: 1em 0;
    font-size: 0.95em;
}

.case-studies strong {
    color: #2c3e50;
}

.course-series {
    background: #ecf0f1;
    padding: 1.5em;
    border-radius: 8px;
    margin: 1em 0;
}

.course-series h4 {
    color: #2c3e50;
    margin-bottom: 0.8em;
    font-size: 1.2em;
}

/* ==========================================================================
   Building Block Shapes (CSS-only)
   ========================================================================== */

/* Base building block icon container */
.bb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 0.5em;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Large icons for feature sections */
.bb-icon-lg {
    width: 48px;
    height: 48px;
}

/* ===== TASK BLOCKS (Blue - #add9ff light blue fill) ===== */

/* Service - Rectangle */
.bb-service {
    width: 28px;
    height: 24px;
    background: #add9ff;
    border: 2px solid #4a5568;
    border-radius: 2px;
}

.bb-icon-lg .bb-service {
    width: 42px;
    height: 36px;
    border-width: 2.5px;
}

/* Worker - Trapezoid */
.bb-worker {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 24px solid #add9ff;
    position: relative;
}

.bb-worker::before {
    content: '';
    position: absolute;
    top: 2px;
    left: -14px;
    width: 28px;
    height: 22px;
    border: 2px solid #4a5568;
    border-top: none;
    clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
    background: transparent;
    pointer-events: none;
}

/* Alternative Worker using clip-path (cleaner) */
.bb-worker-alt {
    width: 28px;
    height: 22px;
    background: #add9ff;
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
    border: none;
    position: relative;
    box-shadow: 0 0 0 2px #4a5568;
}

.bb-icon-lg .bb-worker-alt {
    width: 42px;
    height: 33px;
}

/* ===== STORAGE BLOCKS (Pink - #f5c6c6 light pink fill) ===== */

/* Key-Value Store - Diamond */
.bb-kv {
    width: 22px;
    height: 22px;
    background: #f5c6c6;
    border: 2px solid #4a5568;
    transform: rotate(45deg);
    border-radius: 2px;
}

.bb-icon-lg .bb-kv {
    width: 32px;
    height: 32px;
    border-width: 2.5px;
}

/* File Store - Pentagon */
.bb-file {
    width: 26px;
    height: 24px;
    background: #f5c6c6;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    position: relative;
}

.bb-file::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #f5c6c6;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    border: 2px solid #4a5568;
}

.bb-icon-lg .bb-file {
    width: 39px;
    height: 36px;
}

/* Queue - Stacked Rectangles */
.bb-queue {
    width: 26px;
    height: 22px;
    position: relative;
}

.bb-queue::before,
.bb-queue::after,
.bb-queue span {
    content: '';
    position: absolute;
    width: 22px;
    height: 8px;
    background: #f5c6c6;
    border: 1.5px solid #4a5568;
    border-radius: 1px;
}

.bb-queue::before {
    top: 0;
    left: 4px;
}

.bb-queue::after {
    top: 7px;
    left: 2px;
}

.bb-queue span {
    top: 14px;
    left: 0;
}

.bb-icon-lg .bb-queue {
    width: 39px;
    height: 33px;
}

.bb-icon-lg .bb-queue::before,
.bb-icon-lg .bb-queue::after,
.bb-icon-lg .bb-queue span {
    width: 33px;
    height: 12px;
    border-width: 2px;
}

.bb-icon-lg .bb-queue::before {
    left: 6px;
}

.bb-icon-lg .bb-queue::after {
    top: 10px;
    left: 3px;
}

.bb-icon-lg .bb-queue span {
    top: 20px;
}

/* Relational Database - Cylinder */
.bb-reldb {
    width: 24px;
    height: 26px;
    position: relative;
}

.bb-reldb::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 24px;
    height: 20px;
    background: #f5c6c6;
    border: 2px solid #4a5568;
    border-radius: 0 0 12px 12px;
    border-top: none;
}

.bb-reldb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 10px;
    background: #f5c6c6;
    border: 2px solid #4a5568;
    border-radius: 12px / 5px;
}

.bb-icon-lg .bb-reldb {
    width: 36px;
    height: 39px;
}

.bb-icon-lg .bb-reldb::before {
    width: 36px;
    height: 30px;
    top: 5px;
    border-radius: 0 0 18px 18px;
    border-width: 2.5px;
}

.bb-icon-lg .bb-reldb::after {
    width: 36px;
    height: 15px;
    border-radius: 18px / 8px;
    border-width: 2.5px;
}

/* Vector Database - Cube */
.bb-vector {
    width: 26px;
    height: 28px;
    position: relative;
}

.bb-vector::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 20px;
    height: 20px;
    background: #f5c6c6;
    border: 2px solid #4a5568;
    transform: skewY(-5deg);
}

.bb-vector::after {
    content: '';
    position: absolute;
    top: 0;
    left: 4px;
    width: 20px;
    height: 6px;
    background: #e0a8a8;
    border: 2px solid #4a5568;
    border-bottom: none;
    transform: skewX(-40deg);
}

.bb-icon-lg .bb-vector {
    width: 39px;
    height: 42px;
}

.bb-icon-lg .bb-vector::before {
    width: 30px;
    height: 30px;
    top: 6px;
    border-width: 2.5px;
}

.bb-icon-lg .bb-vector::after {
    width: 30px;
    height: 9px;
    left: 6px;
    border-width: 2.5px;
}

/* ===== EXTERNAL ENTITIES (Green - #c8e6c9 light green fill) ===== */

/* User - Circle with face */
.bb-user {
    width: 24px;
    height: 24px;
    background: #c8e6c9;
    border: 2px solid #4a5568;
    border-radius: 50%;
    position: relative;
}

.bb-user::before {
    content: '☺';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    line-height: 1;
    color: #4a5568;
}

.bb-icon-lg .bb-user {
    width: 36px;
    height: 36px;
    border-width: 2.5px;
}

.bb-icon-lg .bb-user::before {
    font-size: 21px;
}

/* External Service - Cloud */
.bb-external {
    width: 30px;
    height: 20px;
    background: #c8e6c9;
    border-radius: 10px;
    position: relative;
    border: 2px solid #4a5568;
    margin-top: 6px;
}

.bb-external::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 6px;
    width: 12px;
    height: 12px;
    background: #c8e6c9;
    border-radius: 50%;
    border: 2px solid #4a5568;
    border-bottom-color: #c8e6c9;
}

.bb-external::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 14px;
    width: 10px;
    height: 10px;
    background: #c8e6c9;
    border-radius: 50%;
    border: 2px solid #4a5568;
    border-bottom-color: #c8e6c9;
}

.bb-icon-lg .bb-external {
    width: 45px;
    height: 30px;
    margin-top: 9px;
}

.bb-icon-lg .bb-external::before {
    width: 18px;
    height: 18px;
    top: -12px;
    left: 9px;
}

.bb-icon-lg .bb-external::after {
    width: 15px;
    height: 15px;
    top: -8px;
    left: 21px;
}

/* Time - Hourglass */
.bb-time {
    width: 18px;
    height: 26px;
    position: relative;
}

.bb-time::before,
.bb-time::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 12px;
    background: #c8e6c9;
    border: 2px solid #4a5568;
}

.bb-time::before {
    top: 0;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 30% 100%);
    border-radius: 3px 3px 0 0;
}

.bb-time::after {
    bottom: 0;
    clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
    border-radius: 0 0 3px 3px;
}

.bb-icon-lg .bb-time {
    width: 27px;
    height: 39px;
}

.bb-icon-lg .bb-time::before,
.bb-icon-lg .bb-time::after {
    width: 27px;
    height: 18px;
    border-width: 2.5px;
}

/* Building block list item styling */
.bb-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.6em;
    font-size: 1.05em;
}

.bb-list-item strong {
    margin-right: 0.3em;
}

/* Building block image icons */
.bb-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-right: 0.6em;
    flex-shrink: 0;
}

/* Larger variant for feature sections */
.bb-icon-img-lg {
    width: 48px;
    height: 48px;
}

/* ==========================================================================
   Framework Visualization
   ========================================================================== */

.framework-section {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 3em;
    border-radius: 12px;
    margin: 2em 0;
}

.framework-section h2 {
    font-size: 2.2em;
    margin-bottom: 1em;
    text-align: center;
    color: white;
    border: none;
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5em;
    margin: 2em 0;
}

.framework-box {
    background: rgba(255,255,255,0.15);
    padding: 1.5em;
    border-radius: 8px;
}

.framework-box h4 {
    font-size: 1.3em;
    margin-bottom: 0.8em;
    color: white;
}

.framework-box ul {
    margin-left: 1.5em;
}

.framework-box li {
    margin-bottom: 0.5em;
    font-size: 1.05em;
}

.framework-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    margin: 2em 0;
}

.task-blocks {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 2em;
    border-radius: 12px;
}

.storage-blocks {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 2em;
    border-radius: 12px;
}

.external-entities {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    padding: 2em;
    border-radius: 12px;
    grid-column: 1 / -1;
}

.framework-visual h3 {
    color: white !important;
    margin-top: 0 !important;
    margin-bottom: 1em;
    font-size: 1.6em;
}

.framework-visual ul {
    margin-left: 1.5em;
}

.framework-visual li {
    margin-bottom: 0.8em;
    font-size: 1.1em;
}

/* ==========================================================================
   Feature Cards
   ========================================================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin: 2em 0;
}

.feature-card {
    padding: 2em;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.discovery-lab-card {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.assessment-card {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
}

.challenge-card {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.building-blocks-card {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.feature-card h3 {
    color: white !important;
    margin-top: 0 !important;
    margin-bottom: 0.8em;
    font-size: 1.6em;
}

.feature-card p {
    font-size: 1.1em;
    line-height: 1.7;
}

.feature-card ul {
    margin-left: 1.5em;
    margin-top: 1em;
}

.feature-card li {
    margin-bottom: 0.6em;
    font-size: 1.05em;
}

/* ==========================================================================
   Case Study Cards
   ========================================================================== */

.case-study-card {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1.5em;
    margin: 1em 0;
    border-radius: 8px;
}

.case-study-card h3 {
    color: white;
    margin-bottom: 0.5em;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-section {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    padding: 3em;
    border-radius: 12px;
    margin: 2em 0;
    text-align: center;
}

.pricing-section h2 {
    color: white !important;
    border: none !important;
    padding: 0 !important;
    font-size: 2.5em;
    margin-bottom: 1em;
}

.pricing-box {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 2em;
    border-radius: 8px;
    margin: 2em 0;
    text-align: center;
}

.pricing-box h3 {
    color: white;
    font-size: 1.8em;
    margin-bottom: 1em;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    margin: 2em 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.price {
    font-size: 3em;
    font-weight: bold;
    margin: 0.5em 0;
}

.price-subtext {
    font-size: 1.2em;
    margin-bottom: 1.5em;
}

.pricing {
    text-align: center;
    margin-top: 1.5em;
    font-size: 1.1em;
}

/* ==========================================================================
   Stats Grid
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2em;
    margin: 2em 0;
    text-align: center;
}

.stat-box {
    background: #ecf0f1;
    padding: 2em;
    border-radius: 12px;
}

.stat-number {
    font-size: 3em;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 0.3em;
}

.stat-label {
    font-size: 1.2em;
    color: #2c3e50;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
    background: white;
    border-radius: 12px;
    padding: 2.5em;
    margin-bottom: 2em;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.faq-item {
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid #ecf0f1;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.3em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.8em;
}

.faq-answer {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

/* ==========================================================================
   Video Embed
   ========================================================================== */

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    margin: 2em 0;
}

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

/* ==========================================================================
   Tables
   ========================================================================== */

.comparison-table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1.2em;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.comparison-table th {
    background: #3498db;
    color: white;
    font-size: 1.2em;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

.comparison-table td {
    font-size: 1.1em;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #2c3e50;
    color: white;
    padding: 3em 0 2em;
    margin-top: 4em;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1em;
}

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

.footer-section li {
    margin-bottom: 0.5em;
}

.footer-section a {
    color: #ecf0f1;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #3498db;
}

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

/* ==========================================================================
   WordPress Specific
   ========================================================================== */

.wp-block-image {
    margin: 2em 0;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.aligncenter {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 2em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 2em;
    margin-bottom: 1em;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .container {
        padding: 1.5em;
    }

    .framework-visual,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    html {
        font-size: 14px;
    }

    .site-header .container {
        flex-direction: column;
        gap: 1em;
    }

    .site-navigation ul {
        flex-direction: column;
        gap: 0.5em;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .hero .subtitle {
        font-size: 1.2em;
    }

    .hero .tagline {
        font-size: 1.1em;
    }

    .comparison-grid,
    .courses-grid,
    .feature-grid,
    .framework-grid {
        grid-template-columns: 1fr;
    }

    .container,
    .container-narrow {
        padding: 0.5em;
    }

    .content-section {
        padding: 0.5em;
    }

    .cta-button {
        display: block;
        margin: 1em auto;
    }
}

@media (max-width: 480px) {
    .price {
        font-size: 2em;
    }

    .stat-number {
        font-size: 2em;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

.mt-1 { margin-top: 1em; }
.mt-2 { margin-top: 2em; }
.mt-3 { margin-top: 3em; }

.mb-1 { margin-bottom: 1em; }
.mb-2 { margin-bottom: 2em; }
.mb-3 { margin-bottom: 3em; }

.hidden {
    display: none !important;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ==========================================================================
   Email Capture Modal
   ========================================================================== */

.email-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 28, 70, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1em;
    backdrop-filter: blur(4px);
}

.email-modal {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.email-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    color: #718096;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.email-modal-close:hover {
    background: #f7fafc;
    color: #2d3748;
}

.email-modal-content {
    padding: 2.5em 2em;
    text-align: center;
}

.email-modal-icon {
    font-size: 3.5em;
    margin-bottom: 0.3em;
}

.email-modal h2 {
    color: var(--primary-navy);
    font-size: 1.8em;
    margin-bottom: 0.5em;
}

.email-modal-subtitle {
    color: var(--text-medium);
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 1.5em;
}

.email-capture-form {
    margin-top: 1.5em;
}

.email-input-group {
    display: flex;
    gap: 0.5em;
    margin-bottom: 1em;
}

.email-input {
    flex: 1;
    padding: 0.9em 1em;
    font-size: 1em;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
}

.email-input:focus {
    border-color: var(--accent-light-blue);
}

.email-input::placeholder {
    color: #a0aec0;
}

.email-submit-btn {
    padding: 0.9em 1.5em;
    font-size: 1em;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.email-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.email-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.email-privacy-note {
    font-size: 0.85em;
    color: #718096;
    margin: 0;
}

.email-success .email-modal-icon {
    color: #27ae60;
    background: #d4edda;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
}

.success-link {
    color: var(--accent-light-blue);
    font-weight: 600;
}

.email-modal-done-btn {
    margin-top: 1.5em;
    padding: 0.9em 2.5em;
    font-size: 1em;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.email-modal-done-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

/* Notify Me Button Style */
.notify-btn,
.main-nav .notify-btn,
button.notify-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 0.6em 1.2em;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.notify-btn:hover,
.main-nav .notify-btn:hover,
button.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white !important;
}

/* Coming Soon Badge for Course 1 */
.launching-soon-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3em 0.8em;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5em;
}

@media (max-width: 480px) {
    .email-modal-content {
        padding: 2em 1.5em;
    }

    .email-input-group {
        flex-direction: column;
    }

    .email-submit-btn {
        width: 100%;
    }

    .email-modal h2 {
        font-size: 1.5em;
    }
}

/* ==========================================================================
   Cookie Consent Banner - GDPR Compliant
   ========================================================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #ffffff;
    padding: 1.25em 1.5em;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
}

.cookie-consent-text {
    flex: 1;
    min-width: 280px;
    font-size: 0.95em;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: var(--accent-cyan, #50c0ff);
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #ffffff;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75em;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.7em 1.5em;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--accent-cyan, #50c0ff);
    color: #001c46;
}

.cookie-btn-accept:hover {
    background: #7dd3ff;
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-settings {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.7em 1em;
    font-size: 0.85em;
}

.cookie-btn-settings:hover {
    color: #ffffff;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1em;
}

.cookie-settings-modal.visible {
    display: flex;
}

.cookie-settings-content {
    background: #ffffff;
    border-radius: 12px;
    max-width: 550px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
    padding: 1.5em;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-settings-header h3 {
    margin: 0;
    color: #1a1a1a;
    font-size: 1.3em;
}

.cookie-settings-body {
    padding: 1.5em;
}

.cookie-category {
    padding: 1em 0;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5em;
}

.cookie-category-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1em;
}

.cookie-category-desc {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 48px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--accent-cyan, #50c0ff);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(22px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #27ae60;
    cursor: not-allowed;
}

.cookie-settings-footer {
    padding: 1.5em;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 0.75em;
    justify-content: flex-end;
}

.cookie-settings-footer .cookie-btn {
    color: #1a1a1a;
}

.cookie-settings-footer .cookie-btn-reject {
    border-color: #ccc;
}

.cookie-settings-footer .cookie-btn-reject:hover {
    background: #f5f5f5;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .cookie-consent {
        padding: 1em;
    }

    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }

    .cookie-settings-content {
        max-height: 90vh;
    }
}
