:root {
    --orange: #fa7416;
    --yellow: #facc14;
    --cyan: #06b6d4;
    --green: #10b981;
    
    --bg-page: #131722;
    --bg-card: #1e2532;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --border-color: #374151;
    --track-color: #2d3748;
    --input-bg: #11151f;
}

body.light-mode {
    --bg-page: #f4f5f7;
    --bg-card: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --track-color: #d1d5db;
    --input-bg: #f9fafb;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Michroma', sans-serif; }

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

.text-orange { color: var(--orange); }
.text-yellow { color: var(--yellow); }
.text-cyan { color: var(--cyan); }
.text-green { color: var(--green); }
.bg-yellow { background-color: var(--yellow); color: #111827; }

.border-orange { border-color: var(--orange); }
.border-cyan { border-color: var(--cyan); }
.border-green { border-color: var(--green); }
.border-yellow { border-color: var(--yellow); }

.navbar {
    position: fixed; top: 0; left: 0; width: 100%; padding: 20px 40px;
    display: flex; justify-content: space-between; align-items: center;
    background-color: rgba(var(--bg-page), 0.95); 
    backdrop-filter: blur(10px); z-index: 100;
    border-bottom: 1px solid var(--border-color);
}
.logo { font-size: 28px; font-weight: 900; letter-spacing: -1px; }
.theme-btn {
    background: var(--bg-card); border: 1px solid var(--border-color);
    width: 45px; height: 45px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    transition: transform 0.2s;
}
.theme-btn:active { transform: scale(0.9); }
body:not(.light-mode) .icon-moon { display: none; }
body.light-mode .icon-sun { display: none; }

.hero {
    min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 120px 5vw 100px 5vw; 
    position: relative;
}
.hero-content {
    display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%;
}
.hero-eyebrow { font-size: 16px; font-weight: 900; letter-spacing: 3px; margin-bottom: 15px; }

.hero-title { font-size: clamp(40px, 7vw, 90px); font-weight: 900; line-height: 1.2; letter-spacing: -2px; margin-bottom: 20px; }

.line-1, .line-2, .line-3 { display: block; opacity: 0; transform: translateY(30px); }
.line-3 { font-size: clamp(18px, 3.2vw, 38px); color: var(--text-muted); margin-top: 10px; font-weight: 700; letter-spacing: -1px; }

.hero-subtitle { font-size: clamp(16px, 2vw, 22px); color: var(--text-muted); max-width: 800px; line-height: 1.5; margin-top: 20px; opacity: 0; margin-left: auto; margin-right: auto; }

.scroll-indicator { 
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 15px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; font-size: 12px; letter-spacing: 2px;
    white-space: nowrap; 
}
.mouse { width: 24px; height: 36px; border: 2px solid var(--text-muted); border-radius: 12px; position: relative; flex-shrink: 0; }
.mouse::before { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 6px; background: var(--text-muted); border-radius: 2px; animation: scrollAnim 1.5s infinite; }
@keyframes scrollAnim { 0% { top: 6px; opacity: 1; } 100% { top: 18px; opacity: 0; } }

.wayfinding-system {
    position: relative; 
    width: 90%; max-width: 1100px; 
    margin: 0 auto; 
    padding: 100px 0 150px 0; 
    z-index: 1; 
}

.track-container {
    position: absolute; top: 100px; bottom: 150px; 
    left: 60px; 
    transform: translateX(-50%); 
    width: 8px;
    z-index: -1; 
}
.track-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--track-color); border-radius: 4px; }
.track-progress {
    position: absolute; top: 0; left: 0; width: 100%; height: 0%;
    background: linear-gradient(to bottom, 
        var(--text-main) 0%, 
        var(--text-main) 15%, 
        var(--text-main) 35%, 
        var(--text-main) 45%, 
        var(--text-main) 65%, 
        var(--text-main) 75%, 
        var(--text-main) 90%, 
        var(--text-main) 100%);
    border-radius: 4px; z-index: 1;
}

.node-section {
    position: relative; padding-left: 120px; margin-bottom: 80px;
    display: flex; align-items: flex-start;
    opacity: 0; transform: translateY(40px);
    scroll-margin-top: 120px; 
}

.node-marker {
    position: absolute; top: 0; 
    left: 60px; 
    transform: translateX(-50%); 
    width: 64px; height: 64px;
    background-color: var(--bg-page); 
    border: 6px solid; border-radius: 20px; 
    z-index: 2; 
    display: flex; justify-content: center; align-items: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
}
.node-section:hover .node-marker { transform: translateX(-50%) scale(1.15); background: var(--bg-card); }
.node-marker svg { width: 32px; height: 32px; }
.terminal-marker { border-radius: 50%; }

.node-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    padding: 40px 50px; border-radius: 24px; width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: border-color 0.3s;
}
.node-title { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin-bottom: 25px; letter-spacing: -1px; }
.node-content p { font-size: 16px; line-height: 1.8; color: var(--text-muted); margin-bottom: 15px; }
.node-content strong { color: var(--text-main); }

.form-card { border-top: 6px solid var(--yellow); }
.form-subtitle { font-size: 16px; color: var(--text-muted); margin-bottom: 40px; line-height: 1.6;}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; width: 100%; max-width: 100%; }

.clean-form { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 100%; min-width: 0; }
.input-group { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 100%; min-width: 0; }
.input-group label { 
    font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); 
    white-space: normal; word-wrap: break-word; overflow-wrap: break-word; line-height: 1.4; 
}

.clean-form input, .clean-form textarea {
    width: 100%; max-width: 100%; padding: 18px; border-radius: 12px; font-size: 14px;
    background: var(--input-bg); border: 1px solid var(--border-color); color: var(--text-main);
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box !important; 
}
.clean-form input:focus, .clean-form textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(250, 204, 20, 0.1); }
.submit-btn {
    width: 100%; border: none; padding: 20px; border-radius: 12px; font-size: 16px; font-weight: 900;
    cursor: pointer; transition: transform 0.2s, background 0.3s; margin-top: 10px; color: var(--bg-page);
}
.submit-btn:hover { background: #eab308; transform: translateY(-3px); }

.direct-contact { display: flex; flex-direction: column; gap: 40px; }
.contact-item { display: flex; flex-direction: column; gap: 10px; }
.contact-label { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.contact-link { font-size: 16px; font-weight: 700; color: var(--text-main); text-decoration: none; transition: color 0.2s; word-break: break-all; } 
.contact-link:hover { color: var(--yellow); }
.social-links { display: flex; gap: 20px; }
.social-links a { font-size: 16px; font-weight: 700; color: var(--text-main); text-decoration: none; transition: color 0.2s; }
.social-links a:hover { color: var(--cyan); }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .direct-contact { border-top: 1px solid var(--border-color); padding-top: 40px; }
}

@media (max-width: 600px) {
    .navbar { padding: 15px 20px; }
    
    .hero { padding: 100px 20px 80px 20px; }
    .hero-title { font-size: clamp(28px, 8vw, 90px); } 
    
    .scroll-indicator { 
        left: 50%; transform: translateX(-50%); bottom: 30px; 
        flex-direction: column; gap: 10px; text-align: center;
    } 
    
    .wayfinding-system { width: 100%; max-width: 100%; padding: 60px 0 100px 0; overflow-x: hidden; }
    
    .track-container { left: 30px; width: 6px; }
    .node-marker { left: 30px; width: 44px; height: 44px; border-width: 4px; }
    .node-marker svg { width: 22px; height: 22px; }
    
    .node-section { width: 100%; padding-left: 70px; padding-right: 15px; padding-top: 0; margin-bottom: 60px; box-sizing: border-box; }
    .node-card { width: 100%; padding: 25px 15px; box-sizing: border-box; }
}


.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: 40px; 
    margin-right: auto; 
}

.nav-links .nav-item {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links .nav-item:hover {
    color: var(--orange);
}

.nav-links .btn-contact {
    background: transparent;
    color: var(--yellow);
    border: 1px solid var(--yellow);
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links .btn-contact:hover {
    background: var(--yellow);
    color: var(--bg-page);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto; 
        margin-right: 15px;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-page);
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
        padding: 20px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: all 0.3s ease;
        z-index: 1000;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}