/* ===========================================
   BAMSense Works - Enhanced Website Styles
   =========================================== */

/* ===========================
   CSS Reset & Variables
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-blue: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3385FF;
    --accent-blue: #00BFFF;
    --accent-purple: #667eea;
    --accent-pink: #f093fb;
    --dark-bg: #0A0F1E;
    --dark-card: #131B2E;
    --dark-lighter: #1A2332;
    --text-primary: #FFFFFF;
    --text-secondary: #B4C1D8;
    --text-muted: #7B8CA3;

    /* Gradients */
    --gradient-1: linear-gradient(135deg, #0066FF 0%, #00BFFF 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-4: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-5: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-6: linear-gradient(135deg, #fa709a 0%, #fee140 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-primary);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.4);
    --shadow-glow-strong: 0 0 60px rgba(0, 102, 255, 0.6);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 30, 0.90);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 15, 30, 0.95);
    box-shadow: var(--shadow-lg);
    border-bottom-color: rgba(0, 102, 255, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-shape {
    width: 28px;
    height: 28px;
    background: var(--gradient-1);
    border-radius: 8px;
    transform: rotate(45deg);
    position: relative;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-5px); }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--text-primary);
}

.logo-accent {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.cta-button {
    background: var(--gradient-1);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition-normal);
}

.nav-link.cta-button::after {
    display: none;
}

.nav-link.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition-fast);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 102, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.geometric-shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.08;
    filter: blur(60px);
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        transform: translate(50px, -50px) rotate(90deg);
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    50% {
        transform: translate(-30px, 30px) rotate(180deg);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    }
    75% {
        transform: translate(-50px, -30px) rotate(270deg);
        border-radius: 30% 70% 30% 70% / 30% 70% 30% 70%;
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 50px;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    font-family: var(--font-display);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.typing-effect {
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn i {
    transition: var(--transition-fast);
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-icon {
    font-size: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-display);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Hero Visual Dashboard */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease 1s backwards;
}

.floating-dashboard {
    width: 100%;
    max-width: 500px;
    background: rgba(19, 27, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    animation: dashboardFloat 4s ease-in-out infinite;
}

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

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-dots {
    display: flex;
    gap: 0.5rem;
}

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.dashboard-dots span:nth-child(1) {
    background: #ff5f56;
}

.dashboard-dots span:nth-child(2) {
    background: #ffbd2e;
}

.dashboard-dots span:nth-child(3) {
    background: #27c93f;
}

.dashboard-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dash-stat {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.dash-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dash-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.dashboard-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    height: 120px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-1);
    border-radius: 8px 8px 0 0;
    animation: chartGrow 1s ease 1.2s backwards;
}

@keyframes chartGrow {
    from { height: 0; }
}

/* ===========================
   Floating Features Marquee
   =========================== */
.floating-features {
    padding: var(--spacing-md) 0;
    background: rgba(0, 102, 255, 0.03);
    border-top: 1px solid rgba(0, 102, 255, 0.1);
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
    overflow: hidden;
}

.features-marquee {
    overflow: hidden;
}

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

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

.feature-pill {
    flex-shrink: 0;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ===========================
   Section Styles
   =========================== */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 50px;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    font-family: var(--font-display);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ===========================
   About Section
   =========================== */
.about {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.about-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.9;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 700;
}

.about-features {
    margin-top: var(--spacing-lg);
}

.feature-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateX(8px);
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.visual-card {
    padding: 2rem;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 20px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
}

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

.visual-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    background: rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.4);
}

.card-1 {
    grid-column: 1 / -1;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.1), transparent);
    opacity: 0;
    transition: var(--transition-slow);
}

.visual-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.visual-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.visual-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   Mission & Vision
   =========================== */
.mission-vision {
    background: var(--dark-card);
    position: relative;
    overflow: hidden;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.mv-card {
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.mv-card:hover::before {
    transform: scaleX(1);
}

.mv-card:hover {
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.mv-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.mv-card h3 {
    font-size: 2rem;
    font-family: var(--font-display);
    margin-bottom: var(--spacing-sm);
}

.mv-card p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.vision-badge {
    display: inline-block;
    margin-top: var(--spacing-md);
    padding: 1rem 2rem;
    background: var(--gradient-1);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
}

/* ===========================
   Products Section
   =========================== */
.products {
    background: var(--dark-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--spacing-md);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.product-card:hover .product-glow {
    opacity: 1;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.product-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.product-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 16px;
    flex-shrink: 0;
}

.gradient-1 { background: var(--gradient-1); }
.gradient-2 { background: var(--gradient-2); }
.gradient-3 { background: var(--gradient-3); }
.gradient-4 { background: var(--gradient-4); }
.gradient-5 { background: var(--gradient-5); }
.gradient-6 { background: var(--gradient-6); }

.product-header h3 {
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    font-size: 1rem;
}

.product-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li i {
    color: var(--accent-blue);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
}

.product-tag {
    padding: 0.5rem 1rem;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 600;
}

.product-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.product-demo-btn:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateX(5px);
}

.product-demo-btn i {
    transition: var(--transition-fast);
}

.product-demo-btn:hover i {
    transform: translateX(3px);
}

/* ===========================
   Demo Section
   =========================== */
.demos {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 100%);
}

.demo-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.demo-tab {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.demo-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.demo-tab.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
}

.demo-content {
    display: none;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
    animation: fadeIn 0.5s ease;
}

.demo-content.active {
    display: grid;
}

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

.mockup-browser {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.browser-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27c93f; }

.browser-url {
    flex: 1;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.browser-content {
    display: flex;
    min-height: 400px;
}

.demo-sidebar {
    width: 200px;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-item {
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.sidebar-item.active {
    background: rgba(0, 102, 255, 0.1);
    color: var(--accent-blue);
    border-left-color: var(--accent-blue);
}

.demo-main {
    flex: 1;
    padding: 2rem;
}

.demo-main h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.demo-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.demo-stat-card {
    padding: 1.5rem;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    text-align: center;
}

.demo-stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.demo-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.demo-chart-area {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
}

.demo-chart-title {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.demo-chart {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 150px;
}

.demo-bar {
    flex: 1;
    background: var(--gradient-1);
    border-radius: 8px 8px 0 0;
    animation: barGrow 0.8s ease;
}

@keyframes barGrow {
    from { height: 0 !important; }
}

.demo-feature-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.feature-box-header {
    background: rgba(0, 102, 255, 0.1);
    padding: 1rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-box-content {
    padding: 1.5rem;
}

.progress-item {
    margin-bottom: 1rem;
}

.progress-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.progress-bar div {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 50px;
    animation: progressFill 1s ease;
}

@keyframes progressFill {
    from { width: 0 !important; }
}

.demo-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.pipeline-stage {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 120px;
}

.stage-header {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stage-count {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pipeline-arrow {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.demo-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.candidate-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.candidate-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.candidate-name {
    font-weight: 600;
    color: var(--text-primary);
}

.candidate-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.match-score {
    padding: 0.5rem 1rem;
    background: rgba(67, 233, 123, 0.2);
    border-radius: 8px;
    color: #43e97b;
    font-weight: 600;
    font-size: 0.9rem;
}

.exam-demo .demo-main {
    width: 100%;
}

.exam-config {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.config-item {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.config-item label {
    padding: 0.5rem 1rem;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--accent-blue);
}

.generated-questions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.question-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.difficulty-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 102, 255, 0.2);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--accent-blue);
}

.question-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.question-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.docs-demo .demo-main {
    width: 100%;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.doc-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.doc-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.doc-name {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.doc-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.doc-status.verified {
    background: rgba(67, 233, 123, 0.2);
    color: #43e97b;
}

.doc-status.pending {
    background: rgba(255, 189, 46, 0.2);
    color: #ffbd2e;
}

.blockchain-badge {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 600;
}

.campus-demo .demo-main {
    width: 100%;
}

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

.workflow-column {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1rem;
}

.column-header {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-blue);
    text-align: center;
}

.workflow-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.workflow-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.workflow-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.demo-description {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

.demo-description h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.demo-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.demo-highlights {
    list-style: none;
}

.demo-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-highlights li:last-child {
    border-bottom: none;
}

.demo-highlights li i {
    color: #ffd700;
    margin-top: 0.25rem;
}

/* ===========================
   Why Choose Us
   =========================== */
.why-us {
    background: var(--dark-card);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.why-card {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: var(--transition-normal);
    text-align: center;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.why-card h4 {
    font-size: 1.3rem;
    font-family: var(--font-display);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.why-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   Brand Story
   =========================== */
.brand-story {
    background: var(--dark-bg);
    position: relative;
}

.brand-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.story-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-family: var(--font-display);
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: var(--spacing-md);
}

.story-highlight {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: var(--spacing-lg) 0;
}

.story-finale {
    font-size: 1.25rem;
    color: var(--text-primary);
    background: rgba(0, 102, 255, 0.05);
    padding: var(--spacing-md);
    border-left: 4px solid var(--primary-blue);
    border-radius: 12px;
    margin-top: var(--spacing-lg);
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    background: linear-gradient(180deg, var(--dark-card) 0%, var(--dark-bg) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-card {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: var(--transition-normal);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateX(8px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.contact-card h4 {
    font-size: 1.3rem;
    font-family: var(--font-display);
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.contact-link:hover {
    gap: 0.75rem;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 400px;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--dark-card);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-col h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    font-family: var(--font-display);
    color: var(--text-primary);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ===========================
   AI Chat Widget
   =========================== */
.chat-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-normal);
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-strong);
}

.chat-icon {
    font-size: 1.5rem;
    color: white;
}

.chat-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-blue);
    opacity: 0.6;
    animation: chatPulse 2s ease-out infinite;
}

@keyframes chatPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.chat-window {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 400px;
    max-width: calc(100vw - 4rem);
    height: 600px;
    max-height: calc(100vh - 4rem);
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: var(--transition-normal);
}

.chat-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    padding: 1.5rem;
    background: rgba(0, 102, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.chat-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 45px;
    height: 45px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.chat-header-text h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.chat-status {
    font-size: 0.85rem;
    color: #43e97b;
}

.chat-close {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    animation: messageSlide 0.3s ease;
}

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

.message-avatar {
    width: 35px;
    height: 35px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.user-message .message-avatar {
    background: rgba(255, 255, 255, 0.1);
}

.message-content {
    flex: 1;
}

.message-content p {
    background: rgba(0, 102, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 12px 12px 12px 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content p {
    background: var(--gradient-1);
    color: white;
    border-radius: 12px 12px 0 12px;
}

.chat-input-container {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.75rem;
}

#chatInput {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-primary);
}

#chatInput:focus {
    outline: none;
    border-color: var(--primary-blue);
}

#chatSend {
    width: 45px;
    height: 45px;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatSend:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.chat-suggestions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-chip {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.suggestion-chip:hover {
    background: rgba(0, 102, 255, 0.2);
    border-color: var(--primary-blue);
    color: var(--text-primary);
}

/* ===========================
   Scroll Animations
   =========================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

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

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

    .demo-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 15, 30, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-md) 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

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

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        justify-content: space-around;
    }

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

    .card-1 {
        grid-column: 1;
    }

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

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

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

    .demo-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
    }

    .demo-tab {
        white-space: nowrap;
    }

    .browser-content {
        flex-direction: column;
    }

    .demo-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .demo-cards {
        grid-template-columns: 1fr;
    }

    .demo-pipeline {
        flex-direction: column;
    }

    .pipeline-arrow {
        transform: rotate(90deg);
    }

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

    .workflow-board {
        grid-template-columns: 1fr;
    }

    .chat-window {
        width: calc(100vw - 2rem);
        right: 1rem;
        bottom: 1rem;
    }

    .chat-toggle {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: var(--spacing-md);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 255, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 102, 255, 0.7);
}
