/* ==========================================================================
   Page-Specific Styles
   Extends main.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Premium Scroll Reveal Animations
   -------------------------------------------------------------------------- */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealBlur {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

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

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(200, 200, 208, 0.1); }
    50% { box-shadow: 0 0 40px rgba(200, 200, 208, 0.2); }
}

/* Staggered reveal for lists */
.journal-list-item {
    opacity: 0;
    animation: revealUp 0.6s ease forwards;
}

.journal-list-item:nth-child(1) { animation-delay: 0.1s; }
.journal-list-item:nth-child(2) { animation-delay: 0.2s; }
.journal-list-item:nth-child(3) { animation-delay: 0.3s; }
.journal-list-item:nth-child(4) { animation-delay: 0.4s; }
.journal-list-item:nth-child(5) { animation-delay: 0.5s; }
.journal-list-item:nth-child(6) { animation-delay: 0.6s; }

/* --------------------------------------------------------------------------
   Page Header (Interior Pages)
   -------------------------------------------------------------------------- */
.page-header {
    padding-top: calc(80px + var(--space-3xl));
    padding-bottom: var(--space-2xl);
    background-color: var(--color-background-alt);
}

/* --------------------------------------------------------------------------
   Journal Page — Premium Header Treatment
   -------------------------------------------------------------------------- */
.journal-section .page-header,
.page-header--journal {
    position: relative;
    padding-top: calc(80px + var(--space-4xl));
    padding-bottom: var(--space-3xl);
    background: linear-gradient(
        180deg,
        var(--color-background) 0%,
        var(--color-background-alt) 100%
    );
    overflow: hidden;
}

.page-header--journal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(
        ellipse at 50% 0%,
        rgba(200, 200, 208, 0.08) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.page-header--journal::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--grey-steel) 50%,
        transparent 100%
    );
    opacity: 0.3;
}

.page-header--centered {
    text-align: center;
}

.page-header__label {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.page-header__title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-md);
}

.page-header__subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    max-width: 700px;
}

.page-header--centered .page-header__subtitle {
    margin-inline: auto;
}

.section__description {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    max-width: 640px;
    margin-top: var(--space-sm);
}

/* --------------------------------------------------------------------------
   About Page - Identity Bar
   -------------------------------------------------------------------------- */
.about-identity {
    padding-block: var(--section-spacing-sm);
    background-color: var(--color-background-alt);
}

.identity-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.identity-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
}

.identity-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
    color: var(--grey-slate);
}

.identity-card__label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
}

.identity-card__value {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
}

@media (min-width: 640px) {
    .identity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .identity-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --------------------------------------------------------------------------
   About Page - Bio Section
   -------------------------------------------------------------------------- */
.about-bio__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.about-bio__image {
    max-width: 300px;
}

.about-bio__image img {
    width: 100%;
    border-radius: var(--radius-lg);
    aspect-ratio: 1;
    object-fit: cover;
}

.about-bio__text h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.about-bio__text h2:first-child {
    margin-top: 0;
}

.about-bio__text p {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

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

.about-bio__text strong {
    color: var(--color-text);
    font-weight: var(--font-weight-semibold);
}

@media (min-width: 768px) {
    .about-bio__content {
        grid-template-columns: 200px 1fr;
        gap: var(--space-2xl);
    }
    
    .about-bio__image {
        position: sticky;
        top: 100px;
        align-self: start;
    }
}

/* --------------------------------------------------------------------------
   Timeline Section
   -------------------------------------------------------------------------- */
.timeline-section {
    background-color: var(--color-background-alt);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin-inline: auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--grey-slate), var(--color-border));
}

.timeline__item {
    position: relative;
    padding-left: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__marker {
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    background-color: var(--grey-slate);
    border-radius: 50%;
    border: 3px solid var(--color-background-alt);
}

.timeline__year {
    position: absolute;
    left: var(--space-xl);
    top: -2px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--grey-steel);
    font-family: var(--font-mono);
}

.timeline__content {
    padding-top: var(--space-lg);
}

.timeline__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.timeline__description {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.timeline__item--future .timeline__marker {
    background-color: transparent;
    border-color: var(--grey-slate);
}

.timeline__item--future .timeline__title,
.timeline__item--future .timeline__description {
    opacity: 0.7;
}

@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline__item {
        padding-left: 0;
        width: 50%;
    }
    
    .timeline__item:nth-child(odd) {
        padding-right: var(--space-xl);
        text-align: right;
    }
    
    .timeline__item:nth-child(even) {
        margin-left: 50%;
        padding-left: var(--space-xl);
    }
    
    .timeline__marker {
        left: auto;
        right: -7px;
    }
    
    .timeline__item:nth-child(even) .timeline__marker {
        left: -7px;
        right: auto;
    }
    
    .timeline__year {
        position: static;
        display: block;
        margin-bottom: var(--space-xs);
    }
    
    .timeline__content {
        padding-top: 0;
    }
}

/* --------------------------------------------------------------------------
   Competencies Section
   -------------------------------------------------------------------------- */
.competencies__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.competency-card {
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
}

.competency-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.competency-card__list {
    list-style: none;
}

.competency-card__list li {
    padding: var(--space-xs) 0;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border-light);
}

.competency-card__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .competencies__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .competencies__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.competency-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
    color: var(--grey-steel);
    margin-bottom: var(--space-md);
}

/* --------------------------------------------------------------------------
   About Page - Values & Principles
   -------------------------------------------------------------------------- */
.about-values {
    background-color: var(--color-background-alt);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.value-card {
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    position: relative;
}

.value-card__number {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--grey-cloud);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.value-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.value-card__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Venture Detail Section
   -------------------------------------------------------------------------- */
.venture-detail {
    overflow: hidden;
}

.venture-detail--alt {
    background-color: var(--color-background-alt);
}

.venture-detail__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.venture-detail__badge {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--grey-steel);
    margin-bottom: var(--space-sm);
}

.venture-detail__title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: var(--space-xs);
}

.venture-detail__tagline {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.venture-detail__description p {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.venture-detail__stats {
    display: flex;
    gap: var(--space-xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    margin: var(--space-lg) 0;
}

.stat-mini__number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.stat-mini__label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.venture-detail__products h3,
.venture-detail__services h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
}

.product-list {
    list-style: none;
}

.product-list li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text-secondary);
}

.product-list li:last-child {
    border-bottom: none;
}

.product-list strong {
    color: var(--color-text);
    font-weight: var(--font-weight-medium);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.service-tag {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-sm);
    background-color: var(--color-background-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
}

.venture-detail__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.venture-detail__visual {
    display: none;
}

.venture-visual__mockup {
    background-color: var(--color-background-alt);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.venture-visual__mockup img {
    max-width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
    .venture-detail__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .venture-detail__grid--reverse {
        direction: rtl;
    }
    
    .venture-detail__grid--reverse > * {
        direction: ltr;
    }
    
    .venture-detail__visual {
        display: block;
    }
}

/* --------------------------------------------------------------------------
   Other Projects Grid
   -------------------------------------------------------------------------- */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.project-card {
    display: block;
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--grey-steel);
}

.project-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.project-card__description {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-sm);
}

.project-card__link {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Coming Next Section
   -------------------------------------------------------------------------- */
.coming-next {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    text-align: center;
}

.coming-next__content {
    max-width: 600px;
    margin-inline: auto;
}

.coming-next .section__label {
    color: var(--color-text-secondary);
}

.coming-next__title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-md);
}

.coming-next__description {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

.coming-next .link-arrow {
    color: var(--color-text-inverse);
}

.coming-next .link-arrow:hover {
    color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   Section Description (shared)
   -------------------------------------------------------------------------- */
.section__description {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    max-width: 640px;
}

/* --------------------------------------------------------------------------
   Ventures — By the Numbers
   -------------------------------------------------------------------------- */
.ventures-numbers {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    padding-block: var(--space-xl);
}

.ventures-numbers__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

@media (min-width: 768px) {
    .ventures-numbers__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ventures-num__value {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-inverse);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.ventures-num__label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Ventures — Ecosystem Hub Visual (replaces broken images)
   -------------------------------------------------------------------------- */
.venture-visual--ecosystem,
.venture-visual--stack {
    background-color: var(--color-background-alt);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.ecosystem-hub {
    position: relative;
    width: 280px;
    height: 280px;
}

.ecosystem-hub__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-inverse);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(200, 200, 208, 0.2);
}

.ecosystem-hub__ring {
    position: absolute;
    inset: 0;
}

.ecosystem-hub__node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    background-color: var(--color-surface);
    border: 2px solid var(--color-border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    transform: rotate(calc(var(--i) * 60deg)) translateY(-110px) rotate(calc(var(--i) * -60deg));
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ecosystem-hub__node:hover {
    border-color: var(--grey-steel);
    box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   Ventures — Tech Stack Visual (LVMRE section)
   -------------------------------------------------------------------------- */
.tech-stack-visual {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.tech-stack-visual__layer {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform var(--transition-fast);
}

.tech-stack-visual__layer:hover {
    transform: translateX(4px);
}

.tech-stack-visual__layer span {
    display: block;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    margin-bottom: 2px;
}

.tech-stack-visual__layer small {
    font-size: var(--font-size-xs);
    opacity: 0.8;
}

.tech-stack-visual__layer--1 {
    background: linear-gradient(135deg, var(--grey-slate), var(--grey-steel));
    color: var(--color-text-inverse);
}

.tech-stack-visual__layer--2 {
    background: linear-gradient(135deg, var(--grey-iron), var(--grey-ash));
    color: var(--color-text-inverse);
}

.tech-stack-visual__layer--3 {
    background: linear-gradient(135deg, var(--grey-cool), var(--grey-cloud));
    color: var(--color-text-inverse);
}

.tech-stack-visual__layer--4 {
    background: linear-gradient(135deg, var(--grey-warm), var(--grey-cloud));
    color: var(--grey-steel);
}

/* --------------------------------------------------------------------------
   Ventures — SYMS Ecosystem Grid
   -------------------------------------------------------------------------- */
.syms-ecosystem {
    background-color: var(--color-background-alt);
}

.syms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .syms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .syms-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.syms-card {
    position: relative;
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.syms-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--grey-steel);
}

.syms-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    color: var(--grey-steel);
}

.syms-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.syms-card__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.syms-card__status {
    display: inline-block;
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.syms-card__status--live {
    background-color: rgba(90, 101, 112, 0.12);
    color: var(--grey-steel);
}

.syms-card__status--dev {
    background-color: rgba(138, 128, 120, 0.12);
    color: var(--grey-warm);
}

.syms-card__status--planned {
    background-color: rgba(107, 114, 128, 0.12);
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Ventures — Platform Cards (Industry Solutions)
   -------------------------------------------------------------------------- */
.platforms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

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

.platform-card {
    padding: var(--space-xl);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.platform-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.platform-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--color-text-inverse);
    flex-shrink: 0;
}

.platform-card__icon--health {
    background: linear-gradient(135deg, var(--grey-warm), var(--grey-cloud));
}

.platform-card__icon--finance {
    background: linear-gradient(135deg, var(--grey-cool), var(--grey-steel));
}

.platform-card__icon--edu {
    background: linear-gradient(135deg, var(--grey-slate), var(--grey-iron));
}

.platform-card__sector {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.platform-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
}

.platform-card__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.platform-card__modules {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.platform-card__modules span {
    font-size: 11px;
    font-family: var(--font-mono);
    padding: 3px 8px;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Ventures — Solutions Grid (Client Work)
   -------------------------------------------------------------------------- */
.ventures-solutions {
    background-color: var(--color-background-alt);
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.solution-card {
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.solution-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-steel);
    margin-bottom: var(--space-sm);
}

.solution-card__title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.solution-card__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.solution-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.solution-card__tags span {
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    padding: 2px 8px;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Ventures — Developer Tools Grid
   -------------------------------------------------------------------------- */
.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tool-card {
    display: block;
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--grey-steel);
}

.tool-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.tool-card__title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
}

.tool-card__lang {
    font-size: 11px;
    font-family: var(--font-mono);
    padding: 2px 8px;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-sm);
    color: var(--grey-steel);
    white-space: nowrap;
}

.tool-card__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* --------------------------------------------------------------------------
   Ventures — My Stack (Affiliate Recommendations)
   -------------------------------------------------------------------------- */
.stack-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stack-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-xl) var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-top: 3px solid var(--grey-steel);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, border-color 0.3s ease;
}

.stack-card:hover {
    border-top-color: var(--grey-slate);
    box-shadow: var(--shadow-lg);
}

.stack-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.stack-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
    color: var(--grey-slate);
}

.stack-card__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background-color: var(--color-background-alt);
    color: var(--grey-steel);
    border: 1px solid var(--color-border-light);
}

.stack-card__badge--live {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border-color: transparent;
}

.stack-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
}

.stack-card__quote {
    font-size: var(--font-size-sm);
    font-style: italic;
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.stack-card__cta {
    margin-bottom: var(--space-xs);
}

.stack-card__cta .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    pointer-events: none;
}

.stack-card__disclosure {
    display: block;
    font-size: 11px;
    color: var(--color-text-muted);
    letter-spacing: var(--letter-spacing-wide);
}

/* --------------------------------------------------------------------------
   Store — Breadcrumbs
   -------------------------------------------------------------------------- */
.store-breadcrumb {
    margin-bottom: var(--space-md);
}

.store-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
}

.store-breadcrumb li + li::before {
    content: '/';
    margin-right: var(--space-xs);
    color: var(--grey-cloud);
}

.store-breadcrumb a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.store-breadcrumb a:hover {
    color: var(--color-text);
}

.store-breadcrumb [aria-current="page"] {
    color: var(--color-text);
    font-weight: var(--font-weight-medium);
}

/* --------------------------------------------------------------------------
   Store — Hero & Trust Signals
   -------------------------------------------------------------------------- */
.store-hero {
    padding: var(--space-3xl) 0 var(--space-xl);
    text-align: center;
}

.store-hero__nav {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.store-hero__nav::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
    .store-hero__nav {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
        gap: var(--space-sm);
    }
}

.store-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.25s ease;
    background-color: transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.store-pill svg {
    flex-shrink: 0;
    color: var(--grey-slate);
}

.store-pill:hover {
    color: var(--color-text-inverse);
    background-color: var(--color-primary);
    border-color: transparent;
}

.store-pill:hover svg {
    color: var(--color-text-inverse);
}

.store-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md) var(--space-xl);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border-light);
}

.store-trust__item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
}

.store-trust__item svg {
    flex-shrink: 0;
    color: var(--grey-slate);
}

/* --------------------------------------------------------------------------
   Store — Product Grid & Cards
   -------------------------------------------------------------------------- */
.store-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .store-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.store-card {
    display: block;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.store-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.store-card__img {
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: var(--color-background-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.store-card__placeholder {
    width: 48px;
    height: 48px;
    color: var(--grey-cloud);
    transition: transform 0.4s ease;
}

.store-card:hover .store-card__placeholder {
    transform: scale(1.1);
}

.store-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.store-card:hover .store-card__img img {
    transform: scale(1.05);
}

.store-card__badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    z-index: 2;
}

/* Hover overlay */
.store-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(17, 17, 19, 0);
    transition: background-color 0.3s ease;
    z-index: 1;
}

.store-card__quick {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    padding: 10px 20px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-inverse);
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.store-card:hover .store-card__overlay {
    background-color: rgba(17, 17, 19, 0.35);
}

.store-card:hover .store-card__quick {
    opacity: 1;
    transform: translateY(0);
}

.store-card__info {
    padding: var(--space-md);
}

.store-card__title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-2xs);
    line-height: var(--line-height-tight);
}

.store-card__subtitle {
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-xs);
}

.store-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-top: var(--space-xs);
}

.store-card__price {
    font-size: var(--font-size-sm);
    font-family: var(--font-mono);
    color: var(--color-text);
    font-weight: var(--font-weight-semibold);
}

.store-card__variants {
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--grey-steel);
    padding: 2px 8px;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-full);
}

.store-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding: var(--space-lg) var(--space-xl);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    text-align: center;
}

@media (min-width: 768px) {
    .store-banner {
        flex-direction: row;
        text-align: left;
    }
}

.store-banner__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
}

@media (min-width: 768px) {
    .store-banner__content {
        flex-direction: row;
        align-items: center;
    }
}

.store-banner__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
    color: var(--grey-slate);
}

.modal-open {
    overflow: hidden;
}

.store-product-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.store-product-modal[hidden] {
    display: none;
}

.store-product-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 24, 0.72);
    backdrop-filter: blur(8px);
}

.store-product-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    max-height: calc(100vh - 2 * var(--space-md));
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    background:
        radial-gradient(circle at top left, rgba(236, 213, 146, 0.16), transparent 32%),
        radial-gradient(circle at bottom right, rgba(76, 107, 214, 0.12), transparent 28%),
        var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: 28px;
    overflow: auto;
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.28);
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.22s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 17, 19, 0.34) rgba(255, 255, 255, 0.18);
}

.store-product-modal__dialog::-webkit-scrollbar {
    width: 12px;
}

.store-product-modal__dialog::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(17, 17, 19, 0.04));
    border-left: 1px solid rgba(17, 17, 19, 0.06);
}

.store-product-modal__dialog::-webkit-scrollbar-thumb {
    background:
        linear-gradient(180deg, rgba(17, 17, 19, 0.2), rgba(17, 17, 19, 0.38)),
        linear-gradient(180deg, rgba(236, 213, 146, 0.18), rgba(76, 107, 214, 0.12));
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, 0.24);
}

.store-product-modal__dialog::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(180deg, rgba(17, 17, 19, 0.3), rgba(17, 17, 19, 0.5)),
        linear-gradient(180deg, rgba(236, 213, 146, 0.24), rgba(76, 107, 214, 0.18));
}

.store-product-modal--open .store-product-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (min-width: 860px) {
    .store-product-modal__dialog {
        grid-template-columns: minmax(360px, 1.02fr) minmax(0, 0.98fr);
    }
}

.store-product-modal__close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-text);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.store-product-modal__media {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: clamp(1rem, 2vw, 1.5rem);
    background:
        linear-gradient(160deg, rgba(250, 248, 244, 0.98), rgba(238, 236, 230, 0.88)),
        linear-gradient(180deg, rgba(244, 241, 233, 0.9), rgba(236, 236, 236, 0.6));
    min-height: 280px;
}

.store-product-modal__media-frame {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.98), rgba(241, 238, 229, 0.9));
    min-height: 470px;
}

.store-product-modal__media-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(17, 17, 19, 0.88);
    color: var(--color-white);
}

.store-product-modal__media-controls {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    display: inline-flex;
    gap: 8px;
}

.store-product-modal__media-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.store-product-modal__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: clamp(1rem, 2vw, 1.5rem);
    transition: transform 0.25s ease;
    cursor: zoom-in;
}

.store-product-modal--zoomed .store-product-modal__media img {
    transform: scale(2.1);
    cursor: zoom-out;
}

.store-product-modal__zoom-hint {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-full);
    background: rgba(17, 17, 19, 0.72);
    color: var(--color-white);
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.store-product-modal__thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.store-product-modal__color-picker,
.store-product-modal__size-picker {
    display: grid;
    gap: 12px;
    padding: 14px 16px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(17, 17, 19, 0.08);
}

.store-product-modal__color-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.store-product-modal__color-current {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
}

.store-product-modal__color-options,
.store-product-modal__size-options {
    display: grid;
    gap: 10px;
}

.store-product-modal__thumb {
    padding: 0;
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-product-modal__thumb:hover,
.store-product-modal__thumb--active {
    transform: translateY(-2px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.store-product-modal__thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.store-product-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.store-product-fullscreen__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 10, 16, 0.86);
    backdrop-filter: blur(18px);
}

.store-product-fullscreen__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100vh;
    padding: clamp(1rem, 2vw, 1.5rem);
    color: var(--color-white);
}

.store-product-fullscreen__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
}

.store-product-fullscreen__meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.store-product-fullscreen__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.store-product-fullscreen__title {
    font-size: clamp(1rem, 2vw, 1.4rem);
    line-height: 1.1;
}

.store-product-fullscreen__actions {
    display: inline-flex;
    gap: 0.65rem;
}

.store-product-fullscreen__btn,
.store-product-fullscreen__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.store-product-fullscreen__stage {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-height: 0;
}

.store-product-fullscreen__frame {
    position: relative;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.store-product-fullscreen__frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: clamp(1rem, 2vw, 2rem);
    transition: transform 0.25s ease;
    cursor: zoom-in;
}

.store-product-fullscreen--zoomed .store-product-fullscreen__frame img {
    transform: scale(2.5);
    cursor: zoom-out;
}

.store-product-fullscreen__hint {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.store-product-fullscreen__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
    gap: 0.75rem;
    max-width: min(900px, 100%);
    width: 100%;
    margin: 1rem auto 0;
}

.store-product-fullscreen__thumb {
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-product-fullscreen__thumb:hover,
.store-product-fullscreen__thumb--active {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.store-product-fullscreen__thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.store-product-modal__proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.store-product-modal__proof-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 17, 19, 0.06);
}

.store-product-modal__proof-item strong {
    font-size: var(--font-size-sm);
}

.store-product-modal__proof-item span {
    color: var(--color-text-secondary);
    font-size: var(--font-size-xs);
}

.store-product-modal__content {
    padding: clamp(1.25rem, 2.2vw, 2.2rem);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.store-product-modal__topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.store-product-modal__eyebrow {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: var(--color-background-alt);
    color: var(--grey-slate);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
}

.store-product-modal__status {
    font-size: var(--font-size-xs);
    color: var(--grey-slate);
    font-weight: var(--font-weight-medium);
}

.store-product-modal__title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: var(--line-height-tight);
    max-width: 11ch;
}

.store-product-modal__subtitle,
.store-product-modal__description,
.store-product-modal__note {
    margin: 0;
    color: var(--color-text-secondary);
}

.store-product-modal__price {
    margin: 0;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-family: var(--font-mono);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
}

.store-product-modal__pricing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.store-product-modal__microcopy {
    margin: 0;
    color: var(--grey-slate);
    font-size: var(--font-size-xs);
}

.store-product-modal__hook {
    margin: 0;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: var(--line-height-snug);
    color: var(--color-text);
    font-weight: var(--font-weight-medium);
    max-width: 42ch;
}

.store-product-modal__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.store-product-modal__chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    color: var(--grey-slate);
    background: var(--color-background);
}

.store-product-modal__reasons {
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 17, 19, 0.06);
}

.store-product-modal__purchase {
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(17, 17, 19, 0.04), rgba(255, 255, 255, 0.82));
    border: 1px solid rgba(17, 17, 19, 0.08);
}

.store-product-modal__options {
    display: grid;
    gap: 16px;
}

.store-product-modal__option-group {
    margin: 0;
    padding: 0;
    border: 0;
    display: grid;
    gap: 10px;
}

.store-product-modal__option-label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey-slate);
}

.store-product-modal__option-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.store-product-modal__option-values--colors {
    gap: 12px;
}

.store-product-modal__option-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(--color-border-light);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-product-modal__option-value:hover,
.store-product-modal__option-value--active {
    transform: translateY(-1px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.store-product-modal__swatch {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 19, 0.15);
    background: var(--swatch, #d9d9d9);
    flex-shrink: 0;
}

.store-product-modal__option-value--color {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 999px;
    justify-content: center;
    gap: 0;
}

.store-product-modal__option-value--color .store-product-modal__swatch {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(17, 17, 19, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.store-product-modal__option-value--color.store-product-modal__option-value--active {
    border-width: 2px;
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.store-product-modal__qty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.store-product-modal__qty-label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.store-product-modal__qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border-light);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
}

.store-product-modal__qty-btn {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    color: var(--color-text);
}

.store-product-modal__qty-input {
    width: 52px;
    height: 40px;
    border: 0;
    text-align: center;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    background: transparent;
    color: var(--color-text);
}

.store-product-modal__selection {
    margin: 14px 0 0;
    color: var(--color-text-secondary);
    font-size: var(--font-size-xs);
    line-height: var(--line-height-relaxed);
}

.store-product-modal__section-title {
    margin: 0 0 12px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.store-product-modal__feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.store-product-modal__feature-list li {
    position: relative;
    padding-left: 22px;
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.store-product-modal__feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #111113, #5f6673);
}

.store-product-modal__trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.store-product-modal__trust-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(247, 247, 247, 0.88));
    border: 1px solid rgba(17, 17, 19, 0.07);
}

.store-product-modal__trust-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey-slate);
    font-weight: var(--font-weight-semibold);
}

.store-product-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: 4px;
}

.store-product-modal__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 54px;
}

.store-product-modal__actions .btn--primary {
    box-shadow: 0 18px 34px rgba(17, 17, 19, 0.18);
}

@media (min-width: 640px) {
    .store-product-modal__actions .btn {
        width: auto;
    }
}

@media (max-width: 859px) {
    .store-product-modal__media-frame {
        min-height: 340px;
    }

    .store-product-modal__thumbs,
    .store-product-modal__proof,
    .store-product-modal__trust {
        grid-template-columns: 1fr 1fr;
    }

    .store-product-fullscreen__stage {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr) auto;
        gap: 0.75rem;
    }

    .store-product-fullscreen__nav {
        width: 44px;
        height: 44px;
    }

    .store-product-fullscreen__nav--prev {
        justify-self: start;
    }

    .store-product-fullscreen__nav--next {
        justify-self: end;
        margin-top: -3.5rem;
    }

    .store-product-fullscreen__frame {
        min-height: 52vh;
    }

    .store-product-fullscreen__thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .store-product-modal {
        padding: 10px;
    }

    .store-product-modal__dialog {
        border-radius: 22px;
    }

    .store-product-modal__title {
        max-width: none;
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .store-product-modal__media-controls {
        top: 12px;
        right: 12px;
    }

    .store-product-modal__thumbs,
    .store-product-modal__proof,
    .store-product-modal__trust {
        grid-template-columns: 1fr;
    }

    .store-product-fullscreen__dialog {
        padding: 0.85rem;
    }

    .store-product-fullscreen__topbar {
        align-items: flex-start;
    }

    .store-product-fullscreen__actions {
        flex-shrink: 0;
    }

    .store-product-fullscreen__frame {
        min-height: 46vh;
        border-radius: 22px;
    }

    .store-product-fullscreen__thumbs {
        gap: 0.5rem;
    }
}

.store-banner__text h3 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-2xs);
}

.store-banner__text p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.store-banner .btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

/* --------------------------------------------------------------------------
   Store Page — Sticky Filters & Full Grid
   -------------------------------------------------------------------------- */
.store-page {
    padding-top: var(--space-lg);
}

.store-filters-sentinel {
    height: 0;
    margin: 0;
    padding: 0;
}

.store-filters-wrap {
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    z-index: 90;
}

.store-filters-wrap--stuck {
    position: sticky;
    top: 0;
    padding: var(--space-sm) 0;
    margin: 0 calc(-1 * var(--space-md));
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    background-color: var(--color-background);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    z-index: 90;
}

.store-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.store-filters-wrap--stuck .store-filters {
    margin-bottom: 0;
}

.store-filter {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    padding: 8px 16px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    font-family: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    background-color: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.store-filter:hover {
    border-color: var(--color-text);
    color: var(--color-text);
    background-color: var(--color-background-alt);
}

.store-filter--active {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border-color: transparent;
}

.store-filter--active:hover {
    background-color: var(--color-secondary);
    color: var(--color-text-inverse);
    border-color: transparent;
}

.store-filter__count {
    font-size: 10px;
    font-family: var(--font-mono);
    opacity: 0.7;
}

.store-grid--full {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .store-grid--full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .store-grid--full {
        grid-template-columns: repeat(3, 1fr);
    }
}

.store-page .store-card__desc {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Store Page — Collection Sections
   -------------------------------------------------------------------------- */
.store-collection {
    margin-bottom: var(--space-3xl);
}

.store-collection__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .store-collection__header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.store-collection__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
}

.store-collection__count {
    font-size: var(--font-size-sm);
    font-family: var(--font-mono);
    font-weight: var(--font-weight-medium);
    color: var(--grey-steel);
    margin-left: var(--space-xs);
}

.store-collection__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    max-width: 540px;
}

.store-collection__viewall {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--grey-steel);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.store-collection__viewall:hover {
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Store Page — Loading, Error, Noscript
   -------------------------------------------------------------------------- */
.store-loading {
    text-align: center;
    padding: var(--space-3xl) 0;
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.store-loading__spinner {
    width: 32px;
    height: 32px;
    margin: 0 auto var(--space-md);
    border: 3px solid var(--color-border-light);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: store-spin 0.7s linear infinite;
}

@keyframes store-spin {
    to { transform: rotate(360deg); }
}

.store-error {
    text-align: center;
    padding: var(--space-3xl) 0;
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.store-error .btn {
    margin-top: var(--space-md);
}

.store-noscript {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
}

.store-noscript h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
}

.store-noscript p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-lg);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.store-noscript__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Store Page — Back to Top
   -------------------------------------------------------------------------- */
.store-back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 80;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.store-back-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.store-back-to-top:hover {
    background-color: var(--color-secondary);
}

.affiliate-disclosure {
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
    margin-top: var(--space-lg);
    text-align: center;
}

.solution-card__link {
    margin-top: var(--space-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--font-size-sm);
}

/* --------------------------------------------------------------------------
   Store Page — Gift Guide Banner
   -------------------------------------------------------------------------- */
.store-gift-guide {
    padding: var(--space-lg) 0 0;
}

.gift-guide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    text-align: center;
}

@media (min-width: 768px) {
    .gift-guide {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

.gift-guide__collections {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

@media (min-width: 768px) {
    .gift-guide__collections {
        justify-content: flex-start;
    }
}

.gift-guide__item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
}

.gift-guide__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
    color: var(--grey-slate);
}

.gift-guide__cta {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Gift badge variant */
.store-card__badge--gift {
    background-color: var(--grey-steel);
    color: var(--color-text-inverse);
}

/* --------------------------------------------------------------------------
   Impact API — New Partnerships Auto-Discovered
   -------------------------------------------------------------------------- */
.impact-card--new {
    position: relative;
}

.impact-badge-new {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    padding: 2px 10px;
    font-size: 0.65rem;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-inverse);
    background-color: var(--grey-slate);
    border-radius: var(--radius-full);
    z-index: 2;
}

.section__footer--centered {
    text-align: center;
    margin-top: var(--space-xl);
}

/* --------------------------------------------------------------------------
   Collaborate Page - Collab Types
   -------------------------------------------------------------------------- */
.collab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.collab-card {
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.collab-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.collab-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
    color: var(--grey-steel);
    margin-bottom: var(--space-md);
}

.collab-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.collab-card__description {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

@media (min-width: 768px) {
    .collab-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .collab-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Contact Form Section
   -------------------------------------------------------------------------- */
.contact-form-section {
    background-color: var(--color-background-alt);
}

.contact-form-wrapper {
    background-color: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-xs);
}

.contact-form__subtitle {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.contact-form__status {
    margin-top: var(--space-md);
    font-size: var(--font-size-sm);
    text-align: center;
}

.contact-form__status:empty {
    display: none;
}

.contact-form__status--success {
    color: var(--grey-steel);
}

.contact-form__status--error {
    color: var(--grey-warm);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-xs);
}

.form-optional {
    font-weight: var(--font-weight-normal);
    color: var(--color-text-muted);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    color: var(--color-text);
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--grey-steel);
    box-shadow: 0 0 0 3px rgba(200, 200, 208, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-muted);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-sm) center;
    padding-right: var(--space-xl);
}

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

.btn--full {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Direct Contact Section
   -------------------------------------------------------------------------- */
.direct-contact__content {
    text-align: center;
}

.direct-contact__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-xl);
}

.direct-contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.direct-contact__item {
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
}

.direct-contact__label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.direct-contact__link {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.direct-contact__link:hover {
    color: var(--color-text-secondary);
}

.direct-contact__social {
    margin-bottom: var(--space-xl);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.social-link:hover {
    border-color: var(--grey-steel);
    background-color: var(--color-background-alt);
}

.direct-contact__location {
    color: var(--color-text-secondary);
}

.direct-contact__timezone {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
}

@media (min-width: 768px) {
    .direct-contact__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .direct-contact__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Journal Page Styles
   -------------------------------------------------------------------------- */
.journal-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

/* --------------------------------------------------------------------------
   Journal Filters — Premium Pill Design
   -------------------------------------------------------------------------- */
.journal-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.filter-btn {
    position: relative;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    transition: 
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.2s ease;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--grey-steel), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.filter-btn:hover {
    color: var(--color-text);
    border-color: var(--color-border);
    transform: translateY(-1px);
}

.filter-btn.is-active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-inverse);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.filter-btn.is-active::before {
    opacity: 0;
}

/* --------------------------------------------------------------------------
   Journal View Toggle Controls
   -------------------------------------------------------------------------- */
.journal-controls {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .journal-controls {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.journal-view-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
}

.journal-view-toggle__label {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    padding: 0 var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: 
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.view-btn:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.05);
}

.view-btn.is-active {
    color: var(--color-text-inverse);
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.view-btn svg {
    width: 18px;
    height: 18px;
}

/* --------------------------------------------------------------------------
   Journal List — Base Styles
   -------------------------------------------------------------------------- */
.journal-list {
    display: grid;
    gap: var(--space-xl);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.journal-list-item {
    position: relative;
    display: grid;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: 
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.4s ease,
        border-color 0.3s ease,
        opacity 0.3s ease;
}

/* Glowing border effect on hover */
.journal-list-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--grey-steel), var(--color-accent), var(--grey-slate));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.journal-list-item::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--color-surface);
    border-radius: calc(var(--radius-xl) - 2px);
    z-index: -1;
}

.journal-list-item:hover::before {
    opacity: 1;
}

.journal-list-item:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.2),
        0 0 30px -5px rgba(200, 200, 208, 0.1);
}

/* --------------------------------------------------------------------------
   GRID VIEW (Default)
   -------------------------------------------------------------------------- */
.journal-list[data-view="grid"] {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .journal-list[data-view="grid"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .journal-list[data-view="grid"] {
        grid-template-columns: repeat(3, 1fr);
    }
}

.journal-list[data-view="grid"] .journal-list-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr auto;
}

.journal-list[data-view="grid"] .journal-list-item__image {
    margin: calc(-1 * var(--space-lg));
    margin-bottom: var(--space-md);
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
}

.journal-list[data-view="grid"] .journal-list-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
    filter: saturate(0.85) brightness(0.95);
}

.journal-list[data-view="grid"] .journal-list-item:hover .journal-list-item__image img {
    transform: scale(1.08);
    filter: saturate(1) brightness(1);
}

/* --------------------------------------------------------------------------
   LIST VIEW — Horizontal Cards
   -------------------------------------------------------------------------- */
.journal-list[data-view="list"] {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.journal-list[data-view="list"] .journal-list-item {
    grid-template-columns: 1fr;
    grid-template-areas:
        "image"
        "meta"
        "title"
        "excerpt"
        "readmore";
    padding: var(--space-lg);
}

@media (min-width: 768px) {
    .journal-list[data-view="list"] .journal-list-item {
        grid-template-columns: 280px 1fr;
        grid-template-rows: auto auto 1fr auto;
        grid-template-areas:
            "image meta"
            "image title"
            "image excerpt"
            "image readmore";
        gap: var(--space-sm) var(--space-xl);
        padding: var(--space-xl);
        align-items: start;
    }
}

@media (min-width: 1024px) {
    .journal-list[data-view="list"] .journal-list-item {
        grid-template-columns: 320px 1fr;
    }
}

.journal-list[data-view="list"] .journal-list-item__image {
    grid-area: image;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

@media (min-width: 768px) {
    .journal-list[data-view="list"] .journal-list-item__image {
        margin: calc(-1 * var(--space-xl));
        margin-right: 0;
        border-radius: var(--radius-xl) 0 0 var(--radius-xl);
        aspect-ratio: 4 / 3;
    }
}

.journal-list[data-view="list"] .journal-list-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: saturate(0.9);
}

.journal-list[data-view="list"] .journal-list-item:hover .journal-list-item__image img {
    transform: scale(1.05);
    filter: saturate(1);
}

.journal-list[data-view="list"] .journal-list-item__meta { grid-area: meta; }
.journal-list[data-view="list"] .journal-list-item__title { grid-area: title; }
.journal-list[data-view="list"] .journal-list-item__excerpt { grid-area: excerpt; }
.journal-list[data-view="list"] .journal-list-item__read-more { grid-area: readmore; }

/* --------------------------------------------------------------------------
   COMPACT VIEW — Minimal, Text-Focused
   -------------------------------------------------------------------------- */
.journal-list[data-view="compact"] {
    grid-template-columns: 1fr;
    gap: 0;
}

.journal-list[data-view="compact"] .journal-list-item {
    padding: var(--space-lg) 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border-light);
    border-radius: 0;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "meta date"
        "title title"
        "excerpt excerpt";
    gap: var(--space-xs);
}

.journal-list[data-view="compact"] .journal-list-item::before,
.journal-list[data-view="compact"] .journal-list-item::after {
    display: none;
}

.journal-list[data-view="compact"] .journal-list-item:hover {
    transform: translateX(8px);
    box-shadow: none;
}

.journal-list[data-view="compact"] .journal-list-item:last-child {
    border-bottom: none;
}

.journal-list[data-view="compact"] .journal-list-item__image {
    display: none;
}

.journal-list[data-view="compact"] .journal-list-item__meta {
    grid-area: meta;
}

.journal-list[data-view="compact"] .journal-list-item__date {
    grid-area: date;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.journal-list[data-view="compact"] .journal-list-item__title {
    grid-area: title;
    font-size: var(--font-size-lg);
}

.journal-list[data-view="compact"] .journal-list-item__excerpt {
    grid-area: excerpt;
    font-size: var(--font-size-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.journal-list[data-view="compact"] .journal-list-item__read-more {
    display: none;
}

/* --------------------------------------------------------------------------
   MAGAZINE VIEW — Featured + Grid Hybrid
   -------------------------------------------------------------------------- */
.journal-list[data-view="magazine"] {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .journal-list[data-view="magazine"] {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
    }
    
    .journal-list[data-view="magazine"] .journal-list-item:first-child {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .journal-list[data-view="magazine"] {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .journal-list[data-view="magazine"] .journal-list-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* Featured first item in magazine view */
.journal-list[data-view="magazine"] .journal-list-item:first-child {
    padding: 0;
    background: transparent;
    border: none;
}

.journal-list[data-view="magazine"] .journal-list-item:first-child::before,
.journal-list[data-view="magazine"] .journal-list-item:first-child::after {
    display: none;
}

.journal-list[data-view="magazine"] .journal-list-item:first-child .journal-list-item__image {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

@media (min-width: 1024px) {
    .journal-list[data-view="magazine"] .journal-list-item:first-child .journal-list-item__image {
        aspect-ratio: 4 / 3;
    }
}

.journal-list[data-view="magazine"] .journal-list-item:first-child .journal-list-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.journal-list[data-view="magazine"] .journal-list-item:first-child:hover .journal-list-item__image img {
    transform: scale(1.03);
}

.journal-list[data-view="magazine"] .journal-list-item:first-child .journal-list-item__title {
    font-size: var(--font-size-2xl);
}

@media (min-width: 1024px) {
    .journal-list[data-view="magazine"] .journal-list-item:first-child .journal-list-item__title {
        font-size: var(--font-size-3xl);
    }
}

.journal-list[data-view="magazine"] .journal-list-item:first-child .journal-list-item__excerpt {
    font-size: var(--font-size-lg);
    max-width: 60ch;
}

/* Other items in magazine view */
.journal-list[data-view="magazine"] .journal-list-item:not(:first-child) {
    grid-template-columns: 1fr;
}

.journal-list[data-view="magazine"] .journal-list-item:not(:first-child) .journal-list-item__image {
    margin: calc(-1 * var(--space-lg));
    margin-bottom: var(--space-md);
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
}

.journal-list[data-view="magazine"] .journal-list-item:not(:first-child) .journal-list-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.journal-list[data-view="magazine"] .journal-list-item:not(:first-child):hover .journal-list-item__image img {
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Journal List Item — Shared Styles
   -------------------------------------------------------------------------- */
.journal-list-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
}

.journal-list-item__date {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.journal-list-item__category {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--grey-steel);
    padding: 0.3em 0.8em;
    background: rgba(200, 200, 208, 0.08);
    border: 1px solid rgba(200, 200, 208, 0.15);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.journal-list-item__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-snug);
}

.journal-list-item__title a {
    position: relative;
    transition: color 0.3s ease;
}

/* Animated underline on hover */
.journal-list-item__title a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--grey-steel), var(--color-accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.journal-list-item:hover .journal-list-item__title a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.journal-list-item__excerpt {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.journal-list-item__read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--grey-steel);
    transition: color 0.3s ease, gap 0.3s ease;
}

.journal-list-item:hover .journal-list-item__read-more {
    color: var(--color-text);
    gap: var(--space-sm);
}

@media (min-width: 768px) {
    .journal-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* --------------------------------------------------------------------------
   Media Page Styles
   -------------------------------------------------------------------------- */
.speaking-topics {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.topic-card {
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
}

.topic-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.topic-card__description {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.media-appearances {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.media-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.media-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.media-card__type {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
    color: var(--grey-slate);
    flex-shrink: 0;
}

.media-card__content {
    flex: 1;
}

.media-card__title {
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.media-card__outlet {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.media-card__date {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

@media (min-width: 768px) {
    .speaking-topics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .media-appearances {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Impact Page Styles
   -------------------------------------------------------------------------- */
.case-study {
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.case-study:last-child {
    border-bottom: none;
}

.case-study__header {
    margin-bottom: var(--space-xl);
}

.case-study__label {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.case-study__title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-md);
}

.case-study__summary {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    max-width: 800px;
}

.case-study__metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--color-background-alt);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.metric {
    text-align: center;
}

.metric__value {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-mono);
    color: var(--grey-slate);
    line-height: 1;
}

.metric__label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.case-study__content h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.case-study__content p {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.case-study__content ul {
    list-style: disc;
    padding-left: var(--space-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.case-study__content li {
    margin-bottom: var(--space-xs);
    line-height: var(--line-height-relaxed);
}

@media (min-width: 768px) {
    .case-study__metrics {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Expertise Page Styles
   -------------------------------------------------------------------------- */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.expertise-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
}

.expertise-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-lg);
    color: var(--grey-slate);
}

.expertise-item__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
}

.expertise-item__description {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.expertise-item__skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.skill-tag {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-xs);
    background-color: var(--color-background-alt);
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
}

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

/* --------------------------------------------------------------------------
   Impact Page Styles
   -------------------------------------------------------------------------- */

/* 8-stat numbers bar override */
.impact-numbers__grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
    .impact-numbers__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .impact-numbers__grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

/* Case Study Badges */
.case-study__badge {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--color-text-inverse);
    margin-bottom: var(--space-md);
}

.case-study__badge--edu {
    background: linear-gradient(135deg, var(--grey-slate), var(--grey-iron));
}

.case-study__badge--health {
    background: linear-gradient(135deg, var(--grey-warm), var(--grey-cloud));
}

.case-study__badge--fin {
    background: linear-gradient(135deg, var(--grey-cool), var(--grey-steel));
}

.case-studies-section {
    padding-top: var(--space-2xl);
}

/* Client Portfolio Grid */
.impact-portfolio {
    background-color: var(--color-background-alt);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.portfolio-item {
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.portfolio-item__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-slate);
    margin-bottom: var(--space-sm);
}

.portfolio-item__title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.portfolio-item__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.portfolio-item__sector {
    display: inline-block;
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background-color: var(--color-background-alt);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Geographic Reach */
.reach-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

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

.reach-card {
    padding: var(--space-xl);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.reach-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.reach-card__region {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.reach-card__region svg {
    color: var(--grey-slate);
    flex-shrink: 0;
}

.reach-card__region h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
}

.reach-card__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.reach-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.reach-card__tags span {
    font-size: 11px;
    font-family: var(--font-mono);
    padding: 3px 8px;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
}

/* Recognition Section */
.recognition-section {
    background-color: var(--color-background-alt);
}

.impact__recognition {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.recognition-badge {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.recognition-badge:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.recognition-badge__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--color-text-inverse);
    flex-shrink: 0;
}

.recognition-badge__icon--award {
    background: linear-gradient(135deg, var(--grey-warm), var(--grey-cloud));
}

.recognition-badge__icon--global {
    background: linear-gradient(135deg, var(--grey-slate), var(--grey-steel));
}

.recognition-badge__icon--cert {
    background: linear-gradient(135deg, var(--grey-iron), var(--grey-ash));
}

.recognition-badge__icon--community {
    background: linear-gradient(135deg, var(--grey-cool), var(--grey-cloud));
}

.recognition-badge__icon--code {
    background: linear-gradient(135deg, var(--grey-stone), var(--grey-ash));
}

.recognition-badge__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.recognition-badge__title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
}

.recognition-badge__subtitle {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.recognition-badge__year {
    font-size: var(--font-size-xs);
    font-family: var(--font-mono);
    color: var(--grey-slate);
    font-weight: var(--font-weight-medium);
}

/* --------------------------------------------------------------------------
   Impact Page - Radial Progress Dashboard
   -------------------------------------------------------------------------- */
.impact-dashboard {
    background-color: var(--color-background-alt);
}

.radial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .radial-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.radial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
}

.radial-ring {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: var(--space-md);
}

.radial-ring__svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.radial-ring__track {
    fill: none;
    stroke: var(--color-border-light);
    stroke-width: 6;
}

.radial-ring__fill {
    fill: none;
    stroke: var(--grey-slate);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 326.73;
    transition: stroke-dashoffset 1.5s var(--ease-out-expo);
}

.radial-ring__fill--green { stroke: var(--grey-cool); }
.radial-ring__fill--blue { stroke: var(--grey-slate); }

.radial-ring__value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-mono);
    color: var(--color-text);
}

.radial-card__label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-bottom: 2px;
}

.radial-card__sub {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Impact Page - Growth Chart
   -------------------------------------------------------------------------- */
.impact-growth__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

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

.growth-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

.growth-stat__value {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-extrabold);
    font-family: var(--font-mono);
    color: var(--grey-slate);
    line-height: 1;
}

.growth-stat__label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
}

/* Bar Chart */
.bar-chart {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.bar-chart__row {
    display: grid;
    grid-template-columns: 40px 1fr 44px;
    align-items: center;
    gap: var(--space-sm);
}

.bar-chart__label {
    font-size: var(--font-size-xs);
    font-family: var(--font-mono);
    color: var(--color-text-muted);
    text-align: right;
}

.bar-chart__track {
    height: 24px;
    background-color: var(--color-border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.bar-chart__fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--grey-slate), var(--grey-steel));
    border-radius: var(--radius-sm);
    transition: width 1.2s var(--ease-out-expo);
}

.bar-chart__fill--accent {
    background: var(--gradient-accent);
}

.bar-chart__value {
    font-size: var(--font-size-xs);
    font-family: var(--font-mono);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Impact Page - Industry Distribution Chart
   -------------------------------------------------------------------------- */
.industry-chart {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.industry-chart__row {
    display: grid;
    grid-template-columns: 160px 1fr 44px;
    align-items: center;
    gap: var(--space-md);
}

@media (max-width: 639px) {
    .industry-chart__row {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }
    .industry-chart__pct {
        display: none;
    }
}

.industry-chart__info {
    display: flex;
    flex-direction: column;
}

.industry-chart__name {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
}

.industry-chart__count {
    font-size: 11px;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.industry-chart__bar {
    height: 20px;
    background-color: var(--color-border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.industry-chart__fill {
    height: 100%;
    width: 0;
    border-radius: var(--radius-sm);
    transition: width 1.2s var(--ease-out-expo);
}

.industry-chart__fill[data-color="edu"]    { background: linear-gradient(90deg, var(--grey-slate), var(--grey-steel)); }
.industry-chart__fill[data-color="fin"]    { background: linear-gradient(90deg, var(--grey-cool), var(--grey-cloud)); }
.industry-chart__fill[data-color="health"] { background: linear-gradient(90deg, var(--grey-warm), var(--grey-cloud)); }
.industry-chart__fill[data-color="ecom"]   { background: linear-gradient(90deg, var(--grey-iron), var(--grey-ash)); }
.industry-chart__fill[data-color="agri"]   { background: linear-gradient(90deg, var(--grey-stone), var(--grey-cloud)); }
.industry-chart__fill[data-color="prop"]   { background: linear-gradient(90deg, var(--grey-ash), var(--grey-cloud)); }
.industry-chart__fill[data-color="legal"]  { background: linear-gradient(90deg, var(--color-secondary), var(--grey-iron)); }
.industry-chart__fill[data-color="other"]  { background: linear-gradient(90deg, var(--grey-cloud), var(--grey-slate)); }

.industry-chart__pct {
    font-size: var(--font-size-sm);
    font-family: var(--font-mono);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    text-align: right;
}

/* --------------------------------------------------------------------------
   Impact Page - Comparison Cards
   -------------------------------------------------------------------------- */
.impact-comparison {
    background-color: var(--color-background-alt);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.comparison-card {
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
}

.comparison-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    color: var(--grey-slate);
}

.comparison-card__header h3 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
}

.comparison-card__bars {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.comparison-bar {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: var(--space-sm);
}

.comparison-bar__label {
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
}

.comparison-bar__track {
    height: 16px;
    background-color: var(--color-border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.comparison-bar__fill {
    height: 100%;
    width: 0;
    border-radius: var(--radius-sm);
    transition: width 1s var(--ease-out-expo);
}

.comparison-bar__fill--before {
    background: linear-gradient(90deg, var(--grey-warm), var(--grey-cloud));
}

.comparison-bar__fill--after {
    background: linear-gradient(90deg, var(--grey-slate), var(--grey-steel));
}

.comparison-bar__value {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.comparison-card__delta {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    color: var(--grey-slate);
    background-color: rgba(90, 101, 112, 0.12);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   Impact Page - Platform Cards
   -------------------------------------------------------------------------- */
.platform-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .platform-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.platform-card {
    padding: var(--space-xl);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
}

.platform-card__header {
    margin-bottom: var(--space-lg);
}

.platform-card__badge {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--color-text-inverse);
    margin-bottom: var(--space-sm);
}

.platform-card--edu .platform-card__badge { background: linear-gradient(135deg, var(--grey-slate), var(--grey-iron)); }
.platform-card--health .platform-card__badge { background: linear-gradient(135deg, var(--grey-warm), var(--grey-cloud)); }
.platform-card--fin .platform-card__badge { background: linear-gradient(135deg, var(--grey-cool), var(--grey-steel)); }

.platform-card__header h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: 4px;
}

.platform-card__tag {
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
}

.platform-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: var(--space-md);
}

.platform-stat {
    text-align: center;
}

.platform-stat__num {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-mono);
    color: var(--grey-slate);
    line-height: 1.2;
}

.platform-stat__label {
    display: block;
    font-size: 10px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.platform-card__modules {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.platform-card__modules span {
    font-size: 11px;
    font-family: var(--font-mono);
    padding: 3px 8px;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
}

.platform-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--grey-slate);
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.platform-card__link:hover {
    gap: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Impact Page - Reach Indicators
   -------------------------------------------------------------------------- */
.reach-card__indicator {
    margin-bottom: var(--space-md);
}

.reach-indicator {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reach-indicator__label {
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.reach-indicator__bar {
    height: 6px;
    background-color: var(--color-border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.reach-indicator__fill {
    height: 100%;
    width: 0;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    transition: width 1.2s var(--ease-out-expo);
}

/* --------------------------------------------------------------------------
   Approach Section (used on Expertise)
   -------------------------------------------------------------------------- */
.approach__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.approach__description {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.approach__description:last-child {
    margin-bottom: 0;
}

.approach__principles {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.principle {
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
}

.principle h3 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.principle p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

@media (min-width: 768px) {
    .approach__content {
        grid-template-columns: 1fr 1fr;
    }
    
    .approach__principles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .approach__principles {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Expertise — Tech Stack Layers
   -------------------------------------------------------------------------- */
.exp-stack {
    background-color: var(--color-background-alt);
}

.stack-layers {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.stack-layer__title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    color: var(--grey-slate);
}

.stack-layer__title svg {
    color: var(--grey-slate);
    flex-shrink: 0;
}

.stack-layer__items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.stack-chip {
    padding: 6px 14px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.stack-chip:hover {
    border-color: var(--grey-slate);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.stack-chip--primary {
    background-color: var(--grey-slate);
    border-color: var(--grey-slate);
    color: var(--color-text-inverse);
    font-weight: var(--font-weight-semibold);
}

.stack-chip--primary:hover {
    border-color: var(--grey-slate);
    box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   Expertise — Industry Experience Grid
   -------------------------------------------------------------------------- */
.industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.industry-card {
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.industry-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--color-text-inverse);
    margin-bottom: var(--space-md);
}

.industry-card__icon--edu {
    background: linear-gradient(135deg, var(--grey-slate), var(--grey-iron));
}

.industry-card__icon--health {
    background: linear-gradient(135deg, var(--grey-warm), var(--grey-cloud));
}

.industry-card__icon--fin {
    background: linear-gradient(135deg, var(--grey-cool), var(--grey-steel));
}

.industry-card__icon--legal {
    background: linear-gradient(135deg, var(--color-secondary), var(--grey-iron));
}

.industry-card__icon--prop {
    background: linear-gradient(135deg, var(--grey-stone), var(--grey-ash));
}

.industry-card__icon--ecom {
    background: linear-gradient(135deg, var(--grey-ash), var(--grey-cloud));
}

.industry-card__icon--community {
    background: linear-gradient(135deg, var(--grey-iron), var(--grey-stone));
}

.industry-card__icon--media {
    background: linear-gradient(135deg, var(--grey-cool), var(--grey-cloud));
}

.industry-card__title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 2px;
}

.industry-card__count {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--grey-slate);
    margin-bottom: var(--space-sm);
}

.industry-card__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* --------------------------------------------------------------------------
   Expertise — Principle Numbers
   -------------------------------------------------------------------------- */
.principle__number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--grey-slate);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--space-sm);
    font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   Speaking/Topics Section (Media Page)
   -------------------------------------------------------------------------- */
.speaking-topics {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.topic-card {
    padding: var(--space-xl);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-base);
}

.topic-card:hover {
    border-color: var(--grey-slate);
}

.topic-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.topic-card__description {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

@media (min-width: 768px) {
    .speaking-topics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .speaking-topics {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Formats Section (Media Page)
   -------------------------------------------------------------------------- */
.formats-section {
    background-color: var(--color-background-alt);
}

/* --------------------------------------------------------------------------
   Media Appearances Section
   -------------------------------------------------------------------------- */
.media-appearances {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.media-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-base);
}

.media-card:hover {
    border-color: var(--grey-slate);
}

.media-card__type {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
    color: var(--grey-slate);
}

.media-card__content {
    flex: 1;
}

.media-card__title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-2xs);
}

.media-card__outlet {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xs);
}

.media-card__date {
    font-size: var(--font-size-xs);
    color: var(--color-text-tertiary);
}

@media (min-width: 768px) {
    .media-appearances {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Article Page Styles
   -------------------------------------------------------------------------- */
.container--narrow {
    max-width: 700px;
}

.article__header {
    padding-top: calc(80px + var(--space-2xl));
    padding-bottom: var(--space-2xl);
    background-color: var(--color-background-alt);
}

.article__back {
    display: inline-flex;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    text-decoration: none;
    margin-bottom: var(--space-xl);
    transition: color var(--transition-base);
}

.article__back:hover {
    color: var(--grey-slate);
}

.article__category {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
    color: var(--grey-slate);
    margin-bottom: var(--space-sm);
}

.article__title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-lg);
}

.article__lead {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-lg);
}

.article__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary);
}

.article__divider {
    width: 48px;
    height: 2px;
    background-color: var(--grey-slate);
    margin: var(--space-2xl) 0;
}

.article__body {
    padding: var(--space-2xl) 0;
}

.article__body p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.article__body h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.article__body h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.article__body ul,
.article__body ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-lg);
}

.article__body li {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.article__body strong {
    color: var(--color-text);
    font-weight: var(--font-weight-semibold);
}

.article__body a {
    color: var(--grey-steel);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article__body a:hover {
    text-decoration-color: transparent;
}

.article__body blockquote {
    margin: var(--space-xl) 0;
    padding-left: var(--space-lg);
    border-left: 3px solid var(--grey-slate);
    font-size: var(--font-size-lg);
    font-style: italic;
    color: var(--color-text);
}

.article__body code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background-color: var(--color-background-alt);
    padding: 0.2em 0.4em;
    border-radius: var(--radius-sm);
}

.article__body pre {
    margin: var(--space-lg) 0;
    padding: var(--space-lg);
    background-color: var(--color-surface-dark);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.article__body pre code {
    background: none;
    padding: 0;
    font-size: var(--font-size-sm);
}

.article__cta {
    text-align: center;
    padding: var(--space-xl);
    background-color: var(--color-background-alt);
    border-radius: var(--radius-lg);
    margin-top: var(--space-2xl);
}

.article__cta a {
    color: var(--grey-steel);
    font-weight: var(--font-weight-semibold);
}

/* --------------------------------------------------------------------------
   Article Featured Image — Premium Cinematic Treatment
   -------------------------------------------------------------------------- */
.article__featured-image {
    position: relative;
    margin: 0 0 var(--space-2xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-background-alt) 0%, var(--color-surface) 100%);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.article__featured-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.article__featured-image:hover::before {
    opacity: 1;
}

.article__featured-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
    filter: saturate(0.9) contrast(1.05);
}

.article__featured-image:hover img {
    transform: scale(1.03);
    filter: saturate(1) contrast(1.1);
}

.article__featured-image figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.article__featured-image:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

.article__featured-image figcaption a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease;
}

.article__featured-image figcaption a:hover {
    border-color: rgba(255, 255, 255, 0.8);
}

/* Cinematic film grain overlay */
.article__featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* --------------------------------------------------------------------------
   Journal List — Premium Card Grid
   -------------------------------------------------------------------------- */
.journal-list {
    display: grid;
    gap: var(--space-xl);
}

.journal-list-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    transition: 
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
    overflow: hidden;
}

.journal-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--grey-slate), var(--color-accent), var(--grey-steel));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.journal-list-item:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border-color: var(--grey-steel);
}

.journal-list-item:hover::before {
    opacity: 1;
}

.journal-list-item__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--color-background-alt) 0%, var(--color-surface-alt) 100%);
}

.journal-list-item__image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(var(--grey-slate-rgb, 90, 101, 112), 0.1) 0%,
        transparent 50%
    );
    z-index: 1;
    pointer-events: none;
}

.journal-list-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.4s ease;
    filter: saturate(0.85) brightness(0.98);
}

.journal-list-item:hover .journal-list-item__image img {
    transform: scale(1.08);
    filter: saturate(1) brightness(1);
}

/* Shimmer loading effect placeholder */
.journal-list-item__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
    opacity: 0;
}

.journal-list-item__image:not(:has(img[src])) {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.journal-list-item__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.journal-list-item__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.journal-list-item__date {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.journal-list-item__category {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--grey-steel);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25em 0.75em;
    background: var(--color-background-alt);
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border-light);
}

.journal-list-item__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-snug);
    margin: var(--space-xs) 0;
}

.journal-list-item__title a {
    background: linear-gradient(to right, var(--color-text), var(--color-text));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s ease, color 0.3s ease;
}

.journal-list-item:hover .journal-list-item__title a {
    background-size: 100% 2px;
}

.journal-list-item__excerpt {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.journal-list-item__read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--grey-steel);
    margin-top: var(--space-sm);
    transition: color 0.3s ease, gap 0.3s ease;
}

.journal-list-item:hover .journal-list-item__read-more {
    color: var(--color-text);
    gap: var(--space-sm);
}

/* Desktop: Side-by-side layout */
@media (min-width: 768px) {
    .journal-list-item {
        grid-template-columns: 280px 1fr;
        align-items: center;
        padding: var(--space-xl);
    }
    
    .journal-list-item__image {
        aspect-ratio: 4 / 3;
    }
    
    /* Alternate layout for visual interest */
    .journal-list-item:nth-child(even) {
        grid-template-columns: 1fr 280px;
    }
    
    .journal-list-item:nth-child(even) .journal-list-item__image {
        order: 2;
    }
}

/* Large screens: Featured first item */
@media (min-width: 1024px) {
    .journal-list-item:first-child {
        grid-template-columns: 1fr;
        padding: 0;
        background: transparent;
        border: none;
    }
    
    .journal-list-item:first-child::before {
        display: none;
    }
    
    .journal-list-item:first-child:hover {
        transform: none;
        box-shadow: none;
    }
    
    .journal-list-item:first-child .journal-list-item__image {
        aspect-ratio: 21 / 9;
        border-radius: var(--radius-xl);
        margin-bottom: var(--space-lg);
    }
    
    .journal-list-item:first-child .journal-list-item__title {
        font-size: var(--font-size-2xl);
    }
    
    .journal-list-item:first-child .journal-list-item__excerpt {
        font-size: var(--font-size-lg);
        max-width: 80ch;
    }
}

/* Related Articles */
.related-articles {
    background-color: var(--color-background-alt);
    border-top: 1px solid var(--color-border-light);
}

/* ==========================================================================
   YouTube / Watch Page Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   YouTube Hero
   -------------------------------------------------------------------------- */
.yt-hero {
    position: relative;
    padding-top: calc(80px + var(--space-3xl));
    padding-bottom: var(--space-3xl);
    background: linear-gradient(135deg, #111113 0%, #18181B 30%, #1C1C1F 60%, #111113 100%);
    color: var(--color-text-inverse);
    overflow: hidden;
}

.yt-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.15;
}

.yt-hero__wave {
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 120%;
    height: 200px;
    border-radius: 50% 50% 0 0;
}

.yt-hero__wave--1 {
    background: var(--grey-steel);
    opacity: 0.15;
    animation: ytWave 8s ease-in-out infinite;
}

.yt-hero__wave--2 {
    background: var(--color-accent);
    opacity: 0.2;
    animation: ytWave 6s ease-in-out infinite reverse;
    bottom: -20px;
}

@keyframes ytWave {
    0%, 100% { transform: translateY(0) scaleY(1); }
    50% { transform: translateY(-30px) scaleY(1.2); }
}

.yt-hero__equalizer {
    position: absolute;
    bottom: 40px;
    right: 10%;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 120px;
}

.yt-hero__bar {
    display: block;
    width: 8px;
    background: linear-gradient(to top, var(--grey-slate), var(--color-accent));
    border-radius: 4px 4px 0 0;
    animation: eqBounce 1.2s ease-in-out infinite;
}

.yt-hero__bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.yt-hero__bar:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.yt-hero__bar:nth-child(3) { height: 50%; animation-delay: 0.3s; }
.yt-hero__bar:nth-child(4) { height: 90%; animation-delay: 0.45s; }
.yt-hero__bar:nth-child(5) { height: 60%; animation-delay: 0.6s; }
.yt-hero__bar:nth-child(6) { height: 80%; animation-delay: 0.75s; }
.yt-hero__bar:nth-child(7) { height: 45%; animation-delay: 0.9s; }

@keyframes eqBounce {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
}

.yt-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.yt-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: rgba(200, 200, 208, 0.1);
    border: 1px solid rgba(200, 200, 208, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent-light);
    margin-bottom: var(--space-lg);
}

.yt-hero__badge svg {
    width: 18px;
    height: 18px;
}

.yt-hero__title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: var(--space-md);
}

.yt-hero__subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-xl);
}

.yt-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.yt-hero__actions .btn--secondary {
    color: var(--color-text-inverse);
    border-color: rgba(255, 255, 255, 0.3);
}

.yt-hero__actions .btn--secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.1);
}

.yt-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.yt-hero__stat {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

.yt-hero__stat svg {
    color: var(--grey-cloud);
}

/* YouTube Button */
.btn--yt {
    background-color: var(--grey-slate);
    color: var(--color-text-inverse);
}

.btn--yt:hover,
.btn--yt:focus {
    background-color: var(--grey-steel);
    color: var(--color-text-inverse);
    transform: translateY(-1px);
}

.btn--yt svg {
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Content Pillars
   -------------------------------------------------------------------------- */
.yt-pillars {
    background-color: var(--color-background-alt);
}

.yt-pillars__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.yt-pillar {
    padding: var(--space-xl);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    overflow: hidden;
}

.yt-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.yt-pillar--music::before {
    background: linear-gradient(90deg, var(--grey-slate), var(--color-accent));
}

.yt-pillar--tech::before {
    background: linear-gradient(90deg, var(--color-accent), var(--grey-cool));
}

.yt-pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.yt-pillar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-lg);
    color: var(--grey-slate);
    margin-bottom: var(--space-md);
}

.yt-pillar--music .yt-pillar__icon {
    color: var(--grey-slate);
    background-color: rgba(74, 82, 96, 0.1);
}

.yt-pillar__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
}

.yt-pillar__description {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.yt-pillar__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.yt-tag {
    padding: 4px var(--space-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    font-family: var(--font-mono);
    background-color: var(--color-background-alt);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
}

@media (min-width: 768px) {
    .yt-pillars__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------------------------------------
   YouTube Embeds (Responsive 16:9)
   -------------------------------------------------------------------------- */
.yt-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--color-surface-dark);
    box-shadow: var(--shadow-lg);
}

.yt-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --------------------------------------------------------------------------
   Featured Video Section
   -------------------------------------------------------------------------- */
.yt-featured__player {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.yt-subscribe-card {
    padding: var(--space-xl);
    background: linear-gradient(135deg, #18181B 0%, #1C1C1F 100%);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--color-text-inverse);
}

[data-theme="light"] .yt-subscribe-card,
:root:not([data-theme="dark"]) .yt-subscribe-card {
    background: linear-gradient(135deg, #18181B 0%, #1C1C1F 100%);
}

.yt-subscribe-card__icon {
    color: var(--grey-cloud);
    margin-bottom: var(--space-md);
}

.yt-subscribe-card__icon svg {
    margin-inline: auto;
}

.yt-subscribe-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
}

.yt-subscribe-card__text {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
    line-height: var(--line-height-relaxed);
}

.yt-quick-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.yt-quick-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.yt-quick-link:hover {
    border-color: var(--grey-steel);
    background-color: var(--color-background-alt);
}

.yt-quick-link svg {
    color: var(--grey-slate);
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .yt-featured__player {
        grid-template-columns: 2fr 1fr;
    }
}

/* --------------------------------------------------------------------------
   Playlists Section
   -------------------------------------------------------------------------- */
.yt-playlists {
    background-color: var(--color-background-alt);
}

.yt-playlists__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.yt-playlist-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.yt-playlist-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.yt-playlist-card__visual {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--grey-slate) 0%, var(--grey-steel) 50%, var(--color-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.yt-playlist-card__visual--deep {
    background: linear-gradient(135deg, #1C1C1F 0%, var(--grey-iron) 50%, var(--color-accent) 100%);
}

.yt-playlist-card__visual--tech {
    background: linear-gradient(135deg, #18181B 0%, var(--grey-cool) 50%, var(--color-accent) 100%);
}

.yt-playlist-card__overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--color-text-inverse);
    transition: transform var(--transition-base);
}

.yt-playlist-card:hover .yt-playlist-card__overlay {
    transform: scale(1.1);
}

.yt-playlist-card__content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.yt-playlist-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.yt-playlist-card__description {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    flex: 1;
    margin-bottom: var(--space-md);
}

.yt-playlist-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    color: var(--color-text);
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.yt-playlist-card__link:hover {
    gap: var(--space-sm);
    color: var(--color-text-secondary);
}

@media (min-width: 768px) {
    .yt-playlists__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Latest Videos Grid
   -------------------------------------------------------------------------- */
.yt-latest__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .yt-latest__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------------------------------------
   YouTube Subscribe CTA
   -------------------------------------------------------------------------- */
.yt-cta {
    background: linear-gradient(135deg, #111113 0%, #18181B 30%, #1C1C1F 60%, #111113 100%);
    color: var(--color-text-inverse);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.yt-cta__content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin-inline: auto;
}

.yt-cta__equalizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    margin-bottom: var(--space-lg);
}

.yt-cta__bar {
    display: block;
    width: 6px;
    background: linear-gradient(to top, var(--grey-slate), var(--color-accent));
    border-radius: 3px 3px 0 0;
    animation: eqBounce 1.2s ease-in-out infinite;
}

.yt-cta__bar:nth-child(1) { height: 50%; animation-delay: 0s; }
.yt-cta__bar:nth-child(2) { height: 80%; animation-delay: 0.2s; }
.yt-cta__bar:nth-child(3) { height: 60%; animation-delay: 0.4s; }
.yt-cta__bar:nth-child(4) { height: 100%; animation-delay: 0.6s; }
.yt-cta__bar:nth-child(5) { height: 70%; animation-delay: 0.8s; }

.yt-cta__title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-md);
}

.yt-cta__title em {
    color: var(--grey-cloud);
    font-style: normal;
}

.yt-cta__description {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-xl);
}

.yt-cta__actions {
    margin-bottom: var(--space-xl);
}

.yt-cta__hashtags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-mono);
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   Video Library
   -------------------------------------------------------------------------- */
.yt-library {
    background-color: var(--color-background);
}

.yt-library__filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
}

.yt-filter {
    padding: var(--space-xs) var(--space-md);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    font-family: var(--font-primary);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.yt-filter:hover {
    border-color: var(--grey-steel);
    color: var(--color-text);
}

.yt-filter--active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-inverse);
}

.yt-library__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .yt-library__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .yt-library__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Video Card
   -------------------------------------------------------------------------- */
.yt-video-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.yt-video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.yt-video-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--color-primary);
}

.yt-video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.yt-video-card:hover .yt-video-card__thumb img {
    transform: scale(1.05);
}

.yt-video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 17, 19, 0.85);
    border-radius: 50%;
    color: var(--color-text-inverse);
    opacity: 0;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.yt-video-card:hover .yt-video-card__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.yt-video-card__views {
    position: absolute;
    bottom: var(--space-xs);
    right: var(--space-xs);
    padding: 2px var(--space-xs);
    background: rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-inverse);
}

.yt-video-card__info {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.yt-video-card__title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    margin-bottom: var(--space-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yt-video-card__meta {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-top: auto;
}

.yt-video-card[hidden] {
    display: none;
}

/* --------------------------------------------------------------------------
   Individual Video Watch Page
   -------------------------------------------------------------------------- */
.watch-page {
    padding-top: calc(80px + var(--space-xl));
    padding-bottom: var(--space-2xl);
}

.watch-page__back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    transition: color var(--transition-fast);
}

.watch-page__back:hover {
    color: var(--color-text);
}

.watch-page__player {
    margin-bottom: var(--space-xl);
}

.watch-page__details {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 1024px) {
    .watch-page__details {
        grid-template-columns: 2fr 1fr;
    }
}

.watch-page__info {
    max-width: 800px;
}

.watch-page__category {
    display: inline-block;
    padding: 2px var(--space-sm);
    background-color: rgba(200, 200, 208, 0.12);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.watch-page__title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-snug);
    margin-bottom: var(--space-sm);
}

.watch-page__meta {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.watch-page__description {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    white-space: pre-line;
}

.watch-page__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.watch-page__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.watch-page__yt-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    transition: border-color var(--transition-fast);
}

.watch-page__yt-link:hover {
    border-color: var(--grey-steel);
}

.watch-page__yt-link svg {
    color: var(--grey-slate);
    flex-shrink: 0;
}

/* Related Videos on Watch Page */
.watch-related {
    background-color: var(--color-background-alt);
}

.watch-related__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .watch-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .watch-related__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --------------------------------------------------------------------------
   YouTube Shorts Section
   -------------------------------------------------------------------------- */
.yt-shorts {
    background-color: var(--color-background-alt);
}

.yt-shorts__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .yt-shorts__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .yt-shorts__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .yt-shorts__grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.yt-short-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.yt-short-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.yt-short-card__thumb {
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background-color: var(--color-primary);
}

.yt-short-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.yt-short-card:hover .yt-short-card__thumb img {
    transform: scale(1.05);
}

.yt-short-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 17, 19, 0.85);
    border-radius: 50%;
    color: var(--color-text-inverse);
    opacity: 0;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.yt-short-card:hover .yt-short-card__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.yt-short-card__badge {
    position: absolute;
    bottom: var(--space-sm);
    left: var(--space-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.75);
    color: var(--color-text-inverse);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
}

.yt-short-card__info {
    padding: var(--space-sm) var(--space-md) var(--space-md);
}

.yt-short-card__title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Shorts Coming Soon State */
.yt-shorts__coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background-color: var(--color-surface);
    border: 2px dashed var(--color-border-light);
    border-radius: var(--radius-lg);
}

.yt-shorts__coming-soon-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--grey-slate), var(--grey-steel));
    border-radius: 50%;
    color: var(--color-text-inverse);
    margin-bottom: var(--space-md);
}

.yt-shorts__coming-soon h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-xs);
}

.yt-shorts__coming-soon p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    max-width: 400px;
    line-height: var(--line-height-relaxed);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .yt-hero__wave,
    .yt-hero__bar,
    .yt-cta__bar {
        animation: none;
    }
}

/* --------------------------------------------------------------------------
   Legal Pages (Privacy Policy, Terms, Cookies)
   -------------------------------------------------------------------------- */
.legal-content {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-3xl);
}

.legal-body {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-primary);
}

.legal-effective {
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-background-alt);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--grey-slate);
    margin-bottom: var(--space-2xl);
}

.legal-section {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.legal-section h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-section p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-md);
}

.legal-section ul li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--grey-slate);
}

.legal-section a {
    color: var(--grey-steel);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section a:hover {
    opacity: 0.8;
}

.legal-contact-box {
    background: var(--color-background-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-md) 0;
}

.legal-contact-box p {
    margin-bottom: var(--space-xs);
    color: var(--color-text-secondary);
}

.legal-contact-box p:last-child {
    margin-bottom: 0;
}

.legal-table-wrap {
    overflow-x: auto;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
}

.legal-table thead {
    background: var(--color-background-alt);
}

.legal-table th {
    text-align: left;
    padding: var(--space-sm) var(--space-md);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    border-bottom: 2px solid var(--color-border);
    white-space: nowrap;
}

.legal-table td {
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table code {
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    background: var(--color-background-alt);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    color: var(--grey-steel);
}

.legal-nav {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
    padding-top: var(--space-xl);
    margin-top: var(--space-xl);
    border-top: 2px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   Partners Logo Marquee
   -------------------------------------------------------------------------- */
.partners {
    padding-bottom: var(--space-xl);
    overflow: hidden;
}

.partners .section__header {
    margin-bottom: var(--space-lg);
}

.partners__marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners__track {
    display: flex;
    gap: var(--space-2xl);
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
}

.partners__marquee:hover .partners__track {
    animation-play-state: paused;
}

.partners__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.partners__logo:hover {
    border-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.partners__logo svg {
    flex-shrink: 0;
    color: var(--grey-slate);
}

.partners__logo span {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    letter-spacing: var(--letter-spacing-wide);
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .partners__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding-inline: var(--container-padding);
    }

    .partners__logo[aria-hidden="true"] {
        display: none;
    }
}

@media (max-width: 768px) {
    .partners__track {
        gap: var(--space-lg);
    }

    .partners__logo {
        padding: var(--space-xs) var(--space-sm);
    }

    .partners__logo svg {
        width: 20px;
        height: 20px;
    }

    .partners__logo span {
        font-size: var(--font-size-xs);
    }
}

.section__footer--centered {
    text-align: center;
    display: flex;
    justify-content: center;
}

@media (max-width: 600px) {
    .legal-table {
        font-size: var(--font-size-xs);
    }

    .legal-table th,
    .legal-table td {
        padding: var(--space-xs) var(--space-sm);
    }

    .legal-nav {
        flex-direction: column;
        gap: var(--space-md);
    }
}

/* --------------------------------------------------------------------------
   Newsletter Section
   -------------------------------------------------------------------------- */
.newsletter-section {
    padding-block: var(--section-spacing);
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xl);
}

.newsletter-text {
    max-width: 540px;
}

.newsletter-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.newsletter-description {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.newsletter-form {
    width: 100%;
    max-width: 480px;
}

.newsletter-form__row {
    display: flex;
    gap: var(--space-sm);
}

.newsletter-form__field {
    flex: 1;
}

.newsletter-input {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-family: inherit;
    font-size: var(--font-size-base);
    color: var(--color-text);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-input::placeholder {
    color: var(--color-text-tertiary);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--grey-steel);
    box-shadow: 0 0 0 3px rgba(90, 101, 112, 0.1);
}

.newsletter-btn {
    position: relative;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn__text {
    transition: opacity 0.2s ease;
}

.newsletter-btn__loading {
    position: absolute;
    display: none;
}

.newsletter-btn--loading .newsletter-btn__text {
    opacity: 0;
}

.newsletter-btn--loading .newsletter-btn__loading {
    display: block;
}

.newsletter-form__status {
    margin-top: var(--space-md);
    font-size: var(--font-size-base);
    min-height: 1.5em;
    text-align: center;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
}

.newsletter-form__status--success {
    color: var(--color-text);
    background: var(--color-background-alt);
    font-weight: var(--font-weight-medium);
}

.newsletter-form__status--error {
    color: var(--grey-warm);
    background: rgba(138, 128, 120, 0.1);
    font-weight: var(--font-weight-medium);
}

/* Footer Newsletter (compact version) */
.footer__newsletter {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border-light);
}

.footer__newsletter-title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.footer__newsletter-form {
    display: flex;
    gap: var(--space-xs);
    max-width: 320px;
}

.footer__newsletter-input {
    flex: 1;
    padding: var(--space-xs) var(--space-sm);
    font-family: inherit;
    font-size: var(--font-size-sm);
    color: var(--color-text);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease;
}

.footer__newsletter-input::placeholder {
    color: var(--color-text-tertiary);
}

.footer__newsletter-input:focus {
    outline: none;
    border-color: var(--grey-steel);
}

.footer__newsletter-btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

.footer__newsletter-status {
    margin-top: var(--space-xs);
    font-size: var(--font-size-xs);
    min-height: 1.2em;
}

.footer__nav-group--newsletter {
    min-width: 240px;
}

.footer__newsletter-desc {
    font-size: var(--font-size-xs);
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

@media (max-width: 600px) {
    .newsletter-form__row {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }

    .footer__newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }

    .footer__newsletter-btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Floating Newsletter Prompt (Slide-in CTA)
   -------------------------------------------------------------------------- */
.newsletter-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.newsletter-float.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.newsletter-float__card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 0, 0, 0.08);
    max-width: 340px;
    position: relative;
}

.newsletter-float__close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 28px;
    height: 28px;
    border: none;
    background: var(--color-background-alt);
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-tertiary);
    transition: background 0.2s, color 0.2s;
}

.newsletter-float__close:hover {
    background: var(--color-border);
    color: var(--color-text);
}

.newsletter-float__close svg {
    width: 14px;
    height: 14px;
}

.newsletter-float__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--grey-slate) 0%, var(--grey-steel) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.newsletter-float__icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-text-inverse);
}

.newsletter-float__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.newsletter-float__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.newsletter-float__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.newsletter-float__input {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-family: inherit;
    font-size: var(--font-size-sm);
    color: var(--color-text);
    background-color: var(--color-background-alt);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-float__input:focus {
    outline: none;
    border-color: var(--grey-steel);
    box-shadow: 0 0 0 3px rgba(90, 101, 112, 0.1);
}

.newsletter-float__btn {
    width: 100%;
}

.newsletter-float__status {
    font-size: var(--font-size-xs);
    margin-top: var(--space-xs);
    min-height: 1.2em;
}

.newsletter-float__status--success {
    color: var(--grey-steel);
}

.newsletter-float__status--error {
    color: var(--grey-warm);
}

/* Mini trigger button when float is dismissed */
.newsletter-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border: none;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s, box-shadow 0.2s;
    opacity: 0;
    pointer-events: none;
}

.newsletter-trigger.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.newsletter-trigger:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.newsletter-trigger svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 600px) {
    .newsletter-float {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }

    .newsletter-float__card {
        max-width: none;
    }

    .newsletter-trigger {
        bottom: 16px;
        right: 16px;
    }
}

/* --------------------------------------------------------------------------
   Journal Newsletter CTA (inline article prompt)
   -------------------------------------------------------------------------- */
.journal-newsletter {
    background: linear-gradient(135deg, var(--color-background-alt) 0%, var(--color-surface) 100%);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    margin-block: var(--space-3xl);
}

.journal-newsletter__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--grey-slate) 0%, var(--grey-steel) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.journal-newsletter__icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-text-inverse);
}

.journal-newsletter__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.journal-newsletter__desc {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto var(--space-lg);
}

.journal-newsletter__form {
    display: flex;
    gap: var(--space-sm);
    max-width: 400px;
    margin: 0 auto;
}

.journal-newsletter__input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    font-family: inherit;
    font-size: var(--font-size-base);
    color: var(--color-text);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease;
}

.journal-newsletter__input:focus {
    outline: none;
    border-color: var(--grey-steel);
}

.journal-newsletter__status {
    margin-top: var(--space-sm);
    font-size: var(--font-size-sm);
    min-height: 1.5em;
}

@media (max-width: 600px) {
    .journal-newsletter {
        padding: var(--space-xl);
    }

    .journal-newsletter__form {
        flex-direction: column;
    }
}

/* ==========================================================================
   Refurbished Tech Store
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared Utility — Centered Section Header
   -------------------------------------------------------------------------- */
.section__header--centered {
    text-align: center;
}

.section__description--centered {
    margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Refurb — Hero
   -------------------------------------------------------------------------- */
.refurb-hero {
    padding: var(--space-3xl) 0 var(--space-xl);
    text-align: center;
}

/* --------------------------------------------------------------------------
   Refurb — Active Pill State
   -------------------------------------------------------------------------- */
.store-pill--active {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border-color: transparent;
}

.store-pill--active svg {
    color: var(--color-text-inverse);
}

.store-pill--active:hover {
    background-color: var(--color-secondary);
}

/* --------------------------------------------------------------------------
   Refurb — Filter Toggle Button
   -------------------------------------------------------------------------- */
.refurb-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    padding: var(--space-xs) var(--space-sm);
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.refurb-filter-toggle:hover {
    border-color: var(--grey-steel);
    color: var(--color-text);
}

.refurb-filter-toggle--open {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border-color: transparent;
}

.refurb-filter-toggle--open:hover {
    background-color: var(--color-secondary);
}

.refurb-filter-toggle__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    background-color: var(--color-text-inverse);
    border-radius: var(--radius-full);
    line-height: 1;
}

.refurb-filter-toggle--open .refurb-filter-toggle__count {
    color: var(--color-text-inverse);
    background-color: rgba(255, 255, 255, 0.25);
}

/* --------------------------------------------------------------------------
   Refurb — Filter Panel (Slide-Down Drawer)
   -------------------------------------------------------------------------- */
.refurb-filter-panel {
    overflow: hidden;
    border-top: 1px solid var(--color-border-light);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
    animation: rfpSlideDown 0.25s ease-out;
}

@keyframes rfpSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.refurb-filter-panel__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-xl) var(--space-lg);
}

.refurb-filter-panel__actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
    border-top: 1px solid var(--color-border-light);
}

.refurb-filter-panel__clear {
    padding: var(--space-xs) var(--space-md);
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.refurb-filter-panel__clear:hover {
    color: var(--color-text);
    border-color: var(--grey-steel);
}

.refurb-filter-panel__done {
    padding: var(--space-xs) var(--space-lg);
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-inverse);
    background-color: var(--color-primary);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.refurb-filter-panel__done:hover {
    background-color: var(--color-secondary);
}

/* --------------------------------------------------------------------------
   Refurb — Filter Group (inside panel)
   -------------------------------------------------------------------------- */
.rfp-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.rfp-group__title {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.rfp-group__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.rfp-opt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 4px;
    padding: 7px 14px;
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    background-color: transparent;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.rfp-opt:hover {
    border-color: var(--grey-steel);
    color: var(--color-text);
}

.rfp-opt--on {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border-color: transparent;
}

.rfp-opt--on:hover {
    background-color: var(--color-secondary);
}

.rfp-opt__n {
    font-size: 10px;
    opacity: 0.6;
}

.rfp-opt--on .rfp-opt__n {
    opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Refurb — Active Filter Chips
   -------------------------------------------------------------------------- */
.refurb-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2xs);
    padding-top: var(--space-sm);
}

.rfp-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3xs);
    padding: 3px var(--space-xs) 3px var(--space-sm);
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    background-color: var(--color-background-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.rfp-chip:hover {
    border-color: var(--grey-warm);
    background-color: var(--color-surface);
}

.rfp-chip svg {
    opacity: 0.5;
}

.rfp-chip:hover svg {
    opacity: 1;
}

.rfp-chip--clear {
    padding: 3px var(--space-sm);
    color: var(--color-text-secondary);
    background: transparent;
    border-color: transparent;
}

.rfp-chip--clear:hover {
    color: var(--color-text);
    text-decoration: underline;
    border-color: transparent;
    background: transparent;
}

@media (max-width: 640px) {
    .refurb-filter-panel__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }
}

/* --------------------------------------------------------------------------
   Refurb — Toolbar (Sort & Count)
   -------------------------------------------------------------------------- */
.refurb-toolbar {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border-light);
    background-color: var(--color-background);
    position: sticky;
    top: 60px;
    z-index: var(--z-sticky);
}

.refurb-toolbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.refurb-toolbar__count {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
}

.refurb-toolbar__controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.refurb-toolbar__sort {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.refurb-toolbar__label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    white-space: nowrap;
}

.refurb-toolbar__select {
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    padding: 6px 12px;
    color: var(--color-text);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.refurb-toolbar__select:focus {
    outline: none;
    border-color: var(--grey-steel);
}

/* --------------------------------------------------------------------------
   Refurb — Product Grid
   -------------------------------------------------------------------------- */
.refurb-catalogue {
    padding-top: var(--space-lg);
}

.refurb-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .refurb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .refurb-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .refurb-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Refurb — Product Card
   -------------------------------------------------------------------------- */
.refurb-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, border-color 0.3s ease;
}

.refurb-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--grey-steel);
}

.refurb-card:focus-visible {
    outline: 2px solid var(--grey-steel);
    outline-offset: 2px;
}

.refurb-card__img {
    position: relative;
    aspect-ratio: 4 / 3;
    background-color: var(--color-background-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.refurb-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.refurb-card:hover .refurb-card__image {
    transform: scale(1.05);
}

.refurb-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(17, 17, 19, 0);
    transition: background-color 0.3s ease;
    z-index: 1;
}

.refurb-card__quick {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 20px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-inverse);
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.refurb-card:hover .refurb-card__overlay {
    background-color: rgba(17, 17, 19, 0.35);
}

.refurb-card:hover .refurb-card__quick {
    opacity: 1;
    transform: translateY(0);
}

.refurb-card__info {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.refurb-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: var(--space-xs);
}

.refurb-card__title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    margin-bottom: var(--space-xs);
}

.refurb-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: var(--space-sm);
}

.refurb-card__specs span {
    font-size: 11px;
    font-family: var(--font-mono);
    padding: 2px 8px;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
}

.refurb-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-top: auto;
    padding-top: var(--space-xs);
    border-top: 1px solid var(--color-border-light);
}

.refurb-card__price {
    font-size: var(--font-size-base);
    font-family: var(--font-mono);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Refurb — Badges (Grade & Win11)
   -------------------------------------------------------------------------- */
.refurb-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.refurb-badge--a {
    background-color: rgba(90, 101, 112, 0.15);
    color: var(--grey-steel);
}

.refurb-badge--b {
    background-color: rgba(107, 107, 115, 0.12);
    color: var(--grey-stone);
}

.refurb-badge--c {
    background-color: rgba(138, 128, 120, 0.12);
    color: var(--grey-warm);
}

.refurb-badge--new {
    background-color: rgba(74, 82, 96, 0.15);
    color: var(--grey-slate);
    font-weight: var(--font-weight-semibold);
}

.refurb-badge--refurb {
    background-color: rgba(90, 101, 112, 0.12);
    color: var(--grey-steel);
    font-weight: var(--font-weight-semibold);
}

.refurb-badge--win11 {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
}

/* Source filter nav (New / Refurbished) */
.store-hero__source-nav {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: center;
}

.store-hero__source-nav::-webkit-scrollbar { display: none; }

/* --------------------------------------------------------------------------
   Refurb — Stock Labels
   -------------------------------------------------------------------------- */
.refurb-stock {
    font-size: 11px;
    font-family: var(--font-mono);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
}

.refurb-stock--out {
    color: var(--grey-warm);
}

.refurb-stock--low {
    color: var(--grey-warm);
}

.refurb-stock--med {
    color: var(--grey-steel);
}

.refurb-stock--ok {
    color: var(--grey-cool);
}

/* --------------------------------------------------------------------------
   Refurb — Bundles Grid
   -------------------------------------------------------------------------- */
.refurb-bundles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .refurb-bundles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.refurb-bundle-card {
    position: relative;
    padding: var(--space-xl) var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-top: 3px solid var(--grey-steel);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.refurb-bundle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.refurb-bundle-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    margin-bottom: var(--space-md);
    align-self: flex-start;
}

.refurb-bundle-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-xs);
}

.refurb-bundle-card__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.refurb-bundle-card__items {
    font-size: var(--font-size-xs);
    font-family: var(--font-mono);
    color: var(--grey-steel);
    padding: var(--space-sm);
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.refurb-bundle-card__pricing {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.refurb-bundle-card__price {
    font-size: var(--font-size-xl);
    font-family: var(--font-mono);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.refurb-bundle-card__was {
    font-size: var(--font-size-sm);
    font-family: var(--font-mono);
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.refurb-bundle-card__save {
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background-color: rgba(90, 101, 112, 0.12);
    color: var(--grey-steel);
}

.refurb-bundle-card__cta {
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   Refurb — Empty State
   -------------------------------------------------------------------------- */
.refurb-empty {
    text-align: center;
    padding: var(--space-3xl) 0;
    color: var(--color-text-secondary);
}

.refurb-empty svg {
    margin: 0 auto var(--space-md);
    color: var(--grey-cloud);
}

.refurb-empty p {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-lg);
}

/* --------------------------------------------------------------------------
   Refurb — Grading Cards
   -------------------------------------------------------------------------- */
.refurb-grades-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .refurb-grades-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.refurb-grade-card {
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    text-align: center;
}

.refurb-grade-card .refurb-badge {
    font-size: var(--font-size-xs);
    padding: 6px 16px;
    margin-bottom: var(--space-md);
}

.refurb-grade-card h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.refurb-grade-card p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* --------------------------------------------------------------------------
   Refurb — Process Steps
   -------------------------------------------------------------------------- */
.refurb-process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .refurb-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .refurb-process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.refurb-process-step {
    text-align: center;
    padding: var(--space-lg);
}

.refurb-process-step__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
    color: var(--grey-slate);
}

.refurb-process-step h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.refurb-process-step p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* --------------------------------------------------------------------------
   Refurb — FAQ Accordion
   -------------------------------------------------------------------------- */
.refurb-faq {
    background-color: var(--color-background-alt);
}

.refurb-faq__list {
    max-width: 700px;
    margin-inline: auto;
}

.refurb-faq__item {
    border-bottom: 1px solid var(--color-border-light);
}

.refurb-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    list-style: none;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.refurb-faq__item summary::-webkit-details-marker {
    display: none;
}

.refurb-faq__item summary::after {
    content: '+';
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-normal);
    color: var(--grey-steel);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.refurb-faq__item[open] summary::after {
    content: '\2212';
}

.refurb-faq__item summary:hover {
    color: var(--grey-steel);
}

.refurb-faq__item p {
    padding-bottom: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.refurb-faq__item a {
    color: var(--grey-steel);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.refurb-faq__item a:hover {
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Refurb — Product Detail Modal
   -------------------------------------------------------------------------- */
.refurb-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}
.refurb-modal[hidden] {
    display: none;
}

.refurb-modal__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(17, 17, 19, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.refurb-modal__content {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-xl);
}

.refurb-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    z-index: 2;
}

.refurb-modal__close:hover {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
}

.refurb-modal__image {
    margin-bottom: var(--space-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--color-background-alt);
}

.refurb-modal__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.refurb-modal__header {
    margin-bottom: var(--space-lg);
}

.refurb-modal__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-sm);
}

.refurb-modal__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-snug);
    margin-bottom: var(--space-sm);
    padding-right: var(--space-xl);
}

.refurb-modal__price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.refurb-modal__price {
    font-size: var(--font-size-2xl);
    font-family: var(--font-mono);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.refurb-modal__price small {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    color: var(--color-text-muted);
}

.refurb-modal__grade-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    padding: var(--space-sm) var(--space-md);
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
    margin-top: var(--space-sm);
}

.refurb-modal__trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: var(--space-lg);
}

.refurb-modal__trust span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--grey-steel);
}

.refurb-modal__trust svg {
    flex-shrink: 0;
    color: var(--grey-slate);
}

.refurb-modal__section {
    margin-bottom: var(--space-lg);
}

.refurb-modal__section h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.refurb-modal__section p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.refurb-modal__section strong {
    color: var(--color-text);
    font-weight: var(--font-weight-semibold);
}

.refurb-modal__specs {
    width: 100%;
    font-size: var(--font-size-sm);
    border-collapse: collapse;
}

.refurb-modal__specs td {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--color-border-light);
    vertical-align: top;
}

.refurb-modal__specs td:first-child {
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    white-space: nowrap;
    padding-right: var(--space-lg);
    width: 140px;
}

.refurb-modal__specs td:last-child {
    color: var(--color-text-secondary);
}

.refurb-modal__box {
    margin-bottom: var(--space-lg);
}

.refurb-modal__box h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.refurb-modal__box ul {
    list-style: none;
    padding: 0;
}

.refurb-modal__box li {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    padding: 4px 0;
    padding-left: var(--space-md);
    position: relative;
}

.refurb-modal__box li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--grey-steel);
    font-size: 12px;
}

.refurb-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border-light);
}

.refurb-modal__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

/* --------------------------------------------------------------------------
   Refurb — Trust Section Background
   -------------------------------------------------------------------------- */
.refurb-trust-section {
    background-color: var(--color-background-alt);
}

/* --------------------------------------------------------------------------
   Refurb — CTA Center & Button
   -------------------------------------------------------------------------- */
.refurb-cta-center {
    text-align: center;
}
.refurb-cta-btn {
    margin-top: var(--spacing-md);
}

/* --------------------------------------------------------------------------
   Refurb — Grading Grid Variants
   -------------------------------------------------------------------------- */
.refurb-grading-grid--two {
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
    .refurb-grading-grid--two {
        grid-template-columns: 1fr;
    }
}
.refurb-grading-card--compact .refurb-grading-card__body {
    padding: var(--spacing-md);
}

/* --------------------------------------------------------------------------
   Refurb — Comparison Table
   -------------------------------------------------------------------------- */
.refurb-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}
.refurb-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.refurb-table th,
.refurb-table td {
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}
.refurb-table thead th {
    background-color: var(--color-background-alt);
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}
.refurb-table tbody tr:last-child td {
    border-bottom: none;
}
.refurb-table tbody tr:hover {
    background-color: var(--color-background-alt);
}

/* --------------------------------------------------------------------------
   Refurb — Policy Page (Warranty & Returns)
   -------------------------------------------------------------------------- */
.refurb-policy {
    max-width: 800px;
    margin: 0 auto;
}
.refurb-policy__block {
    margin-bottom: var(--spacing-xl);
}
.refurb-policy__block:last-child {
    margin-bottom: 0;
}
.refurb-policy__heading {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}
.refurb-policy__subheading {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}
.refurb-policy__block p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
    color: var(--color-text-secondary);
}
.refurb-policy__list {
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}
.refurb-policy__list li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.7;
    color: var(--color-text-secondary);
}
.refurb-policy__list--ordered {
    list-style-type: decimal;
}
.refurb-policy__list--ordered li ul {
    margin-top: var(--spacing-xs);
    padding-left: var(--spacing-md);
}
.refurb-policy__list a {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.refurb-policy__list a:hover {
    color: var(--grey-steel);
}
.refurb-policy__block--meta {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}
.refurb-policy__block--meta p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   Printify Handoff
   -------------------------------------------------------------------------- */
.printify-handoff-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 122, 0, 0.12), transparent 30%),
        radial-gradient(circle at top right, rgba(17, 17, 17, 0.08), transparent 25%),
        linear-gradient(180deg, #f8f8f8 0%, #efefe9 100%);
}

.printify-handoff {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 4rem) 1.25rem 3rem;
}

.printify-handoff__hero {
    max-width: 760px;
    margin-bottom: 2rem;
}

.printify-handoff__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.06);
    color: var(--color-text);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.printify-handoff__title {
    margin: 1rem 0 0.85rem;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.printify-handoff__lede {
    max-width: 62ch;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.printify-handoff__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 1.5rem;
}

.printify-handoff__card {
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 24px 80px rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(12px);
}

.printify-handoff__card--product {
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
    overflow: hidden;
}

.printify-handoff__media {
    position: relative;
    min-height: 100%;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.95), rgba(242, 242, 242, 0.9)),
        linear-gradient(135deg, rgba(17, 17, 17, 0.03), rgba(17, 17, 17, 0));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.printify-handoff__media img {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.printify-handoff__media-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.printify-handoff__content {
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.printify-handoff__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.printify-handoff__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.06);
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 600;
}

.printify-handoff__product-title {
    margin-bottom: 0.75rem;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.printify-handoff__price {
    margin-bottom: 1.1rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
}

.printify-handoff__selection-box {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.02));
    border: 1px solid rgba(17, 17, 17, 0.08);
}

.printify-handoff__selection-label {
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.printify-handoff__selection {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

.printify-handoff__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.2rem;
}

.printify-handoff__microcopy {
    margin-top: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.printify-handoff__card--steps {
    padding: clamp(1.4rem, 2.5vw, 2rem);
}

.printify-handoff__section-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.printify-handoff__steps {
    display: grid;
    gap: 1rem;
}

.printify-handoff__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(17, 17, 17, 0.03);
}

.printify-handoff__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 700;
}

.printify-handoff__step p {
    margin: 0.35rem 0 0;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.printify-handoff__trust {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.printify-handoff__trust-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: var(--color-white);
}

.printify-handoff__trust-card span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.printify-handoff__trust-card strong,
.printify-handoff__trust-card a {
    color: var(--color-text);
    font-weight: 700;
    text-decoration: none;
}

.printify-handoff__trust-card a:hover {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .printify-handoff__layout,
    .printify-handoff__card--product {
        grid-template-columns: 1fr;
    }

    .printify-handoff__media {
        min-height: 360px;
    }
}

/* ==========================================================================
   Web Starter Section Styles
   ========================================================================== */

.web-starter {
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.web-starter__hero {
    text-align: center;
    max-width: var(--container-narrow);
    margin: 0 auto var(--space-2xl);
    padding: 0 var(--container-padding);
}

.web-starter__hero-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.web-starter__hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.web-starter__hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.web-starter__github-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color 0.2s ease;
}

.web-starter__github-link:hover {
    color: var(--color-text);
}

/* Value Metrics Strip */
.web-starter__metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin: var(--space-2xl) 0;
    padding: 0 var(--container-padding);
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

.web-starter__metric {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.web-starter__metric:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.web-starter__metric-value {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.web-starter__metric-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
}

/* Feature Grid */
.web-starter__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
    padding: 0 var(--container-padding);
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

.web-starter__feature {
    padding: var(--space-lg);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.web-starter__feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.web-starter__feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.web-starter__feature-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.web-starter__feature-description {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* Premium Animation Keyframes */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02) translateY(-5px);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.5; 
        transform: scale(1.2); 
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
    }
}

/* Premium Demo Section - Stripe/Vercel Quality */
.web-starter__preview {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.web-starter__preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(148, 163, 184, 0.02) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(148, 163, 184, 0.015) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.2;
}

/* Premium Header */
.demo-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.demo-headline {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.demo-subheadline {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: #64748b;
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto;
}

/* Premium Demo Container */
.demo-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
}

/* Device Toggle - Segmented Control */
.device-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.device-toggle-segment {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.device-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.device-toggle-btn:hover {
    color: #334155;
}

.device-toggle-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.device-toggle-btn svg {
    width: 16px;
    height: 16px;
}

/* Device Showcase - Product Focused */
.device-showcase {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 3rem;
}

/* Enhanced Device Frames - Thinner, Cleaner */
.device-frame {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.device-frame::before,
.device-frame::after {
    display: none; /* Remove decorative elements */
}

.device-frame--desktop {
    width: 960px;
    height: 540px;
    z-index: 3;
    transform: scale(1);
}

.device-frame--tablet {
    width: 600px;
    height: 450px;
    left: -20px;
    top: 20px;
    z-index: 2;
    transform: scale(0.8);
    opacity: 0.6;
}

.device-frame--mobile {
    width: 320px;
    height: 400px;
    right: -20px;
    top: 40px;
    z-index: 2;
    transform: scale(0.7);
    opacity: 0.6;
    border-radius: 24px;
}

/* Active State - Product Dominates */
.device-frame--active {
    transform: scale(1);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.device-frame:not(.device-frame--active) {
    transform: scale(0.75);
    opacity: 0.3;
    filter: blur(1px);
}

/* Device Screen - Full Product Focus */
.device-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.device-frame--mobile .device-screen {
    border-radius: 20px;
}

/* Enhanced Demo Content - Real Dashboard */
.demo-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fafbfc;
    position: relative;
}

/* Live Indicator - Subtle */
.live-indicator {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    z-index: 10;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Real Dashboard Layout */
.demo-dashboard {
    width: 100%;
    height: 100%;
    display: flex;
    background: #ffffff;
}

.demo-sidebar {
    width: 200px;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    padding: 1rem;
}

.demo-logo {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.demo-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-nav-item {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.demo-nav-item:hover {
    color: #334155;
    background: #f8fafc;
}

.demo-nav-item.active {
    color: #0f172a;
    background: #f1f5f9;
    font-weight: 500;
}

.demo-main {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-header h1 {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.demo-cta {
    background: #0f172a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-cta:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

/* Metrics Grid */
.demo-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.demo-metric-card {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.demo-metric-value {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    display: block;
    margin-bottom: 0.25rem;
}

.demo-metric-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Chart */
.demo-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    padding: 0 1rem;
}

.demo-chart-bar {
    flex: 1;
    background: linear-gradient(to top, #3b82f6, #60a5fa);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    transition: all 0.3s ease;
}

.demo-chart-bar:hover {
    transform: translateY(-2px);
}

/* Device-specific adjustments */
.device-frame--mobile .demo-sidebar {
    display: none;
}

.device-frame--tablet .demo-sidebar {
    width: 160px;
}

.device-frame--tablet .demo-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
}

.device-frame--mobile .demo-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
}

.device-frame--mobile .demo-header h1 {
    font-size: 16px;
}

.device-frame--tablet .demo-header h1 {
    font-size: 18px;
}

/* Social Proof - Subtle */
.demo-social-proof {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.social-proof-item {
    text-align: center;
    max-width: 180px;
}

.social-proof-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.social-proof-label {
    font-size: 0.875rem;
    color: #475569;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.social-proof-desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .web-starter__preview {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
    
    .demo-headline {
        color: #f8fafc;
    }
    
    .demo-subheadline {
        color: #cbd5e1;
    }
    
    .device-toggle-segment {
        background: #334155;
    }
    
    .device-toggle-btn {
        color: #94a3b8;
    }
    
    .device-toggle-btn:hover {
        color: #cbd5e1;
    }
    
    .device-toggle-btn.active {
        background: #1e293b;
        color: #f8fafc;
    }
    
    .device-frame {
        background: #1e293b;
        border-color: #334155;
    }
    
    .demo-content {
        background: #0f172a;
    }
    
    .demo-sidebar {
        background: #1e293b;
        border-right-color: #334155;
    }
    
    .demo-logo {
        color: #f8fafc;
    }
    
    .demo-nav-item {
        color: #94a3b8;
    }
    
    .demo-nav-item:hover {
        color: #cbd5e1;
        background: #334155;
    }
    
    .demo-nav-item.active {
        color: #f8fafc;
        background: #334155;
    }
    
    .demo-main {
        background: #1e293b;
    }
    
    .demo-header h1 {
        color: #f8fafc;
    }
    
    .demo-metric-card {
        background: #334155;
    }
    
    .demo-metric-value {
        color: #f8fafc;
    }
    
    .demo-metric-label {
        color: #94a3b8;
    }
    
    .demo-social-proof {
        background: rgba(30, 41, 59, 0.3);
        border-color: rgba(51, 65, 85, 0.5);
    }
    
    .social-proof-value {
        color: #f8fafc;
    }
    
    .social-proof-label {
        color: #cbd5e1;
    }
    
    .social-proof-desc {
        color: #94a3b8;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .device-showcase {
        height: 400px;
    }
    
    .device-frame--desktop {
        width: 800px;
        height: 450px;
    }
    
    .device-frame--tablet {
        width: 500px;
        height: 375px;
    }
    
    .device-frame--mobile {
        width: 280px;
        height: 350px;
    }
    
    .demo-social-proof {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .web-starter__preview {
        padding: 3rem 1rem;
    }
    
    .demo-header {
        margin-bottom: 2rem;
    }
    
    .demo-headline {
        font-size: 1.75rem;
    }
    
    .demo-subheadline {
        font-size: 1rem;
    }
    
    .device-toggle {
        margin-bottom: 2rem;
    }
    
    .device-showcase {
        height: 350px;
        margin: 0 auto 2rem;
    }
    
    .device-frame--desktop {
        width: 650px;
        height: 365px;
    }
    
    .device-frame--tablet {
        width: 400px;
        height: 300px;
    }
    
    .device-frame--mobile {
        width: 240px;
        height: 280px;
    }
    
    .device-toggle-btn span {
        display: none; /* Hide text on mobile */
    }
    
    .demo-social-proof {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .device-showcase {
        height: 300px;
    }
    
    .device-frame--desktop {
        width: 100%;
        max-width: 320px;
        height: 280px;
    }
    
    .device-frame--tablet,
    .device-frame--mobile {
        display: none; /* Hide secondary devices on mobile */
    }
    
    .demo-sidebar {
        display: none;
    }
    
    .demo-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .demo-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .demo-chart {
        height: 60px;
    }
}

/* Use Cases */
.web-starter__use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin: var(--space-2xl) 0;
    padding: 0 var(--container-padding);
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

.web-starter__use-case {
    padding: var(--space-lg);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.web-starter__use-case:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.web-starter__use-case-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    color: var(--color-primary);
}

.web-starter__use-case-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.web-starter__use-case-description {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* Comparison Table */
.web-starter__comparison {
    margin: var(--space-2xl) 0;
    padding: 0 var(--container-padding);
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

.web-starter__comparison-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--color-text);
}

.web-starter__comparison-table {
    width: 100%;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.web-starter__comparison-table th,
.web-starter__comparison-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.web-starter__comparison-table th {
    background: var(--color-background-alt);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
}

.web-starter__comparison-table tr:last-child td {
    border-bottom: none;
}

.web-starter__comparison-table .feature-check {
    color: #22C55E;
    font-weight: var(--font-weight-bold);
}

.web-starter__comparison-table .feature-cross {
    color: #EF4444;
    font-weight: var(--font-weight-bold);
}

/* Final CTA */
.web-starter__cta {
    text-align: center;
    margin: var(--space-2xl) 0;
    padding: var(--space-2xl) var(--container-padding);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    max-width: var(--container-narrow);
    margin-left: auto;
    margin-right: auto;
}

.web-starter__cta-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.web-starter__cta-description {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: var(--line-height-relaxed);
}

.web-starter__cta-button {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    background: #22C55E;
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-lg);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
}

.web-starter__cta-button:hover {
    background: #16A34A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .web-starter__features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .web-starter__metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .web-starter__features {
        grid-template-columns: 1fr;
    }
    
    .web-starter__hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .web-starter__hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .web-starter__preview-content {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .web-starter__metrics {
        grid-template-columns: 1fr;
    }
    
    .web-starter__hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .web-starter__comparison-table {
        font-size: var(--font-size-sm);
    }
    
    .web-starter__comparison-table th,
    .web-starter__comparison-table td {
        padding: var(--space-sm);
    }
}

@media (max-width: 640px) {
    .printify-handoff {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .printify-handoff__media {
        min-height: 280px;
        padding: 1.5rem;
    }

    .printify-handoff__actions .btn {
        width: 100%;
    }
}

.lordcorder {
    padding: 6rem 1.5rem;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0d0d0d 100%);
    position: relative;
    overflow: hidden;
}

/* Premium Background with Subtle Grayscale Grid */
.lordcorder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
    pointer-events: none;
}

.lordcorder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    opacity: 0.3;
}

.lordcorder__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

/* Premium Hero - Grayscale */
.lordcorder__hero {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.lordcorder__hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 50%, #cccccc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.lordcorder__hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: #a0a0a0;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.lordcorder__hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.lordcorder__cta-primary {
    background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lordcorder__cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.lordcorder__cta-primary:hover::before {
    left: 100%;
}

.lordcorder__cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #404040 0%, #262626 100%);
}

.lordcorder__cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.lordcorder__cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.lordcorder__github-link {
    color: #808080;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.lordcorder__github-link:hover {
    color: #a0a0a0;
}

/* CLI Commands Showcase - Grayscale Design */
.lordcorder__cli-showcase {
    margin: 4rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
}

.lordcorder__cli-showcase::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #666666, transparent);
    border-radius: 2px;
}

.cli-showcase__header {
    text-align: center;
    margin-bottom: 3rem;
}

.cli-showcase__title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.cli-showcase__subtitle {
    font-size: 1.125rem;
    color: #808080;
    max-width: 600px;
    margin: 0 auto;
}

.cli-showcase__terminal {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.cli-showcase__terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.terminal-header {
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.terminal-dot--red {
    background: linear-gradient(135deg, #ff5f57 0%, #ff3b30 100%);
}

.terminal-dot--yellow {
    background: linear-gradient(135deg, #ffbd2e 0%, #ffcc00 100%);
}

.terminal-dot--green {
    background: linear-gradient(135deg, #28ca42 0%, #00d084 100%);
}

.terminal-title {
    color: #808080;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 13px;
    font-weight: 500;
}

.terminal-content {
    padding: 1.5rem;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    line-height: 1.8;
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
}

.terminal-line {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.terminal-line:last-child {
    margin-bottom: 0;
}

.terminal-prompt {
    color: #666666;
    margin-right: 0.75rem;
    font-weight: 600;
    min-width: 20px;
    text-shadow: 0 0 10px rgba(102, 102, 102, 0.5);
}

.terminal-command {
    color: #ffffff;
    font-weight: 500;
    position: relative;
}

.terminal-command::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal-output {
    color: #666666;
    margin-left: 1.5rem;
    font-weight: 400;
    display: block;
    margin-top: 0.5rem;
    opacity: 0.9;
    font-style: italic;
}

/* API Endpoints Showcase - Grayscale Design */
.lordcorder__api-showcase {
    margin: 4rem 0;
    text-align: center;
    position: relative;
}

.lordcorder__api-showcase::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #808080, transparent);
    border-radius: 2px;
}

.api-showcase__title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.api-showcase__subtitle {
    font-size: 1.125rem;
    color: #808080;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.api-endpoints {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.api-endpoint {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.api-endpoint::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.api-endpoint:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.api-method {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 70px;
    text-align: center;
    position: relative;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
}

.api-method--get {
    background: linear-gradient(135deg, #4a4a4a 0%, #333333 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.api-method--post {
    background: linear-gradient(135deg, #5a5a5a 0%, #404040 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.api-path {
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    color: #e0e0e0;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 120px;
    text-align: center;
}

.api-description {
    color: #808080;
    font-size: 13px;
    font-weight: 500;
    flex: 1;
}

/* Trust Strip */
.lordcorder__trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin: var(--space-2xl) 0;
}

.lordcorder__trust-item {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lordcorder__trust-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.lordcorder__trust-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto var(--space-sm);
    color: #ffffff;
}

.lordcorder__trust-title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
    color: #ffffff;
}

.lordcorder__trust-description {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* Why Local AI */
.lordcorder__why-local {
    margin: var(--space-2xl) 0;
    text-align: center;
}

.lordcorder__section-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-md);
    color: #ffffff;
}

.lordcorder__section-subtitle {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lordcorder__benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.lordcorder__benefit {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lordcorder__benefit-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    flex-shrink: 0;
    margin-top: 2px;
}

.lordcorder__benefit-content h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
    color: #ffffff;
}

.lordcorder__benefit-content p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: var(--line-height-relaxed);
}

/* CLI Commands Showcase */
.lordcorder__cli-showcase {
    margin: 3rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.cli-showcase__header {
    text-align: center;
    margin-bottom: 2rem;
}

.cli-showcase__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.cli-showcase__terminal {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot--red {
    background: #ff5f57;
}

.terminal-dot--yellow {
    background: #ffbd2e;
}

.terminal-dot--green {
    background: #28ca42;
}

.terminal-title {
    color: #94a3b8;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 12px;
}

.terminal-content {
    padding: 1rem;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 13px;
    line-height: 1.6;
}

.terminal-line {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.terminal-prompt {
    color: #10b981;
    margin-right: 0.5rem;
    font-weight: 600;
}

.terminal-command {
    color: #f8fafc;
    font-weight: 500;
}

.terminal-output {
    color: #10b981;
    margin-left: 1rem;
    font-weight: 400;
}

/* API Endpoints Showcase */
.lordcorder__api-showcase {
    margin: 3rem 0;
    text-align: center;
}

.api-showcase__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 2rem;
}

.api-endpoints {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.api-endpoint {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.api-endpoint:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.api-method {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 60px;
    text-align: center;
}

.api-method--get {
    background: #10b981;
    color: white;
}

.api-method--post {
    background: #3b82f6;
    color: white;
}

.api-path {
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 13px;
    color: #e2e8f0;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
}

.api-description {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

/* Quick Start Steps */
.lordcorder__quickstart {
    margin: 4rem 0;
    text-align: center;
}

.lordcorder__steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
}

.lordcorder__steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: translateY(-50%);
    z-index: 0;
}

.lordcorder__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.lordcorder__step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.step-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 0.25rem;
}

.step-content p {
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 12px;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    margin: 0;
}

.step-description {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 0.25rem;
}

/* Feature Grid */
.lordcorder__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.lordcorder__feature {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lordcorder__feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.lordcorder__feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    color: #ffffff;
}

.lordcorder__feature-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: #ffffff;
}

.lordcorder__feature-description {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: var(--line-height-relaxed);
}

/* Workflow Visual */
.lordcorder__workflow {
    margin: var(--space-2xl) 0;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lordcorder__workflow-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--space-xl);
    color: #ffffff;
}

.lordcorder__workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.lordcorder__workflow-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: translateY(-50%);
    z-index: 0;
}

.lordcorder__workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    background: rgba(10, 10, 10, 0.8);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
}

.lordcorder__step-icon {
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    color: var(--color-black);
    font-weight: var(--font-weight-bold);
}

.lordcorder__step-label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: #ffffff;
}

/* Performance Section */
.lordcorder__performance {
    margin: var(--space-2xl) 0;
}

.lordcorder__performance-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.lordcorder__performance-table th,
.lordcorder__performance-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lordcorder__performance-table th {
    background: rgba(255, 255, 255, 0.08);
    font-weight: var(--font-weight-semibold);
    color: #ffffff;
}

.lordcorder__performance-table tr:last-child td {
    border-bottom: none;
}

.lordcorder__model-size {
    font-family: var(--font-mono);
    font-weight: var(--font-weight-semibold);
    color: #ffffff;
}

.lordcorder__performance-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
}

/* Use Cases */
.lordcorder__use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin: var(--space-2xl) 0;
}

.lordcorder__use-case {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
}

.lordcorder__use-case:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.lordcorder__use-case-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    color: #ffffff;
}

.lordcorder__use-case-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: #ffffff;
}

.lordcorder__use-case-description {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: var(--line-height-relaxed);
}

/* Comparison */
.lordcorder__comparison {
    margin: var(--space-2xl) 0;
}

.lordcorder__comparison-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.lordcorder__comparison-table th,
.lordcorder__comparison-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lordcorder__comparison-table th {
    background: rgba(255, 255, 255, 0.08);
    font-weight: var(--font-weight-semibold);
    color: #ffffff;
}

.lordcorder__comparison-table tr:last-child td {
    border-bottom: none;
}

.lordcorder__comparison-table .advantage {
    color: #ffffff;
    font-weight: var(--font-weight-semibold);
}

.lordcorder__comparison-table .disadvantage {
    color: rgba(255, 255, 255, 0.4);
}

/* Final CTA */
.lordcorder__final-cta {
    text-align: center;
    margin: var(--space-2xl) 0;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.lordcorder__final-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-md);
    color: #ffffff;
}

.lordcorder__final-subtitle {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    line-height: var(--line-height-relaxed);
}

.lordcorder__final-cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .lordcorder__features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lordcorder__workflow-steps {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .lordcorder__workflow-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .lordcorder__trust {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lordcorder__benefits {
        grid-template-columns: 1fr;
    }
    
    .lordcorder__features {
        grid-template-columns: 1fr;
    }
    
    .lordcorder__hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .lordcorder__hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .lordcorder__workflow-step {
        flex: 1 1 calc(50% - var(--space-md));
        max-width: calc(50% - var(--space-md));
    }
}

@media (max-width: 480px) {
    .lordcorder__trust {
        grid-template-columns: 1fr;
    }
    
    .lordcorder__hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .lordcorder__workflow-step {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .lordcorder__final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Web Starter Lean Banner - Modern Design */
.web-starter-banner {
    padding: 4rem 1.5rem;
    background: var(--color-background);
    position: relative;
    overflow: hidden;
}

.web-starter-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, var(--color-primary) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--color-secondary) 0%, transparent 50%);
    opacity: 0.05;
    pointer-events: none;
}

.web-starter-banner__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.web-starter-banner__content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.web-starter-banner__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.web-starter-banner__title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--color-text);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.web-starter-banner__badge {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.web-starter-banner__description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.web-starter-banner__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--color-surface-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.feature-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 10px;
    color: white;
    flex-shrink: 0;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.feature-desc {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.web-starter-banner__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.web-starter-banner__cta-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.web-starter-banner__cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.web-starter-banner__cta-primary:hover::before {
    left: 100%;
}

.web-starter-banner__cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.web-starter-banner__cta-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-surface);
    color: var(--color-text);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.web-starter-banner__cta-secondary:hover {
    background: var(--color-surface-hover);
    transform: translateY(-2px);
    border-color: var(--color-primary);
}

.web-starter-banner__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-preview {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 100%;
    position: relative;
}

.demo-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.demo-preview__header {
    background: var(--color-background-alt);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
}

.demo-preview__dots {
    display: flex;
    gap: 8px;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.demo-dot--red {
    background: #ff5f57;
}

.demo-dot--yellow {
    background: #ffbd2e;
}

.demo-dot--green {
    background: #28ca42;
}

.demo-preview__title {
    color: var(--color-text-secondary);
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 12px;
    font-weight: 500;
}

.demo-preview__content {
    display: grid;
    grid-template-columns: 120px 1fr;
    min-height: 300px;
}

.demo-preview__sidebar {
    background: var(--color-background-alt);
    padding: 1rem;
    border-right: 1px solid var(--color-border);
}

.demo-preview__logo {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.demo-preview__nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-nav-item {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
    cursor: pointer;
}

.demo-nav-item.active {
    background: var(--color-primary);
    color: white;
}

.demo-nav-item:hover:not(.active) {
    background: var(--color-surface-hover);
    color: var(--color-text);
}

.demo-preview__main {
    padding: 1.5rem;
}

.demo-preview__header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.demo-preview__header-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.demo-preview__cta {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-preview__cta:hover {
    background: var(--color-secondary);
    transform: translateY(-1px);
}

.demo-preview__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.demo-metric {
    text-align: center;
    padding: 1rem;
    background: var(--color-background-alt);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.demo-metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.demo-metric-label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.demo-preview__chart {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 60px;
    padding: 0.5rem;
    background: var(--color-background-alt);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.demo-chart-bar {
    flex: 1;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 4px 4px 0 0;
    min-height: 4px;
    transition: all 0.3s ease;
}

.demo-chart-bar:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .web-starter-banner__container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .web-starter-banner__header {
        justify-content: center;
    }
    
    .web-starter-banner__actions {
        justify-content: center;
    }
    
    .demo-preview {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .web-starter-banner {
        padding: 3rem 1rem;
    }
    
    .web-starter-banner__container {
        gap: 2rem;
    }
    
    .web-starter-banner__title {
        font-size: 2rem;
    }
    
    .web-starter-banner__description {
        font-size: 1rem;
    }
    
    .web-starter-banner__features {
        grid-template-columns: 1fr;
    }
    
    .web-starter-banner__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .web-starter-banner__cta-primary,
    .web-starter-banner__cta-secondary {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    .demo-preview {
        max-width: 100%;
    }
    
    .demo-preview__content {
        grid-template-columns: 100px 1fr;
        min-height: 250px;
    }
    
    .demo-preview__metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .demo-metric {
        padding: 0.75rem 0.5rem;
    }
    
    .demo-metric-value {
        font-size: 1rem;
    }
    
    .demo-metric-label {
        font-size: 0.625rem;
    }
}

@media (max-width: 480px) {
    .web-starter-banner__title {
        font-size: 1.75rem;
    }
    
    .web-starter-banner__header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .demo-preview__content {
        grid-template-columns: 80px 1fr;
        min-height: 200px;
    }
    
    .demo-preview__sidebar {
        padding: 0.75rem 0.5rem;
    }
    
    .demo-preview__logo {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .demo-preview__main {
        padding: 1rem;
    }
    
    .demo-preview__header-content {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .demo-preview__metrics {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .demo-metric {
        padding: 0.5rem;
    }
    
    .demo-metric-value {
        font-size: 0.875rem;
    }
    
    .demo-metric-label {
        font-size: 0.625rem;
    }
    
    .demo-preview__chart {
        height: 40px;
    }
}

/* LORDCORDER Lean Banner - Grayscale Design */
.lordcorder-banner {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0d0d0d 100%);
    position: relative;
    overflow: hidden;
}

.lordcorder-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.01) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
    pointer-events: none;
}

.lordcorder-banner__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.lordcorder-banner__content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lordcorder-banner__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.lordcorder-banner__title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 50%, #cccccc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.lordcorder-banner__badge {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lordcorder-banner__description {
    font-size: 1.125rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin: 0;
}

.lordcorder-banner__commands {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.command-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.command-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.command-text {
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 140px;
    text-align: center;
}

.command-label {
    color: #808080;
    font-size: 0.875rem;
    font-weight: 500;
}

.lordcorder-banner__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.lordcorder-banner__cta-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lordcorder-banner__cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #404040 0%, #262626 100%);
}

.lordcorder-banner__cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lordcorder-banner__cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.lordcorder-banner__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.terminal-preview {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 400px;
    width: 100%;
}

.terminal-preview__header {
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.terminal-dot--red {
    background: linear-gradient(135deg, #ff5f57 0%, #ff3b30 100%);
}

.terminal-dot--yellow {
    background: linear-gradient(135deg, #ffbd2e 0%, #ffcc00 100%);
}

.terminal-dot--green {
    background: linear-gradient(135deg, #28ca42 0%, #00d084 100%);
}

.terminal-preview__title {
    color: #808080;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 12px;
    font-weight: 500;
}

.terminal-preview__content {
    padding: 1.5rem;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    line-height: 1.8;
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
}

.terminal-line {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.terminal-line:last-child {
    margin-bottom: 0;
}

.prompt {
    color: #666666;
    margin-right: 0.75rem;
    font-weight: 600;
    min-width: 20px;
}

.command {
    color: #ffffff;
    font-weight: 500;
}

.terminal-output {
    color: #666666;
    margin-left: 1.5rem;
    font-weight: 400;
    display: block;
    margin-top: 0.5rem;
    opacity: 0.9;
    font-style: italic;
}

/* LORDCORDER Responsive Design */
@media (max-width: 1024px) {
    .lordcorder-banner__container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .lordcorder-banner__header {
        justify-content: center;
    }
    
    .lordcorder-banner__actions {
        justify-content: center;
    }
    
    .terminal-preview {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .lordcorder-banner {
        padding: 3rem 1rem;
    }
    
    .lordcorder-banner__container {
        gap: 2rem;
    }
    
    .lordcorder-banner__title {
        font-size: 2rem;
    }
    
    .lordcorder-banner__description {
        font-size: 1rem;
    }
    
    .command-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .command-text {
        min-width: auto;
        width: 100%;
        text-align: left;
    }
    
    .lordcorder-banner__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .lordcorder-banner__cta-primary,
    .lordcorder-banner__cta-secondary {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    .terminal-preview {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .lordcorder-banner__title {
        font-size: 1.75rem;
    }
    
    .lordcorder-banner__header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .terminal-preview__content {
        padding: 1rem;
        font-size: 13px;
    }
    
    .command-text {
        font-size: 0.75rem;
    }
    
    .command-label {
        font-size: 0.75rem;
    }
}
