/* ========================
   CSS VARIABLES & ROOT STYLES
   ======================== */
:root {
    /* Colors */
    --primary: #00d4ff;
    --primary-dark: #0099ff;
    --secondary: #ff006e;
    --accent: #00ff88;
    --bg-dark: #0a0e27;
    --bg-darker: #050812;
    --text-primary: #ffffff;
    --text-secondary: #b0b8d4;
    --border-color: rgba(255, 255, 255, 0.1);
    --glow-primary: rgba(0, 212, 255, 0.3);
    --glow-secondary: rgba(255, 0, 110, 0.2);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 212, 255, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.2);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 3rem;
    --font-size-4xl: 4rem;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================
   GLOBAL STYLES
   ======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ========================
   LOADING SCREEN
   ======================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.8s ease-in-out 2.8s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.ai-loader {
    text-align: center;
    animation: slideUp 0.8s ease-out 0.5s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loader-core {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-right-color: var(--primary);
    border-radius: 50%;
    animation: spin 2s linear infinite;
    box-shadow: 0 0 20px var(--glow-primary);
}

.loader-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: var(--secondary);
    border-right-color: var(--secondary);
    animation: spin 1.5s linear infinite reverse;
    box-shadow: 0 0 20px var(--glow-secondary);
}

.loader-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: var(--accent);
    border-right-color: var(--accent);
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-subtext {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    animation: progress 2s ease-in-out;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 80%; }
    100% { width: 100%; }
}

/* ========================
   AUTH MODALS
   ======================== */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 18, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.auth-modal.hidden {
    opacity: 0;
    visibility: hidden;
}

.auth-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    animation: slideInCenter 0.6s ease-out;
}

@keyframes slideInCenter {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 212, 255, 0.2);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgba(10, 14, 39, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
}

.auth-left {
    padding: 4rem;
}

.auth-left h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-left p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    background: rgba(0, 212, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--glow-primary);
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

.input-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.form-group input:focus + .input-glow {
    opacity: 0.1;
}

.password-strength {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: -0.5rem;
}

.strength-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    animation: strengthPulse 1.5s ease-in-out infinite;
}

@keyframes strengthPulse {
    0%, 100% { opacity: 0.6; width: 70%; }
    50% { opacity: 1; width: 100%; }
}

.strength-text {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.auth-toggle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.switch-auth {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.switch-auth:hover {
    color: var(--accent);
}

.auth-right {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 110, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-bg-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--glow-primary), transparent);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.auth-decoration {
    width: 200px;
    height: 200px;
    position: relative;
    z-index: 1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        padding: 2rem;
    }
    
    .auth-right {
        display: none;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
    }
}

/* ========================
   NEURAL CANVAS
   ======================== */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.25;
    pointer-events: none;
}

/* ========================
   NAVIGATION
   ======================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    animation: slideDown 0.6s ease-out 2.5s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    font-size: 1.75rem;
    filter: drop-shadow(0 0 10px var(--primary));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-divider {
    width: 1px;
    height: 25px;
    background: var(--border-color);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--glow-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.cta-nav {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px var(--glow-primary);
}

.cta-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--glow-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease-out 3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.title-word {
    display: inline-block;
    margin: 0 0.2em;
    animation: wordAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
    font-weight: 900;
}

.title-word:nth-child(1) { animation-delay: 3.1s; }
.title-word:nth-child(2) { animation-delay: 3.2s; }
.title-word:nth-child(3) { animation-delay: 3.3s; }
.title-word:nth-child(4) { animation-delay: 3.4s; }
.title-word:nth-child(5) { animation-delay: 3.5s; }
.title-word:nth-child(6) { animation-delay: 3.6s; }
.title-word:nth-child(7) { animation-delay: 3.7s; }
.title-word:nth-child(8) { animation-delay: 3.8s; }

@keyframes wordAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-word:nth-child(2),
.title-word:nth-child(4),
.title-word:nth-child(6),
.title-word:nth-child(8) {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--glow-primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    animation: bounce 2s ease-in-out infinite 3.5s;
}

.scroll-indicator span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary);
    border-top: transparent;
    border-left: transparent;
    border-radius: 0 0 4px 0;
    animation: scrollBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 5px var(--glow-primary));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes scrollBounce {
    0%, 100% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; transform: translateY(10px); }
}

.hero-animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary), transparent);
    top: 10%;
    left: -10%;
    animation: float 20s ease-in-out infinite;
    box-shadow: 0 0 100px var(--glow-primary);
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary), transparent);
    top: 40%;
    right: 5%;
    animation: float 25s ease-in-out infinite reverse;
    box-shadow: 0 0 80px var(--glow-secondary);
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent), transparent);
    bottom: 10%;
    left: 40%;
    animation: float 22s ease-in-out infinite;
    box-shadow: 0 0 60px rgba(0, 255, 136, 0.2);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(50px); }
}

/* ========================
   BUTTONS
   ======================== */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    display: inline-block;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    z-index: -1;
}

.btn:hover::before {
    animation: shimmer 0.6s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--glow-primary);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 50px var(--glow-primary);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 30px var(--glow-primary);
}

.btn-small {
    padding: 0.65rem 1.3rem;
    font-size: 0.85rem;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* ========================
   SECTIONS
   ======================== */
section {
    position: relative;
    z-index: 2;
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ========================
   FEATURES SECTION
   ======================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.8s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--glow-primary);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================
   HOW IT WORKS
   ======================== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    align-items: center;
    position: relative;
}

.step-item {
    text-align: center;
    animation: fadeInUp 0.8s ease-out both;
}

.step-item:nth-child(1) { animation-delay: 0.1s; }
.step-item:nth-child(2) { animation-delay: 0.2s; }
.step-item:nth-child(3) { animation-delay: 0.3s; }
.step-item:nth-child(4) { animation-delay: 0.4s; }
.step-item:nth-child(5) { animation-delay: 0.5s; }
.step-item:nth-child(6) { animation-delay: 0.6s; }
.step-item:nth-child(7) { animation-delay: 0.7s; }

.step-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.step-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-item p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.step-animation {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.data-particles {
    position: relative;
    width: 80px;
    height: 80px;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 10px var(--glow-primary);
}

.particle:nth-child(1) {
    animation: particle-move 2s ease-in-out infinite;
}

.particle:nth-child(2) {
    animation: particle-move 2s ease-in-out infinite 0.66s;
}

.particle:nth-child(3) {
    animation: particle-move 2s ease-in-out infinite 1.32s;
}

@keyframes particle-move {
    0% {
        left: 40px;
        top: 40px;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 0;
        top: 0;
        opacity: 0;
    }
}

.ai-brain {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.brain-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary);
    animation: pulse-scale 2s ease-in-out infinite;
    box-shadow: 0 0 20px var(--glow-primary);
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.risk-meter {
    position: relative;
    width: 100px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 10px;
    animation: fillMeter 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--glow-primary);
}

@keyframes fillMeter {
    0%, 100% { width: 0%; }
    50% { width: 100%; }
}

.recommendation-items {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.rec-item {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    animation: pop-in 0.6s ease-out both;
    box-shadow: 0 0 15px var(--glow-primary);
}

.rec-item:nth-child(1) { animation-delay: 0s; }
.rec-item:nth-child(2) { animation-delay: 0.3s; }
.rec-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes pop-in {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.step-connector {
    display: none;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    grid-column: 1 / -1;
}

/* ========================
   DEMO SECTION
   ======================== */
.demo-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 3rem;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-panel {
    background: rgba(10, 14, 39, 0.5);
    border-radius: 20px;
    padding: 2rem;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.panel-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.panel-date {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: rgba(0, 212, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.metric-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--glow-primary);
    transform: translateY(-5px);
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.metric-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.progress-ring {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-ring__circle {
    stroke-dasharray: 340;
    stroke-dashoffset: 0;
    stroke: url(#gradient);
    stroke-width: 8;
    fill: transparent;
    animation: progressFill 2s ease-out forwards;
    filter: drop-shadow(0 0 10px var(--glow-primary));
}

@keyframes progressFill {
    from {
        stroke-dashoffset: 340;
    }
    to {
        stroke-dashoffset: 25;
    }
}

.metric-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
    border: 1px solid var(--border-color);
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    animation: expandWidth 1.5s ease-out;
    box-shadow: 0 0 15px var(--glow-primary);
}

.bar-fill.stress {
    background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.bar-fill.activity {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

@keyframes expandWidth {
    from {
        width: 0 !important;
    }
}

.metric-value-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.chart-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.chart-container h4 {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.mini-chart {
    width: 100%;
    height: 120px;
    stroke: var(--primary);
    stroke-width: 3;
    fill: none;
    filter: drop-shadow(0 0 15px var(--glow-primary));
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ========================
   VOICE ASSISTANT
   ======================== */
.voice-assistant {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(255, 0, 110, 0.08));
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.voice-container {
    max-width: 600px;
    margin: 0 auto;
}

.voice-box {
    background: rgba(10, 14, 39, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
}

.microphone-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.mic-icon {
    width: 100%;
    height: 100%;
    color: var(--primary);
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 20px var(--glow-primary));
}

.sound-waves {
    display: flex;
    gap: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave {
    width: 50px;
    height: 50px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: soundWave 2s ease-out infinite;
    box-shadow: 0 0 15px var(--glow-primary);
}

.wave:nth-child(1) {
    animation-delay: 0s;
}

.wave:nth-child(2) {
    animation-delay: 0.66s;
}

.wave:nth-child(3) {
    animation-delay: 1.32s;
}

@keyframes soundWave {
    0% {
        opacity: 1;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

.voice-transcript {
    margin: 2rem 0;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
}

.ai-response {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.8;
    font-style: italic;
}

.voice-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================
   DOCUMENT SCANNER
   ======================== */
.document-scanner {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.08), rgba(0, 212, 255, 0.08));
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.scanner-container {
    max-width: 700px;
    margin: 0 auto;
}

.upload-area {
    background: rgba(10, 14, 39, 0.3);
    border: 3px dashed rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-slow);
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
    transform: translateY(-5px);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.9;
    filter: drop-shadow(0 0 10px var(--glow-primary));
}

.upload-icon svg {
    width: 60px;
    height: 60px;
}

.upload-area h3 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.upload-area p {
    color: var(--text-secondary);
}

.scanner-preview {
    display: none;
    margin-top: 2rem;
}

.scan-animation {
    background: rgba(10, 14, 39, 0.3);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    top: 0;
    animation: scanDown 2s ease-in-out infinite;
    box-shadow: 0 0 20px var(--glow-primary);
}

@keyframes scanDown {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

.scan-status {
    position: relative;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.scan-result {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.05));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.result-header h4 {
    color: var(--accent);
    font-weight: 700;
    margin: 0;
}

.result-details p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.extracted-text {
    background: rgba(0, 212, 255, 0.03);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.extracted-text h5 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.extracted-text p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================
   TEAM SECTION
   ======================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-slow);
    position: relative;
    animation: fadeInUp 0.8s ease-out both;
    overflow: hidden;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }

.team-member::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--glow-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover::before {
    opacity: 0.5;
}

.team-member:hover {
    transform: translateY(-20px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.member-image {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.member-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: var(--transition-slow);
}

.member-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.team-member:hover .member-photo {
    transform: scale(1.08);
    border-color: var(--primary);
    box-shadow: 
        0 20px 60px rgba(0, 212, 255, 0.3),
        0 0 0 1px var(--primary),
        inset 0 0 0 1px rgba(0, 212, 255, 0.2),
        0 0 40px rgba(0, 212, 255, 0.4);
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.member-role {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    border: 2px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--glow-primary);
    transform: translateY(-3px);
}

/* ========================
   TESTIMONIALS SECTION
   ======================== */
.testimonials {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(0, 255, 136, 0.08));
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out both;
    position: relative;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.rating {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
}

.star {
    color: #444;
    transition: color 0.2s ease;
}

.star.filled {
    color: #ffd700;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.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: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 20px var(--glow-primary);
}

.author-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ========================
   PRICING SECTION
   ======================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition-slow);
    position: relative;
    animation: fadeInUp 0.8s ease-out both;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

.pricing-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
    transform: scale(1.08);
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.08));
    box-shadow: 0 0 50px var(--glow-primary);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-15px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 0 30px var(--glow-primary);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    font-weight: 800;
}

.price {
    margin: 1.5rem 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.currency {
    font-size: 1.3rem;
    color: var(--primary);
}

.amount {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    min-height: 200px;
}

.features-list li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

.features-list li:last-child {
    border-bottom: none;
}

/* ========================
   FINAL CTA SECTION
   ======================== */
.final-cta {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(255, 0, 110, 0.12));
    border: 2px solid var(--border-color);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    animation: slideInUp 1s ease-out;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--glow-primary), transparent);
    border-radius: 50%;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 900;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ========================
   FOOTER
   ======================== */
.footer {
    background: linear-gradient(180deg, var(--bg-darker), var(--bg-dark));
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-section a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--glow-primary);
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-social:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--glow-primary);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .hero {
        padding: 4rem 1.5rem 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .step-connector {
        display: block;
        height: 4px;
        margin: 1rem 0;
    }

    .team-member {
        padding: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-15px);
    }

    .demo-container {
        padding: 1.5rem;
    }

    .demo-panel {
        padding: 1.5rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .title-word {
        margin: 0.1em;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .voice-box {
        padding: 2rem;
    }

    .auth-left {
        padding: 2.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
    }

    section {
        padding: 2rem 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .logo-text {
        display: none;
    }

    .hero {
        padding: 3rem 1rem 1rem;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .demo-container {
        padding: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .result-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========================
   SCROLLBAR STYLING
   ======================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 5px;
    box-shadow: 0 0 10px var(--glow-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent), var(--primary));
}

/* ========================
   SELECTION & FOCUS
   ======================== */
::selection {
    background: var(--primary);
    color: var(--bg-dark);
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ========================
   GRADIENT DEFINITIONS
   ======================== */
svg defs {
    display: none;
}

/* ========================
   UTILITY CLASSES
   ======================== */
.glow {
    filter: drop-shadow(0 0 20px var(--glow-primary));
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
