/* ===========================
   Event Ticker
   =========================== */

.event-ticker {
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #9c30ff 0%, #b14dff 100%);
    color: var(--white);
    padding: 16px 20px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(156, 48, 255, 0.3);
    transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-ticker.ticker-visible {
    top: 0;
}

.ticker-wrapper {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ticker-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.ticker-scroll-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
}

.ticker-scroll {
    display: flex;
    width: fit-content;
    animation: scroll-left 25s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-message {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    padding-right: 50px;
}

.ticker-link {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 6px;
    margin-left: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ticker-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.ticker-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
    opacity: 0.8;
}

.ticker-close:hover {
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .event-ticker {
        padding: 14px 16px;
    }

    .ticker-wrapper {
        gap: 12px;
    }

    .ticker-message {
        font-size: 0.9rem;
    }

    .ticker-icon {
        font-size: 1.1rem;
    }

    .ticker-link {
        padding: 5px 12px;
        font-size: 0.85rem;
    }

    .ticker-scroll {
        animation: scroll-left 20s linear infinite;
    }
}

/* Adjust nav spacing when ticker is visible */
body {
    padding-top: 0;
    transition: padding-top 0.5s ease;
}

/* ===========================
   CSS Reset & Base Styles
   =========================== */

:root {
    /* Dark theme with purple accents */
    --purple-primary: #9c30ff;
    --purple-hover: #b14dff;
    --purple-accent: #a742ff;
    --accent-warm: #F0B429;
    --accent-warm-hover: #F7C948;
    --dark-bg: #0a0a0a;
    --dark-bg-alt: #0f0f0f;
    --dark-bg-card: #121212;
    --dark-charcoal: #1a1a1a;
    --dark-gray: #252525;
    --white: #ffffff;
    --off-white: #e5e5e5;
    --light-gray: #b8b8b8;
    --text-gray: #999999;
    --text-light: #e5e5e5;
    --text-dark: #1a1a1a;
    --border-light: #2a2a2a;
    --border-dark: #333333;
    --font-heading: 'Bricolage Grotesque', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--light-gray);
    line-height: 1.7;
}

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

strong {
    color: var(--white);
    font-weight: 600;
}

.emphasis-text {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.emphasis-text.large {
    font-size: 1.3rem;
    line-height: 1.5;
}

.white {
    color: var(--white) !important;
}

/* ===========================
   Layout & Container
   =========================== */

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

.section {
    padding: 5rem 0;
}

.content-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.section-headline {
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
}

.section-headline.center {
    text-align: center;
}

.section-headline-dark {
    color: var(--white);
}

/* ===========================
   Buttons
   =========================== */

.btn-primary,
.btn-secondary-outline,
.btn-nav,
.btn-plan,
.btn-plan-featured,
.btn-primary-dark {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--purple-primary);
    color: var(--white);
    border-color: var(--purple-primary);
}

.btn-primary:hover {
    background-color: var(--purple-hover);
    border-color: var(--purple-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(156, 48, 255, 0.3);
}

.btn-primary-dark {
    background-color: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-primary-dark:hover {
    background-color: var(--off-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--border-dark);
}

.btn-secondary-outline:hover {
    border-color: var(--purple-primary);
    background-color: var(--purple-primary);
    color: var(--white);
}

.btn-nav {
    padding: 0.75rem 1.5rem;
    background-color: var(--purple-primary);
    color: var(--white);
    font-size: 0.95rem;
}

.btn-nav:hover {
    background-color: var(--purple-hover);
    transform: translateY(-1px);
}

/* ===========================
   Navigation
   =========================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links a {
    color: var(--light-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.nav-links .btn-nav {
    color: var(--white) !important;
}

.nav-links .btn-nav:hover {
    color: var(--white) !important;
}

/* Accent discipline: purple = action. The nav pill is the site's #1 action,
   so it takes the action color; gold stays editorial (eyebrows, stats). */
.nav-links .btn-nav-cohort {
    background-color: var(--purple-primary) !important;
    border-color: var(--purple-primary) !important;
    color: var(--white) !important;
    font-weight: 700 !important;
}

.nav-links .btn-nav-cohort:hover {
    background-color: var(--purple-hover) !important;
    border-color: var(--purple-hover) !important;
    color: var(--white) !important;
    box-shadow: 0 8px 20px rgba(156, 48, 255, 0.35);
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-bg-alt) 100%);
}

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

.hero-content {
    max-width: 600px;
}

.hero-headline {
    margin-bottom: 1.5rem;
    font-size: 2.75rem;
    line-height: 1.2;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-supporting {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Hero Image / Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===========================
   Social Proof
   =========================== */

.social-proof {
    padding: 3rem 0;
    background-color: var(--dark-bg-alt);
    border-bottom: 1px solid var(--border-light);
}

.social-proof-label {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.logo-scroll-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.logo-scroll {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

/* Ghosted marketplace logos: white silhouettes on dark instead of white
   client-logo boxes — reads as context, not as a borrowed client list. */
.logo-item {
    flex-shrink: 0;
    padding: 1rem 2rem;
    margin: 0 1rem;
    border: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.logo-item:hover {
    transform: translateY(-2px);
}

.platform-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.45;
    transition: opacity 0.3s ease;
}

/* Solid-square logos turn into blank blocks under full invert — grayscale them instead. */
.platform-logo[alt="Home Depot"] {
    filter: grayscale(1) brightness(1.25);
    border-radius: 6px;
}

.logo-item:hover .platform-logo {
    opacity: 0.9;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===========================
   Problem Section
   =========================== */

.problem-section {
    background-color: var(--dark-bg);
}

.problem-content {
    text-align: center;
}

.problem-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===========================
   Services Section
   =========================== */

.services-section {
    background-color: var(--dark-charcoal);
    color: var(--white);
}

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

.service-card-icon {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.service-card-icon:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.service-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card-icon h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.service-card-icon p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    color: var(--purple-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--purple-hover);
}

/* ===========================
   Metrics Section
   =========================== */

.metrics-section {
    background-color: var(--dark-bg-card);
    padding: 4rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.metric-card {
    text-align: center;
    padding: 2rem;
}

.metric-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--purple-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.95rem;
    color: var(--light-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===========================
   Lightbox Modal
   =========================== */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox.active {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    border: 3px solid var(--purple-primary);
    box-shadow: 0 20px 60px rgba(156, 48, 255, 0.4);
    opacity: 0;
    transform: scale(0.7) translateY(50px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active .lightbox-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--white);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close {
    background: none;
    border: none;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
    color: var(--purple-primary);
    transform: rotate(90deg);
    outline: 2px solid var(--purple-accent);
    outline-offset: 2px;
}

/* ===========================
   Pricing Section
   =========================== */

.pricing-section {
    background-color: var(--dark-bg);
}

.pricing-subtitle {
    text-align: center;
    color: var(--light-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.pricing-card-modern {
    background-color: var(--dark-bg-card);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card-modern:hover {
    border-color: var(--purple-primary);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(156, 48, 255, 0.3);
}

.pricing-card-modern.featured {
    border-color: var(--purple-primary);
    box-shadow: 0 8px 32px rgba(156, 48, 255, 0.25);
    border-width: 3px;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--purple-primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-name {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.plan-price {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--light-gray);
    font-weight: 600;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.price-amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.price-period {
    font-size: 1.1rem;
    color: var(--light-gray);
    align-self: flex-end;
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
}

.plan-features {
    list-style: none;
    margin: 2rem 0;
    flex-grow: 1;
}

.plan-features li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--light-gray);
    border-bottom: 1px solid var(--border-light);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--purple-primary);
    font-weight: bold;
    font-size: 1.25rem;
}

.btn-plan,
.btn-plan-featured {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    margin-top: auto;
}

.btn-plan {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--border-dark);
}

.btn-plan:hover {
    background-color: var(--purple-primary);
    border-color: var(--purple-primary);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-plan-featured {
    background-color: var(--purple-primary);
    color: var(--white);
    border: 2px solid var(--purple-primary);
}

.btn-plan-featured:hover {
    background-color: var(--purple-hover);
    border-color: var(--purple-hover);
    transform: translateY(-2px);
}

/* ===========================
   Process Section
   =========================== */

.process-section-dark {
    background-color: var(--dark-charcoal);
    color: var(--white);
}

.process-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.process-step-modern {
    text-align: center;
}

.step-number-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: var(--purple-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(156, 48, 255, 0.3);
}

.process-step-modern h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.process-step-modern p {
    color: rgba(255, 255, 255, 0.8);
}

.process-footer-text {
    text-align: center;
    margin-top: 4rem;
}

.process-footer-text p {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 600;
}

/* ===========================
   About Section
   =========================== */

.about-section {
    background-color: var(--dark-bg-alt);
}

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

.about-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.about-intro {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}


.about-image {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.about-headshot {
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 16px;
    border: 4px solid var(--purple-primary);
    object-fit: cover;
    object-position: center top;
}

/* ===========================
   FAQ Section
   =========================== */

.faq-section {
    background-color: var(--dark-bg);
}

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

.faq-item-modern {
    background-color: var(--dark-bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item-modern:hover,
.faq-item-modern:focus-visible {
    border-color: var(--purple-primary);
    box-shadow: 0 4px 16px rgba(156, 48, 255, 0.2);
    outline: 2px solid var(--purple-accent);
    outline-offset: 2px;
}

.faq-question-modern {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-icon {
    color: var(--purple-primary);
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item-modern.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer-modern {
    color: var(--light-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.faq-item-modern.active .faq-answer-modern {
    max-height: 500px;
    margin-top: 1rem;
}

/* ===========================
   CTA Section
   =========================== */

.cta-section-contrast {
    background: var(--white);
    padding: 6rem 0;
    position: relative;
}

.cta-section-contrast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-primary), var(--accent-warm), var(--purple-primary));
}

.cta-content-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-headline {
    color: var(--text-dark) !important;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2.5rem;
}

.btn-cta-accent {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--text-dark);
    text-align: center;
    background-color: var(--text-dark);
    color: var(--white);
    letter-spacing: 0.01em;
}

.btn-cta-accent:hover {
    background-color: var(--purple-primary);
    border-color: var(--purple-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(156, 48, 255, 0.35);
    color: var(--white);
}

/* ===========================
   Footer
   =========================== */

.footer {
    background-color: var(--dark-charcoal);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 0.9fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links-section h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-links-section ul {
    list-style: none;
}

.footer-links-section ul li {
    margin-bottom: 0.7rem;
}

.footer-links-section ul li a,
.footer-links-section ul li a:link,
.footer-links-section ul li a:visited {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-links-section ul li a:hover {
    color: var(--purple-primary);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* ===========================
   Mobile Menu
   =========================== */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .services-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-image {
        order: -1;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 0;
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-light);
        font-size: 1rem;
    }

    .nav-links a:last-child {
        border-bottom: none;
        margin-top: 0.5rem;
    }

    .nav-links .btn-nav {
        text-align: center;
        margin-top: 0.75rem;
    }

    .services-grid-4,
    .metrics-grid,
    .pricing-grid-3,
    .faq-grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .logo-scroll {
        animation: scroll 20s linear infinite;
    }

    .logo-item {
        font-size: 0.85rem;
        padding: 0.75rem 1.5rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn-primary,
    .btn-secondary-outline,
    .btn-plan,
    .btn-plan-featured {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .metric-number {
        font-size: 2.5rem;
    }
}

/* ===========================
   Scroll Reveal Animations
   =========================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Hero Entrance Animation
   =========================== */

.hero-animate .hero-headline {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-animate .hero-subheadline {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}

.hero-animate .hero-ctas {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}

.hero-animate .hero-supporting {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease 0.4s, transform 0.7s ease 0.4s;
}

.hero-animate .hero-image {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.hero-animate.hero-visible .hero-headline,
.hero-animate.hero-visible .hero-subheadline,
.hero-animate.hero-visible .hero-ctas,
.hero-animate.hero-visible .hero-supporting {
    opacity: 1;
    transform: translateY(0);
}

.hero-animate.hero-visible .hero-image {
    opacity: 1;
    transform: translateX(0);
}

/* ===========================
   Accent Color Highlights
   =========================== */

.btn-nav {
    background-color: var(--accent-warm) !important;
    border-color: var(--accent-warm) !important;
    color: var(--text-dark) !important;
    font-weight: 700 !important;
}

.btn-nav:hover {
    background-color: var(--accent-warm-hover) !important;
    border-color: var(--accent-warm-hover) !important;
    color: var(--text-dark) !important;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .hero-animate .hero-headline,
    .hero-animate .hero-subheadline,
    .hero-animate .hero-ctas,
    .hero-animate .hero-supporting,
    .hero-animate .hero-image {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===========================
   AI Page
   =========================== */

.ai-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.ai-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.ai-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    background-color: var(--dark-bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    color: var(--purple-primary);
    transition: all 0.3s ease;
}

.ai-icon-item:hover {
    border-color: var(--purple-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(156, 48, 255, 0.2);
}

.ai-icon-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-gray);
    text-align: center;
}

.ai-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* AI logo — superscript + circuit trace */
.logo-ai-active {
    position: relative;
}

.logo-ai-sup {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--purple-primary);
    text-shadow: 0 0 8px rgba(156, 48, 255, 0.6), 0 0 20px rgba(156, 48, 255, 0.3);
    margin-left: -25px;
    vertical-align: super;
    line-height: 1;
    position: relative;
    top: -12px;
    animation: ai-sup-pulse 2.5s ease-in-out infinite;
}

@keyframes ai-sup-pulse {
    0%, 100% { text-shadow: 0 0 8px rgba(156, 48, 255, 0.6), 0 0 20px rgba(156, 48, 255, 0.3); }
    50% { text-shadow: 0 0 12px rgba(156, 48, 255, 0.9), 0 0 30px rgba(156, 48, 255, 0.5); }
}

@media (prefers-reduced-motion: reduce) {
    .logo-ai-sup {
        animation: none;
        text-shadow: 0 0 8px rgba(156, 48, 255, 0.6);
    }
}

/* AI icon animations */
@keyframes ai-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ai-jiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(8deg); }
    75% { transform: rotate(-8deg); }
}

.ai-icon-spin {
    animation: ai-spin 12s linear infinite;
}

.ai-icon-jiggle {
    animation: ai-jiggle 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .ai-icon-spin,
    .ai-icon-jiggle {
        animation: none;
    }
}

/* Cursor glow spotlight */
.ai-cursor-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(156, 48, 255, 0.12) 0%, rgba(156, 48, 255, 0.04) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Click ripple */
@keyframes ai-ripple-expand {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.ai-click-ripple {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
    border: 2px solid rgba(156, 48, 255, 0.4);
    z-index: 9998;
    animation: ai-ripple-expand 0.6s ease-out forwards;
}

.ai-problem-content .problem-content {
    text-align: left;
}

.ai-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.ai-use-case {
    background-color: var(--dark-bg-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.ai-use-case:hover {
    border-color: var(--purple-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(156, 48, 255, 0.15);
}

.use-case-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--purple-primary);
    opacity: 0.4;
    margin-bottom: 1rem;
    line-height: 1;
}

.ai-use-case h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.ai-use-case p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .ai-use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ai-icon-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .ai-icon-item {
        padding: 1.25rem 1rem;
    }
}

/* ===========================
   Blog Listing Page
   =========================== */

.blog-listing-section {
    background-color: var(--dark-bg);
    padding-top: 8rem;
}

.blog-listing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-listing-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

.blog-listing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card,
.blog-card:link,
.blog-card:visited {
    background-color: var(--dark-bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    border-color: var(--purple-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(156, 48, 255, 0.2);
    text-decoration: none;
}

.blog-card-meta,
.blog-card-meta time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
}

.blog-card-title {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    text-decoration: none;
}

.blog-card-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-decoration: none;
}

.blog-card-link {
    color: var(--purple-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===========================
   Blog Post Page
   =========================== */

.blog-post {
    background-color: var(--dark-bg);
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.blog-post-header {
    max-width: 720px;
    margin: 0 auto 2rem;
}

.blog-back-link {
    color: var(--purple-primary);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: opacity 0.2s ease;
}

.blog-back-link:hover {
    opacity: 0.8;
}

.blog-post-title {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.blog-meta {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-meta-separator {
    color: rgba(255, 255, 255, 0.3);
}

.blog-featured-image {
    max-width: 720px;
    margin: 0 auto 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Blog Post Content (Prose) */
.blog-post-content {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-post-content h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-post-content h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-post-content p {
    margin-bottom: 1.25rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content strong {
    color: var(--white);
    font-weight: 700;
}

.blog-post-content a {
    color: var(--purple-primary);
    text-decoration: underline;
}

.blog-post-content a:hover {
    opacity: 0.8;
}

.blog-post-content blockquote {
    border-left: 3px solid var(--purple-primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Blog Post Navigation */
.blog-nav {
    max-width: 720px;
    margin: 3rem auto;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.blog-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-decoration: none;
    max-width: 45%;
    transition: opacity 0.2s ease;
}

.blog-nav-link:hover {
    opacity: 0.8;
}

.blog-nav-next {
    text-align: right;
    margin-left: auto;
}

.blog-nav-label {
    color: var(--purple-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-nav-title {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Blog CTA */
.blog-cta {
    max-width: 720px;
    margin: 3rem auto 0;
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--dark-bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
}

.blog-cta h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Blog responsive */
@media (max-width: 1024px) {
    .blog-listing {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-listing {
        grid-template-columns: 1fr;
    }

    .blog-post-title {
        font-size: 1.75rem;
    }

    .blog-nav {
        flex-direction: column;
    }

    .blog-nav-link {
        max-width: 100%;
    }

    .blog-nav-next {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .blog-post-title {
        font-size: 1.5rem;
    }

    .blog-card {
        padding: 1.5rem;
    }
}

/* ===========================
   Footer extensions: Now strip, email capture, 6-col grid, legal links
   =========================== */

.footer-now {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    background: linear-gradient(90deg, rgba(156,48,255,0.12), rgba(240,180,41,0.06));
    border: 1px solid rgba(156,48,255,0.25);
    border-radius: 10px;
    padding: 0.85rem 1.25rem; margin-bottom: 2rem;
}
.footer-now-label {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--purple-primary);
}
.footer-now-text { color: rgba(255,255,255,0.85); font-size: 0.92rem; flex: 1 1 auto; }
.footer-now-cta { color: var(--purple-primary); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.footer-now-cta:hover { text-decoration: underline; }

.footer-cta {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center;
    background: var(--dark-bg-card); border: 1px solid var(--border-light);
    border-radius: 14px; padding: 1.75rem 2rem; margin-bottom: 3rem;
}
.footer-cta h3 { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: var(--white); margin: 0 0 0.35rem; }
.footer-cta p { color: rgba(255,255,255,0.7); font-size: 0.92rem; margin: 0; }
.footer-cta-form { display: flex; gap: 0.5rem; }
.footer-cta-form input {
    flex: 1 1 auto; min-width: 0; padding: 0.85rem 1rem; border-radius: 8px;
    border: 1px solid var(--border-light); background: var(--dark-bg);
    color: var(--white); font-size: 0.95rem;
}
.footer-cta-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-cta-form button { white-space: nowrap; padding: 0.85rem 1.5rem; font-size: 0.95rem; }

.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr 1fr 1fr; }

.footer-legal-links { font-size: 0.82rem; }
.footer-legal-links a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-legal-links a:hover { color: var(--purple-primary); }

@media (max-width: 900px) {
    .footer-cta { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 520px) {
    .footer-cta-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr !important; }
    .footer-now { flex-direction: column; align-items: flex-start; }
}

/* ===========================
   Premium visual system (2026-07 refresh)
   Depth, surface tiers, motion primitives. Purple = action, gold = editorial.
   =========================== */

/* Film-grain noise over the whole page — kills the "flat black slab" look. */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Tier-1 surface: gradient border + glow for hero objects (terminal, featured cards). */
.surface-hero {
    position: relative;
    background: linear-gradient(#101010, #101010) padding-box,
                linear-gradient(150deg, rgba(156,48,255,0.55), rgba(156,48,255,0.06) 40%, rgba(240,180,41,0.18)) border-box;
    border: 1px solid transparent !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 60px rgba(156,48,255,0.10), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Terminal gets the tier-1 treatment on every page that renders it. */
.oi-terminal {
    background: linear-gradient(#0d0d0d, #0d0d0d) padding-box,
                linear-gradient(150deg, rgba(156,48,255,0.5), rgba(156,48,255,0.08) 45%, rgba(240,180,41,0.16)) border-box !important;
    border: 1px solid transparent !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 70px rgba(156,48,255,0.13), inset 0 1px 0 rgba(255,255,255,0.05) !important;
}

/* Section depth: faint corner glows on alternate sections. */
.home-section-alt {
    background-image:
        radial-gradient(700px 420px at 85% 0%, rgba(156,48,255,0.05), transparent 65%),
        radial-gradient(600px 380px at 8% 100%, rgba(240,180,41,0.03), transparent 60%);
}

/* Duotone video thumbnails: monochrome at rest, color on hover.
   Keeps YouTube-packaging energy out of the premium frame. */
.home-video-thumb img {
    filter: grayscale(1) contrast(1.03) brightness(0.95);
    transition: filter 0.35s ease, transform 0.4s ease;
}
.home-video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(156,48,255,0.22), rgba(10,10,10,0.05));
    mix-blend-mode: color;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.home-video-card:hover .home-video-thumb img { filter: none; }
.home-video-card:hover .home-video-thumb::after { opacity: 0; }
/* Play chip: neutral glass at rest, YouTube red only on hover. */
.home-video-play {
    background: rgba(16,16,16,0.72) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.22);
}
.home-video-card:hover .home-video-play { background: #ff0033 !important; border-color: #ff0033; }

/* FAQ: quiet hairline rows instead of boxed cards. */
.home-faq-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    padding: 1.35rem 0.25rem;
}
.home-faq-item:hover { border-color: rgba(156,48,255,0.5); }

/* Primary-button sheen sweep on hover. */
.home-btn-primary, .home-btn-accent, .btn-primary {
    position: relative;
    overflow: hidden;
}
.home-btn-primary::before, .home-btn-accent::before, .btn-primary::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: -80%;
    width: 55%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    pointer-events: none;
}
.home-btn-primary:hover::before, .home-btn-accent:hover::before, .btn-primary:hover::before { left: 130%; }
/* Arrow nudge */
.home-btn-primary, .home-btn-accent, .home-btn-ghost { transition: all 0.3s ease; }

/* Pricing focus: hovered card lifts, siblings recede. */
.home-pricing:hover .home-price-card { opacity: 0.72; }
.home-pricing .home-price-card:hover {
    opacity: 1;
    transform: translateY(-4px);
    border-color: var(--purple-primary);
    box-shadow: 0 16px 50px rgba(156,48,255,0.18);
}

/* Scroll-reveal primitives (activated by motion.js; inert without JS). */
.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    transition-delay: calc(var(--reveal-i, 0) * 70ms);
}
.js-reveal [data-reveal].revealed {
    opacity: 1;
    transform: none;
}

/* Terminal: when motion.js is present it drives the line reveal, so the
   CSS-delay autoplay is disabled and lines wait for the typing routine. */
.term-js .oi-terminal-line { animation: none !important; opacity: 0; }
.term-js .oi-terminal-line.term-line-on { opacity: 1; }

/* Larger display headings: tighter tracking reads more expensive. */
.home-hero h1 { letter-spacing: -0.022em; }

@media (prefers-reduced-motion: reduce) {
    body::after { display: none; }
    .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .term-js .oi-terminal-line { opacity: 1 !important; }
    .home-btn-primary::before, .home-btn-accent::before, .btn-primary::before { display: none; }
}

/* Blog pagination + post-CTA secondary line */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}
.blog-pagination-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    transition: all 0.25s ease;
}
a.blog-pagination-link:hover {
    border-color: var(--purple-primary);
    transform: translateY(-1px);
}
.blog-pagination-disabled {
    opacity: 0.35;
    pointer-events: none;
}
.blog-pagination-status {
    color: var(--text-gray);
    font-size: 0.9rem;
}
.blog-cta-alt {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}
.blog-cta-alt a { color: var(--purple-accent); }

/* Pillar icons */
.home-pillar-icon { color: var(--purple-accent); }
.home-pillar-icon svg { width: 28px; height: 28px; }

/* Keyboard focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, [role="button"]:focus-visible {
    outline: 2px solid var(--purple-accent);
    outline-offset: 2px;
}

/* Footer logo */
.footer-logo-img { height: 50px; width: auto; }

/* Mid-article cohort CTA (injected by injectAfterParagraph in blog-post.njk) */
.blog-mid-cta {
    margin: 2.25rem 0;
    padding: 1.35rem 1.5rem;
    background: var(--dark-bg-card);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--accent-warm);
    border-radius: 12px;
}
.blog-mid-cta-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-warm);
    margin: 0 0 0.5rem;
}
.blog-mid-cta-text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}
.blog-mid-cta-text strong { color: var(--white); }
.blog-mid-cta-links {
    margin: 0;
    font-size: 0.95rem;
}
.blog-mid-cta-links a {
    color: var(--purple-accent);
    font-weight: 600;
}
.blog-mid-cta-links span {
    color: var(--text-gray);
    margin: 0 0.35rem;
}
