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

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

body {
    min-height: 100vh;
}

/* ── Geometric Shapes ── */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.3) 0%, transparent 70%);
    bottom: 10%;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(245, 158, 11, 0.15);
    top: 25%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(192, 132, 252, 0.12);
    top: 60%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-ring-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid rgba(245, 158, 11, 0.15);
    top: 40%;
    right: 5%;
    animation: spin 15s linear infinite reverse;
}

.shape-dots {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    top: 0;
    left: 0;
}

.shape-diamond-1 {
    width: 300px;
    height: 300px;
    background: rgba(245, 158, 11, 0.06);
    top: 10%;
    left: -80px;
    transform: rotate(45deg);
    animation: float 12s ease-in-out infinite;
}

.shape-circle-3 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.05);
    bottom: -100px;
    right: -100px;
    animation: spin 25s linear infinite;
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out 0.2s both;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.4s both;
}

.animate-slide-up-delay-2 {
    animation: slideUp 0.8s ease-out 0.6s both;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.15s, transform 0.8s ease-out 0.15s;
}

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

.reveal-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.reveal-delay-2.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-3 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.45s, transform 0.8s ease-out 0.45s;
}

.reveal-delay-3.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Navbar ── */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(31, 16, 40, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#navbar.scrolled .text-white\/90 {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ── Mobile Menu ── */
.mobile-link {
    display: block;
    width: 100%;
}

/* ── Selection Cards ── */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1f1028;
}

::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 158, 11, 0.5);
}

/* ── Selection ── */
::selection {
    background: rgba(245, 158, 11, 0.3);
    color: white;
}

/* ── Focus Styles ── */
:focus-visible {
    outline: 2px solid rgba(245, 158, 11, 0.5);
    outline-offset: 2px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }

    .shape-circle-2 {
        width: 200px;
        height: 200px;
    }

    .shape-square-1 {
        width: 80px;
        height: 80px;
    }

    .shape-triangle-1 {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 69px solid rgba(192, 132, 252, 0.12);
    }

    .shape-ring-1 {
        width: 120px;
        height: 120px;
    }
}
