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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

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

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

.nav-link {
    position: relative;
}

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

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

/* Hero */
.hero-gradient-orb,
.hero-gradient-orb2 {
    animation: float 8s ease-in-out infinite;
}

.hero-gradient-orb2 {
    animation-delay: -4s;
    animation-duration: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Stats */
.stat-item {
    opacity: 0;
    transform: translateY(20px);
}

.stat-item.visible {
    animation: fadeUp 0.6s ease forwards;
}

.stat-item:nth-child(2).visible { animation-delay: 0.1s; }
.stat-item:nth-child(3).visible { animation-delay: 0.2s; }
.stat-item:nth-child(4).visible { animation-delay: 0.3s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tenant Cards */
.tenant-card {
    opacity: 0;
    transform: translateY(30px);
}

.tenant-card.visible {
    animation: fadeUp 0.7s ease forwards;
}

.tenant-card:nth-child(1).visible { animation-delay: 0s; }
.tenant-card:nth-child(2).visible { animation-delay: 0.1s; }
.tenant-card:nth-child(3).visible { animation-delay: 0.2s; }
.tenant-card:nth-child(4).visible { animation-delay: 0.3s; }
.tenant-card:nth-child(5).visible { animation-delay: 0.4s; }
.tenant-card:nth-child(6).visible { animation-delay: 0.5s; }

/* Feature Cards */
.feature-card {
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    animation: fadeUp 0.6s ease forwards;
}

.feature-card:nth-child(1).visible { animation-delay: 0s; }
.feature-card:nth-child(2).visible { animation-delay: 0.08s; }
.feature-card:nth-child(3).visible { animation-delay: 0.16s; }
.feature-card:nth-child(4).visible { animation-delay: 0.24s; }
.feature-card:nth-child(5).visible { animation-delay: 0.32s; }
.feature-card:nth-child(6).visible { animation-delay: 0.4s; }

/* Mobile Menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

.mobile-link {
    display: block;
}

/* Selection */
::selection {
    background: #5EEAD4;
    color: #0B1F3F;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #5EEAD4;
    outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
    background: #0B1F3F;
}

::-webkit-scrollbar-thumb {
    background: #1E3A5F;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2A4A72;
}
