/* ============================================
   LAIBYRINTH — Landor-Inspired Design System
   ============================================ */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0D141A;
    line-height: 1.6;
    background: #F8F9FA;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background: #0D141A;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.12);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: #FFD700;
    font-size: 2.2rem;
    letter-spacing: 5px;
    font-weight: 900;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: rgba(248, 249, 250, 0.75);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #FFD700;
}

.btn-nav {
    background: transparent !important;
    border: 1px solid #FFD700;
    color: #FFD700 !important;
    padding: 0.45rem 1.4rem !important;
    border-radius: 0 !important;
    letter-spacing: 2px;
    font-size: 0.8rem !important;
    transition: all 0.2s !important;
}

.btn-nav:hover {
    background: #FFD700 !important;
    color: #0D141A !important;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, #0D141A 0%, #1976D2 100%);
    color: white;
    padding: 9rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700 0%, #1976D2 50%, #00B4D8 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.hero-subtitle {
    font-size: 1rem;
    color: #FFD700;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}

.hero-text {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.75;
    font-weight: 300;
    line-height: 1.7;
}

/* ============================================
   Page Hero (inner pages)
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, #0D141A 0%, #1976D2 100%);
    color: white;
    padding: 6rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #FFD700;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700 0%, #1976D2 50%, #00B4D8 100%);
}

.page-hero h1 {
    font-size: 4rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.75;
    font-weight: 300;
    line-height: 1.7;
}

/* ============================================
   Paths / Paths Section
   ============================================ */
.paths {
    padding: 7rem 0;
    background: #F8F9FA;
}

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

.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    border: 1px solid #E8E8E8;
}

.path-card {
    background: #F8F9FA;
    padding: 3rem 2.5rem;
    text-align: left;
    transition: background 0.25s, border-color 0.25s;
    border: none;
    border-right: 1px solid #E8E8E8;
    position: relative;
    overflow: visible;
}

.path-card:last-child {
    border-right: none;
}

.path-card::before {
    display: none;
}

.path-card:hover {
    background: #0D141A;
    transform: none;
    box-shadow: none;
}

.path-card:hover h3,
.path-card:hover p,
.path-card:hover .path-features li {
    color: #F8F9FA;
}

.path-card:hover .path-icon {
    filter: brightness(2);
}

.path-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: block;
}

.path-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #1976D2;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.25s;
}

.path-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    transition: color 0.25s;
}

.path-features {
    list-style: none;
    margin: 1.5rem 0 2rem;
    text-align: left;
}

.path-features li {
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.9rem;
    color: #555;
    transition: color 0.25s;
}

.path-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary,
.btn-secondary,
.btn-cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.2s;
    margin-top: 1rem;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: #1976D2;
    color: white;
    border: 2px solid #1976D2;
}

.btn-primary:hover {
    background: #0D141A;
    border-color: #0D141A;
    color: #FFD700;
    transform: none;
}

.btn-secondary {
    background: transparent;
    color: #0D141A;
    border: 2px solid #0D141A;
}

.btn-secondary:hover {
    background: #0D141A;
    color: #FFD700;
}

.btn-cta {
    background: #FFD700;
    color: #0D141A;
    font-size: 0.85rem;
    padding: 1rem 3rem;
    border: 2px solid #FFD700;
    font-weight: 700;
}

.btn-cta:hover {
    background: #0D141A;
    border-color: #FFD700;
    color: #FFD700;
    transform: none;
}

/* ============================================
   Why / Feature Cards
   ============================================ */
.why-section {
    padding: 7rem 0;
    background: #F8F9FA;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 4rem;
    color: #0D141A;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2px;
    background: #E8E8E8;
}

.why-card {
    background: white;
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: none;
}

.why-card h3 {
    color: #1976D2;
    margin-bottom: 1rem;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.why-card h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #FFD700;
    margin-top: 0.75rem;
}

.why-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #1976D2 0%, #00B4D8 100%);
    color: white;
    padding: 7rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
    font-weight: 300;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #0D141A;
    color: #F8F9FA;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #FFD700;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-col p {
    color: rgba(248, 249, 250, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin: 0.6rem 0;
}

.footer-col a {
    color: rgba(248, 249, 250, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    letter-spacing: 0.5px;
}

.footer-col a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(248, 249, 250, 0.08);
    opacity: 0.5;
    font-size: 0.85rem;
}

/* ============================================
   Content Section (shared)
   ============================================ */
.content-section {
    padding: 7rem 0;
}

.content-section + .content-section {
    padding-top: 0;
}

/* Alternating backgrounds */
.content-section:nth-child(even) {
    background: white;
}

.content-section:nth-child(odd) {
    background: #F8F9FA;
}

/* ============================================
   Training — Tier Cards
   ============================================ */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2px;
    margin-top: 3rem;
    background: #E8E8E8;
}

.tier-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-top: 4px solid transparent;
    transition: border-color 0.25s;
}

.tier-card:hover {
    border-top-color: #1976D2;
    transform: none;
}

.tier-card h3 {
    color: #1976D2;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.tier-price {
    font-size: 3rem;
    font-weight: 900;
    color: #FFD700;
    margin: 1.5rem 0;
    letter-spacing: -1px;
    font-family: 'Outfit', sans-serif;
    /* Gold text with dark outline for pop */
    -webkit-text-stroke: 1px #0D141A;
}

.tier-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.tier-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: #444;
    border-bottom: 1px solid #F0F0F0;
}

.tier-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1976D2;
    font-weight: bold;
}

/* ============================================
   Blog Styles
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 0;
    margin-top: 0;
    background: #E8E8E8;
    gap: 2px;
}

.blog-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    border-top: 3px solid transparent;
    transition: border-color 0.25s;
}

.blog-card:hover {
    border-top-color: #1976D2;
    transform: none;
}

.blog-content {
    padding: 2.5rem;
}

.blog-category {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1976D2;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-meta {
    color: #999;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.blog-card h3 {
    color: #1976D2;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.blog-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #1976D2;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s, gap 0.2s;
    font-family: 'Inter', sans-serif;
}

.read-more:hover {
    color: #0D141A;
    gap: 0.75rem;
}

/* ============================================
   Article / Blog Post Styles
   ============================================ */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 4rem;
    border-top: 4px solid #FFD700;
}

.article-content h2 {
    color: #0D141A;
    margin: 2.5rem 0 1rem;
    font-size: 1.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.article-content h3 {
    color: #1976D2;
    margin: 2rem 0 0.75rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.article-content p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1.5rem 2rem;
}

.article-content li {
    margin: 0.6rem 0;
    line-height: 1.7;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form {
    max-width: 640px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-top: 4px solid #FFD700;
    box-shadow: none;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0D141A;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #D8D8D8;
    border-radius: 0;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: #FAFAFA;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1976D2;
    background: white;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.9rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #1976D2;
    color: white;
    border: 2px solid #1976D2;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.submit-btn:hover {
    background: #0D141A;
    border-color: #0D141A;
    color: #FFD700;
    transform: none;
}

/* ============================================
   404 Page
   ============================================ */
.error-section {
    background: #0D141A;
    color: white;
    padding: 10rem 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-section .container {
    width: 100%;
}

.error-code {
    font-size: 12rem;
    font-weight: 900;
    color: #FFD700;
    line-height: 1;
    letter-spacing: -4px;
    opacity: 0.15;
    display: block;
    margin-bottom: -4rem;
}

.error-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.error-message {
    font-size: 1.1rem;
    opacity: 0.6;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* ============================================
   Scroll Progress Bar
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FFD700 0%, #1976D2 50%, #00B4D8 100%);
    width: 0%;
    transition: width 0.1s ease;
}

/* ============================================
   Maze Overlay / Animations (kept, toned down)
   ============================================ */
.maze-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

section {
    position: relative;
    z-index: 1;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .nav-brand h1 {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .nav-menu {
        font-size: 0.75rem;
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu a {
        padding: 0.2rem 0.4rem;
    }

    .hero {
        padding: 6rem 0 5rem;
    }

    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 4px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .section-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .cta-section h2 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .path-grid {
        grid-template-columns: 1fr;
        border: none;
        gap: 2px;
    }

    .path-card {
        border-right: none;
        border-bottom: 1px solid #E8E8E8;
    }

    .why-grid,
    .tier-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .article-content {
        padding: 2rem 1.5rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .error-code {
        font-size: 7rem;
    }

    .error-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .tier-price {
        font-size: 2.2rem;
    }

    .content-section {
        padding: 4rem 0;
    }

    .paths,
    .why-section,
    .cta-section {
        padding: 4rem 0;
    }

    .navbar {
        transition: transform 0.3s ease-in-out;
    }
}

/* ============================================
   SECURITY PAGE CLASSES — DO NOT CHANGE
   These are overridden by security.html inline
   styles but kept here as fallback/structure
   ============================================ */

/* security.html uses these from styles.css:
   .navbar, .container, .btn-primary, .btn-cta,
   .content-section, .cta-section, .footer
   All are defined above. Security page overrides
   them via its own inline <style> block. */
