@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --primary: #f59e0b;
    --primary-glow: rgba(245, 158, 11, 0.3);
    --text-main: #fafafa;
    --text-muted: #d4d4d8;
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-dark) !important;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.text-muted {
    color: var(--text-muted) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* Glassmorphism Header */
header.sticky-top {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.75rem;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Premium Cards */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-img-top {
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card-title {
    color: var(--text-main);
    font-weight: 700;
}

.card-text {
    color: var(--text-muted);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #000;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
}

.btn-lg {
    padding: 12px 32px !important;
}

.btn-primary:hover {
    background-color: #fbbf24;
    border-color: #fbbf24;
    transform: scale(1.02);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: 12px;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: #000;
}

.btn-success {
    background-color: #10b981;
    border-color: #10b981;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
}

.btn-success:hover {
    background-color: #059669;
    border-color: #059669;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* Feature Section */
.feature-box {
    padding: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    height: 100%;
}

.feature-box i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--primary);
}

/* Footer */
.site-footer {
    background-color: #050505 !important;
    border-top: 1px solid var(--glass-border) !important;
    padding: 80px 0 40px;
    color: var(--text-main) !important;
}

.site-footer p,
.site-footer .text-muted {
    color: var(--text-muted) !important;
}

footer h5 {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

footer ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Global Color Overrides for DA */
.text-primary,
.text-info {
    color: var(--primary) !important;
}

.bg-primary,
.bg-info {
    background-color: var(--primary) !important;
}

/* Ensure text is readable on primary background */
.bg-primary:not(.badge),
.bg-info:not(.badge) {
    color: #000 !important;
}

.bg-primary.bg-opacity-10,
.bg-info.bg-opacity-10 {
    background-color: var(--primary-glow) !important;
}

.border-primary,
.border-info {
    border-color: var(--primary) !important;
}

.btn-link {
    color: var(--primary) !important;
}

.spinner-border.text-primary {
    border-right-color: transparent !important;
}

a:not(.btn):not(.nav-link) {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:not(.btn):not(.nav-link):hover {
    color: #fbbf24;
}

/* Responsive fixes */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
}