:root {
    --theme-bg: #0B0F19;
    --theme-section: #161B22;
    --theme-primary: #F59E0B;
    --theme-secondary: #22D3EE;
    --theme-text: #F9FAFB;
    --theme-muted: #9CA3AF;

    --bg: var(--theme-bg);
    --panel: rgba(22, 27, 34, .88);
    --ink: var(--theme-text);
    --navy: var(--theme-text);
    --blue: var(--theme-secondary);
    --blue-soft: rgba(34, 211, 238, .12);
    --red: var(--theme-primary);
    --red-soft: rgba(245, 158, 11, .12);
    --cyan: var(--theme-secondary);
    --gold: var(--theme-primary);
    --paper: var(--theme-bg);
    --cloud: var(--theme-section);
    --muted: var(--theme-muted);
    --line: rgba(249, 250, 251, .13);
    --text: var(--theme-text);
}

body {
    color: var(--theme-text);
    background:
        radial-gradient(circle at 12% 0%, rgba(245, 158, 11, .16), transparent 28rem),
        radial-gradient(circle at 88% 8%, rgba(34, 211, 238, .12), transparent 28rem),
        linear-gradient(180deg, var(--theme-bg) 0%, #090d15 48%, var(--theme-bg) 100%);
}

.header {
    background: rgba(11, 15, 25, .88);
    border-bottom-color: rgba(249, 250, 251, .12);
}

.hero,
.section {
    background: var(--theme-bg);
}

.section-soft,
.footer {
    background: var(--theme-section);
}

.academy,
.cta {
    background:
        radial-gradient(circle at 80% 20%, rgba(34, 211, 238, .16), transparent 24rem),
        linear-gradient(135deg, var(--theme-section), #211305);
}

.btn-primary {
    background: linear-gradient(135deg, var(--theme-primary), #D97706);
    color: #111827;
    box-shadow: 0 18px 38px rgba(245, 158, 11, .24);
}

.btn-light {
    color: var(--theme-text);
    border-color: rgba(249, 250, 251, .18);
    background: rgba(249, 250, 251, .08);
}

.accent,
.eyebrow,
.project-link,
.contact-list a {
    color: var(--theme-primary);
}

.eyebrow::before,
.menu a::after,
.project-clients li::before,
.hero-dot.active {
    background: var(--theme-primary);
}

.service-card,
.choose-card,
.project-card,
.process-card,
.course,
.feature,
.info-card,
.lesson-board,
.hero-logo-card,
.hero-stat-card,
.hero-course-card,
.class-card,
.floating-logo {
    background: rgba(22, 27, 34, .86);
    border-color: rgba(249, 250, 251, .13);
}

.service-card p,
.project-card p,
.process-card p,
.choose-card p,
.academy-content p,
.section-copy,
.hero-copy,
.cta p,
.footer,
.brand span,
.menu,
.course span,
.feature span,
.info-card span,
.class-card span,
.hero-stat-card span,
.hero-course-card span {
    color: var(--theme-muted);
}

/* --- Premium Interactive Additions --- */

/* Mobile Hamburger Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 19px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}
.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--theme-primary, #F59E0B);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}
.menu-toggle.open span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Slide-out Drawer Menu */
.menu-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #090d16;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    z-index: 100;
    padding: 96px 36px 40px;
    transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(249, 250, 251, 0.1);
    backdrop-filter: blur(20px);
}
.menu-drawer.open {
    right: 0;
}
.menu-drawer-close {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 2.2rem;
    background: transparent;
    border: none;
    color: var(--theme-primary, #F59E0B);
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
}
.menu-drawer-close:hover {
    transform: scale(1.1) rotate(90deg);
}
.menu-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 26px;
}
.menu-drawer-nav a {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--theme-text, #F9FAFB);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.menu-drawer-nav a:hover {
    color: var(--theme-primary, #F59E0B);
    padding-left: 6px;
}
.menu-drawer-nav .btn-primary {
    margin-top: 18px;
    justify-content: center;
}

@media (max-width: 1100px) {
    .menu-toggle {
        display: flex;
    }
    .menu {
        display: none !important;
    }
    .nav-quote-btn {
        display: none !important;
    }
}

/* Mouse-Tracking Card Border Gradient Glow */
.service-card,
.project-card,
.process-card {
    position: relative;
    overflow: hidden;
}
.service-card::before,
.project-card::before,
.process-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        320px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(245, 158, 11, 0.24), /* Gold glow */
        transparent 40%
    );
    -webkit-mask: 
       linear-gradient(#fff 0 0) content-box, 
       linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover::before,
.project-card:hover::before,
.process-card:hover::before {
    opacity: 1;
}

/* Slider Autoplay Countdown Progress Bar */
.hero-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 15;
}
.hero-progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--theme-primary, #F59E0B), var(--theme-secondary, #22D3EE));
    box-shadow: 0 0 8px var(--theme-primary, #F59E0B);
}

/* Floating Circular Back to Top Button */
.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11, 15, 25, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: rgba(11, 15, 25, 0.96);
    transform: scale(1.08);
    border-color: rgba(245, 158, 11, 0.3);
}
.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}
.progress-ring__circle {
    transition: stroke-dashoffset 0.12s linear;
    stroke-dasharray: 132;
    stroke-dashoffset: 132;
}
.back-to-top .arrow {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--theme-primary, #F59E0B);
    z-index: 2;
}
