/* QuantVault Main Site Styles */

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

:root {
    --quantum-blue: #5eb3d6;
    --midnight: #0f1419;
    --charcoal: #1a202e;
    --slate: #2d3748;
    --pearl: #f7fafc;
    --silver: #a0aec0;
    --emerald: #00ff88;
    --amber: #f6ad55;
}

::selection {
    background: var(--quantum-blue);
    color: white;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--midnight);
    color: var(--pearl);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animated Particles Background */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #5eb3d6;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite linear;
}

@keyframes float {
    from {
        transform: translateY(100vh) translateX(0);
    }
    to {
        transform: translateY(-100px) translateX(100px);
    }
}

.particle:nth-child(1) { left: 10%; animation-duration: 25s; animation-delay: 0s; opacity: 0.4; }
.particle:nth-child(2) { left: 20%; animation-duration: 20s; animation-delay: 2s; opacity: 0.3; }
.particle:nth-child(3) { left: 30%; animation-duration: 30s; animation-delay: 4s; opacity: 0.5; }
.particle:nth-child(4) { left: 40%; animation-duration: 18s; animation-delay: 1s; opacity: 0.3; }
.particle:nth-child(5) { left: 50%; animation-duration: 22s; animation-delay: 3s; opacity: 0.4; }
.particle:nth-child(6) { left: 60%; animation-duration: 28s; animation-delay: 2s; opacity: 0.3; }
.particle:nth-child(7) { left: 70%; animation-duration: 15s; animation-delay: 5s; opacity: 0.5; }
.particle:nth-child(8) { left: 80%; animation-duration: 24s; animation-delay: 0s; opacity: 0.3; }
.particle:nth-child(9) { left: 90%; animation-duration: 19s; animation-delay: 3s; opacity: 0.4; }
.particle:nth-child(10) { left: 5%; animation-duration: 26s; animation-delay: 4s; opacity: 0.3; }
.particle:nth-child(11) { left: 15%; animation-duration: 21s; animation-delay: 1s; width: 3px; height: 3px; opacity: 0.2; }
.particle:nth-child(12) { left: 25%; animation-duration: 23s; animation-delay: 2s; width: 5px; height: 5px; opacity: 0.2; }
.particle:nth-child(13) { left: 35%; animation-duration: 27s; animation-delay: 0s; width: 3px; height: 3px; opacity: 0.3; }
.particle:nth-child(14) { left: 45%; animation-duration: 20s; animation-delay: 3s; width: 6px; height: 6px; opacity: 0.2; }
.particle:nth-child(15) { left: 55%; animation-duration: 29s; animation-delay: 1s; width: 4px; height: 4px; opacity: 0.3; }

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navigation.scrolled {
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.8);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.brand:hover {
    opacity: 0.8;
}

.brand-mark {
    width: 32px;
    height: 32px;
}

.brand-mark svg {
    width: 100%;
    height: 100%;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-type {
    font-size: 26px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.brand-type .accent {
    color: var(--quantum-blue);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 45px;
    align-items: center;
    list-style: none;
}

.nav-link {
    color: var(--silver);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.2px;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--quantum-blue);
    transition: width 0.3s;
}

.nav-link:hover {
    color: white;
}

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

.nav-cta {
    background: var(--quantum-blue);
    color: white;
    padding: 11px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border: 2px solid var(--quantum-blue);
}

.nav-cta:hover {
    background: transparent;
    color: var(--quantum-blue);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 140px 40px 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--midnight) 0%, var(--charcoal) 100%);
    position: relative;
    overflow: hidden;
}

.hero .particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(94, 179, 214, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(94, 179, 214, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(94, 179, 214, 0.1);
    border: 1px solid rgba(94, 179, 214, 0.3);
    color: var(--quantum-blue);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero-headline {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-headline .gradient-text {
    background: linear-gradient(135deg, white 30%, var(--quantum-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 22px;
    color: var(--silver);
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-bottom: 45px;
}

.stat-item {
    border-left: 2px solid rgba(94, 179, 214, 0.3);
    padding-left: 20px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--silver);
    margin-top: 5px;
    letter-spacing: 0.3px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn {
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: var(--quantum-blue);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(94, 179, 214, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Section Styles */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--quantum-blue);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.section-description {
    font-size: 20px;
    color: var(--silver);
    line-height: 1.6;
}

/* Problem Section */
.problem-section {
    padding: 120px 40px;
    background: var(--charcoal);
    position: relative;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.problem-card {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 12px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--amber);
    transform: translateX(-4px);
    transition: transform 0.3s;
}

.problem-card:hover::before {
    transform: translateX(0);
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(15, 20, 25, 0.8);
}

.problem-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(246, 173, 85, 0.2);
    margin-bottom: 15px;
}

.problem-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.problem-text {
    color: var(--silver);
    line-height: 1.7;
    font-size: 16px;
}

.problem-impact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: var(--amber);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Demo Showcase Section with Particles */
.demo-showcase-section {
    padding: 120px 40px;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

/* Process Section with Particles */
.process-section {
    padding: 120px 40px;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

/* Contact Section with Particles */
.contact-section {
    padding: 120px 40px;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s;
}