:root {
    --bg-color: #050505;
    --card-bg: #101010;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --gold-primary: #D4AF37;
    --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 50%, #b38728 100%);
    --silver-gradient: linear-gradient(135deg, #e0e0e0 0%, #ffffff 50%, #a0a0a0 100%);
    --accent-glow: rgba(212, 175, 55, 0.3);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-premium {
    background: var(--gold-gradient);
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    display: inline-block;
    text-decoration: none;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn-premium:hover::after {
    left: 100%;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at top right, #1a1a1a, var(--bg-color));
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--gold-primary);
    top: 10%;
    right: 10%;
    animation: float 10s infinite ease-in-out;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: #444;
    /* Silver-ish */
    bottom: 20%;
    left: 5%;
    animation: float 15s infinite ease-in-out reverse;
}

/* --- Simulator Section (Gamification) --- */
.simulator-section {
    padding: 100px 0;
    background: #080808;
    position: relative;
}

.simulator-card {
    background: var(--card-bg);
    border: 1px solid #222;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.simulator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gold-gradient);
}

.slider-container {
    margin: 40px 0;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: #222;
    border-radius: 5px;
    outline: none;
    opacity: 0.9;
    transition: opacity .2s;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    background: var(--gold-gradient);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--gold-primary);
}

.result-box {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    border: 1px solid var(--gold-primary);
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.05);
}

.result-value {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold-primary);
    font-family: var(--font-heading);
}

.result-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Features / Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 100px 0;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    transition: 0.4s;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* --- Animations --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Footer --- */
footer {
    border-top: 1px solid #222;
    padding: 80px 0;
    text-align: center;
    color: var(--text-secondary);
}


/* --- Timeline / Journey Section --- */
.journey-section {
    padding: 100px 0;
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #333;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-progress {
    position: absolute;
    width: 4px;
    background: var(--gold-gradient);
    top: 0;
    height: 0%;
    /* Will become 100% via JS */
    left: 50%;
    margin-left: -2px;
    z-index: 1;
    border-radius: 2px;
    transition: height 0.1s linear;
}

.journey-step {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.journey-step.left {
    left: 0;
    text-align: right;
}

.journey-step.right {
    left: 50%;
    text-align: left;
}

.journey-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-content {
    padding: 30px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid #222;
    position: relative;
    z-index: 2;
    /* Bring above timeline line */
    transition: 0.3s;
}

.step-content:hover {
    border-color: var(--gold-primary);
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    position: absolute;
    opacity: 0.05;
    color: var(--gold-primary);
    top: -10px;
    line-height: 1;
}

.left .step-number {
    right: 20px;
}

.right .step-number {
    left: 20px;
}

/* Timeline Dot */
.journey-step::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #222;
    border: 3px solid var(--gold-primary);
    top: 50%;
    /* Middle vertically */
    transform: translateY(-50%);
    /* Start centered */
    border-radius: 50%;
    z-index: 5;
    /* Very high z-index to sit on top of everything */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: background 0.3s, box-shadow 0.3s;
}

/* Fix dot position for right side */
.right::after {
    left: -10px;
}

.journey-step.active::after {
    background-color: var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-primary), 0 0 30px var(--gold-primary);
}

/* --- About Us Section --- */
.about-section {
    padding: 100px 0;
    background: radial-gradient(circle at left, #111, #050505);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.about-highlight {
    border-left: 3px solid var(--gold-primary);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #ddd;
}

.about-visual {
    position: relative;
    height: 400px;
    border-radius: 20px;
    background: linear-gradient(45deg, #111, #222);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
}

.about-visual::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(212, 175, 55, 0.05) 10px,
            rgba(212, 175, 55, 0.05) 20px);
    animation: slideBg 20s linear infinite;
}

@keyframes slideBg {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100px 100px;
    }
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid #222;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    font-family: serif;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.5;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
}

.client-info h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.8rem;
    color: #888;
}

/* --- FAQ --- */
.faq-section {
    padding: 100px 0;
    background: #080808;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #222;
    margin-bottom: 20px;
}

.faq-question {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #fff;
    text-transform: none;
    /* Override uppercase */
    letter-spacing: 0;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--gold-primary);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #aaa;
    line-height: 1.6;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Approximate max height */
}

/* --- Responsive & Mobile Fixes --- */

/* 1. Tablet Landscape & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .features-grid {
        gap: 20px;
    }

    .about-text h2 {
        font-size: 2.5rem;
    }
}

/* 2. Tablet Portrait (max-width: 768px) */
@media (max-width: 768px) {

    /* General Resets */
    body,
    html {
        overflow-x: hidden;
    }

    .container {
        padding: 0 25px;
    }

    section {
        padding: 60px 0;
    }

    /* Typography fixes */
    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 2.2rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    .hero p,
    .about-text p {
        font-size: 1.1rem !important;
    }

    /* Navigation */
    nav {
        padding: 20px !important;
        flex-direction: column;
        gap: 20px;
        background: rgba(5, 5, 5, 0.95);
        /* Better readability on mobile */
        position: relative;
    }

    /* Hero */
    .hero {
        height: auto;
        min-height: 90vh;
        padding: 100px 0 80px 0;
        text-align: center;
    }

    /* Stats */
    .stat-item {
        margin-bottom: 40px;
        width: 100%;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* About Section */
    .about-grid {
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    .about-visual {
        width: 100%;
        height: 300px;
        margin-top: 40px;
        order: 2;
    }

    .about-highlight {
        font-size: 1.1rem;
        margin: 20px 0;
        padding-left: 15px;
    }

    /* Timeline / Journey Section */
    .timeline {
        margin: 30px 0;
    }

    .timeline::after {
        left: 30px;
    }

    .timeline-progress {
        left: 30px;
    }

    .journey-step {
        width: 100%;
        padding: 0 0 0 80px !important;
        margin-bottom: 50px;
        left: 0 !important;
        text-align: left !important;
    }

    .journey-step::after {
        left: 21px !important;
        right: auto !important;
    }

    .step-number {
        left: 80px !important;
        right: auto !important;
        top: -30px !important;
        font-size: 3.5rem;
        opacity: 0.1;
    }

    .step-content {
        padding: 25px;
    }

    /* Simulator */
    .simulator-card {
        padding: 40px 20px;
    }

    .result-value {
        font-size: 2.5rem;
        word-break: break-word;
        line-height: 1.1;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* 3. Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .result-value {
        font-size: 2rem;
    }

    .journey-step {
        padding-left: 60px !important;
    }

    .timeline::after,
    .timeline-progress {
        left: 20px;
    }

    .journey-step::after {
        left: 11px !important;
    }

    .step-number {
        left: 60px !important;
        font-size: 2.5rem;
    }

    .btn-premium {
        width: 100%;
        padding: 15px;
        font-size: 0.9rem;
    }
}