/* ========== BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    background-color: #081742;
    color: #d9e0ff;
}

::selection {
    background: #eab308;
    color: #081742;
}

/* ========== NAVBAR ========== */
.nav {
    background: rgba(8, 23, 66, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(61, 102, 255, 0.1);
}

.nav.scrolled {
    background: rgba(8, 23, 66, 0.95);
    border-bottom-color: rgba(234, 179, 8, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #facc15;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu.open {
    display: block;
}

.mobile-menu.hidden {
    display: none;
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
}

.menu-line {
    display: block;
}

.mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 1.5rem;
}

/* ========== BUTTONS ========== */
.btn-gold {
    background: linear-gradient(135deg, #facc15 0%, #eab308 50%, #ca8a04 100%);
    color: #081742;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.3);
}

.btn-gold:hover {
    box-shadow: 0 8px 30px rgba(234, 179, 8, 0.5);
}

.btn-outline-white {
    background: transparent;
    color: #f0f3ff;
    border: 1.5px solid rgba(240, 243, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    border-color: #facc15;
    color: #facc15;
}

/* ========== CARDS ========== */
.card-gold {
    background: rgba(14, 45, 171, 0.4);
    border: 1px solid rgba(61, 102, 255, 0.2);
    backdrop-filter: blur(10px);
}

.card-gold:hover {
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(234, 179, 8, 0.1);
}

/* ========== FORM ========== */
.input-field {
    background: rgba(8, 23, 66, 0.8);
    border: 1px solid rgba(61, 102, 255, 0.3);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    color: #f0f3ff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.input-field::placeholder {
    color: rgba(176, 190, 255, 0.4);
}

.input-field:focus {
    border-color: #eab308;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.15);
    background: rgba(8, 23, 66, 0.95);
}

select.input-field {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23eab308' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select.input-field option {
    background: #0e2dab;
    color: #f0f3ff;
}

/* ========== GEOMETRIC SHAPES ========== */
.geo-shape {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}

.geo-circle-1 {
    top: 10%;
    right: 5%;
    width: 500px;
    height: 500px;
    border: 2px solid rgba(234, 179, 8, 0.12);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    bottom: 5%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-square-1 {
    top: 25%;
    left: 3%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(61, 102, 255, 0.2);
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.geo-square-2 {
    bottom: 20%;
    right: 15%;
    width: 50px;
    height: 50px;
    background: rgba(234, 179, 8, 0.15);
    transform: rotate(30deg);
    animation: spin 15s linear infinite reverse;
}

.geo-triangle-1 {
    top: 60%;
    left: 8%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(61, 102, 255, 0.15);
    animation: float 7s ease-in-out infinite;
}

.geo-dot-grid {
    top: 15%;
    left: 45%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(234, 179, 8, 0.3) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.6;
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50%       { transform: translateY(-10px) rotate(1deg); }
}

.animate-float {
    animation: floatCard 4s ease-in-out infinite;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.fade-up {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal.fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal.fade-left {
        opacity: 0;
        transform: translateX(-40px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal.fade-left.visible {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }

    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }

    .geo-square-1 {
        width: 50px;
        height: 50px;
    }

    .geo-dot-grid {
        display: none;
    }
}
