/* ==================== PASSWORD SCREEN ==================== */
.password-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s cubic-bezier(0.76, 0, 0.24, 1);
}

.password-screen.unlocked {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.1);
}

.password-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.password-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    transform: translate(-50%, -50%);
    animation: pulse-bg 4s ease-in-out infinite;
}

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

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-particle 15s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 14s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 16s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 13s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 17s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 15s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 14s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 19s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3s; animation-duration: 16s; }

@keyframes float-particle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.password-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px;
    max-width: 500px;
}

.lock-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
    position: relative;
    animation: float-lock 3s ease-in-out infinite;
}

@keyframes float-lock {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.lock-circle {
    width: 120px;
    height: 120px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: rotate-circle 8s linear infinite;
}

.lock-circle::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #8b5cf6;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
}

@keyframes rotate-circle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.lock-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
}

.password-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #f43f5e;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 32px;
}

.password-badge .dot {
    width: 6px;
    height: 6px;
    background: #f43f5e;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.password-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.password-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 48px;
    line-height: 1.6;
}

.password-input-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.password-input {
    width: 100%;
    padding: 20px 24px;
    padding-right: 60px;
    background: rgba(255,255,255,0.03);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 8px;
    text-align: center;
    transition: all 0.3s;
    outline: none;
}

.password-input::placeholder {
    letter-spacing: 2px;
    color: rgba(255,255,255,0.3);
}

.password-input:focus {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.05);
}

.password-input.error {
    border-color: rgba(244, 63, 94, 0.5);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-10px); }
    40%, 80% { transform: translateX(10px); }
}

.password-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    font-size: 20px;
}

.password-submit {
    width: 100%;
    padding: 20px 32px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border: none;
    border-radius: 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.password-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.password-hint {
    margin-top: 32px;
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

.password-hint code {
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 6px;
    color: rgba(255,255,255,0.6);
}

.password-error {
    color: #f43f5e;
    font-size: 14px;
    margin-top: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}

.password-error.show { opacity: 1; }

.password-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s;
    z-index: 10001;
}

.password-success.show {
    opacity: 1;
    visibility: visible;
}

.success-content {
    text-align: center;
    animation: zoom-in 0.5s ease-out;
}

@keyframes zoom-in {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-icon {
    font-size: 80px;
    margin-bottom: 24px;
}

.success-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.success-subtext {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
}

.main-content {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.8s ease-out 0.5s;
}

.main-content.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ==================== MAIN STYLES ==================== */
:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    --violet: #8b5cf6;
    --violet-dark: #7c3aed;
    --emerald: #10b981;
    --amber: #f59e0b;
    --rose: #f43f5e;
    --cyan: #06b6d4;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.7;
}

h1, h2, h3, h4, h5 { font-family: 'Space Grotesk', sans-serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
    border-radius: 50%;
    animation: hero-float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    animation: hero-float 10s ease-in-out infinite reverse;
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 900px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-eyebrow .dot {
    width: 8px;
    height: 8px;
    background: var(--emerald);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    max-width: 650px;
    margin-bottom: 48px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 20px; }
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 120px 0;
}

.section-dark {
    background: var(--gray-900);
    color: var(--white);
}

.section-light {
    background: var(--gray-50);
}

.section-gradient {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--white);
}

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

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--violet);
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.7;
}

.section-dark .section-subtitle,
.section-gradient .section-subtitle { color: rgba(255,255,255,0.6); }
