/* ================================
   CSS Variables
================================ */
:root {
    --primary-gold: #F2B72C;
    --primary-gold-hover: #d49e1f;
    --bg-dark: #050709;
    --bg-mid: #0f1319;
    --bg-card: rgba(20, 26, 34, 0.6);
    --text-light: #EAEFF7;
    --text-gray: #9ca3af;
    --glow-gold: rgba(242, 183, 44, 0.3);
    --border-color: rgba(255, 255, 255, 0.08);
}

/* ================================
   Base Styles
================================ */
a {
    color: rgb(180 185 192);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(242, 183, 44, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(242, 183, 44, 0.03) 0%, transparent 40%);
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand,
.btn,
.step-number {
    font-family: 'Bricolage Grotesque', sans-serif;
}

/* ================================
   Utilities
================================ */
.text-gold {
    color: var(--primary-gold) !important;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #fff 30%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gray {
    color: var(--text-gray) !important;
}

.bg-mid {
    background-color: var(--bg-mid);
}

.section-padding {
    padding: 120px 0;
}

.section-label {
    color: var(--primary-gold);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
}

/* ================================
   Animations
================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Navbar Base
================================ */
.navbar {
    background: rgba(11, 15, 20, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.75rem 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(11, 15, 20, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* ================================
   Brand
================================ */
.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
    transition: text-shadow 0.3s ease;
}

.navbar-brand:hover {
    text-shadow: 0 0 20px var(--glow-gold);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

/* ================================
   Links Layout
================================ */
.navbar .nav-link {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar .nav-link-single {
    padding-top: 0.6rem;
}

/* ================================
   Link Typography
================================ */
.nav-title {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.1;
    color: var(--text-light);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-subtitle {
    display: block;
    margin-top: 4px;
    font-size: 0.65rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
    color: var(--text-gray);
    opacity: 0.7;
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* Hover */
.navbar .nav-link:hover .nav-title,
.navbar .nav-link.active .nav-title {
    color: var(--primary-gold);
    text-shadow: 0 0 15px rgba(242, 183, 44, 0.3);
}

.navbar .nav-link:hover .nav-subtitle {
    color: #fff;
    opacity: 1;
}

/* ================================
   Desktop Separators
================================ */
@media (min-width: 992px) {
    .separator-item {
        position: relative;
    }

    .separator-item::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 25px;
        width: 1px;
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0),
                rgba(255, 255, 255, 0.15),
                rgba(255, 255, 255, 0));
    }
}

/* ================================
   Mobile Adjustments
================================ */
@media (max-width: 991.98px) {
    .navbar .nav-link {
        padding: 1rem 0;
    }

    .separator-item::after {
        display: none;
    }

    .nav-title,
    .nav-link-single {
        font-size: 1.25rem;
        display: block;
        color: var(--text-light);
        font-weight: 600;
        line-height: 1.1;
        transition: color 0.3s ease, text-shadow 0.3s ease;
    }

    .nav-subtitle {
        font-size: 0.8rem;
    }
}

/* ================================
   Buttons
================================ */
.btn-gold {
    background: linear-gradient(135deg, #F2B72C 0%, #FFD700 100%);
    border: none;
    color: #0a0e14;
    font-weight: 700;
    padding: 14px 40px;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(242, 183, 44, 0.4), 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 45px rgba(242, 183, 44, 0.6), 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-outline-gold {
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    background: transparent;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-outline-gold span {
    position: relative;
    z-index: 1;
}

.btn-outline-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gold);
    transition: left 0.4s ease;
    z-index: 0;
}

.btn-outline-gold:hover {
    color: #000;
    transform: translateY(-2px);
}

.btn-outline-gold:hover::before {
    left: 0;
}

/* ================================
   Page Hero (inner pages)
================================ */
.page-hero {
    padding: 180px 0 30px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(11, 15, 20, 0) 20%, var(--bg-dark) 100%),
        radial-gradient(ellipse at top, rgba(20, 26, 34, 0.8), transparent 70%);
    z-index: -2;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* ================================
   Feature Cards (shared across pages)
================================ */
.feature-card {
    background: linear-gradient(135deg, rgba(26, 34, 46, 0.95) 0%, rgba(15, 20, 28, 0.95) 100%);
    border: 1px solid rgba(242, 183, 44, 0.15);
    padding: 50px 35px;
    border-radius: 20px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 183, 44, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 70px rgba(242, 183, 44, 0.25), 0 10px 30px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(26, 34, 46, 1) 0%, rgba(20, 26, 34, 1) 100%);
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(242, 183, 44, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--primary-gold);
    font-size: 1.8rem;
    transition: all 0.4s ease;
}

.feature-card i {
    transition: all 0.5s ease;
}

.feature-card:hover i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 20px var(--primary-gold));
}

.feature-card:hover .feature-icon-box {
    background: var(--primary-gold);
    color: #000;
    transform: rotate(-5deg) scale(1.1);
}

.check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    background: rgba(242, 183, 44, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 0.6rem;
}

/* ================================
   Detail List (shared)
================================ */
.detail-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.detail-list li:last-child {
    border-bottom: none;
}

.detail-list li i {
    color: var(--primary-gold);
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

/* ================================
   Footer
================================ */
footer {
    background: #020304;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

/* ================================
   Scroll Progress Bar
================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-gold);
    width: 0%;
    z-index: 9999;
}

/* ================================
   Back to Top Button
================================ */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--bg-mid);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    color: var(--text-gray);
    box-shadow: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-gold);
    color: #000;
    transform: translateY(-5px);
}

/* ================================
   CTA Box (shared)
================================ */
.cta-box {
    background: linear-gradient(135deg, rgba(26, 34, 46, 0.8) 0%, rgba(15, 20, 28, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(242, 183, 44, 0.1), transparent 60%);
    z-index: -1;
}

/* ================================
   Logo Grid Items (shared)
================================ */
.logo-grid-item {
    background: var(--bg-mid);
    border: 1px solid var(--border-color);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: default;
}

.logo-grid-item:hover {
    border-color: var(--primary-gold);
    color: white;
    background: var(--bg-card);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ================================
   Responsive
================================ */
@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
}