/* ===========================================
   About Page - Immersive Experience
   =========================================== */

.about-page {
    min-height: 100vh;
    background: var(--bg-deep, #0a0a0f);
    overflow: clip;
    position: relative;
}

/* ===========================================
   Global Background Effects
   =========================================== */
.about-bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-gradient-1 {
    position: absolute;
    width: 100%;
    height: 150vh;
    top: 0;
    background: radial-gradient(ellipse 80% 50% at 20% 20%, rgba(var(--primary-rgb), 0.12) 0%, transparent 60%);
}

.bg-gradient-2 {
    position: absolute;
    width: 100%;
    height: 150vh;
    top: 100vh;
    background: radial-gradient(ellipse 60% 40% at 80% 30%, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
}

.bg-gradient-3 {
    position: absolute;
    width: 100%;
    height: 150vh;
    top: 250vh;
    background: radial-gradient(ellipse 70% 50% at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
}

.bg-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--primary-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.6;
}

/* Global animated lines throughout page (scrolls with content) */
.global-lines {
    position: absolute;
    top: 100vh; /* Start below hero section */
    left: 0;
    right: 0;
    height: 100%;
    min-height: 8000px;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

.global-lines svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8000px;
}

.global-line {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 20 30;
    animation: globalLineFlow 25s linear infinite;
}

.global-line.purple {
    stroke: rgba(var(--primary-rgb), 0.4);
}

.global-line.pink {
    stroke: rgba(236, 72, 153, 0.3);
}

.global-line.blue {
    stroke: rgba(59, 130, 246, 0.3);
}

.global-line:nth-child(1) { animation-delay: 0s; }
.global-line:nth-child(2) { animation-delay: -5s; }
.global-line:nth-child(3) { animation-delay: -10s; }
.global-line:nth-child(4) { animation-delay: -15s; }
.global-line:nth-child(5) { animation-delay: -20s; }
.global-line:nth-child(6) { animation-delay: -3s; }
.global-line:nth-child(7) { animation-delay: -8s; }
.global-line:nth-child(8) { animation-delay: -13s; }

@keyframes globalLineFlow {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -500; }
}

/* Floating particles container - filled by JS */
.floating-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(var(--primary-rgb), 0.4);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* ===========================================
   Hero Section
   =========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Animated gradient orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 10s ease-in-out infinite;
    will-change: transform;
}

.hero-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.6) 0%, transparent 70%);
    top: -250px;
    right: -150px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.5) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -2.5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -40px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* Hero animated lines - more visible */
.hero-lines {
    position: absolute;
    inset: 0;
    opacity: 0.5;
}

.hero-line-svg {
    width: 100%;
    height: 100%;
}

.hero-line {
    fill: none;
    stroke: rgba(var(--primary-rgb), 0.5);
    stroke-width: 2;
    stroke-dasharray: 20 30;
    stroke-linecap: round;
    animation: lineFlow 12s linear infinite;
}

.hero-line:nth-child(2) {
    stroke: rgba(236, 72, 153, 0.45);
    animation-delay: -6s;
}

@keyframes lineFlow {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -400; }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(var(--primary-rgb), 0.15);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.hero-title {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px;
}

.title-line {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
    color: var(--text-primary, #fafafa);
}

.title-line.title-accent {
    animation-delay: 0.3s;
    background: linear-gradient(
        90deg,
        #fff 0%,
        var(--primary-light) 25%,
        #8b5cf6 50%,
        var(--primary-light) 75%,
        #fff 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.6s ease forwards, shine 4s linear infinite 1s;
}

@keyframes shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary, #a1a1aa);
    line-height: 1.6;
    margin: 0 0 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn.primary {
    background: var(--primary, #8b5cf6);
    color: white;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.4);
}

.hero-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.5);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary, #fafafa);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-btn.secondary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.hero-btn.secondary:hover svg {
    transform: translateY(4px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================================
   Feature Sections
   =========================================== */
.feature-section {
    position: relative;
    padding: 140px 24px;
    z-index: 1;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease, transform 1s ease;
}

.feature-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section background gradients */
.section-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.section-gradient {
    position: absolute;
    width: 150%;
    height: 100%;
    left: -25%;
    background: radial-gradient(ellipse 50% 80% at 20% 50%, rgba(var(--primary-rgb), 0.06) 0%, transparent 60%);
}

.section-gradient.reverse {
    background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(var(--primary-rgb), 0.06) 0%, transparent 60%);
}

.feature-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.feature-section.reverse .feature-content {
    direction: rtl;
}

.feature-section.reverse .feature-content > * {
    direction: ltr;
}

/* Feature text */
.feature-number {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 5rem;
    font-weight: 800;
    color: rgba(var(--primary-rgb), 0.08);
    line-height: 1;
    display: block;
    transition: color 0.5s ease;
}

.feature-section.visible .feature-number {
    color: rgba(var(--primary-rgb), 0.12);
}

.feature-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary, #8b5cf6);
    margin-top: -20px;
    margin-bottom: 16px;
}

.feature-title {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary, #fafafa);
    line-height: 1.15;
    margin: 0 0 20px;
}

.feature-title em {
    font-style: normal;
    color: var(--primary, #8b5cf6);
}

.feature-description {
    font-size: 1.1rem;
    color: var(--text-secondary, #a1a1aa);
    line-height: 1.7;
    margin: 0 0 28px;
}

.feature-description em {
    font-style: normal;
    color: var(--text-primary, #fafafa);
}

.feature-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-highlights li {
    font-size: 1rem;
    color: var(--text-secondary, #a1a1aa);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding-left: 20px;
    position: relative;
}

.feature-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary, #8b5cf6);
    border-radius: 50%;
}

.feature-section.visible .feature-highlights li {
    opacity: 1;
    transform: translateX(0);
}

.feature-section.visible .feature-highlights li:nth-child(1) { transition-delay: 0.2s; }
.feature-section.visible .feature-highlights li:nth-child(2) { transition-delay: 0.3s; }
.feature-section.visible .feature-highlights li:nth-child(3) { transition-delay: 0.4s; }

/* Icons removed - using text-only highlights */

.feature-highlights strong {
    color: var(--text-primary, #fafafa);
}

/* Feature visuals - shared styles */
.feature-visual {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 24px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.feature-section.visible .feature-visual {
    opacity: 1;
    transform: scale(1);
}

.feature-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: visualGlow 8s ease-in-out infinite;
}

@keyframes visualGlow {
    0%, 100% { opacity: 0.5; transform: translate(0, 0); }
    50% { opacity: 1; transform: translate(5%, 5%); }
}

/* ===========================================
   Neural Network Visual - Input → Process → Output
   =========================================== */
.neural-network {
    display: flex;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    min-height: 280px;
}

/* INPUT PANEL (Left) */
.neural-input {
    width: 120px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.neural-input .input-label,
.neural-output-panel .output-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted, #52525b);
    text-align: center;
    padding: 4px 0;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
}

.anime-card {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.anime-cover {
    width: 100%;
    aspect-ratio: 2/3;
    background: rgba(var(--primary-rgb), 0.1);
    border: 2px solid rgba(var(--primary-rgb), 0.4);
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.2);
}

.anime-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 40%);
}

.anime-title {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary, #fafafa);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* MAIN CANVAS (Center) */
.neural-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 180px;
    position: relative;
}

#neural-canvas {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
}

/* OUTPUT PANEL (Right) */
.neural-output-panel {
    width: 135px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.algo-findings {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.findings-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.finding-tag {
    padding: 5px 8px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-light);
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.finding-tag.visible {
    opacity: 1;
    transform: translateX(0);
}

.finding-tag.highlight {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.match-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 10px;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 10px;
    margin-top: auto;
}

.match-result .match-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary, #a1a1aa);
}

.match-result .match-value {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 1.6rem;
    font-weight: 800;
    color: #22c55e;
    line-height: 1;
}

@media (max-width: 900px) {
    .neural-network {
        flex-direction: column;
        gap: 20px;
    }

    .neural-input {
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .neural-input .input-label {
        display: none;
    }

    .anime-card {
        flex-direction: row;
        gap: 12px;
        text-align: left;
    }

    .anime-cover {
        width: 60px;
        margin-bottom: 0;
    }

    .neural-output-panel {
        width: 100%;
    }

    .neural-output-panel .output-label {
        display: none;
    }

    .findings-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .match-result {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
        padding: 12px 20px;
    }
}

/* ===========================================
   Franchise Tree Visual - Canvas Based
   =========================================== */
.franchise-visual {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#franchise-canvas {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.franchise-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 16px;
    padding: 14px 20px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    border-radius: 10px;
}

.franchise-name {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary, #fafafa);
}

.franchise-stats {
    display: flex;
    gap: 20px;
}

.franchise-stat {
    font-size: 0.85rem;
    color: var(--text-secondary, #a1a1aa);
}

.franchise-stat .stat-num {
    font-weight: 700;
    color: var(--text-primary, #fafafa);
}

.franchise-stat.completed .stat-num {
    color: #22c55e;
}

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

.tree-branches {
    display: flex;
    gap: 20px;
}

.tree-branch {
    position: relative;
}

.tree-branch::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}

/* ===========================================
   Contribution Visual
   =========================================== */
.contribution-visual {
    position: relative;
    width: 100%;
    height: 280px;
}

.contrib-card {
    position: absolute;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 220px;
    animation: floatCard 6s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-section.visible .contrib-card {
    opacity: 1;
}

.contrib-card.card-1 {
    top: 5%;
    left: 0;
    animation-delay: 0s;
}

.contrib-card.card-2 {
    top: 35%;
    right: 0;
    animation-delay: -2s;
}

.contrib-card.card-3 {
    bottom: 5%;
    left: 15%;
    animation-delay: -4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

.contrib-type {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary, #8b5cf6);
    margin-bottom: 6px;
}

.contrib-title {
    font-weight: 600;
    color: var(--text-primary, #fafafa);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contrib-points {
    font-weight: 700;
    color: #22c55e;
}

/* ===========================================
   Rating Visual - Anti-Bombing Animation
   =========================================== */
.rating-visual {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#rating-canvas {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.rating-comparison {
    display: flex;
    gap: 16px;
    width: 100%;
    margin-top: 12px;
}

.rating-side {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    text-align: center;
}

.rating-side.others {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.rating-side.oku {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.rating-side .side-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted, #52525b);
    margin-bottom: 6px;
}

.rating-score {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.rating-side.others .rating-score {
    color: #ef4444;
}

.rating-side.oku .rating-score {
    color: #22c55e;
}

.rating-status {
    font-size: 0.7rem;
    color: var(--text-secondary, #a1a1aa);
    min-height: 1.2em;
}

/* ===========================================
   Portability Visual - Animated Canvas
   =========================================== */
.portability-visual {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#portability-canvas {
    width: 100%;
    height: 220px;
    border-radius: 12px;
}

.port-labels {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
}

.port-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.port-label.center {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.port-name {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary, #a1a1aa);
}

.port-label.source .port-name {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.port-label.dest .port-name {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.port-logo {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--primary-rgb), 0.1));
    border: 2px solid rgba(var(--primary-rgb), 0.4);
    border-radius: 10px;
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary, #8b5cf6);
}

.port-status {
    margin-top: 16px;
    padding: 10px 20px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-align: center;
}

/* ===========================================
   Extension Visual
   =========================================== */
.extension-visual {
    width: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-frame {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    max-width: 320px;
    margin: 0 auto;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #22c55e; }

.browser-url {
    flex: 1;
    font-size: 0.75rem;
    color: var(--text-muted, #52525b);
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

.browser-content {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    position: relative;
}

.ext-popup {
    background: var(--bg-elevated, #1a1a22);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    min-width: 180px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: popupFloat 3s ease-in-out infinite;
}

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

.ext-header {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary, #8b5cf6);
    margin-bottom: 8px;
}

.ext-anime {
    font-weight: 600;
    color: var(--text-primary, #fafafa);
    margin-bottom: 12px;
}

.ext-btn {
    width: 100%;
    padding: 10px 16px;
    background: var(--primary, #8b5cf6);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ext-btn:hover {
    background: var(--primary-hover);
}

/* ===========================================
   Stats Visual
   =========================================== */
.stats-visual {
    width: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-dashboard {
    display: flex;
    justify-content: space-around;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.dash-value {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary, #fafafa);
}

.dash-label {
    font-size: 0.75rem;
    color: var(--text-muted, #52525b);
    margin-top: 4px;
}

.stat-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.stat-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary, #a1a1aa);
    min-width: 70px;
}

.bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary, #8b5cf6), var(--primary-light));
    border-radius: 4px;
    transition: width 1.2s ease;
}

.feature-section.visible .bar-fill {
    width: var(--width);
}

/* ===========================================
   Comparison Section
   =========================================== */
.comparison-section {
    position: relative;
    padding: 140px 24px;
    z-index: 1;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease, transform 1s ease;
}

.comparison-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.comparison-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(var(--primary-rgb), 0.08) 0%, transparent 60%);
}

.comparison-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary, #8b5cf6);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary, #fafafa);
    margin: 0 0 48px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    text-align: left;
    transition: transform 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-4px);
}

.comparison-card.highlight {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12) 0%, rgba(var(--primary-rgb), 0.04) 100%);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 0 60px rgba(var(--primary-rgb), 0.1);
}

.comparison-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--text-primary, #fafafa);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    padding: 14px 0;
    padding-left: 32px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-secondary, #a1a1aa);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.comparison-list li::before {
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1rem;
}

.comparison-list.negative li::before {
    content: '\2715';
    color: #ef4444;
}

.comparison-list.positive li::before {
    content: '\2713';
    color: #22c55e;
}

/* ===========================================
   Numbers Section
   =========================================== */
.numbers-section {
    position: relative;
    padding: 120px 24px;
    text-align: center;
    z-index: 1;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease, transform 1s ease;
}

.numbers-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.numbers-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 80%, rgba(var(--primary-rgb), 0.12) 0%, transparent 60%);
}

.numbers-content {
    position: relative;
    z-index: 1;
}

.numbers-grid {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.number-block {
    text-align: center;
}

.number-value {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    color: var(--text-primary, #fafafa);
    line-height: 1;
}

.number-suffix {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--primary, #8b5cf6);
}

.number-label {
    display: block;
    margin-top: 12px;
    font-size: 1rem;
    color: var(--text-secondary, #a1a1aa);
}

/* ===========================================
   CTA Section
   =========================================== */
.cta-section {
    position: relative;
    padding: 80px 24px;
    display: flex;
    justify-content: center;
    z-index: 1;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease, transform 1s ease;
}

.cta-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-card {
    position: relative;
    max-width: 600px;
    width: 100%;
    padding: 60px 48px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.3) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    animation: ctaGlow 4s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.cta-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(var(--primary-rgb), 0.3), transparent);
    animation: ctaLineMove 3s ease-in-out infinite;
}

.cta-line:nth-child(1) { left: 20%; animation-delay: 0s; }
.cta-line:nth-child(2) { left: 50%; animation-delay: -1s; }
.cta-line:nth-child(3) { left: 80%; animation-delay: -2s; }

@keyframes ctaLineMove {
    0%, 100% { opacity: 0; transform: translateY(100%); }
    50% { opacity: 1; transform: translateY(-100%); }
}

.cta-card h2 {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary, #fafafa);
    margin: 0 0 12px;
    position: relative;
}

.cta-card > p {
    font-size: 1.1rem;
    color: var(--text-secondary, #a1a1aa);
    margin: 0 0 32px;
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: 24px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: var(--primary, #8b5cf6);
    color: white;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.4);
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.5);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary, #fafafa);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-note {
    font-size: 0.85rem;
    color: var(--text-muted, #52525b);
    margin: 0;
    position: relative;
}

/* ===========================================
   Responsive Design
   =========================================== */
@media (max-width: 1000px) {
    .feature-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .feature-section.reverse .feature-content {
        direction: ltr;
    }

    .feature-visual {
        min-height: 320px;
    }

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

    .numbers-grid {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    /* Hero section */
    .hero {
        padding: 80px 20px 50px;
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-btn {
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    /* Feature sections - stack grid */
    .feature-section {
        padding: 80px 20px;
    }

    .feature-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    /* Reset reverse direction on mobile */
    .feature-section.reverse .feature-content {
        direction: ltr;
    }

    .feature-number {
        font-size: 3.5rem;
    }

    .feature-label {
        font-size: 0.7rem;
    }

    .feature-title {
        font-size: 1.75rem;
    }

    .feature-description {
        font-size: 1rem;
    }

    .feature-highlights li {
        font-size: 0.95rem;
    }

    /* Feature visuals */
    .feature-visual {
        min-height: 240px;
        padding: 16px;
    }

    /* Neural network - vertical stack at this size */
    .neural-network {
        min-height: auto !important;
        gap: 12px;
    }

    #neural-canvas {
        min-height: 220px !important;
        height: 220px !important;
    }

    .anime-cover {
        width: 55px !important;
        height: 75px !important;
    }

    .anime-title {
        font-size: 0.8rem !important;
    }

    .finding-tag {
        font-size: 0.65rem !important;
        padding: 4px 8px !important;
    }

    .match-value {
        font-size: 1.75rem !important;
    }

    .anime-cover {
        width: 50px;
        height: 70px;
    }

    .anime-title {
        font-size: 0.7rem;
    }

    .algo-findings {
        font-size: 0.6rem;
        gap: 3px;
    }

    .finding-tag {
        padding: 3px 6px;
        font-size: 0.6rem;
    }

    .match-label,
    .match-value {
        font-size: 0.7rem;
    }

    /* Franchise visual */
    #franchise-canvas {
        height: 190px;
    }

    .franchise-info {
        margin-top: 12px;
        padding: 10px 14px;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .franchise-name {
        font-size: 0.95rem;
    }

    .franchise-stats {
        gap: 14px;
    }

    .franchise-stat {
        font-size: 0.75rem;
    }

    /* Rating canvas */
    #rating-canvas {
        height: 180px;
    }

    /* Rating visual - keep side by side */
    .rating-comparison {
        flex-direction: row;
        gap: 12px;
        padding: 12px;
    }

    .rating-side {
        width: 50%;
    }

    .side-label {
        font-size: 0.75rem;
    }

    .rating-score {
        font-size: 2.5rem;
    }

    .rating-status {
        font-size: 0.75rem;
    }

    /* Contribution cards */
    .contribution-visual {
        padding: 20px 12px;
        min-height: 200px;
    }

    .contrib-card {
        min-width: 200px;
        padding: 14px 18px;
    }

    .contrib-type {
        font-size: 0.65rem;
    }

    .contrib-title {
        font-size: 0.9rem;
    }

    .contrib-points {
        font-size: 1rem;
    }

    /* Portability visual */
    #portability-canvas {
        height: 180px;
    }

    .portability-visual {
        padding: 24px 16px;
    }

    .port-labels {
        margin: 24px 0;
    }

    .port-label {
        font-size: 0.7rem;
    }

    .port-logo {
        font-size: 1.5rem;
    }

    .port-status {
        font-size: 0.8rem;
    }

    /* Extension visual */
    .extension-visual {
        padding: 20px;
    }

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

    .browser-url {
        font-size: 0.65rem;
    }

    .ext-header {
        font-size: 0.8rem;
    }

    .ext-anime {
        font-size: 0.85rem;
    }

    .ext-btn {
        font-size: 0.75rem;
        padding: 8px 16px;
    }

    /* Stats visual */
    .stats-visual {
        padding: 20px;
    }

    .stat-dashboard {
        gap: 16px;
    }

    .dash-value {
        font-size: 2rem;
    }

    .dash-label {
        font-size: 0.75rem;
    }

    .stat-bar {
        gap: 12px;
    }

    .bar-label {
        font-size: 0.8rem;
        min-width: 70px;
    }

    /* Comparison section */
    .comparison-section {
        padding: 80px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .comparison-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .comparison-card {
        padding: 20px;
    }

    .comparison-card h3 {
        font-size: 1.1rem;
    }

    .comparison-list li {
        font-size: 0.9rem;
    }

    /* Numbers section */
    .numbers-section {
        padding: 80px 20px;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .number-value {
        font-size: 3rem;
    }

    .number-label {
        font-size: 0.85rem;
    }

    /* CTA section */
    .cta-section {
        padding: 80px 20px;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: 2rem;
    }

    .cta-card p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        padding: 14px 28px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .cta-note {
        font-size: 0.8rem;
    }

    /* Background effects - reduce for performance */
    .bg-gradient-1,
    .bg-gradient-2,
    .bg-gradient-3 {
        opacity: 0.5;
    }

    .floating-particles {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Hero - extra small screens */
    .hero {
        padding: 60px 16px 40px;
        min-height: 60vh;
    }

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

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

    .hero-orb-1 {
        width: 350px;
        height: 350px;
    }

    .hero-orb-2 {
        width: 250px;
        height: 250px;
    }

    .hero-orb-3 {
        width: 200px;
        height: 200px;
    }

    /* Feature sections */
    .feature-section {
        padding: 60px 16px;
    }

    .feature-number {
        font-size: 3rem;
    }

    .feature-title {
        font-size: 1.5rem;
    }

    .feature-description {
        font-size: 0.95rem;
    }

    .feature-highlights li {
        font-size: 0.9rem;
    }

    /* Feature visuals - compact */
    .feature-visual {
        min-height: auto !important;
        padding: 12px 10px !important;
    }

    /* Disable hero particles and reduce orb animations on mobile for performance */
    #particles .particle {
        display: none;
    }

    .hero-orb {
        animation: none !important;
        opacity: 0.3 !important;
        filter: none !important; /* Remove expensive blur on mobile */
    }

    /* Disable expensive backdrop-filter on mobile */
    .feature-visual,
    .cta-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }

    .cta-glow {
        filter: none !important; /* Remove expensive blur */
    }

    /* Neural network - compact 3-column layout on mobile */
    .neural-network {
        min-height: 160px !important;
        gap: 3px !important;
        flex-direction: row !important;
    }

    #neural-canvas {
        min-height: 160px !important;
        height: 160px !important;
    }

    .neural-main {
        min-width: 0 !important;
        flex: 1 1 auto;
    }

    /* Input section - ultra compact */
    .neural-input {
        width: 55px !important;
        flex-shrink: 0;
    }

    .input-label {
        font-size: 0.5rem !important;
        padding: 1px 0 !important;
    }

    .anime-card {
        flex-direction: column !important;
    }

    .anime-cover {
        width: 50px !important;
        height: 70px !important;
        margin-bottom: 3px !important;
        border-width: 1px !important;
    }

    .anime-title {
        font-size: 0.5rem !important;
        line-height: 1.2;
        text-align: center !important;
    }

    /* Output section - ultra compact */
    .neural-output-panel {
        width: 100px !important;
        flex-shrink: 0;
    }

    .output-label {
        font-size: 0.5rem !important;
        padding: 1px 0 !important;
    }

    .algo-findings {
        flex: 1;
    }

    .findings-list {
        gap: 2px !important;
    }

    .finding-tag {
        padding: 2px 5px !important;
        font-size: 0.5rem !important;
        border-width: 1px !important;
    }

    .match-result {
        margin-top: 4px;
    }

    .match-label {
        font-size: 0.5rem !important;
        margin-bottom: 2px !important;
    }

    .match-value {
        font-size: 1.3rem !important;
        font-weight: 800 !important;
        line-height: 1;
    }

    /* Franchise */
    #franchise-canvas {
        height: 160px !important;
    }

    .franchise-info {
        margin-top: 10px !important;
        padding: 8px 10px !important;
        gap: 6px !important;
    }

    .franchise-name {
        font-size: 0.85rem !important;
    }

    .franchise-stats {
        gap: 12px !important;
    }

    .franchise-stat {
        font-size: 0.65rem !important;
    }

    .stat-num {
        font-size: 0.75rem !important;
    }

    /* Portability canvas */
    #portability-canvas {
        height: 160px !important;
    }

    /* Rating visual - keep side by side */
    #rating-canvas {
        height: 160px !important;
    }

    .rating-comparison {
        flex-direction: row !important;
        padding: 8px 6px;
        gap: 8px;
    }

    .rating-side {
        width: 50% !important;
        padding: 10px 6px;
    }

    .side-label {
        font-size: 0.6rem;
    }

    .rating-score {
        font-size: 1.6rem;
    }

    .rating-status {
        font-size: 0.6rem;
    }

    /* Contribution cards */
    .contrib-card {
        min-width: 180px;
        padding: 12px 16px;
    }

    .contrib-type {
        font-size: 0.6rem;
    }

    .contrib-title {
        font-size: 0.85rem;
    }

    /* Stats */
    .stat-dashboard {
        flex-direction: row !important;
        justify-content: space-around !important;
        gap: 8px !important;
    }

    .dash-value {
        font-size: 1.4rem !important;
    }

    .dash-label {
        font-size: 0.65rem !important;
    }

    /* Comparison section */
    .comparison-section {
        padding: 60px 16px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-label {
        font-size: 0.65rem !important;
    }

    .comparison-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .comparison-card {
        padding: 14px 12px !important;
    }

    .comparison-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 12px !important;
    }

    .comparison-list li {
        font-size: 0.75rem !important;
        padding: 8px 0 8px 22px !important;
        line-height: 1.4;
    }

    .comparison-list li::before {
        font-size: 0.8rem !important;
        left: 6px !important;
    }

    /* Numbers section */
    .numbers-section {
        padding: 60px 16px;
    }

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

    .number-suffix {
        font-size: 1.5rem;
    }

    /* CTA section */
    .cta-section {
        padding: 60px 16px 30px;
    }

    .cta-card {
        padding: 32px 20px;
    }

    .cta-card h2 {
        font-size: 1.75rem;
    }

    .cta-card p {
        font-size: 0.95rem;
    }

    .cta-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .cta-note {
        font-size: 0.75rem;
    }

    /* Background grid - hide on very small screens */
    .bg-grid-overlay {
        display: none;
    }
}

/* ===========================================
   Footer Override
   =========================================== */
/* Override body padding on about page to prevent extra space */
body:has(.about-page) {
    padding-bottom: 0 !important;
}

/* Give footer a solid background to cover the fixed gradient overlays */
.about-page ~ .footer {
    position: relative;
    z-index: 10;
    background: var(--bg-deep, #0a0a0f);
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 40px !important;
}

/* ===========================================
   Reduced Motion
   =========================================== */
@media (prefers-reduced-motion: reduce) {
    .hero-orb,
    .title-line.title-accent,
    .node-pulse,
    .branch-line::before,
    .contrib-card,
    .port-arrow,
    .ext-popup,
    .cta-glow,
    .cta-line,
    .hero-line,
    .particle {
        animation: none;
    }

    .feature-section,
    .comparison-section,
    .numbers-section,
    .cta-section {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-content,
    .hero-badge,
    .title-line,
    .hero-subtitle,
    .hero-cta {
        animation: none;
        opacity: 1;
    }

    .feature-highlights li {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .feature-visual {
        opacity: 1;
        transform: none;
    }
}
