/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --cyan: #06b6d4;
    --purple: #a855f7;
    --dark-bg: #0a0e27;
    --dark-secondary: #151932;
    --dark-tertiary: #1e2742;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #06b6d4 100%);
    --gradient-neon: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #06b6d4 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.5);
    --shadow-neon: 0 0 40px rgba(99, 102, 241, 0.6), 0 0 80px rgba(236, 72, 153, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--dark-bg);
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundShift 20s ease infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: inline-block;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
    animation: logoGlow 3s ease-in-out infinite;
}

.navbar .logo-icon {
    width: 34px;
    height: 34px;
}

.footer .logo-icon {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.5));
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5)); }
    50% { filter: drop-shadow(0 0 18px rgba(99, 102, 241, 0.8)) drop-shadow(0 0 26px rgba(236, 72, 153, 0.5)); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-light);
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.btn-nav {
    background: var(--gradient-neon);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    color: white !important;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-nav:hover::before {
    left: 100%;
}

.btn-nav:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6), 0 0 50px rgba(236, 72, 153, 0.4);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 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;
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(99, 102, 241, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(236, 72, 153, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(6, 182, 212, 0.2), transparent),
        radial-gradient(3px 3px at 80% 20%, rgba(99, 102, 241, 0.2), transparent),
        radial-gradient(1px 1px at 30% 80%, rgba(236, 72, 153, 0.2), transparent);
    background-size: 200% 200%;
    animation: particles 20s ease infinite;
    filter: blur(0.5px);
}

@keyframes particles {
    0%, 100% { background-position: 0% 0%, 100% 100%, 50% 50%; }
    50% { background-position: 100% 0%, 0% 100%, 50% 50%; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.5);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3), inset 0 0 20px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: badgeShine 3s infinite;
}

@keyframes badgeShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 3s ease infinite;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.3));
}

@keyframes titleShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.highlight {
    background: var(--gradient-neon);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: highlightPulse 3s ease infinite;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.6));
}

@keyframes highlightPulse {
    0%, 100% { 
        background-position: 0% 50%;
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.6));
    }
    50% { 
        background-position: 100% 50%;
        filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.8)) drop-shadow(0 0 40px rgba(236, 72, 153, 0.5));
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-neon);
    background-size: 200% 200%;
    color: white;
    box-shadow: var(--shadow-neon);
    position: relative;
    overflow: hidden;
    animation: buttonGradient 3s ease infinite;
}

@keyframes buttonGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.8), 0 0 60px rgba(236, 72, 153, 0.6), 0 0 80px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--dark-tertiary);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.hero-image {
    position: relative;
}

.product-showcase {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(60px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.product-placeholder {
    position: relative;
    z-index: 1;
    background: rgba(21, 25, 50, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 60px rgba(99, 102, 241, 0.1),
        0 0 40px rgba(99, 102, 241, 0.2);
    transition: all 0.5s ease;
}

.product-placeholder::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-neon);
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(10px);
}

.product-placeholder:hover::before {
    opacity: 0.5;
}

.product-placeholder:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 80px rgba(99, 102, 241, 0.2),
        0 0 60px rgba(99, 102, 241, 0.4);
}

.product-icon {
    width: clamp(90px, 18vw, 150px);
    height: clamp(90px, 18vw, 150px);
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
    transition: transform 0.3s ease;
}

.product-placeholder:hover .product-icon {
    transform: scale(1.05);
}

.product-placeholder p {
    color: var(--text-muted);
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Section divider beam */
.section-header::after {
    content: '';
    display: block;
    width: 160px;
    height: 2px;
    margin: 1rem auto 0;
    background: var(--gradient-neon);
    filter: drop-shadow(0 0 10px rgba(99,102,241,0.6));
    border-radius: 999px;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 4s ease infinite;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--dark-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Highlights */
#highlights {
    background: var(--dark-bg);
}

.highlight-carousel {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.highlight-viewport {
    position: relative;
    flex: 1;
    height: clamp(240px, 42vw, 420px);
    perspective: 1200px;
}

.highlight-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.highlight-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(260px, 62vw, 720px);
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    pointer-events: none;
    filter: blur(6px);
    transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
}

.highlight-slide.is-center {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    filter: none;
    z-index: 3;
    pointer-events: auto;
}

.highlight-slide.is-prev {
    transform: translate(-115%, -50%) scale(0.82);
    opacity: 0.6;
    filter: blur(3px);
    z-index: 2;
}

.highlight-slide.is-next {
    transform: translate(15%, -50%) scale(0.82);
    opacity: 0.6;
    filter: blur(3px);
    z-index: 2;
}

.highlight-slide.is-hidden {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    filter: blur(12px);
    z-index: 1;
}

.highlight-card {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(10, 14, 39, 0.68);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}

.highlight-embed {
    width: 100%;
    height: 100%;
    border: 0;
    flex: 1;
}

.highlight-embed video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-fallback {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.highlight-card:hover .highlight-fallback {
    opacity: 1;
    pointer-events: auto;
}

.highlight-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,0,0,0.9);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease;
}

.highlight-link:hover {
    background: rgba(255,0,0,1);
    transform: translateY(-2px);
}

.highlight-link span {
    font-size: 1rem;
}

.highlight-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 18px;
}

.highlight-nav {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    border: 1px solid rgba(148,163,255,0.28);
    background: linear-gradient(135deg, rgba(30,64,175,0.4), rgba(124,58,237,0.35));
    color: #e0e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.35);
}

.highlight-nav span {
    font-size: 2rem;
    line-height: 1;
}

.highlight-nav:hover {
    transform: translateY(-2px);
    border-color: rgba(129,140,248,0.6);
    box-shadow: 0 18px 32px rgba(99,102,241,0.35);
}

.highlight-nav:active {
    transform: translateY(0);
}

.highlight-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 1024px) {
    .highlight-carousel {
        gap: 1rem;
    }

    .highlight-slide.is-prev {
        transform: translate(-105%, -50%) scale(0.78);
    }

    .highlight-slide.is-next {
        transform: translate(5%, -50%) scale(0.78);
    }
}

@media (max-width: 768px) {
    .highlight-carousel {
        gap: 0.5rem;
    }

    .highlight-viewport {
        height: clamp(220px, 55vw, 360px);
    }

    .highlight-slide {
        width: 100%;
    }

    .highlight-nav {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .highlight-slide.is-prev,
    .highlight-slide.is-next {
        display: none;
    }
}

/* Force 4 columns on large screens */
@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Keep 2 columns on medium screens */
@media (min-width: 769px) and (max-width: 1199px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 800px;
    will-change: transform, box-shadow;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-neon);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(20px);
}

.feature-card:hover::before {
    opacity: 0.3;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02) rotateX(2deg) rotateY(-3deg);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(99, 102, 241, 0.4),
        inset 0 0 40px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Specs Section */
.specs-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Requirements section: 2x2 grid for items on top, diagram below */
#requirements .specs-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
}

#requirements .specs-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Add space between description (p) and the grid below */
#requirements .specs-content > p.section-description {
    margin-bottom: 2.5rem;
}

#requirements .specs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

#requirements .specs-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

#requirements .specs-card {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
}

/* Enhanced diagram frame - neon glass look */
#requirements .specs-card {
    background: rgba(15, 20, 40, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    padding: 1.25rem; /* compact padding to enlarge image area */
}

#requirements .specs-card::before { content: none; }
#requirements .specs-card::after { content: none; }

#requirements .specs-placeholder { background: transparent; border-radius: 12px; }

#requirements .diagram-image { border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
#requirements .diagram-image { transition: transform 0.5s ease, box-shadow 0.5s ease; }

@media (max-width: 768px) {
    #requirements .specs-list {
        grid-template-columns: 1fr;
    }
    #requirements .specs-card {
        max-width: 100%;
        padding: 0.75rem;
    }
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(21, 25, 50, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.spec-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-neon);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.spec-item:hover::before {
    transform: scaleY(1);
}

.spec-item:hover {
    border-color: rgba(99, 102, 241, 0.6);
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(99, 102, 241, 0.3);
    background: rgba(21, 25, 50, 0.8);
}

.spec-label {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

.spec-value {
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.specs-visual {
    position: relative;
}

.specs-card {
    position: relative;
    background: rgba(21, 25, 50, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 3rem;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 60px rgba(236, 72, 153, 0.1);
    transition: all 0.5s ease;
}

.specs-card:hover {
    transform: scale(1.05) rotateY(5deg);
    border-color: rgba(236, 72, 153, 0.6);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 80px rgba(236, 72, 153, 0.2),
        0 0 60px rgba(236, 72, 153, 0.4);
}

.specs-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    border-radius: 24px;
    opacity: 0.2;
    filter: blur(40px);
    z-index: -1;
}

.specs-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.specs-placeholder p {
    color: var(--text-muted);
}

.diagram-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    display: block;
}

/* Requirements diagram: use image native aspect ratio ~2.06:1 */
#requirements .specs-card {
    aspect-ratio: 206 / 100;
    padding: 1.5rem;
}

#requirements .specs-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#requirements .diagram-image {
    width: 100%;
    height: auto;
    max-height: 100%;
}

@media (max-width: 768px) {
    #requirements .specs-card {
        aspect-ratio: 16 / 9;
        padding: 1rem;
    }
}

/* Benefits Section */
.benefits {
    background: var(--dark-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    position: relative;
    padding: 2rem;
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-item:hover::before {
    opacity: 1;
}

.benefit-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(236, 72, 153, 0.6);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(236, 72, 153, 0.4),
        inset 0 0 40px rgba(236, 72, 153, 0.1);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.benefit-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(21, 25, 50, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-neon);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.testimonial-card:hover::after {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02) rotateX(1deg);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(99, 102, 241, 0.4),
        inset 0 0 40px rgba(99, 102, 241, 0.1);
}

.testimonial-rating {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dark-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    background: var(--dark-secondary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-form {
    margin-bottom: 2rem;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 
        0 0 0 3px rgba(99, 102, 241, 0.1),
        0 0 20px rgba(99, 102, 241, 0.3);
    background: rgba(10, 14, 39, 0.8);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.cta-icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    border-top: 1px solid var(--dark-tertiary);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-tertiary);
    color: var(--text-muted);
}

/* ============================================
   SPECIAL EFFECTS - UNIQUE DESIGN ELEMENTS
   ============================================ */

/* Circuit Board Pattern */
.circuit-board {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(236, 72, 153, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(236, 72, 153, 0.05) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    opacity: 0.3;
    animation: circuitMove 20s linear infinite;
    pointer-events: none;
}

@keyframes circuitMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

/* Floating 3D Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.1;
    filter: blur(1px);
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--gradient-neon);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    left: 10%;
    animation: float1 15s ease-in-out infinite;
    transform: rotate(45deg);
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--gradient-2);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 60%;
    right: 15%;
    animation: float2 20s ease-in-out infinite;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--gradient-3);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    bottom: 20%;
    left: 20%;
    animation: float3 18s ease-in-out infinite;
    transform: rotate(45deg);
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: var(--gradient-1);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    top: 30%;
    right: 30%;
    animation: float4 22s ease-in-out infinite;
}

.shape-5 {
    width: 80px;
    height: 80px;
    background: var(--gradient-neon);
    border-radius: 50%;
    bottom: 40%;
    right: 10%;
    animation: float5 16s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(45deg) scale(1); }
    33% { transform: translate(50px, -50px) rotate(90deg) scale(1.2); }
    66% { transform: translate(-30px, 30px) rotate(0deg) scale(0.8); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-40px, 40px) rotate(180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(45deg); }
    50% { transform: translate(60px, -30px) rotate(225deg); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, -50px) rotate(120deg); }
}

@keyframes float5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 40px) scale(1.5); }
}

/* Matrix Canvas */
#matrixCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

/* Holographic Effect */
.holographic-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(99, 102, 241, 0.1) 50%,
        transparent 70%
    );
    animation: holographic 4s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes holographic {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Circuit Rings */
.circuit-ring {
    position: absolute;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.ring-1 {
    width: 120%;
    height: 120%;
    border-style: dashed;
    animation: ringRotate 20s linear infinite;
    border-color: rgba(99, 102, 241, 0.2);
}

.ring-2 {
    width: 140%;
    height: 140%;
    border-style: dotted;
    animation: ringRotate 25s linear infinite reverse;
    border-color: rgba(236, 72, 153, 0.2);
}

.ring-3 {
    width: 160%;
    height: 160%;
    border-style: solid;
    border-width: 1px;
    animation: ringRotate 30s linear infinite;
    border-color: rgba(6, 182, 212, 0.2);
}

@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hexagon Border */
.hexagon-border {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    border: 3px solid rgba(99, 102, 241, 0.4);
    animation: hexagonPulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes hexagonPulse {
    0%, 100% { 
        opacity: 0.4;
        transform: scale(1);
        border-color: rgba(99, 102, 241, 0.4);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.05);
        border-color: rgba(99, 102, 241, 0.8);
    }
}

/* Scanline Effect */
.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(99, 102, 241, 0.5),
        transparent
    );
    animation: scanlineMove 3s linear infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes scanlineMove {
    0% { top: 0; opacity: 1; }
    50% { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

/* Card Circuit Pattern */
.card-circuit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 20px;
}

.feature-card:hover .card-circuit {
    opacity: 0.3;
    animation: circuitFlow 2s linear infinite;
}

@keyframes circuitFlow {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

/* Hexagon Background */
.hexagon-bg {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 1rem;
    right: 1rem;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    background: var(--gradient-neon);
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(10px);
    z-index: 0;
}

.feature-card:hover .hexagon-bg {
    opacity: 0.2;
    animation: hexagonRotate 4s linear infinite;
}

@keyframes hexagonRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Card Glow */
.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.feature-card:hover .card-glow {
    width: 200%;
    height: 200%;
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Enhanced Product Placeholder */
.product-placeholder {
    position: relative;
    overflow: hidden;
}

.product-placeholder::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(99, 102, 241, 0.1),
        transparent,
        rgba(236, 72, 153, 0.1),
        transparent
    );
    animation: conicRotate 6s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes conicRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cyberpunk Text Effect */
.hero-title,
.section-title {
    position: relative;
    text-shadow: 
        0 0 10px rgba(99, 102, 241, 0.5),
        0 0 20px rgba(99, 102, 241, 0.3),
        0 0 30px rgba(236, 72, 153, 0.2);
}

/* Unique Badge Effect */
.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: badgeSweep 3s infinite;
}

@keyframes badgeSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Feature Icon */
.feature-icon {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.8));
}

.feature-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
}

/* Lightbox (diagram zoom) */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox.active { display: flex; }

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(8px) saturate(140%);
}

.lightbox-content {
    position: relative;
    max-width: min(92vw, 1400px);
    max-height: 86vh;
    padding: 0.75rem;
    border-radius: 16px;
    background: rgba(15, 20, 40, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 50px rgba(99,102,241,0.35);
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(2, 6, 23, 0.6);
    color: var(--text-primary);
    font-size: 20px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
}

.lightbox-close:hover {
    background: rgba(2, 6, 23, 0.8);
}

/* Architecture / How It Works Section */
.architecture {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.architecture-diagram {
    margin-top: 3rem;
    position: relative;
}

.diagram-container {
    position: relative;
    width: 100%;
    min-height: 600px;
    padding: 2rem;
    background: rgba(15, 20, 40, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 0 40px rgba(99, 102, 241, 0.05);
}

.diagram-box {
    position: absolute;
    background: rgba(21, 25, 50, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.2);
    transition: all 0.4s ease;
    z-index: 10;
    overflow: hidden;
}

.diagram-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.diagram-box:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.4);
}

.diagram-box:hover::before {
    opacity: 1;
}

.diagram-mouse-device:hover {
    transform: translateX(-50%);
}

.box-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: -1;
}

.diagram-box:hover .box-glow {
    width: 200%;
    height: 200%;
    animation: glowPulse 2s ease-in-out infinite;
}

.diagram-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.diagram-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    position: relative;
    z-index: 2;
    text-align: center;
}

.diagram-gaming-pc {
    left: 5%;
    top: 15%;
    width: 220px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.diagram-duckz-pc {
    right: 5%;
    top: 15%;
    width: 280px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* Subtle inner sheen and gradient border for prettier boxes */
.diagram-box::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 14px;
    background: radial-gradient(120% 120% at 10% 10%, rgba(99,102,241,0.08), transparent 40%),
                radial-gradient(120% 120% at 90% 20%, rgba(236,72,153,0.08), transparent 45%),
                radial-gradient(140% 140% at 50% 120%, rgba(6,182,212,0.06), transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.diagram-box {
    border-image: linear-gradient(135deg, rgba(99,102,241,0.6), rgba(236,72,153,0.35), rgba(6,182,212,0.4)) 1;
}

.diagram-duckz-pc .diagram-title {
    width: 100%;
    text-align: center;
    margin: 0;
}

.diagram-duckz-pc .diagram-title .line {
    display: block;
    line-height: 1.2;
}

.diagram-duckz-pc .diagram-title .plus {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0.15rem 0 0.25rem 0;
}

.diagram-mouse-device {
    left: 50%;
    top: 65%;
    transform: translateX(-50%);
    width: 240px;
    min-height: 80px;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.diagram-mouse {
    left: 10%;
    top: 68%;
    width: 160px;
    min-height: 70px;
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.duckz-highlight {
    color: #fbbf24;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.duckz-features {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

.duckz-features li {
    padding: 0.25rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.duckz-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: bold;
}

.diagram-arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
}

.arrow-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawArrow 2s ease-in-out forwards;
    filter: drop-shadow(0 0 3px currentColor);
}

.arrow-path:nth-of-type(1) { animation-delay: 0.2s; }
.arrow-path:nth-of-type(2) { animation-delay: 0.4s; }
.arrow-path:nth-of-type(3) { animation-delay: 0.6s; }
.arrow-path:nth-of-type(4) { animation-delay: 0.8s; }

@keyframes drawArrow {
    to {
        stroke-dashoffset: 0;
    }
}

.arrow-label {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: 0.2px;
    paint-order: stroke fill;
    /* Softer, more readable contrast */
    stroke: rgba(0, 0, 0, 0.65);
    stroke-width: 2.2px;
    fill: #eaf2ff !important;
    text-shadow: none;
    filter: none;
    opacity: 0;
    animation: fadeInLabel 0.5s ease-in-out forwards;
}

.arrow-label:nth-of-type(1) { animation-delay: 0.3s; }
.arrow-label:nth-of-type(2) { animation-delay: 0.5s; }
.arrow-label:nth-of-type(3) { animation-delay: 0.7s; }
.arrow-label:nth-of-type(4) { animation-delay: 0.9s; }

@keyframes fadeInLabel {
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        justify-content: space-around;
    }

    .specs-wrapper {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .order-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .features-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Architecture Diagram Responsive */
    .diagram-container {
        min-height: 800px;
        padding: 1rem;
    }

    .diagram-box {
        position: relative;
        min-width: auto;
        max-width: 100%;
        margin-bottom: 1.5rem;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .diagram-gaming-pc,
    .diagram-capture-card,
    .diagram-duckz-pc,
    .diagram-mouse-device,
    .diagram-mouse {
        position: relative;
        margin: 0 auto 1.5rem;
    }

    .diagram-arrows {
        display: none;
    }
}

