/* ==========================================================================
   VQP TOOLS - Modern Dark/Light Glassmorphism AI Design System
   ========================================================================== */

:root {
    /* Color Tokens (Dark Theme Default) */
    --bg-main: #0a0d14;
    --bg-surface: #111625;
    --bg-card: rgba(18, 24, 38, 0.7);
    --bg-card-hover: rgba(26, 35, 56, 0.85);
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #06b6d4;
    --secondary-glow: rgba(6, 182, 212, 0.4);
    --accent: #a855f7;
    --accent-glow: rgba(168, 85, 247, 0.4);
    --emerald: #10b981;
    --amber: #f59e0b;
    --rose: #f43f5e;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.25);
    --glass-backdrop: blur(16px) saturate(180%);
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-code: 'Fira Code', monospace;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Overrides */
html.light {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(241, 245, 249, 0.95);
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    
    --border-color: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(99, 102, 241, 0.2);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients & Mesh */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(at 10% 20%, rgba(99, 102, 241, 0.12) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(6, 182, 212, 0.12) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(168, 85, 247, 0.08) 0px, transparent 50%);
    pointer-events: none;
    z-index: -2;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
    animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
    top: -100px;
    left: 20%;
    width: 450px;
    height: 450px;
    background: var(--primary-glow);
}

.orb-2 {
    bottom: -150px;
    right: 15%;
    width: 500px;
    height: 500px;
    background: var(--secondary-glow);
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.1); }
}

/* Typography & Utilities */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.hidden { display: none !important; }

/* Buttons & Badges */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: rgba(99, 102, 241, 0.4);
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}

.btn-ghost:hover {
    color: var(--text-main);
    background: var(--border-color);
}

.btn-lg {
    padding: 0.95rem 2.2rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: rotate(30deg);
    transition: 0.6s;
    opacity: 0;
}

.btn-glow:hover::after {
    opacity: 1;
    left: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-glow {
    background: rgba(244, 63, 94, 0.15);
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.badge-tech {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-accent {
    background: rgba(6, 182, 212, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #1e1b4b, #311b92, #0f172a);
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
    font-size: 0.88rem;
    padding: 0.5rem 0;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.announcement-link {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.announcement-link:hover {
    text-decoration: underline;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 13, 20, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: var(--transition-fast);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.4rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

.logo-text .highlight {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-item:hover, .nav-item.active {
    color: var(--text-main);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

html.dark .sun-icon { display: block; }
html.dark .moon-icon { display: none; }
html.light .sun-icon { display: none; }
html.light .moon-icon { display: block; }

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 4rem;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-code);
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-right: 0.5rem;
}

.stat-label {
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.visual-card-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.visual-glow-ring {
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    border-radius: var(--radius-lg);
    filter: blur(25px);
    opacity: 0.35;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-color);
    display: block;
}

.floating-badge {
    position: absolute;
    z-index: 2;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: floatBadge 6s ease-in-out infinite alternate;
}

.badge-top-left {
    top: -20px;
    left: -20px;
}

.badge-bottom-right {
    bottom: -20px;
    right: -20px;
    animation-delay: -3s;
}

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

.badge-title {
    font-weight: 700;
    font-size: 0.88rem;
}

.badge-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.text-success { color: var(--emerald); }

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--emerald);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Tech Marquee */
.tech-marquee-section {
    padding: 2.5rem 0;
    background: rgba(17, 22, 37, 0.5);
    border-y: 1px solid var(--border-color);
    overflow: hidden;
}

.marquee-title {
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.marquee-track {
    display: flex;
    width: 200%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.marquee-content {
    display: flex;
    gap: 1.5rem;
    animation: marquee 25s linear infinite;
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* Section Shared */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Grids */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.category-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.search-box {
    position: relative;
    min-width: 260px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
    height: 18px;
}

.search-box input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.6rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-main);
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition-fast);
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

/* Solution Cards */
.solution-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.4);
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.icon-cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.icon-purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.icon-rose { background: rgba(244, 63, 94, 0.15); color: #f43f5e; }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.93rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.feature-list li i {
    width: 16px;
    height: 16px;
    color: var(--emerald);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.price-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
}

/* Course Cards */
.level-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.course-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img {
    transform: scale(1.05);
}

.course-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}

.tag-primary { background: rgba(99, 102, 241, 0.85); color: #fff; }
.tag-secondary { background: rgba(6, 182, 212, 0.85); color: #fff; }
.tag-accent { background: rgba(168, 85, 247, 0.85); color: #fff; }
.tag-success { background: rgba(16, 185, 129, 0.85); color: #fff; }

.course-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.star-icon { color: var(--amber); fill: var(--amber); }

.course-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.course-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.course-skills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.skill-chip {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.course-price {
    display: flex;
    flex-direction: column;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: var(--font-code);
}

.old-price {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* AI Interactive Sandbox */
.sandbox-section {
    background: rgba(17, 22, 37, 0.4);
}

.sandbox-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 520px;
}

.sandbox-sidebar {
    padding: 1.75rem;
    background: rgba(10, 13, 20, 0.6);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.input-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-select, .form-textarea, .form-input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-select:focus, .form-textarea:focus, .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.preset-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-preset {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-preset:hover, .btn-preset.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    color: var(--text-main);
}

.slider-control {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Sandbox Workspace */
.sandbox-workspace {
    display: flex;
    flex-direction: column;
    background: #0d1117;
}

.prompt-input-area {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.prompt-actions {
    display: flex;
    gap: 0.75rem;
    align-self: flex-end;
}

.code-output-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.code-title {
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.status-idle { background: rgba(148, 163, 184, 0.2); color: var(--text-muted); }
.status-running { background: rgba(6, 182, 212, 0.2); color: var(--secondary); animation: pulse 1.5s infinite; }
.status-done { background: rgba(16, 185, 129, 0.2); color: var(--emerald); }

.code-pre {
    background: #161b22;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    flex-grow: 1;
    overflow-x: auto;
    font-family: var(--font-code);
    font-size: 0.9rem;
    color: #e6edf3;
    line-height: 1.5;
}

/* AI Solution Finder / Quiz Wizard */
.wizard-wrapper {
    padding: 3.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.wizard-header {
    margin-bottom: 2.5rem;
}

.wizard-progress {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.4s ease;
}

.step-question {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.option-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.option-card i {
    width: 36px;
    height: 36px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.option-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.option-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.option-card:hover, .option-card.selected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

/* Wizard Recommendation Card */
.recommendation-card {
    padding: 2rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    text-align: left;
}

.rec-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.rec-desc {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.wizard-result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Testimonials */
.testimonial-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--amber);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.user-name {
    font-size: 0.95rem;
    font-weight: 700;
}

.user-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* CTA Banner */
.cta-section {
    padding: 4rem 0 6rem;
}

.cta-card {
    padding: 4.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: var(--primary-glow);
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #06090e;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.brand-col .footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 1.2rem 0 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

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

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--primary);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Universal Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 12, 0.8);
    backdrop-filter: blur(12px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    background: #111625;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.25rem;
}

.modal-close:hover { color: var(--text-main); }

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    background: #111625;
    border: 1px solid var(--primary);
    color: var(--text-main);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    animation: toastIn 0.3s ease forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 600px; margin: 0 auto; }
    
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .sandbox-container { grid-template-columns: 1fr; }
    .sandbox-sidebar { border-right: none; border-bottom: 1px solid var(--border-color); }
    .options-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0a0d14;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav-links.mobile-active {
        transform: translateY(0);
    }
    
    .mobile-toggle { display: block; }
    
    .hero-title { font-size: 2.2rem; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .filter-bar { flex-direction: column; align-items: stretch; }
}
