:root {
    /* Colors — Deep Navy/Purple palette inspired by reference */
    --bg-dark: #060b1f;
    --bg-surface: #0a1029;
    --bg-card: linear-gradient(145deg, rgba(30, 40, 90, 0.6), rgba(60, 30, 120, 0.4));
    --primary: #4a8eff;
    --primary-glow: rgba(74, 142, 255, 0.4);
    --secondary: #a855f7;
    --secondary-glow: rgba(168, 85, 247, 0.4);
    --accent: #10b981;
    --danger: #ef4444;
    --cyan: #22d3ee;
    --cyan-glow: rgba(34, 211, 238, 0.3);
    --text-main: #e8eaf6;
    --text-muted: #8892b0;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(100, 120, 200, 0.15);
    --card-border: rgba(100, 130, 255, 0.2);

    /* Spacing */
    --container-max: 1280px;
    --section-pady: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background — Subtle dot grid + radial glow */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(rgba(74, 142, 255, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

.bg-radial {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(74, 142, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Floating particles effect */
.particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    20% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
}

.text-gradient {
    background: linear-gradient(135deg, var(--cyan), var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-pady) 0;
    position: relative;
}

/* ========== NAVIGATION ========== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(6, 11, 31, 0.7);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.3rem;
    font-weight: 900;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: 0.5px;
}

.logo svg { filter: drop-shadow(0 0 6px var(--primary-glow)); }

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* ========== BUTTONS ========== */
.btn {
    padding: 0.7rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(74, 142, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 142, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--cyan);
    background: rgba(34, 211, 238, 0.05);
    color: var(--cyan);
}

/* ========== SERVICE CARDS — Gradient style ========== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 1.2rem;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--cyan));
    opacity: 0;
    transition: opacity 0.4s;
}

.card:hover {
    border-color: rgba(74, 142, 255, 0.4);
    transform: translateY(-6px);
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.4),
        0 0 30px -5px rgba(74, 142, 255, 0.15);
}

.card:hover::before { opacity: 1; }

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(74, 142, 255, 0.15), rgba(168, 85, 247, 0.15));
    border: 1px solid rgba(74, 142, 255, 0.2);
}

.card-icon svg {
    filter: drop-shadow(0 0 4px var(--primary-glow));
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 { font-size: 4rem; margin-bottom: 1.5rem; }

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

/* ========== CSS SHIELD — Upgraded ========== */
.css-shield {
    width: 320px;
    height: 380px;
    position: relative;
    background: linear-gradient(160deg, rgba(74, 142, 255, 0.15), rgba(168, 85, 247, 0.15));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 60px rgba(74, 142, 255, 0.2);
}

.css-shield::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: linear-gradient(160deg, rgba(74, 142, 255, 0.08), rgba(168, 85, 247, 0.08));
    clip-path: inherit;
    border: 2px solid rgba(74, 142, 255, 0.3);
}

.css-shield::after {
    content: '🛡️';
    font-size: 4rem;
    filter: drop-shadow(0 0 20px var(--primary-glow));
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

/* Shield ring glow */
.shield-ring {
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(74, 142, 255, 0.2);
    border-radius: 50%;
    animation: ringPulse 4s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.15); opacity: 0.6; }
}

/* ========== HERO CAROUSEL ========== */
.hero-carousel-container {
    position: relative;
    width: 100%;
    min-height: 500px;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    position: relative; /* Take up space when active */
}

.slide-title {
    font-size: 3.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
    color: white;
}

.slide-subtitle {
    color: var(--text-main);
    font-size: 1.15rem;
    max-width: 500px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.slide-controls-wrap {
    margin-bottom: 2rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: inline-block;
}

.controls-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cyan);
    margin-bottom: 5px;
    font-weight: 700;
}

.controls-text {
    font-size: 0.85rem;
    color: white;
    font-weight: 500;
    opacity: 0.8;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual .video-thumb {
    width: 100%;
    max-width: 600px;
    box-shadow: 0 0 40px rgba(74, 142, 255, 0.2);
}

/* Dots Navigation */
.carousel-dots {
    position: absolute;
    bottom: -40px;
    left: 0;
    display: flex;
    gap: 12px;
}

.dot {
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    width: 50px;
}

@media (max-width: 900px) {
    .slide-title { font-size: 2.8rem; }
    .hero-carousel-container { min-height: 700px; }
}

.video-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6));
    opacity: 0.9;
    transition: opacity 0.3s;
}

.play-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.play-icon svg {
    fill: white;
    margin-left: 2px;
}

.video-thumb-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

/* Neon variations */
.v-llm:hover { border-color: var(--primary); box-shadow: 0 0 20px rgba(74, 142, 255, 0.3); }
.v-rag:hover { border-color: var(--secondary); box-shadow: 0 0 20px rgba(168, 85, 247, 0.3); }
.v-agent:hover { border-color: var(--accent); box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
.v-mcp:hover { border-color: #f97316; box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); }

.video-thumb:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.video-thumb:hover .play-icon {
    transform: scale(1.1);
    background: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 900px) {
    .hero-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .hero-gallery-grid { grid-template-columns: 1fr; }
}

/* ========== STATS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-value {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.hero-btns {
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

@media (max-width: 600px) {
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
}

.solutions-section {
    background: rgba(6, 11, 31, 0.4);
    border-top: 1px solid var(--glass-border);
}

/* ========== SERVICES GRID ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ========== METHODOLOGY TIMELINE ========== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    right: -9px;
    background-color: var(--bg-dark);
    border: 3px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--primary-glow);
}

.left { left: 0; text-align: right; }
.right { left: 50%; }
.right::after { left: -9px; }

/* ========== TERMINAL UI ========== */
.terminal {
    background: rgba(6, 11, 31, 0.9);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 2rem;
}

.terminal-header {
    background: rgba(10, 16, 41, 0.95);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.terminal-body {
    padding: 24px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.85rem;
    min-height: 200px;
    line-height: 1.8;
}

.vulnerable-text { color: var(--danger); text-shadow: 0 0 6px rgba(239, 68, 68, 0.3); }
.secure-text { color: var(--accent); text-shadow: 0 0 6px rgba(16, 185, 129, 0.3); }

/* ========== DEMO LAYOUT ========== */
.demo-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.demo-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.demo-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.2rem;
    border-radius: 10px;
    color: var(--text-muted);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
    font-weight: 500;
}

.demo-btn:hover { border-color: var(--primary); color: white; }

.demo-btn.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(74, 142, 255, 0.1), rgba(168, 85, 247, 0.1));
    color: white;
    box-shadow: 0 0 15px rgba(74, 142, 255, 0.1);
}

.demo-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

/* ========== ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== LANGUAGE SWITCHER ========== */
.lang-switcher {
    background: rgba(10, 16, 41, 0.6);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    gap: 0.8rem;
}

.lang-btn {
    opacity: 0.5;
    transition: opacity 0.2s;
}

.lang-btn.active {
    opacity: 1;
    font-weight: 700;
    color: var(--cyan);
}

/* ========== SPM MODAL ========== */
.spm-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(4, 8, 20, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spm-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -45%);
    width: 90%; max-width: 500px;
    background: linear-gradient(145deg, rgba(10, 16, 41, 0.95), rgba(6, 11, 31, 0.98));
    border: 1px solid var(--primary-glow);
    box-shadow: 0 0 40px rgba(74, 142, 255, 0.2);
    border-radius: 12px;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: white;
}

.spm-modal.open, .spm-overlay.open {
    display: block;
}

.spm-modal.show, .spm-overlay.show {
    opacity: 1;
}
.spm-modal.show { transform: translate(-50%, -50%); }

.spm-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.spm-modal-header h3 { font-size: 1.1rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 1px; }
.close-btn { background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; }
.close-btn:hover { color: white; }

.spm-modal-body {
    padding: 25px;
}

.spm-step {
    display: none;
    animation: fadeIn 0.4s;
}
.spm-step.active {
    display: block;
}
.spm-step h4 { margin-bottom: 10px; font-size: 1.1rem; }
.spm-step p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }

.spm-options {
    display: grid;
    gap: 12px;
}
.spm-opt {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 8px;
    color: white;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    font-size: 0.95rem;
}
.spm-opt:hover {
    border-color: var(--primary);
    background: rgba(74, 142, 255, 0.1);
}

.spm-score {
    text-align: center;
    padding: 25px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    margin-top: 15px;
}
.score-value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--danger);
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 60, 60, 0.4);
}
.score-label { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-image { order: -1; }
    .hero h1 { font-size: 3rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    h1 { font-size: 2.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .demo-container { grid-template-columns: 1fr; }
}

@media screen and (max-width: 600px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left; }
    .timeline-item::after { left: 21px; }
    .right { left: 0; }
}
/* ========== CONTACT PAGE INTERACTIVITY ========== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card .card-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: all 0.5s ease;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.5s ease;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 200px;
    transition: all 0.5s ease;
}

.reveal-info {
    position: absolute;
    bottom: -50px;
    opacity: 0;
    font-family: 'JetBrains Mono', monospace;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card:hover {
    border-color: var(--cyan);
    background: rgba(34, 211, 238, 0.08);
}

.contact-card:hover .card-icon {
    transform: scale(0.8) translateY(-20px);
}

.contact-card:hover h3 {
    transform: translateY(-20px);
}

.contact-card:hover p {
    opacity: 0;
    transform: translateY(-10px);
}

.contact-card:hover .reveal-info {
    bottom: 60px;
    opacity: 1;
}

/* ========== SCHEDULER DESIGN ========== */
.scheduler-container {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    overflow: hidden;
    display: grid;
    grid-template-columns: 350px 1fr;
    margin-top: 4rem;
    min-height: 500px;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.5);
}

.scheduler-info {
    padding: 3rem;
    background: rgba(255,255,255,0.02);
    border-right: 1px solid var(--glass-border);
}

.scheduler-calendar {
    padding: 3rem;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.time-slot {
    padding: 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.9rem;
}

.time-slot:hover {
    border-color: var(--primary);
    background: rgba(74, 142, 255, 0.1);
    color: white;
}

.time-slot.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(74, 142, 255, 0.4);
}

@media (max-width: 900px) {
    .scheduler-container {
        grid-template-columns: 1fr;
    }
    .scheduler-info {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
/* ========== NATIVE 3-COLUMN SCHEDULER ========== */
.native-scheduler {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 600px;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.7);
    margin-top: 4rem;
}

.sched-sidebar {
    padding: 2.5rem;
    border-right: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.01);
}

.consultant-profile {
    margin-bottom: 2rem;
}

.consultant-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    margin-bottom: 1rem;
    object-fit: cover;
}

.sched-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.sched-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sched-meta-item svg {
    color: var(--cyan);
}

.calendar-center {
    padding: 2.5rem;
    border-right: 1px solid var(--glass-border);
}

.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.day-name {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 10px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: all 0.2s;
    user-select: none;
}

.calendar-day:hover:not(.empty) {
    background: rgba(74, 142, 255, 0.1);
    color: var(--primary);
}

.calendar-day.available {
    background: rgba(74, 142, 255, 0.05);
    color: var(--primary);
}

.calendar-day.selected {
    background: var(--primary) !important;
    color: white !important;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(74, 142, 255, 0.5);
}

.calendar-day.empty {
    cursor: default;
    opacity: 0.3;
}

.time-right {
    padding: 2.5rem;
    background: rgba(255,255,255,0.005);
}

.slot-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 2rem;
}

.slot-item {
    display: flex;
    gap: 10px;
    align-items: center;
    transition: all 0.3s;
}

.slot-btn {
    flex: 1;
    padding: 0.9rem;
    border: 1px solid var(--primary);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.slot-btn:hover {
    background: rgba(74, 142, 255, 0.1);
}

.slot-item.active .slot-btn {
    background: #334155;
    border-color: #334155;
    color: white;
}

.confirm-btn {
    display: none;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    animation: slideInLeft 0.3s forwards;
}

.slot-item.active .confirm-btn {
    display: block;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1100px) {
    .native-scheduler {
        grid-template-columns: 1fr;
    }
    .sched-sidebar, .calendar-center {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
}
