:root {
    --bg-base: #0A0A0B;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Domain Colors */
    --copper: #B87333;
    --cyan: #00F3FF;
    --emerald: #2ECC71;
    --amethyst: #9B59B6;
    --crimson: #FF3131;
    --teal: #14B8A6;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 100px;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.code-text {
    font-family: 'JetBrains Mono', monospace;
}

/* ========== HERO SECTION ========== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(0, 243, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(155, 89, 182, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 80%, rgba(46, 204, 113, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}


/* Image Placeholder Styling */
.image-placeholder {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 2px dashed var(--glass-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    overflow: hidden;
}

.image-placeholder img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

.logo-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 243, 255, 0.2); }
    50% { box-shadow: 0 0 60px rgba(0, 243, 255, 0.4); }
}

/* ========== SITE HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.header-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

/* ========== NAVIGATION MENU ========== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-menu a:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.nav-menu a.active {
    color: var(--cyan);
    border-color: var(--cyan);
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--cyan);
}

.hero-title .scanning-text {
    display: inline-block;
    position: relative;
    overflow: hidden;
    color: var(--cyan);
}

.hero-title .scanning-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: scan 2.5s ease-in-out infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* ========== SECTION STYLING ========== */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title .icon {
    font-size: 1.5rem;
}

/* ========== CORE BLURBS SECTION ========== */
.blurbs-section {
    display: grid;
    gap: 3rem;
}

.blurb-card {
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blurb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blurb-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--cyan);
}

.blurb-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.blurb-card strong {
    color: var(--text-primary);
}

.blurb-image-placeholder {
    width: 100%;
    height: 180px;
    margin-top: 1.5rem;
}

/* ========== FEATURED IMAGE SECTION ========== */
.featured-image-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-image-placeholder {
    width: 100%;
    height: 400px;
    max-width: 1000px;
    margin: 0 auto;
}

/* ========== DOMAINS SECTION ========== */
.domains-section {
    text-align: center;
}

.domains-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}

.domains-section .section-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1rem;
}

.domains-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.domains-grid .domain-card {
    flex: 0 1 300px;
    max-width: 350px;
}

.domain-card {
    padding: 2rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--domain-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.domain-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(var(--domain-color-rgb), 0.2);
}

.domain-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--domain-color);
}

.domain-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.domain-card .domain-icon-placeholder {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    border-radius: 8px;
}

/* Domain-specific colors */
.domain-card.build-fix {
    --domain-color: var(--copper);
    --domain-color-rgb: 184, 115, 51;
}

.domain-card.create-compute {
    --domain-color: var(--cyan);
    --domain-color-rgb: 0, 243, 255;
}

.domain-card.explore-protect {
    --domain-color: var(--emerald);
    --domain-color-rgb: 46, 204, 113;
}

.domain-card.serve-lead {
    --domain-color: var(--amethyst);
    --domain-color-rgb: 155, 89, 182;
}

.domain-card.train-strengthen {
    --domain-color: var(--crimson);
    --domain-color-rgb: 255, 49, 49;
}

.domain-card.inspire-create {
    --domain-color: var(--teal);
    --domain-color-rgb: 20, 184, 166;
}

/* ========== CTA SECTION ========== */
.cta-section {
    text-align: center;
    padding: 8rem 2rem;
}

.cta-image-placeholder {
    width: 100%;
    max-width: 600px;
    height: 250px;
    margin: 0 auto 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cyan);
    background: transparent;
    border: 2px solid var(--cyan);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background: var(--cyan);
    color: var(--bg-base);
    box-shadow: 0 0 30px var(--cyan);
}

/* ========== ABOUT PAGE ========== */
.about-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-banner-placeholder {
    width: 100%;
    height: 250px;
    margin-bottom: 2rem;
}

.about-card {
    padding: 2.5rem;
}

.about-card h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1.5rem;
    color: var(--cyan);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-card p:last-child {
    margin-bottom: 0;
}

/* ========== JOURNEY PAGE ========== */
.journey-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.journey-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.journey-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.journey-icon-wrapper:hover {
    transform: translateY(-8px);
}

.journey-icon-wrapper.active {
    transform: translateY(-8px);
}

.journey-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 16px;
    border: 3px solid var(--glass-border);
    padding: 0.5rem;
    background: var(--glass-bg);
    transition: all 0.3s ease;
}

.journey-icon-wrapper:hover .journey-icon,
.journey-icon-wrapper.active .journey-icon {
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
}

.journey-icon-label {
    margin-top: 0.75rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.journey-icon-wrapper:hover .journey-icon-label,
.journey-icon-wrapper.active .journey-icon-label {
    color: var(--cyan);
}

/* Journey Panels (Accordion) */
.journey-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.journey-panel.active {
    max-height: 1000px;
    opacity: 1;
    margin-bottom: 2rem;
}

.journey-card {
    padding: 2.5rem;
}

.panel-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1.5rem;
    color: var(--cyan);
}

.panel-image-placeholder {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
}

.journey-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.journey-card p:last-child {
    margin-bottom: 0;
}

/* Domain accent colors for journey cards */
.build-fix-accent .panel-title { color: var(--copper); }
.create-compute-accent .panel-title { color: var(--cyan); }
.explore-protect-accent .panel-title { color: var(--emerald); }
.serve-lead-accent .panel-title { color: var(--amethyst); }
.train-strengthen-accent .panel-title { color: var(--crimson); }
.inspire-create-accent .panel-title { color: var(--teal); }

/* ========== DASHBOARD PAGE ========== */
.dashboard-header {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-rank-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.rank-info {
    flex: 1;
    min-width: 250px;
}

.dashboard-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.rank-display {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.rank-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.rank-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
}

.radar-chart-container {
    flex: 0 0 300px;
    max-width: 350px;
    height: 300px;
}

/* Top Ranks Section */
.top-ranks-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.top-ranks-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.top-rank-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    min-width: 280px;
    flex: 0 1 320px;
}

.top-rank-position {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--cyan);
    min-width: 40px;
}

.top-rank-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    border: 3px solid var(--glass-border);
    padding: 0.25rem;
    background: var(--bg-base);
}

.top-rank-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.top-rank-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.top-rank-level {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.top-rank-badge {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Domain Progress Section */
.domain-progress-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
}

.domain-progress-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.domain-progress-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid transparent;
}

.domain-progress-item:hover,
.domain-progress-item.active {
    transform: translateY(-5px);
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.domain-progress-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    border: 3px solid var(--glass-border);
    padding: 0.5rem;
    background: var(--bg-base);
    margin-bottom: 0.5rem;
}

.domain-progress-level {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 0.25rem;
}

.domain-progress-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-align: center;
}

/* Badge Lists */
.badge-list {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.badge-list.active {
    max-height: 500px;
    opacity: 1;
    margin-bottom: 2rem;
}

.badge-list-card {
    padding: 2rem;
}

.badge-list-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--cyan);
}

.build-fix-accent .badge-list-title { color: var(--copper); }
.create-compute-accent .badge-list-title { color: var(--cyan); }
.explore-protect-accent .badge-list-title { color: var(--emerald); }
.serve-lead-accent .badge-list-title { color: var(--amethyst); }
.train-strengthen-accent .badge-list-title { color: var(--crimson); }
.inspire-create-accent .badge-list-title { color: var(--teal); }

.badges {
    list-style: none;
    padding: 0;
    margin: 0;
}

.badge-item {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.badge-item:last-child {
    margin-bottom: 0;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-rank-section {
        flex-direction: column;
        text-align: center;
    }
    
    .radar-chart-container {
        flex: 0 0 250px;
        max-width: 280px;
        height: 250px;
    }
    
    .rank-display {
        justify-content: center;
    }
}

/* ========== FOOTER ========== */
footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

footer .code-text {
    color: var(--text-secondary);
}

/* ========== DECORATIVE ELEMENTS ========== */
.divider {
    width: 100%;
    max-width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 4rem auto;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    section {
        padding: 4rem 1.5rem;
    }

    .blurb-card {
        padding: 1.5rem;
    }

    .domain-card {
        padding: 1.5rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.875rem;
    }

    .featured-image-placeholder {
        height: 250px;
    }
}
