:root {
    --bg: #030303;
    --card-bg: rgba(10, 10, 10, 0.4);
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-blur: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* LOADER */
#loader {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.7, 0, 0.3, 1), visibility 0.8s;
}

.loader-content {
    text-align: center;
    width: 300px;
}

.loader-logo {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.loader-logo span {
    color: var(--accent);
}

.loader-bar-container {
    height: 2px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transition: width 2s cubic-bezier(0.65, 0, 0.35, 1);
}

.loader-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* AMBIENT BACKGROUND GLOW */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease-out;
}

/* Nav */
.glass-nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1100px;
    padding: 15px 30px;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.glass-nav.scrolled {
    top: 15px;
    padding: 10px 25px;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(25px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.05);
    width: 90%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

/* NAV DROPDOWN */
.nav-dropdown {
    position: relative;
}

.nav-drop-trigger {
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.nav-drop-trigger:hover,
.nav-dropdown:hover .nav-drop-trigger {
    color: var(--text);
}

.nav-drop-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 10px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    margin-top: 15px;
    /* Visual gap, but covered by the hover area of .nav-dropdown */
}

.nav-dropdown:hover .nav-drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Invisible bridge to prevent closing on gap hover */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    display: block;
}

.nav-drop-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
    text-align: center;
}

.nav-drop-menu a:hover {
    background: var(--accent);
    color: white;
}

.nav-drop-menu a::after {
    display: none;
    /* Remove underline animation for dropdown links */
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 2px 5px;
    transition: color 0.3s, text-shadow 0.3s;
}

.lang-btn.active {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
    font-weight: 700;
}

.lang-switch .divider {
    color: var(--glass-border);
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

/* Background Grid */
.grid-background {
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 100%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    z-index: -1;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 900px;
}

h1 {
    font-size: clamp(2rem, 6vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 25px;
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.4));
    display: block;
    animation: glowPulse 4s infinite alternate;
}

@keyframes glowPulse {
    0% { filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.3)); }
    100% { filter: drop-shadow(0 0 50px rgba(59, 130, 246, 0.6)); }
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Terminal */
.terminal-container {
    max-width: 700px;
    margin: 0 auto;
    background: #000;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #1a1a1a;
    padding: 10px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.terminal-title {
    margin-left: 10px;
    font-size: 0.7rem;
    color: #666;
    font-family: monospace;
}

.terminal-body {
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #00ff00;
}

.line {
    display: block;
    margin-bottom: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

/* Sections */
section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.section-header {
    margin-bottom: 60px;
    text-align: left;
}

.subtitle {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* About Me */
.about-section {
    margin-top: 100px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.a-stat {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
}

.a-stat:last-child {
    border-bottom: none;
}

.a-stat-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.a-stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
}

/* REVEAL OVERLAY */
#dumbeee-reveal-container {
    position: relative;
    overflow: hidden;
}

.reveal-lid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s;
    border-radius: 24px;
}

.reveal-lid.unlocked {
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.6s ease !important;
    transform: translateX(100%) !important;
    opacity: 0;
    pointer-events: none;
}

.reveal-lid.hidden-initially {
    display: none !important;
}

.reveal-content {
    text-align: center;
    pointer-events: none;
    user-select: none;
    padding-left: 60px;
}

.reveal-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px var(--accent-glow));
}

.reveal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text);
}

.reveal-content p {
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.reveal-slider {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 100%;
    background: rgba(59, 130, 246, 0.1);
    border-right: 2px solid var(--accent);
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 10px 0 20px rgba(0, 0, 0, 0.5);
    transition: background 0.3s;
    user-select: none;
    touch-action: none;
}

.reveal-slider:active {
    cursor: grabbing;
    background: rgba(59, 130, 246, 0.3);
}

.reveal-slider i {
    color: var(--accent);
    font-size: 1.5rem;
    pointer-events: none;
    animation: bounceRight 2s infinite;
}

@keyframes bounceRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

.tech-stack-container {
    padding: 20px 0;
}

.tech-stack-static {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.tech-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-dim);
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    white-space: nowrap;
}

.tech-badge i {
    font-size: 1.2rem;
    color: var(--text-dim);
    transition: color 0.3s;
}

.tech-badge:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent);
    color: var(--text);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

.tech-badge:hover i {
    color: var(--accent);
}


/* WORKING PROCESS */
.process-section {
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border) 10%, var(--glass-border) 90%, transparent);
    z-index: 0;
}

@media (max-width: 768px) {
    .process-steps::before {
        display: none;
    }
}

.process-step {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.4s;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.step-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 15px;
    right: 20px;
    transition: color 0.3s;
}

.process-step:hover .step-number {
    color: rgba(59, 130, 246, 0.2);
}

.process-step h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent);
    margin-top: 10px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.5;
}

/* Case Study Expanded */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1), border-color 0.3s;
}

.case-study-expanded {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 30px;
}

.case-header h3 {
    font-size: 2.5rem;
}

.case-tag {
    color: var(--text-dim);
    font-size: 1rem;
}

.case-stats {
    display: flex;
    gap: 30px;
}

.stat span {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    display: block;
}

.stat strong {
    font-size: 1.2rem;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
}

.case-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.case-text h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.tech-list {
    list-style: none;
    margin-top: 20px;
}

.tech-list li {
    margin-bottom: 15px;
    border-left: 2px solid var(--accent);
    padding-left: 15px;
}

.case-link-wrapper {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.case-link-wrapper:hover {
    transform: translateX(10px);
}

.external-icon {
    font-size: 1rem;
    color: var(--accent);
    opacity: 0.5;
}

.visit-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.visit-btn:hover {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}

.case-visual-premium {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 40px;
    border: 1px dashed var(--glass-border);
}

.logo-display {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--glass-border);
}

.project-logo {
    max-width: 200px;
    height: auto;
}

/* Architecture Diagram */
.architecture-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.diag-node {
    padding: 10px 15px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    background: rgba(59, 130, 246, 0.1);
}

.diag-node.core {
    border-width: 2px;
    box-shadow: 0 0 15px var(--accent-glow);
}

.diag-line {
    width: 30px;
    height: 1px;
    background: var(--glass-border);
    position: relative;
}

/* Node Grid */
.node-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.node-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.node-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.loc-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.loc-indicator.active {
    background: #27c93f;
    box-shadow: 0 0 10px #27c93f;
}

.loc-indicator.standby {
    background: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
}

.loc-indicator.planned {
    background: #666;
}

.node-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* HARDWARE FLEET */
.hardware-fleet-section {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    text-align: left;
}

.section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text);
}

.fleet-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.fleet-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
}

.highlight-card {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), transparent);
}

.ddos-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ddos-vendor strong {
    display: block;
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 5px;
    font-family: 'JetBrains Mono', monospace;
}

.ddos-vendor p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.host-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.host-specs {
    list-style: none;
    font-size: 0.8rem;
}

.host-specs li {
    margin-bottom: 8px;
    color: var(--text-dim);
    display: flex;
    justify-content: space-between;
}

.host-specs li strong {
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
}

.node-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.node-specs .spec span {
    font-size: 0.6rem;
    color: var(--text-dim);
    text-transform: uppercase;
    display: block;
}

.node-specs .spec strong {
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Managed Services */
.managed-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.managed-card {
    display: flex;
    align-items: center;
    gap: 25px;
}

.managed-card .m-icon {
    font-size: 2rem;
    background: rgba(59, 130, 246, 0.1);
    min-width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.managed-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.managed-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    text-align: center;
}

.service-card .icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* CTA */
.final-cta {
    text-align: center;
    padding: 100px 0;
}

.main-cta {
    display: inline-block;
    margin-top: 30px;
    padding: 20px 40px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.3s;
}

.main-cta:hover {
    transform: scale(1.05);
}

/* CONTACT SECTION */
.contact-section {
    max-width: 900px !important;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group input,
.form-group textarea,
.glass-select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

/* CUSTOM DROPDOWN */
.custom-dropdown {
    position: relative;
    width: 100%;
    user-select: none;
}

.dropdown-trigger {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.dropdown-trigger:hover,
.custom-dropdown.open .dropdown-trigger {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.dropdown-options {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.custom-dropdown.open .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.dropdown-options .option {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.dropdown-options .option:hover {
    background: var(--accent);
    color: white;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.contact-form .main-cta {
    border: none;
    cursor: pointer;
    width: 100%;
}

.contact-alternative {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.email-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
    transition: color 0.3s;
}

.email-link:hover {
    color: #4f8ff7;
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* LEGAL PAGES */
.legal-page {
    overflow-y: auto !important;
}

.legal-content {
    padding-top: 140px;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section h3 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
}

.legal-section p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.8;
}

.legal-section a {
    color: var(--accent);
    text-decoration: underline;
}

/* Section Scroll Offset */
section {
    scroll-margin-top: 120px;
}

.cta-small {
    padding: 10px 22px;
    background: var(--accent);
    color: white !important;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    display: inline-block;
    border: 1px solid transparent;
}

.cta-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: #4f8ff7;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}