:root {
    /* Brand Colors */
    --clr-navy: #0F172A;
    /* Deep Navy / Antracit */
    --clr-navy-dark: #020617;
    --clr-cyan: #00F0FF;
    /* Electric Cyan */
    --clr-magenta: #FF00FF;
    /* Magenta / Purple */
    --clr-amber: #FF9F00;
    /* Conversion CTA */

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-navy-dark);
    color: #F8FAFC;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #FFFFFF;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Glassmorphism Utilities */
.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
}

.glass-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.glass-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFF;
    padding: 1rem;
    border-radius: 6px;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.glass-input:focus {
    outline: none;
    border-color: var(--clr-cyan);
    background: rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(45deg, var(--clr-amber), #FF6B00);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 159, 0, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 159, 0, 0.6);
    transform: scale(1.05);
}

.btn-large {
    padding: 1.2rem 3.5rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Typography Accents */
.text-cyan {
    color: var(--clr-cyan);
}

.text-magenta {
    color: var(--clr-magenta);
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 3rem;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.mobile-menu-btn {
    display: none;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--clr-cyan);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
    opacity: 0.4;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.8), var(--clr-navy-dark));
    z-index: -1;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(to right, var(--clr-cyan), var(--clr-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #CBD5E1;
    margin-bottom: 2.5rem;
    max-width: 650px;
}

/* Sections General */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.section-description {
    color: #94A3B8;
    font-size: 1.15rem;
    max-width: 750px;
    margin-bottom: 3.5rem;
}

/* Chaos Section */
.chaos-section {
    background: var(--clr-navy-dark);
}

.chaos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.chaos-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.chaos-card h3 {
    margin-bottom: 1rem;
    color: #F8FAFC;
    font-size: 1.3rem;
}

.chaos-card p {
    color: #94A3B8;
    font-size: 1rem;
}

/* Bridge / Courses Section */
.bridge-section {
    background: var(--clr-navy);
}

.bg-texture {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.bg-texture .texture-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.premium-glow {
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 50px rgba(255, 0, 255, 0.05);
}

.course-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 0, 255, 0.15);
    color: var(--clr-magenta);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.course-badge-static {
    position: relative;
    display: inline-block;
    align-self: center;
    background: rgba(255, 0, 255, 0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 auto 1rem auto;
}

.flagship-course {
    padding: 4rem;
}

.flagship-course h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, var(--clr-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.course-intro {
    font-size: 1.15rem;
    color: #CBD5E1;
    margin-bottom: 3rem;
    max-width: 800px;
}

.personas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.persona-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.persona-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 8px;
    border-left: 3px solid var(--clr-navy-dark);
}

.persona-card:nth-child(1) {
    border-left-color: var(--clr-magenta);
}

.persona-card:nth-child(2) {
    border-left-color: var(--clr-cyan);
}

.persona-card .nugget {
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.course-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--clr-cyan);
}

/* About Architect */
.architect-section {
    background: var(--clr-navy-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-image-placeholder {
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 240, 255, 0.02);
    border-color: rgba(0, 240, 255, 0.15);
}

.layered-frame {
    text-align: center;
}

.geometric-shape {
    width: 180px;
    height: 180px;
    border: 3px solid var(--clr-cyan);
    transform: rotate(45deg);
    margin: 0 auto 2.5rem;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}

.img-hint {
    color: var(--clr-cyan);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.8;
}

.authority-badge {
    color: var(--clr-cyan);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content p {
    color: #94A3B8;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.about-content h2 span {
    background: linear-gradient(to right, var(--clr-cyan), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}



.about-list {
    list-style: none;
    margin-top: 2.5rem;
}

.about-list li {
    margin-bottom: 1rem;
    color: #E2E8F0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.about-list li span {
    color: var(--clr-magenta);
    font-size: 1.2rem;
}

/* Future */
.future-section {
    background: linear-gradient(135deg, var(--clr-navy-dark), #1A1333);
    border-top: 1px solid rgba(255, 0, 255, 0.1);
    border-bottom: 1px solid rgba(255, 0, 255, 0.1);
    padding: 10rem 0;
}

.future-section .section-description {
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.8;
}

.future-section strong {
    color: #FFF;
    display: block;
    margin-top: 2rem;
    font-size: 1.5rem;
}

/* Contact */
.contact-section {
    background: var(--clr-navy);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #CBD5E1;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #000;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    height: 35px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer p {
    color: #64748B;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .about-grid,
    .contact-card {
        gap: 3rem;
    }
}

@media (max-width: 900px) {

    .about-grid,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .about-image-placeholder {
        height: 400px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .personas-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Menu (Hamburger) */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 32px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 101;
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 2px;
        background: #FFF;
        border-radius: 10px;
        transition: all 0.2s linear;
        position: relative;
        transform-origin: 1px;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        transition: right 200ms ease-in-out;
        z-index: 100;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    /* Vertical Spacing Optimization */
    .section {
        padding: 4rem 0; /* Reduced from 8rem */
    }

    .future-section {
        padding: 5rem 0; /* Reduced from 10rem */
    }

    .contact-section {
        padding-top: 2rem; /* Reduce gap before form */
    }

    /* Form Layout & Footer Alignment Fix */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-logo {
        margin: 0 auto 1rem auto;
    }

    .footer p {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 1rem;
    }

    .flagship-course {
        padding: 2.5rem;
    }

    .course-badge {
        position: relative;
        top: 0;
        right: 0;
        display: inline-block;
        margin-bottom: 1rem;
    }
}