/* --------------------------------------------------
   1. RESET & SYSTEM CORE
-------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-void: #020203;
    --bg-card: rgba(10, 11, 15, 0.7);
    --accent-blue: #6fb6ff;
    --accent-gold: #f2e6c9;
    --accent-neon: #00f0ff;
    --text-main: #e2e4e9;
    --text-muted: #8b909b;
    --font-display: 'Michroma', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-sans);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------
   2. NOISE & LIQUID CURSOR
-------------------------------------------------- */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--accent-neon);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent-neon);
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), border-color 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}

body.cursor-active .cursor-follower {
    width: 80px;
    height: 80px;
    border-color: var(--accent-neon);
    background-color: rgba(0, 240, 255, 0.08);
}

/* --------------------------------------------------
   3. HEADER HUD
-------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.brand-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #fff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-neon);
}

.admin-entry-btn {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-out-expo);
}

.admin-entry-btn:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------
   4. SECTIONS COMMON
-------------------------------------------------- */
.section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 5vw;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hud-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--accent-blue);
    margin-bottom: 24px;
}

.hud-mono {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--text-muted);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 56px);
    letter-spacing: 0.05em;
    margin-bottom: 60px;
    color: #fff;
}

/* --------------------------------------------------
   5. HERO & GPGPU CANVAS
-------------------------------------------------- */
.hero-section {
    height: 100vh;
    padding: 0;
    overflow: hidden;
}

.video-background-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-void) 90%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.4em;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.hero-title-wrapper {
    position: relative;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(90px, 18vw, 260px);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    line-height: 0.9;
    user-select: none;
    text-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

#gpgpu-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 4;
}

.hero-subtitle {
    font-size: 13px;
    letter-spacing: 0.5em;
    color: var(--text-muted);
    margin-top: 30px;
}

.scroll-indicator {
    position: absolute;
    bottom: -120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-blue), transparent);
}

/* --------------------------------------------------
   6. MANIFESTO (SCRUB REVEAL)
-------------------------------------------------- */
.about-section {
    background: var(--bg-void);
}

.manifesto-wrapper {
    max-width: 1200px;
}

.manifesto-text {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4.5vw, 68px);
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.15);
}

.manifesto-text .char-span {
    display: inline-block;
    transition: color 0.2s, transform 0.2s;
}

.manifesto-text .char-span.revealed {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------
   7. EXPERTISE (3D TILT CARDS)
-------------------------------------------------- */
.services-section {
    background: #040508;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.tilt-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 60px 40px;
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    transition: border-color 0.4s var(--ease-out-expo);
    overflow: hidden;
}

.tilt-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
}

.card-border-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 240, 255, 0.15), transparent 40%);
    pointer-events: none;
}

.card-content {
    transform: translateZ(45px);
}

.card-num {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
}

.card-title {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 0.05em;
    margin: 24px 0 16px;
    color: #fff;
}

.card-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* --------------------------------------------------
   8. GEOGRAPHY & PARTICLE NETWORK
-------------------------------------------------- */
.geo-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-void);
}

#geo-nodes-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.cities-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.city-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s var(--ease-out-expo);
}

.city-item:hover {
    padding-left: 30px;
    border-bottom-color: var(--accent-neon);
}

.city-name {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 72px);
    letter-spacing: 0.05em;
    color: #fff;
}

.city-coord {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

/* --------------------------------------------------
   9. CONTACT FORM & FOOTER
-------------------------------------------------- */
.contact-section {
    background: #010102;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    width: 100%;
    margin-bottom: 120px;
}

.contact-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.2;
    margin: 20px 0 40px;
    color: #fff;
}

.contact-details p {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.contact-details strong {
    color: #fff;
}

.luxury-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 0;
    font-size: 16px;
    color: #fff;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.3s;
}

.input-group label {
    position: absolute;
    top: 16px;
    left: 0;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s var(--ease-out-expo);
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -12px;
    font-size: 9px;
    color: var(--accent-neon);
}

.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: var(--accent-neon);
}

.submit-btn {
    position: relative;
    background: #fff;
    color: #000;
    border: none;
    padding: 22px 45px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    border-radius: 4px;
}

.submit-btn:hover {
    background: var(--accent-neon);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.5);
}

.form-feedback {
    margin-top: 15px;
    font-size: 12px;
    letter-spacing: 0.1em;
}

.form-feedback.success { color: #00ff88; }
.form-feedback.error { color: #ff3366; }

.footer {
    width: 100%;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .header { padding: 20px 5vw; }
    .nav-links { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .footer-flex { flex-direction: column; gap: 15px; text-align: center; }
}