:root {
    --bg: #0a0a0f;
    --bg-alt: #111118;
    --card: #16161f;
    --card-hover: #1c1c28;
    --border: rgba(99, 102, 241, 0.15);
    --text: #e8e8ed;
    --text-muted: #8b8b9e;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.35);
    --purple: #7c3aed;
    --gradient: linear-gradient(135deg, #6366f1, #7c3aed);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Nav */
.vc-nav {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    transition: background 0.3s;
}

.vc-nav.scrolled { background: rgba(10, 10, 15, 0.97); }

.navbar-toggler {
    border-color: var(--border);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
    filter: invert(1);
}

.vc-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.vc-logo span { color: var(--accent-light); }

.nav-link {
    color: var(--text-muted) !important;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

/* Buttons */
.vc-btn-primary {
    background: var(--gradient);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vc-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.vc-btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent-light);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.vc-btn-outline:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-light);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

.hero-content { position: relative; z-index: 2; }

.hero-logo { font-size: 2.5rem; }

.hero-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 2rem;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 5rem 0; }

.section-alt { background: var(--bg-alt); }

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

/* Product cards */
.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.product-image-wrap {
    margin: -1.5rem -1.5rem 1.25rem;
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid var(--border);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.product-card:hover .product-image {
    transform: scale(1.04);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.product-card.featured {
    border-color: rgba(99, 102, 241, 0.35);
    background: linear-gradient(160deg, var(--card) 0%, rgba(99, 102, 241, 0.08) 100%);
}

.product-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-desc { color: var(--text-muted); margin-bottom: 1.25rem; }

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.product-features li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* Feature cards */
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon { font-size: 2rem; margin-bottom: 0.75rem; }

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* Steps */
.steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 480px;
    margin: 0 auto;
}

.step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: center;
    width: 100%;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.step p { margin: 0; font-weight: 500; }

.step-arrow {
    color: var(--accent);
    font-size: 1.5rem;
    padding: 0.5rem 0;
}

/* Audience */
.audience-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.3s, border-color 0.3s;
}

.audience-card:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.35);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(124, 58, 237, 0.08) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 2rem;
}

/* Contacts */
.contact-item { margin-bottom: 1.5rem; }

.contact-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--accent-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-item a:hover { text-decoration: underline; }

.contact-form .form-control {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.contact-form .form-control:focus {
    background: var(--card);
    border-color: var(--accent);
    color: var(--text);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Footer */
.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
}

.footer-logo { font-size: 1.25rem; margin-bottom: 0.5rem; }

.footer-tagline { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-end;
}

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

.footer-links a:hover { color: var(--accent-light); }

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 767px) {
    .section { padding: 3.5rem 0; }
    .footer-links { justify-content: flex-start; }
    .hero-glow { width: 300px; height: 300px; }
}

@media (min-width: 768px) {
    .steps {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 100%;
        justify-content: center;
        gap: 0;
    }

    .step { width: calc(25% - 1rem); }
    .step-arrow { width: auto; padding: 0 0.5rem; align-self: center; }
}
