/* 1. Core Typography & Layout */
body {
    background-color: #020408;
    color: #ccd6f6;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

/* 2. Glassmorphism Utilities */
.glass-panel {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(30, 41, 59, 0.8);
}

.glass-nav {
    background: rgba(2, 4, 8, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}

/* 3. Interactive Elements */
.glass-button {
    background-color: #38bdf8;
    border: 1px solid #38bdf8;
    color: #020408;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px 0 rgba(56, 189, 248, 0.2);
    font-weight: 700;
    cursor: pointer;
    z-index: 10;
}

.glass-button:hover {
    background-color: #7dd3fc;
    border-color: #7dd3fc;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
    color: #020408;
}

/* 4. Text Effects */
.text-glow {
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.highlight-text {
    background: linear-gradient(135deg, #ccd6f6 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 5. Architectural Background Elements */
.hero-bg-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-color: #020408;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(15, 23, 42, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(30, 41, 59, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, #020408 0%, #000 100%);
    opacity: 0.8;
}

.hero-grid {
    position: absolute;
    inset: -20%;
    background-image: 
        linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    z-index: 1;
}

.arch-curve {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 2;
}

.curve-1 {
    width: 150vw; height: 100vh;
    top: -50vh; left: -25vw;
    border: 1px solid rgba(56, 189, 248, 0.05);
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
}

.curve-2 {
    width: 120vw; height: 120vh;
    bottom: -60vh; right: -20vw;
    border: 1px solid rgba(30, 41, 59, 0.3);
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.2) 0%, transparent 70%);
}

.curve-3 {
    width: 200vw; height: 50vh;
    top: 25vh; left: -50vw;
    border-top: 1px solid rgba(204, 214, 246, 0.03);
    border-bottom: 1px solid rgba(56, 189, 248, 0.03);
}

.tech-node {
    position: absolute;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 20px 3px rgba(56, 189, 248, 0.3);
    pointer-events: none;
    z-index: 3;
}

.node-1 { width: 5px; height: 5px; top: 25%; left: 15%; }
.node-2 { width: 3px; height: 3px; bottom: 30%; right: 20%; }
.node-3 { width: 6px; height: 6px; top: 60%; left: 12%; }

.center-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(2, 4, 8, 0) 0%, rgba(2, 4, 8, 0.6) 70%, #020408 100%);
    z-index: 4;
    pointer-events: none;
}

/* 6. Animations & Reveals */
@keyframes scan {
    0% { top: -100%; }
    100% { top: 100%; }
}

.animate-gentle-pulse {
    animation: gentle-pulse 3s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Watermark Logic Entrance Animation */
.reveal-watermark {
    opacity: 0;
    transform: scale(1.1) translateY(40px) skewX(-10deg);
    transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-watermark.active {
    opacity: 1;
    transform: scale(1) translateY(0) skewX(0deg);
}

.reveal, .reveal-item, .reveal-scale {
    opacity: 0;
    will-change: transform, opacity;
}

.reveal {
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item {
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active, .reveal-item.active, .reveal-scale.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 7. Watermark Typography */
.watermark {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 900;
    color: rgba(56, 189, 248, 0.1); 
    font-size: 18vw;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0; 
}

.founder-watermark {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 900;
    color: rgba(56, 189, 248, 0.05); 
    font-size: 12rem;
    line-height: 0.6;
    top: 50%;
    right: -1rem;
    transform: translateY(-50%);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    white-space: nowrap;
}

/* 8. UI Elements */
.grid-bg {
    background-image: 
        linear-gradient(rgba(30, 41, 59, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 41, 59, 0.2) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    pointer-events: none;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #020408; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #38bdf8; }

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}