/* ===== Base & Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background: #050D1A;
    color: #fff;
}

::selection {
    background: #D4A017;
    color: #0A1628;
}

/* ===== Geometric Background Shapes ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    top: 15%;
    right: 5%;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(212, 160, 23, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.geo-triangle {
    bottom: 20%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(212, 160, 23, 0.04);
    animation: float 10s ease-in-out infinite reverse;
}

.geo-diamond {
    top: 40%;
    left: 15%;
    width: 60px;
    height: 60px;
    background: rgba(212, 160, 23, 0.06);
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}

.geo-ring {
    top: 60%;
    right: 10%;
    width: 100px;
    height: 100px;
    border: 3px solid rgba(212, 160, 23, 0.06);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite reverse;
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(15px) rotate(42deg); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes bounce-slow {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
}

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

/* ===== Hero Badge ===== */
.hero-badge {
    animation: badge-in 0.8s ease-out forwards;
}

/* ===== Gold Button ===== */
.btn-gold {
    background: linear-gradient(135deg, #D4A017 0%, #E8B82C 50%, #D4A017 100%);
    background-size: 200% 200%;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-position: right center;
}

/* ===== Feature Pills ===== */
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 100px;
    color: #F0C94D;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-pill:hover {
    background: rgba(212, 160, 23, 0.15);
    border-color: rgba(212, 160, 23, 0.4);
    transform: translateY(-2px);
}

/* ===== Feature Cards ===== */
.feature-card {
    transition: all 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 160, 23, 0.3) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(212, 160, 23, 0.05);
}

/* ===== Card Glow ===== */
.card-glow {
    transition: all 0.5s ease;
}

.card-glow:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(212, 160, 23, 0.08);
}

/* ===== Scroll Animations ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(5, 13, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    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: #D4A017;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #E8B82C !important;
}

/* ===== Mobile Menu ===== */
.mobile-nav-link {
    position: relative;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.menu-line {
    display: block;
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

#menu-btn.active .menu-line:nth-child(3) {
    width: 20px;
    transform: rotate(-45deg) translate(3px, -3px);
}

/* ===== Scroll Line ===== */
.animate-scroll-line {
    animation: scroll-line 2s ease-in-out infinite;
}

/* ===== Bounce Slow ===== */
.animate-bounce-slow {
    animation: bounce-slow 2s ease-in-out infinite;
}

/* ===== Utility ===== */
.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

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

.animate-blink {
    animation: blink 3s ease-in-out infinite;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .geo-triangle {
        display: none;
    }
    
    .geo-diamond {
        width: 40px;
        height: 40px;
    }
    
    .geo-ring {
        width: 60px;
        height: 60px;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}
