/* The Obsidian Firm - Professional Trading Dashboard Aesthetic */

:root {
    --obsidian-black: #000000;
    --electric-purple: #7E22CE;
    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --card-bg: #0a0a0a;
    --border-subtle: #1a1a1a;
    --glow-purple: rgba(126, 34, 206, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--obsidian-black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sticky Announcement Bar */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--electric-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 1000;
    letter-spacing: 0.5px;
}

.announcement-bar a {
    color: white;
    text-decoration: underline;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 999;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--electric-purple);
}

/* Hero Section */
.hero-section {
    margin-top: 100px;
    padding: 6rem 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-text .highlight {
    color: var(--electric-purple);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.course-book {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.course-book:hover {
    transform: translateX(-10px);
    border-color: var(--electric-purple);
    box-shadow: 0 0 30px var(--glow-purple);
}

.course-book.locked {
    opacity: 0.6;
    position: relative;
}

.course-book.locked::after {
    content: "🔒 LOCKED";
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    background: var(--electric-purple);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.book-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--electric-purple);
    font-family: 'Merriweather', serif;
}

.book-title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Course Grid - Bento Style */
.courses-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.course-card {
    background: var(--card-bg);
    border: 2px solid var(--border-subtle);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--electric-purple);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    border-color: var(--electric-purple);
    box-shadow: 0 0 40px var(--glow-purple);
    transform: translateY(-5px);
}

.course-badge {
    display: inline-block;
    background: var(--electric-purple);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.course-badge.free {
    background: #10B981;
}

.course-badge.advanced {
    background: var(--electric-purple);
}

.course-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.course-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.micro-solves {
    list-style: none;
    margin-bottom: 2rem;
}

.micro-solves li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.micro-solves li::before {
    content: "→ ";
    color: var(--electric-purple);
    font-weight: 700;
    margin-right: 0.5rem;
}

.cta-button {
    width: 100%;
    padding: 1.25rem;
    background: var(--electric-purple);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--glow-purple);
}

.cta-button:hover {
    background: #6B21A8;
    box-shadow: 0 8px 30px var(--glow-purple);
    transform: translateY(-2px);
}

.cta-button.locked {
    background: #1a1a1a;
    border: 2px solid var(--electric-purple);
    color: var(--electric-purple);
}

/* Curriculum Breakdown - Bento Boxes */
.curriculum-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bento-box {
    background: var(--card-bg);
    border: 2px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.bento-box:hover {
    border-color: var(--electric-purple);
    box-shadow: 0 0 30px var(--glow-purple);
}

.bento-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.bento-box p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--electric-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-boxes {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
}

/* ========================================
   MOBILE RESPONSIVE FIXES
   ======================================== */

/* Mobile: 768px and below */
@media (max-width: 768px) {
    /* Typography scaling */
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.25rem !important; }
    p { font-size: 1rem !important; }
    
    /* Navbar */
    .navbar {
        padding: 1rem !important;
    }
    
    .nav-container {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .nav-links {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.5rem !important;
    }
    
    .nav-link {
        padding: 0.75rem !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    /* Hero sections */
    .hero {
        padding: 4rem 1rem !important;
        min-height: auto !important;
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-content {
        padding: 2rem 1rem !important;
    }
    
    /* Bento grids */
    .bento-grid,
    .bento-boxes,
    .strategies-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }
    
    /* Cards */
    .bento-card,
    .strategy-card,
    .course-card {
        padding: 1.5rem !important;
        margin: 0 !important;
    }
    
    /* Buttons */
    .cta-button,
    .vault-btn,
    .strategy-btn {
        width: 100% !important;
        padding: 1rem !important;
        font-size: 1rem !important;
    }
    
    /* Course content */
    .course-content {
        flex-direction: column !important;
    }
    
    .course-sidebar {
        width: 100% !important;
        position: relative !important;
        margin-bottom: 2rem !important;
    }
    
    .course-main {
        width: 100% !important;
        padding: 1rem !important;
    }
    
    /* Images */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Proof carousel */
    .carousel-container {
        max-width: 100% !important;
        padding: 1rem !important;
    }
    
    .carousel-slide img {
        max-height: 400px !important;
    }
    
    /* Modal */
    .email-modal-content,
    .vault-card {
        width: 95% !important;
        padding: 2rem 1rem !important;
        margin: 1rem !important;
    }
    
    /* Tables */
    table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
    
    /* Footer */
    .footer-container {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .footer-section {
        text-align: center !important;
    }
    
    /* Hide overflow */
    body {
        overflow-x: hidden !important;
    }
    
    /* Container max-widths */
    .container,
    .content-container,
    .strategy-content {
        max-width: 100% !important;
        padding: 1rem !important;
    }
    
    /* Banner */
    .announcement-banner {
        padding: 0.75rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

/* Small mobile: 480px and below */
@media (max-width: 480px) {
    h1 { font-size: 1.75rem !important; }
    h2 { font-size: 1.25rem !important; }
    h3 { font-size: 1.1rem !important; }
    
    .hero h1 {
        font-size: 2rem !important;
    }
    
    .logo img {
        height: 50px !important;
    }
    
    .carousel-slide img {
        max-height: 300px !important;
    }
    
    .bento-card,
    .strategy-card {
        padding: 1rem !important;
    }
}

/* Landscape mobile */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        min-height: auto !important;
        padding: 2rem 1rem !important;
    }
    
    .hero h1 {
        font-size: 2rem !important;
    }
}
