/* Global Settings & Reset */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --bg-color: #000000;
    --text-color: #E0E0E0;
    --accent-color: #FF3E00;
    --border-style: 1px solid var(--text-color);
    --border-accent: 1px solid var(--accent-color);
    --display: 'Bebas Neue', sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

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

html,
body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Background Image Handling */
/* Old body approach removed */

#bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -999;
    /* Deeply behind */
    background-image: url('Assets/budiaksec-main.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* No attachment fixed needed due to position fixed */
    will-change: transform;
    /* Hint for repaint */
}

/* Mobile: Remove background entirely for clarity */
/* Mobile: Show background with low opacity */
@media (max-width: 768px) {
    #bg-fixed {
        display: block;
        opacity: 0.25;
        /* Subtle tattoo visibility */
    }
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

/* CRT Scanline Effect (Static — animation removed) */
.crt::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
    z-index: 999;
    background-size: 100% 4px;
    pointer-events: none;
    opacity: 0.4;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: var(--border-style);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    z-index: 1000;
    /* Ensure nav is above overlay */
    background: rgba(0, 0, 0, 0.95);
    width: 100%;
    position: sticky;
    top: 0;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    font-weight: 700;
    white-space: nowrap;
    /* Prevent "[ HOME" from breaking */
    display: inline-block;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding: 0;
    }

    nav li {
        margin: 0.2rem 0;
    }
}

nav a:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
    padding: 0 5px;
}

nav a.active {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    padding: 0 5px;
}

/* Hero Overlay Container */
.hero-overlay {
    background: transparent;
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    padding-bottom: 4rem;
}

/* On Desktop: Center the content with a specific dark strip */
@media (min-width: 769px) {
    .hero-content {
        background-color: rgba(0, 0, 0, 0.75);
        /* Slightly darkened again for contrast with animations */
        min-height: 100%;
        height: auto;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
        flex: 1;
        max-width: 800px;
        width: 100%;
        display: flex;
        flex-direction: column;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        /* Subtle border */
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Layout Utilities */
.container {
    margin: 0 auto;
    padding: 6rem 3rem;
    /* Increased top padding for drama */
    position: relative;
    z-index: 5;
}

/* Typography & Content */
.main-header h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 0px #000;
    position: relative;
}

/* Glitch Effect */
@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.glitch-wrapper:hover {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
    color: var(--accent-color);
}

.sub-headline {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: inline-block;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 5px;
    min-height: 1.5em;
    /* Reserve space for typing */
}

/* Typing Cursor */
.typing-effect::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.divider {
    border: 0;
    height: 1px;
    background: var(--accent-color);
    margin: 3rem 0;
    width: 50px;
}

.content-block {
    margin-bottom: 5rem;
    /* More spacing */
    border-left: 2px solid rgba(255, 62, 0, 0.3);
    /* Subtle orange tint line */
    padding-left: 2rem;
    transition: all 0.3s ease;
}

.content-block:hover {
    border-left-color: var(--accent-color);
    background: linear-gradient(to right, rgba(255, 62, 0, 0.05), transparent);
}

.content-block h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--text-color);
    letter-spacing: 1px;
}

.content-block p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn-large {
    display: inline-block;
    background: var(--accent-color);
    color: #000;
    padding: 14px 32px;
    font-family: var(--display);
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 400;
    text-transform: uppercase;
    border: none;
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    line-height: 1;
}

.btn-large:hover {
    background: white;
    color: black;
    cursor: pointer;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

/* Scroll Animation Classes */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cert Dump */
.cert-dump {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #AAA;

    /* Cert Card Updates for Contrast */
    .cert-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: var(--border-style);
        padding: 2rem;
        background: rgba(0, 0, 0, 0.6);
        /* Darker background for contrast */
        transition: all 0.3s ease;
        text-decoration: none;
        position: relative;
        overflow: hidden;
    }

    .cert-card img {
        max-width: 100px;
        max-height: 100px;
        filter: grayscale(100%) contrast(1.5) brightness(0.8);
        /* High contrast but dim */
        transition: all 0.3s ease;
        margin-bottom: 1rem;
    }

    .cert-card:hover {
        border-color: var(--accent-color);
        box-shadow: 0 0 20px rgba(255, 62, 0, 0.4);
        /* Stronger glow */
        transform: translateY(-5px);
        background: rgba(0, 0, 0, 0.9);
    }

    .cert-card:hover img {
        filter: grayscale(0%) contrast(1) brightness(1.2);
        /* "Burn" effect */
        transform: scale(1.05);
    }

    .cert-card:hover span {
        color: var(--accent-color);
        text-shadow: 0 0 8px var(--accent-color);
    }

    /* Flow Step Arrow Highlight */
    .flow-step.active {
        border-color: var(--accent-color);
        box-shadow: 0 0 10px rgba(255, 62, 0, 0.2);
    }

    .flow-step.active h3 {
        color: var(--accent-color);
        border-color: var(--accent-color);
    }

    /* Target pseudo-element for arrows when active */
    @media (min-width: 992px) {
        .flow-step.active:not(:last-child)::after {
            opacity: 1;
            color: var(--accent-color);
            text-shadow: 0 0 10px var(--accent-color);
            animation: pulseArrow 1.5s infinite;
        }
    }

    @media (max-width: 991px) {
        .flow-step.active:not(:last-child)::after {
            opacity: 1;
            color: var(--accent-color);
            text-shadow: 0 0 10px var(--accent-color);
            animation: pulseArrowVertical 1.5s infinite;
        }
    }

    @keyframes pulseArrow {

        0%,
        100% {
            transform: translateY(-50%) scale(1);
        }

        50% {
            transform: translateY(-50%) scale(1.2);
        }
    }

    @keyframes pulseArrowVertical {

        0%,
        100% {
            transform: translateX(-50%) scale(1);
        }

        50% {
            transform: translateX(-50%) scale(1.2);
        }
    }

    /* Mobile Enhancements */
    @media (max-width: 768px) {
        .hero-content {
            background-color: rgba(0, 0, 0, 0.85) !important;
            /* Semi-transparent black */
            border-top: 1px solid var(--accent-color);
            /* Separator line */
            box-shadow: 0 -20px 50px #000;
            /* Smooth blend upwards */
            padding: 3rem 1.5rem;
            position: relative;
            z-index: 10;
        }

        #bg-fixed {
            height: 50vh;
            /* Keep image at top */
            position: fixed;
            /* Keep it fixed so it scrolls "behind" the solid content */
            z-index: -1;
        }
    }
}


/* =========================================
   PAGE SPECIFIC STYLES (Refactored)
   ========================================= */

/* --- Services (Mission Protocol) --- */
.mission-header {
    margin-bottom: 4rem;
}

.pricing-card {
    border: 2px solid var(--accent-color);
    padding: 3rem;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    background: rgba(255, 62, 0, 0.05);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 0 30px rgba(255, 62, 0, 0.2);
    transform: scale(1.02);
    background: rgba(0, 0, 0, 0.8);
}

.price-tag {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1rem 0;
    display: block;
}

.price-cond {
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Flow Chart - Vertical Always */
.flow-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
}

.flow-step {
    flex: 1;
    border: 1px solid #333;
    padding: 1.5rem;
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    cursor: default;
}

.flow-step:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 62, 0, 0.3);
    z-index: 2;
}

.flow-step h3 {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    border-bottom: 1px solid #444;
    padding-bottom: 0.5rem;
}

.flow-step:hover h3 {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.flow-step p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

/* Connecting Lines (Always Down) */
.flow-step:not(:last-child)::after {
    content: "↓";
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-color);
    font-size: 1.5rem;
    opacity: 0.5;
}

.flow-step:hover:not(:last-child)::after {
    opacity: 1;
    text-shadow: 0 0 5px var(--accent-color);
}

.remediation-block {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
    border-top: 1px solid #333;
    padding-top: 3rem;
}

.remediation-quote {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

/* Requirements Grid */
.req-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .req-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.req-card {
    border: 1px solid #333;
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.req-card:hover {
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 15px rgba(255, 62, 0, 0.15);
}

.req-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-bottom: 1px solid #444;
    padding-bottom: 0.5rem;
}

.req-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.req-tip {
    border-top: 1px dashed var(--accent-color);
    padding-top: 1rem;
    font-size: 0.9rem;
    color: #AAA;
    font-style: italic;
    margin-top: auto;
}

.req-tip strong {
    color: var(--accent-color);
    font-style: normal;
    margin-right: 0.5rem;
}

/* Surrender Block */
.surrender-block {
    grid-column: 1 / -1;
    /* Full width */
    margin-top: 0;
    border: 1px solid #FF0000;
    /* Red for danger/failure */
    background: rgba(255, 0, 0, 0.05);
    padding: 3rem;
    text-align: center;
    position: relative;
}

.surrender-block h3 {
    color: #FF0000;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.surrender-block p {
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    opacity: 0.9;
}

.btn-surrender {
    display: inline-block;
    border: 1px solid #FF0000;
    color: #FF0000;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-surrender:hover {
    background: #FF0000;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    text-decoration: none;
}

/* --- CV (The Arsenal) --- */
.manifesto {
    border-left: 4px solid var(--accent-color);
    padding-left: 2rem;
    margin-bottom: 4rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.manifesto p {
    margin-bottom: 1.5rem;
}

.exp-list {
    list-style: none;
    padding: 0;
    margin-bottom: 4rem;
}

.exp-item {
    margin-bottom: 2rem;
    border-bottom: 1px dashed #333;
    padding-bottom: 1rem;
}

.exp-item:last-child {
    border-bottom: none;
}

.exp-title {
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile: 1 column */
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .cert-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Desktop: 3 columns */
    }
}

.cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: var(--border-style);
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    /* Added for pseudo-elements if needed */
}

/* Only apply hover effects if not using the .cert-dump specific ones which are already in global */
/* Actually, the global .cert-dump .cert-card rules are more specific. 
   These are general .cert-card rules for CV page. */

.cert-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 62, 0, 0.2);
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.8);
}

.cert-card img {
    max-width: 100px;
    max-height: 100px;
    filter: grayscale(100%) contrast(1.2);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.cert-card:hover img {
    filter: grayscale(0%) contrast(1);
}

.cert-card span {
    color: var(--text-color);
    font-size: 0.8rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
}

.cert-card:hover span {
    color: var(--accent-color);
}

/* --- Privacy & Contact --- */
.privacy-header {
    border-left: 5px solid var(--accent-color);
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.contact-block {
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    margin-bottom: 4rem;
}

.contact-email {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
    display: block;
    margin: 1rem 0;
    word-break: break-all;
}

.privacy-section {
    margin-bottom: 3rem;
    border-bottom: 1px dashed #333;
    padding-bottom: 2rem;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.privacy-section h3 span {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Back to Top Button */
#btn-top {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    border: 2px solid var(--accent-color);
    outline: none;
    background-color: #000;
    color: var(--accent-color);
    cursor: pointer;
    padding: 15px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#btn-top:hover {
    background-color: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 62, 0, 0.6);
}

#btn-top.show {
    display: block;
}

/* =========================================
   NEW COMPONENTS (Merged Design)
   ========================================= */

body { cursor: crosshair; }

/* Highlight */
.highlight { color: var(--accent-color); }

/* ─── DISPLAY HEADINGS (Bebas Neue) ─── */
.hero-display {
    font-family: var(--display);
    font-size: clamp(52px, 9vw, 96px);
    letter-spacing: 3px;
    line-height: 0.92;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 0.4rem;
    text-shadow: 2px 2px 0px #000;
}

.hero-display-sub {
    font-family: var(--display);
    font-size: clamp(52px, 9vw, 96px);
    letter-spacing: 3px;
    line-height: 0.92;
    text-transform: uppercase;
    font-weight: 400;
    color: rgba(224, 224, 224, 0.22);
    margin-bottom: 2.5rem;
    text-shadow: none;
}

/* ─── HERO BODY ─── */
.hero-body {
    max-width: 580px;
    margin-bottom: 2rem;
}
.hero-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(224, 224, 224, 0.75);
    margin-bottom: 1rem;
}
.hero-body p strong { color: var(--text-color); }

/* ─── HERO CTAs ─── */
.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    align-items: center;
}

.btn-ghost {
    display: inline-block;
    background: transparent;
    color: rgba(224, 224, 224, 0.5);
    padding: 14px 32px;
    font-family: var(--display);
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(224, 224, 224, 0.18);
    transition: all 0.2s ease;
    line-height: 1;
}
.btn-ghost:hover {
    border-color: rgba(224, 224, 224, 0.4);
    color: var(--text-color);
    text-decoration: none;
}

/* ─── TICKER ─── */
.ticker-outer {
    margin: 2rem -3rem;
    border-top: 1px solid rgba(224, 224, 224, 0.08);
    border-bottom: 1px solid rgba(224, 224, 224, 0.08);
    overflow: hidden;
}
.ticker-wrap {
    overflow: hidden;
    padding: 11px 0;
    background: rgba(0, 0, 0, 0.5);
}
.ticker {
    display: flex;
    animation: ticker-scroll 36s linear infinite;
    white-space: nowrap;
}
.ticker-item {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: rgba(224, 224, 224, 0.3);
    padding: 0 4px;
    flex-shrink: 0;
    text-transform: uppercase;
}
.ticker-item.accent { color: var(--accent-color); opacity: 0.85; }
.ticker-sep {
    font-family: var(--mono);
    font-size: 10px;
    color: rgba(224, 224, 224, 0.12);
    padding: 0 14px;
    flex-shrink: 0;
}
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .ticker-outer { margin: 2rem -1.5rem; }
}

/* ─── ABOUT GRID ─── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.about-display {
    font-family: var(--display);
    font-size: clamp(42px, 6vw, 68px);
    letter-spacing: 2px;
    line-height: 0.92;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 0px #000;
}
.about-body p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(224, 224, 224, 0.72);
    margin-bottom: 1rem;
}
.about-body p strong { color: var(--text-color); }

/* ─── MANIFESTO LIST ─── */
.manifesto-list { display: flex; flex-direction: column; }
.manifesto-item {
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(224, 224, 224, 0.07);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.manifesto-item:first-child { border-top: 1px solid rgba(224, 224, 224, 0.07); }
.manifesto-num {
    font-family: var(--mono);
    font-size: 10px;
    color: rgba(224, 224, 224, 0.2);
    letter-spacing: 0.1em;
    flex-shrink: 0;
    padding-top: 2px;
    min-width: 22px;
}
.manifesto-text {
    font-size: 0.87rem;
    line-height: 1.65;
    color: rgba(224, 224, 224, 0.62);
}
.manifesto-text strong { color: var(--text-color); }

/* ─── CERT BAR ─── */
.cert-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(224, 224, 224, 0.07);
    border-bottom: 1px solid rgba(224, 224, 224, 0.07);
    margin: 2rem 0;
}
.cert-label {
    font-family: var(--mono);
    font-size: 10px;
    color: rgba(224, 224, 224, 0.25);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-right: 6px;
    flex-shrink: 0;
}
.cert-tag {
    font-family: var(--mono);
    font-size: 10px;
    padding: 4px 10px;
    border: 1px solid rgba(224, 224, 224, 0.13);
    color: rgba(224, 224, 224, 0.5);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: default;
    transition: all 0.15s;
}
.cert-tag:hover { border-color: var(--accent-color); color: var(--accent-color); }

/* ─── WHISKEY BET RULES ─── */
.bet-rules {
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 62, 0, 0.15);
    padding: 0.8rem 1.4rem;
    background: rgba(255, 62, 0, 0.02);
}
.bet-rule {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: rgba(224, 224, 224, 0.5);
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(224, 224, 224, 0.05);
    display: flex;
    gap: 1rem;
}
.bet-rule:last-child { border-bottom: none; color: rgba(224, 224, 224, 0.75); font-weight: 700; }
.bet-rule-num { color: var(--accent-color); flex-shrink: 0; opacity: 0.85; }
.whiskey-fine-print {
    font-size: 0.85rem;
    color: rgba(224, 224, 224, 0.35);
    font-style: italic;
    margin-bottom: 1rem;
}

/* ─── SERVICES GRID ─── */
.svc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: rgba(224, 224, 224, 0.07);
    margin: 2rem 0;
}
@media (max-width: 768px) {
    .svc-grid { grid-template-columns: 1fr; }
}
.svc-card {
    background: var(--bg-color);
    padding: 2rem 1.5rem;
    transition: background 0.15s;
}
.svc-card:hover { background: rgba(255, 255, 255, 0.02); }
.svc-num {
    font-family: var(--mono);
    font-size: 10px;
    color: rgba(224, 224, 224, 0.25);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.svc-title {
    font-family: var(--display);
    font-size: 26px;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--text-color);
}
.svc-body {
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(224, 224, 224, 0.6);
    margin-bottom: 1.2rem;
}
.svc-quip {
    font-family: var(--mono);
    font-size: 10px;
    color: rgba(224, 224, 224, 0.28);
    border-top: 1px solid rgba(224, 224, 224, 0.07);
    padding-top: 1rem;
    font-style: italic;
    line-height: 1.6;
}

/* ─── ECOSYSTEM GRID ─── */
.ecosystem-intro {
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(224, 224, 224, 0.65);
    margin-bottom: 2.5rem;
}
.ecosystem-intro strong { color: var(--text-color); }

.eco-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: rgba(224, 224, 224, 0.07);
    margin-bottom: 4rem;
}
@media (max-width: 768px) {
    .eco-grid { grid-template-columns: 1fr; }
}
.eco-card {
    background: var(--bg-color);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: background 0.15s;
    border-top: 2px solid transparent;
}
.eco-card:hover { background: rgba(255, 255, 255, 0.02); }
.eco-primary   { border-top-color: var(--accent-color); }
.eco-secondary { border-top-color: rgba(224, 224, 224, 0.18); }
.eco-tertiary  { border-top-color: #FF3333; }

.eco-badge {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 8px;
    display: inline-block;
    margin-bottom: 1.2rem;
    align-self: flex-start;
    border: 1px solid rgba(224, 224, 224, 0.13);
    color: rgba(224, 224, 224, 0.35);
}
.eco-primary  .eco-badge { border-color: rgba(255, 62, 0, 0.35); color: var(--accent-color); background: rgba(255, 62, 0, 0.05); }
.eco-tertiary .eco-badge { border-color: rgba(255, 51, 51, 0.35); color: #FF5555; background: rgba(255, 51, 51, 0.05); }

.eco-name {
    font-family: var(--display);
    font-size: 34px;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    line-height: 1;
    color: var(--text-color);
}
.eco-sub {
    font-family: var(--mono);
    font-size: 10px;
    color: rgba(224, 224, 224, 0.28);
    letter-spacing: 0.1em;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}
.eco-body {
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(224, 224, 224, 0.6);
    margin-bottom: 1.2rem;
    flex: 1;
}
.eco-quip {
    font-family: var(--mono);
    font-size: 10px;
    color: rgba(224, 224, 224, 0.28);
    border-top: 1px solid rgba(224, 224, 224, 0.07);
    padding-top: 1rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.eco-link {
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(224, 224, 224, 0.35);
    display: inline-block;
    letter-spacing: 0.08em;
    transition: color 0.15s;
    margin-top: 0.5rem;
}
.eco-link:hover { color: var(--accent-color); text-decoration: none; }
.eco-btn { margin-top: 1rem; }

/* ─── SECTION DISPLAY HEADING ─── */
.section-display {
    font-family: var(--display);
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: 2px;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: rgba(224, 224, 224, 0.35);
}
.section-display .highlight { color: var(--accent-color); }

/* ─── MOBILE OVERRIDES ─── */
@media (max-width: 768px) {
    .container {
        padding: 3rem 1.5rem;
    }

    .hero-content {
        background-color: rgba(0, 0, 0, 0.88);
        width: 100%;
    }

    .hero-display,
    .hero-display-sub {
        font-size: clamp(30px, 7.5vw, 52px);
        letter-spacing: 1px;
    }

    .about-display {
        font-size: clamp(30px, 7.5vw, 52px);
        letter-spacing: 1px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-ctas .btn-large,
    .hero-ctas .btn-ghost {
        text-align: center;
        display: block;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .svc-grid,
    .eco-grid {
        grid-template-columns: 1fr;
    }

    .ticker-outer {
        margin: 1.5rem -1.5rem;
    }

    .cert-bar {
        padding: 1rem 0;
    }

    .bet-rules {
        padding: 0.5rem 1rem;
    }
}