:root {
    --primary: #daa520;
    --primary-glow: rgba(218, 165, 32, 0.4);
    --bg-dark: #050505;
    --bg-darker: #000000;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: 10px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* --- Utility Classes --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-gold { color: var(--primary); }

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

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(218, 165, 32, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px var(--primary-glow);
}

.tracking-in-expand {
    animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--primary);
    text-transform: uppercase;
}

/* --- Background Ambient Light --- */
.ambient-light {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.1) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: -1;
}

.ambient-light-2 {
    position: fixed;
    bottom: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.05) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    max-height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

.btn-nav {
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--primary) !important;
}

.btn-nav:hover {
    background: var(--primary);
    color: #000 !important;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-video-wrapper {
    position: relative;
    padding: 10px;
}

.hero-video-frame {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 9/16;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 2;
}

.hero-video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-decoration {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 100%;
    max-width: 350px;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 20px;
    z-index: 1;
    opacity: 0.5;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.tagline {
    display: block;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.cta-group {
    display: flex;
    gap: 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(45deg, #128C7E, #25D366);
    color: white;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-gold {
    background: linear-gradient(45deg, #daa520, #f4c430);
    color: #000;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--primary-glow);
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease-out;
}

.glow-effect:hover::after {
    transform: scale(1);
}

/* --- Stats Bar --- */
.stats-bar {
    padding: 30px 0;
    margin-top: 0; /* Removed negative margin to prevent overlap */
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-item i {
    font-size: 1.5rem;
}

.stat-item span {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* --- Section Styles --- */
.section {
    padding: 120px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.title-line {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 50px;
    border-radius: 2px;
}

/* --- About Cards --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-card {
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.about-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* --- Authority Section --- */
.authority-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px;
    border-radius: 30px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-gold {
    background: rgba(218, 165, 32, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid var(--primary);
}

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.check-list i {
    color: var(--primary);
    background: rgba(218, 165, 32, 0.1);
    padding: 8px;
    border-radius: 50%;
}

.authority-video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.authority-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Videos Section --- */
.video-showcase {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.video-card {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    transition: var(--transition);
}

.video-card:hover {
    transform: scale(1.05);
}

.video-frame-vertical {
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.video-frame-vertical iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-frame-landscape {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.video-frame-landscape iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    text-align: center;
    margin-top: 20px;
}

.video-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.video-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Info Grid --- */
.info-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-box {
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.info-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(218, 165, 32, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 1.8rem;
}

/* --- CTA Final --- */
.cta-final {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-bg-video iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transform: scale(1.5); /* Zoom to remove letterboxing */
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #050505 10%, rgba(5,5,5,0.7) 100%);
    z-index: 2;
}

.cta-content-wrapper {
    position: relative;
    z-index: 3;
}

.cta-content-wrapper h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.btn-xl {
    padding: 20px 50px;
    font-size: 1.2rem;
    margin-top: 30px;
}

.pulse {
    animation: pulse-gold 2s infinite;
}

/* --- Footer --- */
.modern-footer {
    background: #000;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--primary);
    color: #000;
    transform: rotate(360deg);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- Animations --- */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes tracking-in-expand {
    0% { letter-spacing: -0.5em; opacity: 0; }
    40% { opacity: 0.6; }
    100% { opacity: 1; }
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(218, 165, 32, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(218, 165, 32, 0); }
    100% { box-shadow: 0 0 0 0 rgba(218, 165, 32, 0); }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* --- Media Queries --- */
@media (max-width: 991px) {
    .navbar {
        background: rgba(5,5,5,0.95);
    }

    .scroll-down {
        display: none;
    }
    
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        display: flex;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-video-wrapper {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .hero-content {
        order: 2;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .authority-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 20px;
    }

    .stats-bar {
        margin-top: 0;
        background: rgba(0, 0, 0, 0.8); /* Better visibility on mobile */
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .cta-final h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-height: 50px;
    }
    
    .hero {
        padding-top: 130px; /* Increased top padding to clear fixed header on mobile */
    }

    .hero-video-wrapper {
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-video-frame {
        max-width: 100%;
    }

    .video-decoration {
        left: 5px;
        top: 5px;
        max-width: 95%;
    }

    .btn {
        width: 100%;
        padding: 15px 20px;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }
}
