@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-bg: #0b1120;
    --accent-gold: #c6934b;
    --accent-gold-gradient: linear-gradient(135deg, #c6934b 0%, #dab47e 100%);
    --accent-gold-hover: #e0ac69;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --padding-section: 80px 20px;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-thin {
    color: var(--text-muted);
    font-weight: 300;
}

/* Header & Nav */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(11, 17, 32, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo span {
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.logo .text-thin {
    color: var(--text-muted);
    font-weight: 300;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.btn-primary {
    background: var(--accent-gold-gradient);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(198, 147, 75, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 147, 75, 0.3);
    filter: brightness(1.1);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, rgba(198, 147, 75, 0.1), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.05;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Stats Section */
.stats {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h2 {
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Trusted By Section */
.trusted-by {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.trusted-by p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
    align-items: center;
}

/* Instructor Section */
.instructors {
    padding: var(--padding-section);
}

.instructor-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    flex-wrap: wrap;
}

.instructor-image {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.instructor-image img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.instructor-info {
    flex: 4;
    min-width: 280px;
}

.instructor-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.instructor-info p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Modules Section */
.modules {
    padding: var(--padding-section);
}

.modules-header {
    margin-bottom: 50px;
}

.modules-header h2 {
    font-size: 2.2rem;
    font-weight: 600;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.module-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.module-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.module-icon {
    width: 50px;
    height: 50px;
    background: rgba(198, 147, 75, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.module-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.module-card ul {
    list-style: none;
    margin-bottom: 25px;
    flex-grow: 1;
}

.module-card ul li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.module-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

.btn-text {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: gap 0.3s;
}

.btn-text:hover {
    gap: 12px;
}

.text-scoring {
    padding: 60px 0;
    text-align: center;
}

.text-scoring h3 {
    font-weight: 400;
    color: var(--text-muted);
}

.text-scoring strong {
    color: var(--text-main);
}

/* Curriculum Section */
.curriculum {
    padding: var(--padding-section);
    background: #070b14;
}

.curriculum-header h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.curriculum-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.curriculum-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.curriculum-item i {
    color: var(--accent-gold);
}

.curriculum-image img {
    width: 100%;
    border-radius: 12px;
}

/* Pricing Section */
.pricing {
    padding: var(--padding-section);
}

.pricing-header {
    margin-bottom: 50px;
}

.pricing-header h2 {
    font-size: 2.2rem;
    max-width: 600px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 40px;
    align-items: center;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.pricing-card.popular {
    background: rgba(198, 147, 75, 0.05);
    border-color: var(--accent-gold);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.pricing-card .subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card .btn-primary {
    width: 100%;
}

.trust-list {
    margin-top: 40px;
    text-align: left;
}

.trust-list li {
    list-style: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-list li i {
    color: var(--accent-gold);
}

/* Badge Component */
.certified-badge {
    background: #fff;
    color: #0b1120;
    padding: 20px;
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: -30px;
    right: 20px;
    z-index: 10;
}

.certified-badge .ce-mark {
    background: #0b1120;
    color: #c6934b;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.hero-image {
    position: relative;
}

.hero-video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Footer Section */
.footer-cta {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at bottom, rgba(198, 147, 75, 0.1), transparent);
}

.footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.footer-cta .hero-actions {
    justify-content: center;
}

footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Base Responsive (Updated) */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    /* Mobile Header Refinement */
    nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .nav-links {
        flex-direction: column;
        /* Stacked links */
        align-items: center;
        gap: 15px;
    }

    nav .btn-primary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .curriculum-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cards-container {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    /* Form & Sign-up Page Specific Responsiveness */
    .signup-grid {
        grid-template-columns: 1fr;
    }

    .or-separator {
        padding: 40px 0;
    }

    .signup-hero h1 {
        font-size: 2.2rem;
    }

    .signup-card {
        padding: 30px 20px;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    .team-step-buttons {
        flex-direction: column;
    }

    .team-step-buttons button {
        width: 100%;
    }
}

/* Sign-up Page Specific Styles */
.signup-hero {
    padding: 80px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.8) 0%, var(--bg-deep) 100%);
}

.signup-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.signup-container {
    padding: 60px 0 100px;
    position: relative;
}

.signup-grid {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 40px;
    align-items: start;
}

.signup-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.signup-card.team {
    border-color: var(--accent-gold);
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-header i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.card-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card-header p {
    color: var(--text-muted);
}

.or-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--text-muted);
    position: relative;
}

.or-separator::before,
.or-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
    margin: 0 10px;
}

/* Sign-up Page Utilities */
.pos-relative {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
}

.text-gold {
    color: var(--accent-gold);
}

.full-width {
    width: 100%;
}

.signup-footer {
    text-align: center;
    padding-bottom: 100px;
}

.signup-footer .trusted-by {
    border: none;
    background: transparent;
    padding-top: 60px;
}

.signup-footer .trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    gap: 60px;
    margin-top: 30px;
}

.signup-footer .trusted-logos span {
    font-size: 1.5rem;
}

.signup-footer .trusted-logos .glassdoor {
    font-weight: 700;
    letter-spacing: -1px;
}

.signup-footer .trusted-logos .adp {
    font-weight: 800;
}

.signup-footer .trusted-logos .chipotle {
    font-weight: 600;
    font-family: serif;
}

.login-footer-spacer {
    margin-top: 60px;
}

.login-link-btn {
    padding: 8px 20px;
    margin-left: 10px;
}

.footer-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
    padding: 40px 0;
}

.footer-main-column p {
    margin-top: 20px;
    font-size: 0.8rem;
}

.footer-nav-links {
    display: flex;
    gap: 60px;
}

.footer-nav-column h4 {
    color: var(--text-main);
    margin-bottom: 20px;
}

.footer-nav-column ul {
    list-style: none;
    font-size: 0.85rem;
}

.footer-nav-column ul li a {
    color: var(--text-muted);
    text-decoration: none;
}

.step-2-header {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.step-2-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.team-step-buttons {
    display: flex;
    gap: 10px;
}

.btn-flex-1 {
    flex: 1;
}

.btn-flex-2 {
    flex: 2;
}

@media (max-width: 968px) {
    .signup-grid {
        grid-template-columns: 1fr;
    }

    .or-separator {
        padding: 40px 0;
    }

    .signup-hero h1 {
        font-size: 2.2rem;
    }

    .signup-card {
        padding: 30px 20px;
    }
}