/**
 * PCBuildMate Homepage v2 - Bold Modern Design
 *
 * Features:
 * - Animated blob backgrounds
 * - 3D card effects with perspective
 * - Scroll-triggered animations
 * - Glassmorphism elements
 * - Custom typography with gradient text
 * - Interactive hover states
 * - CSS-only PC illustration
 *
 * @package Flavor
 */

/* ============================================================================
   CUSTOM FONTS
   ============================================================================
   NOTE: Google Fonts are loaded via wp_enqueue_style() in functions.php
   for better performance (preload, caching, no blocking @import)
   ============================================================================ */

/* ============================================================================
   PREVENT HORIZONTAL OVERFLOW ON MOBILE
   ============================================================================ */

html, body {
    overflow-x: hidden;
}

.homepage-v2 {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}


/* ============================================================================
   CSS VARIABLES - HOMEPAGE V2
   ============================================================================ */

.homepage-v2 {
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Brand Colors - Blue only, no green */
    --brand-primary: #3077A6;
    --brand-primary-light: #4a9fd4;
    --brand-primary-dark: #1e5a82;
    --brand-secondary: #1e40af;
    --brand-secondary-light: #3b82f6;

    /* Light theme (default) backgrounds */
    --hp-bg: #f8fafc;
    --hp-bg-alt: #ffffff;
    --hp-text: #0f172a;
    --hp-text-secondary: #475569;
    --hp-text-muted: #94a3b8;
    --hp-border: rgba(15, 23, 42, 0.08);
    --hp-border-strong: rgba(15, 23, 42, 0.15);
    --hp-card-bg: rgba(255, 255, 255, 0.9);
    --hp-card-border: rgba(255, 255, 255, 0.5);
    --hp-glass-bg: rgba(255, 255, 255, 0.7);
    --hp-shadow: rgba(15, 23, 42, 0.08);

    /* Gradients - Blue only */
    --gradient-brand: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary-light) 100%);
    --gradient-brand-alt: linear-gradient(135deg, var(--brand-secondary-light) 0%, var(--brand-primary) 100%);
    --gradient-radial: radial-gradient(ellipse at top, rgba(48, 119, 166, 0.12), transparent 60%);

    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);

    font-family: var(--font-display);
    background: var(--hp-bg);
    color: var(--hp-text);
    overflow-x: hidden;
}

/* Dark theme overrides */
html.dark .homepage-v2 {
    --hp-bg: #0c1222;
    --hp-bg-alt: #131c2e;
    --hp-text: #f1f5f9;
    --hp-text-secondary: #94a3b8;
    --hp-text-muted: #64748b;
    --hp-border: rgba(248, 250, 252, 0.08);
    --hp-border-strong: rgba(248, 250, 252, 0.15);
    --hp-card-bg: rgba(19, 28, 46, 0.9);
    --hp-card-border: rgba(255, 255, 255, 0.08);
    --hp-glass-bg: rgba(19, 28, 46, 0.7);
    --hp-shadow: rgba(0, 0, 0, 0.3);
    --gradient-radial: radial-gradient(ellipse at top, rgba(48, 119, 166, 0.2), transparent 60%);
}

/* ============================================================================
   HERO BACKGROUND - SOLID, GROUNDED DESIGN (PCPartPicker STYLE)
   ============================================================================ */

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    /* Vibrant dark blue gradient with subtle glow */
    background:
        radial-gradient(ellipse 100% 60% at 50% -10%, rgba(48, 119, 166, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse 80% 40% at 80% 20%, rgba(30, 64, 175, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, #0a1628 0%, #0d1a2d 30%, #0f1729 60%, #0a0e17 100%);
}

/* Light mode - cleaner gradient */
html.light .hero-bg {
    background:
        radial-gradient(ellipse 120% 70% at 60% -20%, rgba(48, 119, 166, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 100% 50% at 20% 80%, rgba(48, 119, 166, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #f0f5fa 0%, #e8f0f8 50%, #f5f8fb 100%);
}

/* Light mode - Decorative shapes */
html.light .hero-bg::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 50%;
    height: 70%;
    background: linear-gradient(135deg, rgba(48, 119, 166, 0.06) 0%, transparent 60%);
    border-radius: 0 0 0 100%;
    display: block;
}

html.light .hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(48, 119, 166, 0.04) 0%, transparent 70%);
    display: block;
}



/* Simplified circuit grid pattern - DISABLED for clean look */
.hero-bg__grid {
    display: none;
}

html.dark .hero-bg__grid {
    display: none;
}

/* Glow orbs - DISABLED for solid design */
.hero-bg__glow {
    display: none;
}

.hero-bg__glow--1 {
    display: none;
}

.hero-bg__glow--2 {
    display: none;
}

html.light .hero-bg__glow--1,
html.light .hero-bg__glow--2 {
    display: none;
}

.hero-bg__grain {
    display: none;
}

/* ============================================================================
   HERO SECTION - Bold Modern Design
   ============================================================================ */

.hero-v2 {
    position: relative;
    z-index: 1;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem 3rem;
}

.hero-v2__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Badge - Pulsing with glow */
/* SSR-first: visible by default */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem 0.625rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(48, 119, 166, 0.3);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hp-text-secondary);
    width: fit-content;
    opacity: 1;
    transform: none;
}

html.light .hero-badge {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(48, 119, 166, 0.2);
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .hero-badge:not(.is-visible) {
    opacity: 0;
    transform: translateY(20px);
}

/* Animation when visible */
html.js-enabled .hero-badge.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s var(--ease-out-expo);
}

.hero-badge:hover {
    border-color: var(--brand-primary);
    background: rgba(48, 119, 166, 0.12);
    box-shadow: 0 0 20px rgba(48, 119, 166, 0.2);
}

html.light .hero-badge:hover {
    background: rgba(48, 119, 166, 0.08);
}

.hero-badge__pulse {
    width: 8px;
    height: 8px;
    background: var(--brand-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(48, 119, 166, 0.6);
    animation: badge-pulse-glow 2.5s ease-out infinite;
}

@keyframes badge-pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(48, 119, 166, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(48, 119, 166, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(48, 119, 166, 0);
    }
}

/* Blob drift animation - REMOVED (no blobs in grounded design) */

/* Headline - Bold typography with animated gradient accent */
/* SSR-first: visible by default */
.hero-headline {
    font-size: clamp(3rem, 5vw + 1rem, 5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin: 0;
    opacity: 1;
    transform: none;
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .hero-headline:not(.is-visible) {
    opacity: 0;
    transform: translateY(30px);
}

/* Animation when visible */
html.js-enabled .hero-headline.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s var(--ease-out-expo) 0.1s;
}

.hero-headline__line {
    display: block;
    color: var(--hp-text);
    font-weight: 900;
}

.hero-headline__accent {
    display: block;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 50%, var(--brand-secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 6s ease-in-out infinite;
    font-weight: 900;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Subline - Clean, readable text */
/* SSR-first: visible by default */
.hero-subline {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--hp-text-secondary);
    max-width: 480px;
    margin: 0;
    opacity: 1;
    transform: none;
    font-weight: 400;
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .hero-subline:not(.is-visible) {
    opacity: 0;
    transform: translateY(30px);
}

/* Animation when visible */
html.js-enabled .hero-subline.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s var(--ease-out-expo) 0.2s;
}

/* Actions - Button group */
/* SSR-first: visible by default */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    opacity: 1;
    transform: none;
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .hero-actions:not(.is-visible) {
    opacity: 0;
    transform: translateY(30px);
}

/* Animation when visible */
html.js-enabled .hero-actions.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s var(--ease-out-expo) 0.3s;
}

/* Hero Buttons - Premium styling */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
    border: none;
}

.hero-btn--primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(48, 119, 166, 0.35);
    position: relative;
    overflow: hidden;
}

.hero-btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-btn--primary:hover {
    background: linear-gradient(135deg, var(--brand-primary-light) 0%, var(--brand-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(48, 119, 166, 0.5);
}

.hero-btn--primary:hover::before {
    transform: translateX(100%);
}

.hero-btn--primary svg {
    transition: transform 0.3s var(--ease-out-expo);
}

.hero-btn--primary:hover svg {
    transform: translateX(4px);
}

.hero-btn--ghost {
    background: transparent;
    border: 2px solid var(--hp-border-strong);
    color: var(--hp-text);
    font-weight: 600;
}

.hero-btn--ghost:hover {
    background: rgba(48, 119, 166, 0.1);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* Stats - Key metrics with dividers */
/* SSR-first: visible by default */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-top: 3rem;
    opacity: 1;
    transform: none;
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .hero-stats:not(.is-visible) {
    opacity: 0;
    transform: translateY(30px);
}

/* Animation when visible */
html.js-enabled .hero-stats.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s var(--ease-out-expo) 0.4s;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat__value {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--brand-primary);
}

.hero-stat__label {
    font-size: 0.85rem;
    color: var(--hp-text-muted);
    font-weight: 500;
}

.hero-stat__divider {
    width: 1.5px;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, var(--hp-border) 50%, transparent 100%);
}

/* ============================================================================
   HERO VISUAL - Browser Mockup with Builder Preview + Enhanced Effects
   ============================================================================ */

/* SSR-first: visible by default */
.hero-visual {
    position: relative;
    opacity: 1;
    transform: none;
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .hero-visual:not(.is-visible) {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

/* Animation when visible */
html.js-enabled .hero-visual.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.9s var(--ease-out-expo) 0.3s;
}

/* Browser frame - Simplified for performance */
.hero-browser {
    background: var(--hp-card-bg);
    border: 1px solid rgba(48, 119, 166, 0.4);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(48, 119, 166, 0.3),
        0 0 60px rgba(48, 119, 166, 0.15);
    position: relative;
}

html.dark .hero-browser {
    border-color: rgba(48, 119, 166, 0.5);
    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(48, 119, 166, 0.4),
        0 0 80px rgba(48, 119, 166, 0.25);
}

html.light .hero-browser {
    border-color: rgba(48, 119, 166, 0.25);
    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(48, 119, 166, 0.15),
        0 0 60px rgba(48, 119, 166, 0.1);
}

.hero-browser__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--hp-bg-alt);
    border-bottom: 1px solid var(--hp-border);
}

.hero-browser__dots {
    display: flex;
    gap: 6px;
}

.hero-browser__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-browser__dots span:nth-child(1) { background: #ff5f57; }
.hero-browser__dots span:nth-child(2) { background: #febc2e; }
.hero-browser__dots span:nth-child(3) { background: #28c840; }

.hero-browser__url {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    padding: 6px 10px;
    background: var(--hp-bg);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--hp-text-muted);
}

.hero-browser__url svg {
    color: var(--brand-primary);
    opacity: 0.7;
}

.hero-browser__content {
    padding: 0;
    background: var(--hp-bg);
}

/* Builder Preview */
.builder-preview {
    display: grid;
    grid-template-columns: 140px 1fr;
    min-height: 320px;
}

.builder-preview__sidebar {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    background: var(--hp-bg-alt);
    border-right: 1px solid var(--hp-border);
}

.builder-preview__category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--hp-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.builder-preview__category:hover {
    background: var(--hp-bg);
}

.builder-preview__category--active {
    background: rgba(48, 119, 166, 0.1);
    color: var(--brand-primary);
}

.builder-preview__icon {
    font-size: 1rem;
}

.builder-preview__main {
    padding: 16px;
}

.builder-preview__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hp-border);
}

.builder-preview__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--hp-text);
}

.builder-preview__count {
    font-size: 0.75rem;
    color: var(--hp-text-muted);
}

.builder-preview__products {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Preview Product Row */
.preview-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--hp-card-bg);
    border: 1px solid var(--hp-border);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.preview-product:hover {
    border-color: var(--hp-border-strong);
}

.preview-product--selected {
    border-color: var(--brand-primary);
    background: rgba(48, 119, 166, 0.04);
}

.preview-product__img {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--hp-bg) 0%, var(--hp-border) 100%);
    border-radius: 6px;
    flex-shrink: 0;
}

.preview-product__info {
    flex: 1;
    min-width: 0;
}

.preview-product__name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hp-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-product__spec {
    display: block;
    font-size: 0.6875rem;
    color: var(--hp-text-muted);
    margin-top: 2px;
}

.preview-product__price {
    text-align: right;
    flex-shrink: 0;
}

.preview-product__amount {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.preview-product__shops {
    display: block;
    font-size: 0.6875rem;
    color: var(--hp-text-muted);
}

.preview-product__check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary);
    border-radius: 6px;
    color: white;
    flex-shrink: 0;
}

/* Floating elements around browser - Badge overlays */
.hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1a1a1a;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(48, 119, 166, 0.2);
    z-index: 10;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

html.dark .hero-float {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(34, 197, 94, 0.4);
    color: #f1f5f9;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(48, 119, 166, 0.3);
}

.hero-float svg {
    color: #22c55e;
    flex-shrink: 0;
}

.hero-float__icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    color: white;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 800;
    flex-shrink: 0;
}

.hero-float--compat {
    top: 12%;
    left: -6%;
    /* No animation - static for performance */
}

.hero-float--price {
    bottom: 18%;
    right: -8%;
    /* No animation - static for performance */
}

/* ============================================================================
   HERO RESPONSIVE
   ============================================================================ */

@media (max-width: 1200px) {
    .hero-v2 {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        padding: 5.5rem 2rem 6rem;
    }

    .builder-preview {
        grid-template-columns: 100px 1fr;
    }

    .builder-preview__category {
        padding: 8px 10px;
        font-size: 0.7rem;
    }
}

@media (max-width: 1024px) {
    .hero-v2 {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 4.5rem 2rem;
        min-height: auto;
    }

    .hero-v2__content {
        align-items: center;
    }

    .hero-subline {
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-float {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-v2 {
        padding: 3.5rem 1rem 2rem;
        gap: 2rem;
        min-height: auto;
        max-width: 100%;
    }

    .hero-v2__content {
        width: 100%;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem 0.5rem 0.625rem;
    }

    .hero-headline {
        letter-spacing: -0.02em;
    }

    .hero-subline {
        font-size: clamp(1rem, 2.5vw + 0.5rem, 1.25rem);
        max-width: 100%;
        line-height: 1.6;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 1.5rem;
        margin-top: 1.5rem;
        justify-content: center;
        width: 100%;
    }

    .hero-stat {
        flex-direction: column;
        align-items: center;
    }

    .hero-stat__divider {
        display: block;
    }

    .builder-preview {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .builder-preview__sidebar {
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--hp-border);
        padding: 8px;
        gap: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .builder-preview__category {
        white-space: nowrap;
        padding: 8px 12px;
        font-size: 0.7rem;
    }

    .preview-product__spec {
        display: none;
    }

    .preview-product {
        padding: 10px;
    }

    .preview-product__name {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-v2 {
        padding: 3rem 1rem 2rem;
        gap: 2rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.5rem 0.875rem;
    }

    .hero-headline__line,
    .hero-headline__accent {
        display: inline;
    }

    .hero-subline {
        font-size: clamp(0.95rem, 2vw + 0.5rem, 1.25rem);
        line-height: 1.6;
    }

    .hero-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero-btn svg {
        width: 16px;
        height: 16px;
    }

    .hero-stat__value {
        font-size: 1.5rem;
    }

    .hero-stat__label {
        font-size: 0.75rem;
    }

    .hero-stats {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .builder-preview__main {
        padding: 10px;
    }

    .preview-product {
        padding: 8px;
        gap: 8px;
    }

    .preview-product__img {
        width: 32px;
        height: 32px;
    }

    .preview-product__name {
        font-size: 0.75rem;
    }

    .preview-product__amount {
        font-size: 0.75rem;
    }

    .preview-product__check {
        width: 18px;
        height: 18px;
    }
}

/* ============================================================================
   SECTION UTILITIES
   ============================================================================ */

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.section-heading {
    font-size: clamp(2rem, 3vw + 0.5rem, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--hp-text);
    margin: 0;
}

.section-subtext {
    font-size: clamp(1rem, 2.5vw + 0.5rem, 1.0625rem);
    color: var(--hp-text-secondary);
    margin: 1rem 0 0;
    max-width: 400px;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-animated {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Removed animation for better performance */
}

/* ============================================================================
   SSR-FIRST VISIBILITY - All content visible by default
   ============================================================================
   Pattern: Elements are visible without JS (SSR/SEO friendly).
   When JS loads, it adds `js-enabled` class to <html>.
   Only then do we hide elements for scroll animations.
   ============================================================================ */

/* Alpine.js x-cloak - hide until Alpine initializes */
[x-cloak] {
    display: none !important;
}

/* ============================================================================
   FEATURES SECTION - TECH-INSPIRED GRID PATTERNS & BOLD ACCENTS
   ============================================================================ */

.features-v2 {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 8vw, 4rem) 2rem;
    background:
        radial-gradient(ellipse 80% 50% at 0% 0%, rgba(48, 119, 166, 0.06) 0%, transparent 50%),
        var(--hp-bg);
    border-top: 1px solid var(--hp-border);
    overflow: hidden;
}

html.dark .features-v2 {
    background:
        radial-gradient(ellipse 80% 50% at 0% 0%, rgba(48, 119, 166, 0.1) 0%, transparent 50%),
        var(--hp-bg);
}

/* Decorative corner shape */
.features-v2::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at top right, rgba(48, 119, 166, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.features-v2::after {
    display: none;
}

.features-v2__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* SSR-first: visible by default */
.features-v2__header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 1;
    transform: none;
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .features-v2__header:not(.is-visible) {
    opacity: 0;
    transform: translateY(30px);
}

/* Animation when visible */
html.js-enabled .features-v2__header.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s var(--ease-out-expo);
}

/* Features carousel - shows 4 of 5 cards, auto-slides */
.features-v2__carousel-wrapper {
    overflow: hidden;
    margin: 0 -0.75rem;
    padding: 0 0.75rem;
}

.features-v2__carousel {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-v2__carousel .feature-card-v2 {
    flex: 0 0 calc(25% - 1.125rem);
    min-width: 260px;
}

/* Carousel dots */
.features-v2__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.features-v2__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--hp-border-strong);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.features-v2__dot:hover {
    background: var(--brand-primary);
    opacity: 0.7;
}

.features-v2__dot.is-active {
    background: var(--brand-primary);
    transform: scale(1.2);
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
    .features-v2__carousel {
        flex-wrap: wrap;
    }

    .features-v2__carousel .feature-card-v2 {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: 0;
    }

    .features-v2__dots {
        display: none;
    }
}

@media (max-width: 600px) {
    .features-v2__carousel .feature-card-v2 {
        flex: 0 0 100%;
    }
}

/* Legacy grid support */
.features-v2__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

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

/* Feature Card - BOLD tech-inspired with decorative accent */
/* SSR-first: visible by default */
.feature-card-v2 {
    position: relative;
    padding: 2rem;
    background: var(--hp-card-bg);
    border: 2px solid var(--hp-card-border);
    border-radius: 20px;
    opacity: 1;
    transform: none;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .feature-card-v2:not(.is-visible) {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s var(--ease-out-expo);
    transition-delay: var(--delay, 0s);
    will-change: transform, opacity;
}

/* Top accent bar - sharp tech element */
.feature-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out-expo);
}

/* Animation when visible */
html.js-enabled .feature-card-v2.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s var(--ease-out-expo);
    transition-delay: var(--delay, 0s);
}

.feature-card-v2.is-visible::before {
    transform: scaleX(1);
}

.feature-card-v2:hover {
    transform: translateY(-8px);
    border-color: var(--brand-primary);
    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(48, 119, 166, 0.25);
}

.feature-card-v2__icon {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card-v2__icon-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-brand);
    border-radius: 14px;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.feature-card-v2:hover .feature-card-v2__icon-bg {
    opacity: 0.2;
}

.feature-card-v2__icon svg {
    position: relative;
    width: 28px;
    height: 28px;
    color: var(--brand-primary);
}

.feature-card-v2__title {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: var(--hp-text);
    margin: 0 0 0.75rem;
}

.feature-card-v2__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--hp-text-secondary);
    margin: 0;
}

/* ============================================================================
   PROCESS SECTION - BOLD VISUAL FLOW WITH TECH PATTERNS
   ============================================================================ */

.process-v2 {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 8vw, 4rem) 2rem;
    background:
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(48, 119, 166, 0.05) 0%, transparent 50%),
        var(--hp-bg-alt);
    overflow: hidden;
}

html.dark .process-v2 {
    background:
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(48, 119, 166, 0.08) 0%, transparent 50%),
        var(--hp-bg-alt);
}

.process-v2::before {
    display: none;
}

.process-v2::after {
    display: none;
}

.process-v2__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* SSR-first: visible by default */
.process-v2__header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 1;
    transform: none;
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .process-v2__header:not(.is-visible) {
    opacity: 0;
    transform: translateY(30px);
}

/* Animation when visible */
html.js-enabled .process-v2__header.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s var(--ease-out-expo);
}

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

.process-v2__steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* SSR-first: visible by default */
.process-step {
    display: flex;
    gap: 1.25rem;
    opacity: 1;
    transform: none;
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .process-step:not(.is-visible) {
    opacity: 0;
    transform: translateX(-20px);
}

/* Animation when visible */
html.js-enabled .process-step.is-visible {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s var(--ease-out-expo);
    transition-delay: var(--delay, 0s);
}

.process-step.is-active {
    transform: translateX(5px);
}

.process-step__number {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--hp-bg) 0%, var(--hp-bg-alt) 100%);
    border: 3px solid var(--hp-border);
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--hp-text-muted);
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.process-step.is-active .process-step__number {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    border-color: var(--brand-primary);
    color: white;
    box-shadow:
        0 8px 25px rgba(48, 119, 166, 0.4),
        0 0 0 6px rgba(48, 119, 166, 0.1);
    transform: scale(1.05);
}

.process-step__line {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2rem;
    background: var(--hp-border);
    margin-top: 0.5rem;
}

.process-step__content h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: var(--hp-text);
    margin: 0 0 0.5rem;
}

.process-step__content p {
    font-size: clamp(0.875rem, 2vw, 0.9375rem);
    line-height: 1.6;
    color: var(--hp-text-secondary);
    margin: 0;
}

/* Process visual - Browser mockup */
/* SSR-first: visible by default */
.process-v2__visual {
    position: relative;
    opacity: 1;
    transform: none;
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .process-v2__visual:not(.is-visible) {
    opacity: 0;
    transform: translateX(30px);
}

/* Animation when visible */
html.js-enabled .process-v2__visual.is-visible {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s var(--ease-out-expo) 0.3s;
}

/* Browser Mockup - matches HTML class names */
.browser-mockup {
    background: var(--hp-card-bg);
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(48, 119, 166, 0.2);
    width: 100%;
    max-width: 480px;
}

.browser-mockup__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: var(--hp-bg-alt);
    border-bottom: 1px solid var(--hp-border);
}

.browser-mockup__dots {
    display: flex;
    gap: 7px;
}

.browser-mockup__dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-mockup__dots span:nth-child(1) { background: #ff5f57; }
.browser-mockup__dots span:nth-child(2) { background: #febc2e; }
.browser-mockup__dots span:nth-child(3) { background: #28c840; }

.browser-mockup__url {
    flex: 1;
    padding: 6px 12px;
    background: var(--hp-bg);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--hp-text-muted);
    margin-left: 12px;
    font-family: var(--font-mono);
}

.browser-mockup__content {
    padding: 20px;
    background: var(--hp-bg);
}

/* Mock Builder inside browser */
.mock-builder {
    display: flex;
    gap: 16px;
}

.mock-builder__sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.mock-builder__main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mock-builder__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--hp-card-bg);
    border: 1px solid var(--hp-border);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--hp-text-secondary);
    transition: all 0.3s ease;
}

.mock-builder__item.is-filled {
    border-color: var(--brand-primary);
    background: rgba(48, 119, 166, 0.08);
    color: var(--hp-text);
}

.mock-builder__icon {
    font-size: 1rem;
    width: 24px;
    text-align: center;
}

.mock-builder__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--hp-card-bg);
    border-radius: 10px;
    border: 1px solid var(--hp-border);
}

.mock-builder__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
}

/* ============================================================================
   MOCK STEPS - Fixed height container to prevent glitch
   ============================================================================ */

.browser-mockup__content {
    padding: 20px;
    background: var(--hp-bg);
    position: relative;
    min-height: 220px;
}

.mock-step {
    position: absolute;
    inset: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.mock-step[style*="display: none"] {
    display: block !important;
    opacity: 0;
    pointer-events: none;
}

.mock-step:not([style*="display: none"]) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mock-step__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hp-text);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--hp-border);
}

/* Step 0: Components */
.mock-components {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.mock-component {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--hp-card-bg);
    border: 1px solid var(--hp-border);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.mock-component.is-selected {
    border-color: var(--brand-primary);
    background: rgba(48, 119, 166, 0.06);
}

.mock-component__icon {
    font-size: 1.25rem;
    width: 32px;
    text-align: center;
}

.mock-component__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mock-component__name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--hp-text);
}

.mock-component__price {
    font-size: 0.75rem;
    color: var(--brand-primary);
    font-weight: 600;
}

.mock-component__check {
    color: var(--brand-primary);
    font-weight: 700;
}

.mock-component__arrow {
    color: var(--hp-text-muted);
}

/* Step 1: Prices */
.mock-prices {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mock-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: var(--hp-card-bg);
    border: 1px solid var(--hp-border);
    border-radius: 10px;
}

.mock-price-row--best {
    border-color: var(--brand-primary);
    background: rgba(48, 119, 166, 0.06);
}

.mock-price-row__shop {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--hp-text);
}

.mock-price-row__price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hp-text);
}

.mock-price-row__badge {
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    background: var(--brand-primary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Step 2: Checkout */
.mock-checkout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mock-checkout__summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--hp-card-bg);
    border: 1px solid var(--hp-border);
    border-radius: 10px;
}

.mock-checkout__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--hp-text-secondary);
}

.mock-checkout__row--total {
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--hp-border);
    font-weight: 700;
    font-size: 1rem;
    color: var(--hp-text);
}

.mock-checkout__button {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mock-checkout__button:hover {
    background: var(--brand-primary-dark);
}

/* Mobile adjustments for mock steps */
@media (max-width: 768px) {
    .mock-step {
        min-height: 160px;
    }

    .mock-step__title {
        font-size: 0.8rem;
    }

    .mock-component {
        padding: 0.625rem;
    }

    .mock-component__icon {
        font-size: 1rem;
        width: 26px;
    }

    .mock-component__name {
        font-size: 0.75rem;
    }

    .mock-price-row {
        padding: 0.75rem;
    }

    .mock-price-row__shop,
    .mock-price-row__price {
        font-size: 0.8rem;
    }

    .mock-checkout__button {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

.mock-browser {
    background: var(--hp-card-bg);
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(48, 119, 166, 0.2);
    width: 100%;
    max-width: 500px;
}

.mock-browser__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--hp-bg-alt);
    border-bottom: 1px solid var(--hp-border);
}

.mock-browser__dots {
    display: flex;
    gap: 6px;
}

.mock-browser__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--hp-border);
}

.mock-browser__dot:nth-child(1) { background: #ff5f57; }
.mock-browser__dot:nth-child(2) { background: #28ca42; }
.mock-browser__dot:nth-child(3) { background: #ffbd2e; }

.mock-browser__url {
    flex: 1;
    height: 28px;
    background: var(--hp-bg);
    border-radius: 6px;
    margin-left: 12px;
}

.mock-browser__content {
    padding: 20px;
    min-height: 250px;
}

/* Mock builder inside browser */
.mock-builder {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-builder__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--hp-bg);
    border-radius: 10px;
    border: 1px solid var(--hp-border);
}

.mock-builder__icon {
    width: 36px;
    height: 36px;
    background: var(--hp-border);
    border-radius: 8px;
    flex-shrink: 0;
}

.mock-builder__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mock-builder__line {
    height: 8px;
    background: var(--hp-border);
    border-radius: 4px;
}

.mock-builder__line:last-child {
    width: 60%;
}

.mock-builder__item.is-filled {
    border-color: var(--brand-primary);
    background: rgba(48, 119, 166, 0.05);
}

.mock-builder__item.is-filled .mock-builder__icon {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary-light));
}

/* ============================================================================
   BUILDS SECTION - BOLD ACCENT ELEMENTS & GEOMETRIC DECORATION
   ============================================================================ */

.builds-v2 {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 8vw, 4rem) 2rem;
    background:
        radial-gradient(ellipse 50% 50% at 100% 0%, rgba(48, 119, 166, 0.04) 0%, transparent 50%),
        var(--hp-bg);
    overflow: hidden;
}

html.dark .builds-v2 {
    background:
        radial-gradient(ellipse 50% 50% at 100% 0%, rgba(48, 119, 166, 0.08) 0%, transparent 50%),
        var(--hp-bg);
}

.builds-v2::before {
    display: none;
}

.builds-v2::after {
    display: none;
}

.builds-v2__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* SSR-first: visible by default */
.builds-v2__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 1;
    transform: none;
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .builds-v2__header:not(.is-visible) {
    opacity: 0;
    transform: translateY(30px);
}

/* Animation when visible */
html.js-enabled .builds-v2__header.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s var(--ease-out-expo);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.btn-link:hover {
    gap: 0.75rem;
}

.builds-v2__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Build Card - BOLD design with corner accent */
/* SSR-first: visible by default */
.build-card-v2 {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--hp-card-bg);
    border: 2px solid var(--hp-card-border);
    border-radius: 20px;
    overflow: hidden;
    opacity: 1;
    transform: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .build-card-v2:not(.is-visible) {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.6s var(--ease-out-expo);
    transition-delay: var(--delay, 0s);
    will-change: transform, opacity;
}

/* Top right corner accent - decorative tech element */
.build-card-v2::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, transparent 100%);
    opacity: 0.1;
    z-index: 1;
}

/* Animation when visible */
html.js-enabled .build-card-v2.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.6s var(--ease-out-expo);
    transition-delay: var(--delay, 0s);
}

.build-card-v2:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(48, 119, 166, 0.25);
    border-color: var(--brand-primary);
}

.build-card-v2--featured {
    border-color: var(--brand-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--brand-primary), 0 0 30px rgba(48, 119, 166, 0.25);
}

.build-card-v2__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    background: var(--gradient-brand);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    z-index: 1;
}

.build-card-v2__tier {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
}

.build-card-v2__tier--budget {
    background: rgba(59, 130, 246, 0.15);
    color: var(--brand-secondary);
}

.build-card-v2__tier--mid {
    background: rgba(48, 119, 166, 0.15);
    color: var(--brand-primary);
}

.build-card-v2__tier--high {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.build-card-v2__visual {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--hp-bg) 0%, var(--hp-bg-alt) 100%);
    overflow: hidden;
}

.build-card-v2__glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--gradient-brand);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.build-card-v2:hover .build-card-v2__glow {
    opacity: 0.4;
}

.build-card-v2__icon {
    position: relative;
    width: 80px;
    height: 80px;
    color: var(--hp-text-muted);
    transition: all 0.3s ease;
}

.build-card-v2:hover .build-card-v2__icon {
    color: var(--brand-primary);
    transform: scale(1.1);
}

.build-card-v2__content {
    padding: 1.5rem;
}

.build-card-v2__title {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: var(--hp-text);
    margin: 0 0 0.5rem;
}

.build-card-v2__specs {
    font-size: 0.875rem;
    color: var(--hp-text-muted);
    margin: 0 0 1.25rem;
}

.build-card-v2__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.build-card-v2__price {
    font-family: var(--font-mono);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.build-card-v2__tag {
    padding: 0.25rem 0.625rem;
    background: var(--hp-bg);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--hp-text-secondary);
}

/* ============================================================================
   FPS CALCULATOR PREVIEW SECTION - GAMING/TECH AESTHETIC
   ============================================================================ */

.fps-preview {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 8vw, 4rem) 2rem 1rem;
    background:
        radial-gradient(ellipse 70% 50% at 0% 50%, rgba(48, 119, 166, 0.05) 0%, transparent 50%),
        var(--hp-bg-alt);
    overflow: hidden;
}

html.dark .fps-preview {
    background:
        radial-gradient(ellipse 70% 50% at 0% 50%, rgba(48, 119, 166, 0.08) 0%, transparent 50%),
        var(--hp-bg-alt);
}

.fps-preview::before {
    display: none;
}

.fps-preview::after {
    display: none;
}

.fps-preview__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* SSR-first: visible by default */
.fps-preview__content {
    opacity: 1;
    transform: none;
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .fps-preview__content:not(.is-visible) {
    opacity: 0;
    transform: translateX(-30px);
}

/* Animation when visible */
html.js-enabled .fps-preview__content.is-visible {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s var(--ease-out-expo);
}

.fps-preview__content .section-subtext {
    margin-bottom: 2rem;
}

/* SSR-first: visible by default */
.fps-preview__demo {
    opacity: 1;
    transform: none;
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .fps-preview__demo:not(.is-visible) {
    opacity: 0;
    transform: translateX(30px);
}

/* Animation when visible */
html.js-enabled .fps-preview__demo.is-visible {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s var(--ease-out-expo) 0.2s;
}

/* ============================================================================
   FPS MOCKUP - Browser Style Container (replaces old .fps-card styles)
   ============================================================================ */

.fps-browser {
    background: var(--hp-card-bg);
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 25px 80px var(--hp-shadow),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    max-width: 480px;
    width: 100%;
}

/* Browser Tab Bar - Reuse existing .browser-mockup__bar pattern */
.fps-browser .browser-mockup__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: var(--hp-bg-alt);
    border-bottom: 1px solid var(--hp-border);
}

.fps-browser .browser-mockup__dots {
    display: flex;
    gap: 7px;
}

.fps-browser .browser-mockup__dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.fps-browser .browser-mockup__dots span:nth-child(1) { background: #ff5f57; }
.fps-browser .browser-mockup__dots span:nth-child(2) { background: #febc2e; }
.fps-browser .browser-mockup__dots span:nth-child(3) { background: #28c840; }

.fps-browser .browser-mockup__content {
    padding: 20px;
    background: var(--hp-bg);
}

/* FPS Mockup Content Area */
.fps-mockup {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* FPS Mockup Header - Game and Hardware info */
.fps-mockup__header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--hp-border);
}

.fps-mockup__game {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fps-mockup__game-cover {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(48, 119, 166, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
    flex-shrink: 0;
    border: 1px solid var(--hp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.fps-mockup__game-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(48, 119, 166, 0.05) 10px,
            rgba(48, 119, 166, 0.05) 20px
        );
    pointer-events: none;
}

.fps-mockup__game-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fps-mockup__game-name {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    font-weight: 700;
    color: var(--hp-text);
    margin: 0;
}

.fps-mockup__game-settings {
    font-size: 0.875rem;
    color: var(--hp-text-muted);
    margin: 0;
}

/* Hardware Chips */
.fps-mockup__hardware {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.fps-mockup__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--hp-card-bg);
    border: 1px solid var(--hp-border);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hp-text-secondary);
    transition: all 0.2s ease;
}

.fps-mockup__chip:hover {
    border-color: var(--brand-primary);
    background: rgba(48, 119, 166, 0.06);
    color: var(--hp-text);
}

.fps-mockup__chip-icon {
    font-size: 1rem;
}

/* FPS Results Container */
.fps-mockup__results {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Individual FPS Result Item */
.fps-mockup__result {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--hp-card-bg);
    border: 1px solid var(--hp-border);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.fps-mockup__result:hover {
    border-color: var(--brand-primary);
    background: rgba(48, 119, 166, 0.04);
}

/* Resolution label */
.fps-mockup__resolution {
    min-width: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hp-text-secondary);
    white-space: nowrap;
}

/* Progress bar container */
.fps-mockup__bar-container {
    flex: 1;
    height: 8px;
    background: var(--hp-border);
    border-radius: 4px;
    overflow: hidden;
}

.fps-mockup__bar {
    height: 100%;
    width: var(--width, 0%);
    border-radius: 4px;
    transition: width 0.6s var(--ease-out-expo);
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
}

/* FPS value */
.fps-mockup__fps {
    min-width: 65px;
    font-size: 1rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--hp-text);
    text-align: right;
}

/* Result status colors */
.fps-mockup__result--excellent .fps-mockup__bar {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

.fps-mockup__result--excellent:hover {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

.fps-mockup__result--good .fps-mockup__bar {
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
}

.fps-mockup__result--good:hover {
    border-color: var(--brand-primary);
    background: rgba(48, 119, 166, 0.06);
}

.fps-mockup__result--okay .fps-mockup__bar {
    background: linear-gradient(90deg, #eab308 0%, #facc15 100%);
}

.fps-mockup__result--okay:hover {
    border-color: #eab308;
    background: rgba(234, 179, 8, 0.05);
}

/* Mobile adjustments for FPS mockup */
@media (max-width: 768px) {
    .fps-browser {
        max-width: 100%;
    }

    .fps-mockup__header {
        flex-direction: column;
        gap: 0.75rem;
        padding-bottom: 1rem;
    }

    .fps-mockup__game {
        gap: 0.75rem;
    }

    .fps-mockup__game-cover {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .fps-mockup__game-name {
        font-size: 1rem;
    }

    .fps-mockup__hardware {
        gap: 0.5rem;
    }

    .fps-mockup__chip {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }

    .fps-mockup__result {
        padding: 0.875rem;
        gap: 0.75rem;
    }

    .fps-mockup__resolution {
        min-width: 45px;
        font-size: 0.8125rem;
    }

    .fps-mockup__fps {
        min-width: 55px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .fps-browser .browser-mockup__content {
        padding: 14px;
    }

    .fps-mockup {
        gap: 1rem;
    }

    .fps-mockup__game-cover {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }

    .fps-mockup__game-name {
        font-size: 0.95rem;
    }

    .fps-mockup__game-settings {
        font-size: 0.8125rem;
    }

    .fps-mockup__chip {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    .fps-mockup__result {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .fps-mockup__resolution {
        min-width: 40px;
        font-size: 0.75rem;
    }

    .fps-mockup__fps {
        min-width: 50px;
        font-size: 0.85rem;
    }
}

/* ============================================================================
   CTA SECTION - BOLD DYNAMIC DESIGN WITH GEOMETRIC OVERLAYS
   ============================================================================ */

.cta-v2 {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 8vw, 4rem) 2rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    overflow: hidden;
}

html.dark .cta-v2 {
    background: linear-gradient(135deg, #1a5a85 0%, #143d5c 100%);
}

.cta-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-v2::after {
    display: none;
}

/* SSR-first: visible by default */
.cta-v2__container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 1;
    transform: none;
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .cta-v2__container:not(.is-visible) {
    opacity: 0;
    transform: translateY(20px);
}

/* Animation when visible */
html.js-enabled .cta-v2__container.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s var(--ease-out-expo);
}

.cta-v2__title {
    font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cta-v2__text {
    font-size: clamp(1rem, 2.5vw + 0.5rem, 1.125rem);
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
}

/* CTA Button styling */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.125rem 2rem;
    background: #ffffff;
    color: var(--brand-primary);
    border: none;
    border-radius: 14px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.btn-cta:active {
    transform: translateY(0);
}

.cta-v2 .btn-hero {
    background: #ffffff;
    color: var(--brand-primary-dark);
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.cta-v2 .btn-hero:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.25);
}

/* ============================================================================
   RESPONSIVE - TABLET & DESKTOP TRANSITIONS
   ============================================================================ */

@media (max-width: 1024px) {
    .hero-v2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        padding: 2rem 2rem 3rem;
        min-height: auto;
    }

    .hero-v2__container {
        align-items: center;
    }

    .hero-v2__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hardware-stack {
        max-width: 360px;
        height: 360px;
    }

    .hardware-tower {
        width: 260px;
        height: 290px;
    }

    .floating-badge {
        padding: 8px 14px;
        font-size: 0.7rem;
    }

    .floating-badge--compat { left: -5%; }
    .floating-badge--prices { right: -5%; }
    .floating-badge--fps { left: 0%; }

    /* FPS Preview tablet */
    .fps-preview__container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .fps-preview__demo {
        display: flex;
        justify-content: center;
    }

    .fps-card {
        max-width: 360px;
    }

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

    /* Process section tablet - stack vertically */
    .process-v2__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-v2__visual {
        order: -1;
        justify-content: center;
    }

    .browser-mockup {
        max-width: 100%;
    }

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

}

/* ============================================================================
   RESPONSIVE - MOBILE
   ============================================================================ */

@media (max-width: 768px) {
    .hero-v2 {
        padding: 1.5rem 1.25rem 2.5rem;
        gap: 2rem;
    }

    .hero-v2__title {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .hero-v2__subtitle {
        font-size: 0.95rem;
    }

    .hero-v2__actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .hero-v2__stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Hardware stack mobile */
    .hardware-stack {
        max-width: 300px;
        height: 320px;
    }

    .hardware-tower {
        width: 240px;
        height: 260px;
        padding: 18px;
        gap: 12px;
        box-shadow:
            0 20px 60px var(--hp-shadow),
            0 0 0 1px rgba(255, 255, 255, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 30px rgba(48, 119, 166, 0.12),
            0 0 45px rgba(30, 64, 175, 0.06);
    }

    .tower-component {
        padding: 10px 12px;
        gap: 10px;
    }

    .tower-component__icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .tower-component__name {
        font-size: 0.7rem;
    }

    .floating-badge {
        display: none;
    }

    .hardware-total {
        padding: 8px 18px;
        font-size: 0.9rem;
    }

    .section-heading {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .features-v2__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* FPS Preview mobile - Stack vertically */
    .fps-preview__container {
        gap: 2rem;
        text-align: center;
    }

    .fps-preview__content {
        text-align: center;
    }

    .fps-preview__demo {
        display: flex;
        justify-content: center;
    }

    .fps-card {
        max-width: 100%;
        width: 100%;
    }

    .fps-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .fps-card__game {
        width: 100%;
    }

    .fps-card__game-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    .fps-card__game-name {
        font-size: 1rem;
    }

    .fps-card__specs,
    .fps-card__results {
        padding: 1rem;
    }

    .fps-result {
        padding: 0.875rem;
    }

    /* Process section mobile */
    .process-v2__content {
        gap: 2rem;
    }

    .process-step {
        gap: 1rem;
    }

    .process-step__number {
        width: 44px;
        height: 44px;
        font-size: 0.875rem;
        flex-shrink: 0;
    }

    .process-step__content h3 {
        font-size: 1rem;
    }

    .process-step__content p {
        font-size: 0.85rem;
    }

    /* Browser mockup mobile - Full width */
    .browser-mockup {
        max-width: 100%;
        border-radius: 12px;
    }

    .browser-mockup__bar {
        padding: 10px 14px;
    }

    .browser-mockup__dots span {
        width: 10px;
        height: 10px;
    }

    .browser-mockup__url {
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    .browser-mockup__content {
        padding: 14px;
        min-height: auto;
    }

    .mock-builder {
        flex-direction: column;
        gap: 12px;
    }

    .mock-builder__item {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .mock-builder__icon {
        font-size: 0.9rem;
        width: 20px;
    }

    .mock-builder__total {
        padding: 10px 12px;
    }

    .mock-builder__price {
        font-size: 1rem;
    }

    /* Builds mobile */
    .builds-v2__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .builds-v2__header {
        flex-direction: column;
        gap: 1rem;
    }

    /* CTA mobile - font sizes handled by clamp() at base level */
    .cta-v2__title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .cta-v2__text {
        font-size: clamp(1rem, 2.5vw + 0.5rem, 1.125rem);
    }

    .btn-cta {
        padding: 1rem 1.75rem;
        font-size: 0.95rem;
        width: 100%;
    }
}

/* ============================================================================
   RESPONSIVE - SMALL MOBILE (320px+)
   ============================================================================ */

@media (max-width: 480px) {
    .hero-v2 {
        padding: 1.25rem 1rem 2rem;
    }

    .hero-v2__title {
        font-size: 1.5rem;
        line-height: 1.1;
    }

    .hero-v2__subtitle {
        font-size: 0.9rem;
    }

    .hardware-stack {
        max-width: 260px;
        height: 280px;
    }

    .hardware-tower {
        width: 220px;
        height: 240px;
        padding: 14px;
        gap: 10px;
    }

    .tower-component {
        padding: 8px 10px;
        gap: 8px;
    }

    .tower-component__icon {
        width: 28px;
        height: 28px;
    }

    .tower-component__spec,
    .tower-component__price {
        display: none;
    }

    .tower-component__name {
        font-size: 0.65rem;
    }

    /* Hide floating badges on very small screens */
    .floating-badge {
        display: none;
    }

    .section-heading {
        font-size: clamp(1.25rem, 4vw, 2.5rem);
    }

    .section-tag {
        font-size: 0.7rem;
    }

    .section-subtext {
        font-size: 0.95rem;
    }

    .process-step {
        gap: 0.75rem;
    }

    .process-step__number {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    .process-step__content h3 {
        font-size: 0.95rem;
    }

    .process-step__content p {
        font-size: 0.8rem;
    }

    .browser-mockup {
        border-radius: 10px;
    }

    .browser-mockup__bar {
        padding: 8px 12px;
    }

    .browser-mockup__dots span {
        width: 9px;
        height: 9px;
    }

    .browser-mockup__content {
        padding: 12px;
    }

    .fps-card {
        width: 100%;
        max-width: none;
    }

    .fps-card__header {
        padding: 12px 14px;
    }

    .fps-card__specs,
    .fps-card__results {
        padding: 0.875rem;
    }

    .fps-result {
        padding: 0.75rem;
        font-size: 0.8rem;
    }

    .cta-v2__title {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
    }

    .cta-v2__text {
        font-size: clamp(0.95rem, 2vw + 0.5rem, 1rem);
    }

    .btn-cta {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-hero {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ============================================================================
   COMPONENTS SECTION
   ============================================================================ */

.components-v2 {
    position: relative;
    padding: clamp(4rem, 10vw, 6rem) clamp(1rem, 3vw, 2rem);
    background: var(--hp-bg-alt);
    border-top: 1px solid var(--hp-border);
}

.components-v2__container {
    max-width: 1200px;
    margin: 0 auto;
}

.components-v2__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.components-v2__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

@media (max-width: 1000px) {
    .components-v2__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .components-v2__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.component-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--hp-card-bg);
    border: 2px solid var(--hp-card-border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--hp-text);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

html.dark .component-card {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.component-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 18px;
}

.component-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--brand-primary);
    box-shadow: 0 20px 60px rgba(48, 119, 166, 0.25);
}

html.dark .component-card:hover {
    box-shadow: 0 20px 60px rgba(48, 119, 166, 0.35);
}

.component-card:hover::before {
    opacity: 0.08;
}

.component-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 14px;
    color: white;
    position: relative;
    z-index: 1;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(48, 119, 166, 0.3);
}

.component-card:hover .component-card__icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(48, 119, 166, 0.4);
}

.component-card__icon svg {
    width: 28px;
    height: 28px;
}

.component-card__name {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--hp-text);
}

.component-card__arrow {
    font-size: 1.5rem;
    color: var(--brand-primary);
    opacity: 0.6;
    transition: transform 0.3s var(--ease-out-expo), opacity 0.3s ease;
    position: relative;
    z-index: 1;
}

.component-card:hover .component-card__arrow {
    transform: translateX(6px);
    opacity: 1;
}

/* SSR-first: visible by default */
.components-v2__cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 3rem);
    opacity: 1;
    transform: none;
}

/* Components CTA is always visible */
}

/* Responsive - Components */
@media (max-width: 900px) {
    .components-v2__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 500px) {
    .component-card {
        padding: 1rem;
    }

    .component-card__icon {
        width: 40px;
        height: 40px;
    }

    .component-card__icon svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================================================
   FEATURE CARD - LINK VARIANT
   ============================================================================ */

.feature-card-v2--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border-color: var(--brand-primary);
    background: linear-gradient(135deg, var(--hp-card-bg) 0%, rgba(48, 119, 166, 0.1) 100%);
}

.feature-card-v2--link:hover {
    transform: translateY(-8px);
    border-color: var(--brand-primary);
    box-shadow: 0 20px 60px rgba(48, 119, 166, 0.3);
}

.feature-card-v2--link:hover .feature-card-v2__icon {
    transform: scale(1.1);
}

.feature-card-v2__cta {
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary);
    transition: transform 0.3s ease;
}

.feature-card-v2--link:hover .feature-card-v2__cta {
    transform: translateX(4px);
}

/* ============================================================================
   PROCESS SECTION CTA
   ============================================================================ */

/* SSR-first: visible by default */
.process-v2__cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding-top: clamp(1rem, 2vw, 2rem);
    opacity: 1;
    transform: none;
}

/* Only hide when JS is enabled (for animations) */
html.js-enabled .process-v2__cta:not(.is-visible) {
    opacity: 0;
    transform: translateY(20px);
}

/* Animation when visible */
html.js-enabled .process-v2__cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
    transition-delay: 0.5s;
}

/* ============================================================================
   FAQ SECTION
   ============================================================================ */

.faq-v2 {
    padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 3vw, 2rem);
    background: var(--hp-bg-alt);
}

.faq-v2__container {
    max-width: 900px;
    margin: 0 auto;
}

/* Override FAQ accordion styling for homepage */
.faq-v2 .faq-section {
    background: transparent;
    border: none;
    box-shadow: none;
}

.faq-v2 .faq-section__title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

/* ============================================================================
   REDUCED MOTION - Accessibility
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    /* Disable all animations for accessibility */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    /* Keep essential transitions but faster */
    .hero-btn--primary:hover,
    .hero-btn--ghost:hover,
    .hero-badge:hover {
        transition: none;
    }

    /* Disable floating animations */
    .hero-visual.is-visible,
    .hero-bg__glow,
    .hero-float--compat,
    .hero-float--price {
        animation: none !important;
    }

    /* Grid fade animation */
    .hero-bg__grid {
        animation: none;
    }
}
