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

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-red: #E63946;
    --accent-gold: #D4AF37;
    --accent-gold-metallic: linear-gradient(135deg, #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%);
    --secondary-text: #a0a0a0;
    --card-bg: #111111;
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    cursor: none !important; /* Hide default cursor for custom one */
}

@media (max-width: 768px) {
    * {
        cursor: auto !important; /* Restore cursor on mobile */
    }
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease, visibility 1s;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preloader-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
    animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-bar-container {
    width: 250px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: var(--accent-gold);
    transition: width 0.5s ease;
}

.preloader-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--accent-gold);
    opacity: 0.7;
}

/* Custom Cursor */
#custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

#cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s, transform 0.15s ease-out;
    opacity: 0.5;
}

.cursor-hover #cursor-follower {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
}

/* Scroll Progress */
#scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1001;
}

#scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
}

h1,
h2,
h3,
.brand-font {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Metallic Text Effect */
.metallic-text {
    color: var(--accent-gold); /* Fallback for older browsers */
    background: var(--accent-gold-metallic);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.nav-hidden {
    transform: translateY(-100%);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    border-left: 4px solid var(--accent-red);
    padding-left: 10px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    opacity: 0.7;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 10% 0; /* Account for fixed header height */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/hero-motivation.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(transparent, var(--bg-color));
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.5rem;
    color: var(--secondary-text);
    max-width: 800px;
    margin-bottom: 3rem;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--text-color);
    color: var(--text-color);
    transform: translateY(-5px);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-color);
}

.btn-secondary:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: translateY(-5px);
}

/* Section Common */
section {
    padding: 150px 5%; /* Increased padding for more elite feel */
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-red);
    margin: 30px auto;
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.pillar-card {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pillar-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-20px);
    background: rgba(30, 30, 30, 0.7);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
}

.pillar-icon {
    width: 100%;
    height: 240px;
    margin-bottom: 3rem;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    transition: var(--transition-slow);
    animation: floatingLogo 4s infinite ease-in-out;
}

.pillar-card:nth-child(2) .pillar-icon { animation-delay: 0.5s; }
.pillar-card:nth-child(3) .pillar-icon { animation-delay: 1s; }
.pillar-card:nth-child(4) .pillar-icon { animation-delay: 1.5s; }

.pillar-card:hover .pillar-icon {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 30px 70px rgba(212, 175, 55, 0.3);
}

.pillar-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.pillar-card p {
    color: var(--secondary-text);
    font-size: 1.1rem;
    max-width: 95%;
    line-height: 1.8;
}

/* Animations */
@keyframes pulseLogo {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes floatingLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Story Section */
.story-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.story-text {
    font-size: 1.3rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
    line-height: 2;
}

/* Lead Capture */
.contact-section {
    background: #050505;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.lead-form input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    padding: 1.5rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition);
}

.lead-form input:focus {
    border-bottom-color: var(--accent-gold);
}

.lead-form button {
    margin-top: 2rem;
    cursor: none; /* Let custom cursor handle it */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll !important; /* Fix for mobile parallax bug */
        background-color: #000; /* Fallback */
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3.5rem;
        margin-top: 50px; /* Extra spacing for mobile headers */
    }

    .hero p {
        font-size: 1.2rem;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

    .pillar-card {
        padding: 5rem 2rem;
    }

    .pillar-icon {
        height: 320px; /* Maximize visibility */
        border-radius: 20px;
        padding: 25px;
        width: 100%;
        max-width: 500px;
    }

    .pillar-card h3 {
        font-size: 2.2rem;
    }
}