/* VoxAgent Website Styles */
/* Uses same design language as main app */

/* ============================================
   ROOT VARIABLES & FONTS
   ============================================ */
:root {
    --color-bg: #000000;
    --color-card: #111827;
    --color-border: #1f2937;
    --color-border-hover: #374151;
    --color-text: #e2e8f0;
    --color-text-muted: #9ca3af;
    --color-cyan: #06b6d4;
    --color-purple: #8b5cf6;
    --color-emerald: #10b981;
    --gradient-accent: linear-gradient(135deg, #40E0D0, #6A5ACD);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   GRADIENT TEXT
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, #40E0D0 0%, #6A5ACD 50%, #40E0D0 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Feature cards hover effect */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-accent);
    border-radius: 0.75rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(106, 90, 205, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--color-border);
}

/* ============================================
   NAVIGATION
   ============================================ */
nav a {
    text-decoration: none;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* ============================================
   SECTION SPACING
   ============================================ */
section {
    position: relative;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--color-border-hover);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .gradient-text {
        font-size: 2.5rem !important;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-border-hover);
}

/* ============================================
   FOCUS STATES (Accessibility)
   ============================================ */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-cyan);
    outline-offset: 2px;
}

/* ============================================
   SELECTION STYLES
   ============================================ */
::selection {
    background: rgba(6, 182, 212, 0.3);
    color: white;
}

/* ============================================
   LINK STYLES
   ============================================ */
a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   BACKGROUND GLOW EFFECTS
   ============================================ */
.glow-cyan {
    box-shadow: 0 0 60px rgba(6, 182, 212, 0.3);
}

.glow-purple {
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.3);
}

.glow-emerald {
    box-shadow: 0 0 60px rgba(16, 185, 129, 0.3);
}

/* ============================================
   WIZARD COMPONENT
   ============================================ */
.wizard-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wizard-dot:hover {
    background: var(--color-border-hover);
    transform: scale(1.2);
}

.wizard-dot.active {
    background: var(--gradient-accent);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.wizard-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.wizard-step.active {
    display: block;
}

.wizard-step img {
    max-height: 400px;
    object-fit: contain;
    background: #0a0a0a;
}

@media (max-width: 768px) {
    .wizard-dot {
        width: 10px;
        height: 10px;
    }
    
    .wizard-step img {
        max-height: 250px;
    }
    
    #wizardPrev, #wizardNext {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    #wizardStepText {
        font-size: 0.75rem;
    }
}
