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

/* Variables - Premium Corporate Theme */
:root {
    /* Colors */
    --bg-primary: #001f54; /* Deep Blue */
    --bg-secondary: #003380; /* Royal Blue */
    --bg-darker: #000c24; /* Navy */
    
    --text-primary: #ffffff;
    --text-secondary: #d1d5db; /* Light Gray */
    
    /* Accents */
    --accent-yellow: #FFD700; /* Bright/Golden Yellow */
    --accent-orange: #FF6600; /* Burnt Orange */
    --accent-hover: #e65c00;
    
    /* Glows */
    --glow-red: rgba(255, 51, 102, 0.6);
    --glow-blue: rgba(0, 51, 128, 0.5);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-darker));
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    padding-bottom: 70px; /* Space for Sticky Footer */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-yellow { color: var(--accent-yellow); }
.text-orange { color: var(--accent-orange); }
.bg-dark { background-color: var(--bg-darker); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), #ff4500);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 2; /* Content above Matter.js canvas */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

/* 1. Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    position: relative;
    background: rgba(0, 12, 36, 0.7);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-content .subheadline {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-details {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-details span {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-yellow);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 51, 102, 0.15);
    color: #ff3366;
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid var(--glow-red);
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulseGlow 2s infinite;
}

.urgency-badge i { margin-right: 8px; }

.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.hero-actions .microcopy { font-size: 0.9rem; color: var(--text-secondary); }

/* Gravity Canvas Container */
#gravity-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind content */
    pointer-events: none; /* Let clicks pass through */
}

.gravity-item {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 5;
    background: rgba(0, 51, 128, 0.8);
    border: 1px solid var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-yellow);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    cursor: grab;
    pointer-events: auto;
    transition: transform 0.2s;
}

.gravity-item:active { cursor: grabbing; transform: scale(0.95); }

/* 2. Who Can Join */
.pain-points {
    margin-bottom: 3rem;
    text-align: center;
}
.pain-points h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--accent-yellow); }
.pain-points p { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 0.5rem; }

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.target-card {
    background: var(--bg-darker);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.target-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent-yellow), transparent);
}

.target-card:hover { transform: translateY(-5px); border-color: rgba(255, 215, 0, 0.3); }
.target-card i { font-size: 2.5rem; color: var(--accent-orange); margin-bottom: 15px; }

/* 3. What You Will Learn */
.curriculum-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.curriculum-item {
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid var(--accent-orange);
    transition: all 0.3s;
}

.curriculum-item:hover { background: var(--bg-secondary); transform: translateX(5px); }
.curriculum-item i { font-size: 2rem; color: var(--accent-yellow); margin-right: 20px; min-width: 40px; text-align: center;}
.curriculum-item h3 { font-size: 1.2rem; margin-bottom: 0px; }

/* 4. Bonus Section */
.bonus-section {
    position: relative;
    border-radius: 15px;
    background: var(--bg-darker);
    padding: 60px 20px;
    margin-top: 40px;
    border: 1px solid rgba(255, 51, 102, 0.3);
    box-shadow: 0 0 30px rgba(255, 51, 102, 0.1);
}

.bonus-ribbon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    color: #fff;
    padding: 10px 30px;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 10;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.bonus-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.bonus-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.2);
}

.bonus-card h4 { color: var(--accent-yellow); margin-bottom: 10px; }

/* 5. Trainer Section */
.trainer-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trainer-img-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    position: relative;
}

.trainer-img-wrapper img {
    width: 100%;
    border-radius: 15px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.trainer-img-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-orange);
    border-radius: 15px;
    z-index: 1;
}

.trainer-info { flex: 2; min-width: 300px; }
.trainer-info h2 { font-size: 2.5rem; margin-bottom: 10px; }
.trainer-info h3 { color: var(--accent-yellow); margin-bottom: 20px; font-weight: 500; font-size: 1.2rem; }
.trainer-info p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 20px; }

.trust-badges { display: flex; gap: 20px; margin-top: 20px; }
.trust-badge { background: rgba(0,0,0,0.2); padding: 10px 20px; border-radius: 8px; border: 1px solid rgba(255, 215, 0, 0.2); color: var(--accent-yellow); }

/* 6. Case Studies */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.case-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
}
.case-card.highlight {
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-primary));
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.case-card h3 { font-size: 2.5rem; color: var(--accent-yellow); margin-bottom: 10px; }
.case-card.highlight h3 { color: var(--accent-orange); font-size: 3rem;}
.case-card p { font-size: 1.1rem; color: #fff; font-weight: 600; }

/* 7. Testimonials */
.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.test-card {
    background: var(--bg-darker);
    padding: 20px;
    border-radius: 10px;
    max-width: 350px;
    border-left: 4px solid var(--accent-yellow);
    flex: 1 1 300px;
}

.test-card .stars { color: var(--accent-yellow); margin-bottom: 10px; }
.test-card p { font-style: italic; color: var(--text-secondary); margin-bottom: 15px; }
.test-card h5 { color: #fff; }

/* 8. Info & CTA Info */
.info-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.3);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
}
.info-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.1rem; }
.info-item i { color: var(--accent-orange); font-size: 1.5rem; }

/* 9. Final Push */
.final-cta { text-align: center; }
.final-cta h2 { font-size: 3rem; margin-bottom: 15px; }
.final-cta p { font-size: 1.2rem; color: var(--accent-yellow); margin-bottom: 30px; }

/* 10. Sticky Footer Bar */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-darker);
    border-top: 2px solid var(--accent-orange);
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.sticky-footer-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.timer-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.timer-text { color: var(--accent-yellow); font-weight: 700; font-size: 1.2rem; display: flex; gap: 5px; }
.timer-text span { background: var(--bg-primary); padding: 2px 6px; border-radius: 4px;}

.urgency-text { font-weight: 700; color: #fff; }

.sticky-footer .btn-primary {
    padding: 10px 30px;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* Animations */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 51, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 51, 102, 0); }
}

.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero { padding-top: 180px; min-height: 80vh; }
    .hero-content { padding: 2.5rem; }
    .hero-content h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    header img { height: 75px !important; } /* Smaller logo on mobile */
    .hero { padding-top: 140px; padding-bottom: 50px; }
    .hero-content { padding: 1.5rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content .subheadline { font-size: 1.1rem; }
    .hero-details { flex-direction: column; gap: 10px; }
    .section { padding: 50px 0; }
    .section-title { font-size: 2rem; }
    
    /* Grids stacking */
    .target-grid { grid-template-columns: 1fr; }
    .bonus-grid { grid-template-columns: 1fr; }
    .case-studies-grid { grid-template-columns: 1fr; }
    .info-bar { flex-direction: column; gap: 20px; align-items: flex-start; }
    
    .sticky-footer { flex-direction: column; gap: 10px; padding: 15px; }
    .sticky-footer-content { width: 100%; justify-content: center; flex-wrap: wrap; }
    .sticky-footer .btn-primary { width: 100%; text-align: center; }
    
    .trainer-flex { flex-direction: column; text-align: center; gap: 30px; }
    .trust-badges { justify-content: center; flex-wrap: wrap; }
    .trainer-img-wrapper { min-width: unset; width: 100%; max-width: 300px; margin: 0 auto; }
    .trainer-img-wrapper::after { display: none; }
    
    .final-cta h2 { font-size: 2.2rem; }
    .final-cta .hero-actions .btn { font-size: 1.1rem !important; padding: 15px 30px !important; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    header img { height: 60px !important; }
}
