/* ============================================
   MATRIX WEBSITE — STYLE.CSS
   Synced with Matrix-v1.pen (latest)
   ============================================ */

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

:root {
    /* Colors */
    --bg-primary: #0A0A0F;
    --bg-deep: #0D0D15;
    --bg-card: #12121A;
    --bg-card-end: #1A1A2E;
    --bg-footer: #08080C;

    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-tertiary: #64748B;

    --accent-cyan: #00F0FF;
    --accent-purple: #8B5CF6;
    --accent-purple-light: #A78BFA;
    --accent-green: #22C55E;
    --accent-green-light: #4ADE80;
    --accent-red: #EF4444;
    --accent-blue: #3B82F6;

    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.1);

    --card-gradient: linear-gradient(180deg, #12121A 0%, #1A1A2E 100%);

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 60px;
    background: rgba(10, 10, 15, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--accent-cyan);
    color: var(--bg-primary) !important;
    font-weight: 700 !important;
    padding: 10px 24px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 120px 120px 80px 120px;
    background: radial-gradient(ellipse at center, #0A1628 0%, #0A0A0F 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -2px;
    text-align: center;
    color: var(--text-primary);
}

.hero-headline .hero-word {
    background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subline {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
}

/* ============================================
   SECTION LABELS
   ============================================ */
.section-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 4px;
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1px;
    text-align: center;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    text-align: center;
}

/* ============================================
   CORE FEATURES
   ============================================ */
.features-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 80px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    padding-top: 40px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 48px;
    border-radius: 20px;
    background: var(--card-gradient);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 0 40px rgba(0, 240, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-card-reverse {
    flex-direction: row;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.feature-tag {
    display: inline-block;
    width: fit-content;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 6px;
}

.tag-cyan {
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
}

.tag-purple {
    color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.1);
}

.tag-green {
    color: var(--accent-green);
    background: rgba(34, 197, 94, 0.1);
}

.feature-content h3 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.feature-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 500px;
}

.learn-more-btn {
    display: inline-block;
    width: fit-content;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
}

.lm-cyan {
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.19);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.08);
}

.lm-purple {
    color: var(--accent-purple-light);
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.19);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.08);
}

.lm-green {
    color: var(--accent-green-light);
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.19);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.08);
}

.feature-visual {
    width: 400px;
    height: 240px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1A1A2E;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.placeholder-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
}

/* ============================================
   MODULE GRID
   ============================================ */
.modules-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 80px;
    background: var(--bg-deep);
}

.module-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding-top: 40px;
}

.module-row-3 {
    display: flex;
    gap: 16px;
    width: 100%;
}

.module-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border-radius: 14px;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.mod-cyan {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.04);
}

.mod-purple {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.04);
}

.mod-green {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.04);
}

.mod-red {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.04);
}

.module-icon {
    width: 20px;
    height: 20px;
}

.mod-cyan .module-icon {
    color: var(--accent-cyan);
}

.mod-purple .module-icon {
    color: var(--accent-purple);
}

.mod-green .module-icon {
    color: var(--accent-green);
}

.mod-red .module-icon {
    color: var(--accent-red);
}

.mod-purple {
    border-color: rgba(139, 92, 246, 0.05);
}

.mod-green {
    border-color: rgba(34, 197, 94, 0.05);
}

.mod-red {
    border-color: rgba(239, 68, 68, 0.05);
}

.module-card h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.module-card p {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ============================================
   BENTO GRID
   ============================================ */
.bento-grid {
    display: flex;
    gap: 16px;
    padding: 40px 80px;
    justify-content: center;
}

.bento-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.bento-right {
    width: 380px;
    flex-shrink: 0;
}

.bento-card {
    border-radius: 20px;
    background: var(--card-gradient);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 0 30px rgba(0, 240, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bento-label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 3px;
}

/* TargetHUD */
.bento-hud {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 32px;
    height: 220px;
}

.hud-mockup {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    padding: 16px 20px;
    background: #0D0D15;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hud-player-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hud-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #2A2A40;
    border: 1px solid rgba(0, 240, 255, 0.2);
    object-fit: cover;
}

.hud-player-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hud-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.hud-dist {
    font-size: 11px;
    color: var(--text-tertiary);
}

.hud-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-bar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
}

.hud-bar-track {
    flex: 1;
    height: 4px;
    background: #1E1E30;
    border-radius: 4px;
    overflow: hidden;
}

.hud-bar-fill {
    height: 100%;
    border-radius: 4px;
}

.hud-health-fill {
    background: linear-gradient(90deg, #EF4444, #F97316);
}

.hud-armor-fill {
    background: linear-gradient(90deg, #3B82F6, #22D3EE);
}

.hud-bar-value {
    font-family: var(--font-body);
    font-size: 10px;
    color: var(--text-secondary);
    min-width: 36px;
}

/* Mace Impact */
.bento-impact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 32px;
    height: 160px;
    text-align: center;
}

.bento-impact-headline {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.bento-impact-sub {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Module List */
.bento-module-list {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.module-list-header {
    padding: 16px 20px 12px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.module-list-body {
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.module-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
}

.module-row-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
}

.module-row-name.active {
    color: var(--text-primary);
}

.toggle-switch {
    width: 28px;
    height: 14px;
    border-radius: 7px;
    position: relative;
    cursor: pointer;
}

.toggle-switch.on {
    background: var(--accent-green);
}

.toggle-switch.off {
    background: #2A2A40;
}

.toggle-knob {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: 2px;
}

.toggle-switch.on .toggle-knob {
    right: 2px;
}

.toggle-switch.off .toggle-knob {
    left: 2px;
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 100px 120px;
    background: radial-gradient(ellipse at center, #0A1628 0%, #0A0A0F 100%);
}

.cta-headline {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -2px;
    text-align: center;
    color: var(--text-primary);
}

.cta-sub {
    font-size: 20px;
    color: var(--text-secondary);
    text-align: center;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 48px;
    background: var(--accent-cyan);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--bg-primary);
    box-shadow:
        0 0 60px rgba(0, 240, 255, 0.25),
        0 0 0 4px rgba(0, 240, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-button svg {
    color: var(--bg-primary);
}

/* Discord Divider */
.discord-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 400px;
    margin-top: 8px;
}

.discord-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(88, 101, 242, 0.25);
}

.discord-divider-text {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(88, 101, 242, 0.6);
    white-space: nowrap;
}

/* Discord Button */
.discord-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: #5865F2;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    box-shadow:
        0 0 50px rgba(88, 101, 242, 0.3),
        0 0 0 3px rgba(88, 101, 242, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.discord-button:hover {
    background: #4752C4;
    box-shadow:
        0 0 80px rgba(88, 101, 242, 0.45),
        0 0 0 4px rgba(88, 101, 242, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.discord-button svg {
    flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 48px 80px;
    background: var(--bg-footer);
}

.footer-top {
    display: flex;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-col a {
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-col a:hover {
    color: var(--text-secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom span {
    font-size: 12px;
    color: #475569;
}

.footer-bottom span:last-child {
    font-weight: 500;
}

/* ============================================
   DETAIL PAGES — SHARED
   ============================================ */
.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 60px;
    background: rgba(10, 10, 15, 0.2);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.detail-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.back-btn {
    padding: 6px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.06);
}

.detail-logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.detail-dl-btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bg-primary);
}

.dl-cyan {
    background: var(--accent-cyan);
    box-shadow:
        0 0 30px rgba(0, 240, 255, 0.3),
        0 0 0 2px rgba(0, 240, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dl-purple {
    background: var(--accent-purple);
    box-shadow:
        0 0 30px rgba(139, 92, 246, 0.35),
        0 0 0 2px rgba(139, 92, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.dl-green {
    background: var(--accent-green);
    box-shadow:
        0 0 30px rgba(34, 197, 94, 0.35),
        0 0 0 2px rgba(34, 197, 94, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Hero Banner */
.detail-hero {
    padding: 64px 80px;
    border-bottom: 1px solid var(--border-subtle);
}

.detail-hero-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-tag {
    display: inline-block;
    width: fit-content;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.dtag-cyan {
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.31), 0 0 0 4px rgba(0, 240, 255, 0.31);
}

.dtag-purple {
    color: var(--accent-purple-light);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.31), 0 0 0 4px rgba(139, 92, 246, 0.31);
}

.dtag-green {
    color: var(--accent-green-light);
    background: rgba(34, 197, 94, 0.1);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.31), 0 0 0 4px rgba(34, 197, 94, 0.31);
}

.detail-hero-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.hero-title-cyan {
    text-shadow: 0 0 80px rgba(0, 240, 255, 0.25);
}

.hero-title-cyan .hero-word {
    background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title-purple {
    text-shadow: 0 0 80px rgba(139, 92, 246, 0.25);
}

.hero-title-purple .hero-word {
    background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title-green {
    text-shadow: 0 0 80px rgba(34, 197, 94, 0.25);
}

.hero-title-green .hero-word {
    background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.detail-hero-sub {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 550px;
}

/* Modules Section */
.detail-modules {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 48px 80px;
}

.detail-section-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.title-glow-cyan {
    text-shadow: 0 0 40px rgba(0, 240, 255, 0.13);
    background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-glow-purple {
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.13);
    background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-glow-green {
    text-shadow: 0 0 40px rgba(34, 197, 94, 0.13);
    background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.detail-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-row {
    display: flex;
    gap: 16px;
}

.detail-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 32px;
    border-radius: 14px;
    background: rgba(26, 26, 46, 0.8);
    flex: 0 0 calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
}

.detail-card .module-icon {
    width: 20px;
    height: 20px;
}

.detail-card h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.detail-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Detail card themed variants */
.dc-cyan {
    border: 1px solid rgba(0, 240, 255, 0.08);
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.08);
}

.dc-cyan .module-icon {
    color: var(--accent-cyan);
}

.dc-purple {
    border: 1px solid rgba(139, 92, 246, 0.13);
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.13);
}

.dc-purple .module-icon {
    color: var(--accent-purple-light);
}

.dc-green {
    border: 1px solid rgba(34, 197, 94, 0.08);
    box-shadow: 0 0 24px rgba(34, 197, 94, 0.09);
}

.dc-green .module-icon {
    color: var(--accent-green-light);
}

.dc-red {
    border: 1px solid rgba(239, 68, 68, 0.13);
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.09);
}

.dc-red .module-icon {
    color: var(--accent-red);
}

/* Spacer for incomplete rows — maintains equal width */
.detail-spacer {
    flex: 0 0 calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
    visibility: hidden;
}

/* Hero gradients per page */
.hero-mace {
    background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.09) 0%, #0A1628 50%, #0A0A0F 100%);
}

.hero-visual {
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.09) 0%, #1A0A28 50%, #0A0A0F 100%);
}

.hero-control {
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.09) 0%, #0A1A14 50%, #0A0A0F 100%);
}

/* Module section gradients */
.mod-section-cyan {
    background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.024) 0%, transparent 100%);
}

.mod-section-purple {
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.024) 0%, transparent 100%);
}

.mod-section-green {
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.024) 0%, transparent 100%);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .feature-card {
        flex-direction: column !important;
    }

    .feature-visual {
        width: 100%;
        height: 200px;
    }

    .bento-grid {
        flex-direction: column;
    }

    .bento-right {
        width: 100%;
    }

    .detail-row {
        flex-wrap: wrap;
    }

    .detail-card {
        min-width: 280px;
    }

    .module-row-3 {
        flex-wrap: wrap;
    }

    .module-card {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 80px 24px 60px;
    }

    .hero-headline {
        font-size: 40px;
    }

    .hero-subline {
        font-size: 16px;
    }

    .features-section {
        padding: 60px 24px;
    }

    .feature-card {
        padding: 24px;
        gap: 24px;
    }

    .feature-content h3 {
        font-size: 24px;
    }

    .feature-visual {
        width: 100%;
        min-height: 180px;
    }

    .modules-section {
        padding: 60px 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .bento-grid {
        padding: 24px;
    }

    .cta-section {
        padding: 60px 24px;
    }

    .cta-headline {
        font-size: 36px;
    }

    .footer {
        padding: 32px 24px;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .detail-header {
        padding: 0 24px;
    }

    .detail-hero {
        padding: 40px 24px;
    }

    .detail-hero-title {
        font-size: 32px;
    }

    .detail-modules {
        padding: 32px 24px;
    }

    .detail-row {
        flex-direction: column;
    }
}

/* ============================================
   GRADIENT TEXT WRAPPERS
   ============================================ */
.text-grad-cyan {
    background: linear-gradient(135deg, #FFFFFF 20%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-grad-purple {
    background: linear-gradient(135deg, #FFFFFF 20%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-grad-green {
    background: linear-gradient(135deg, #FFFFFF 20%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-grad-tri {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 50%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}