﻿/* ============================================================
   PRINTER TEST PAGE â€” DESIGN SYSTEM
   Premium dark glassmorphism theme with vibrant gradients
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Colors */
    --bg-primary: #060b18;
    --bg-secondary: #0c1224;
    --bg-card: rgba(15, 23, 50, 0.6);
    --bg-card-hover: rgba(20, 30, 65, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.15);

    --text-primary: #f0f2f8;
    --text-secondary: #8892b0;
    --text-muted: #5a6380;

    --accent-cyan: #00d4ff;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-gold: #f59e0b;

    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #a855f7 50%, #ec4899 100%);
    --gradient-cta: linear-gradient(135deg, #00d4ff 0%, #3b82f6 100%);
    --gradient-cta-hover: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --fs-base: clamp(1rem, 0.9rem + 0.45vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 1rem + 0.55vw, 1.25rem);
    --fs-xl: clamp(1.25rem, 1.1rem + 0.65vw, 1.5rem);
    --fs-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
    --fs-3xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    --fs-hero: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);

    /* Spacing */
    --section-py: clamp(4rem, 3rem + 5vw, 8rem);
    --container-max: 1280px;
    --container-px: clamp(1.25rem, 1rem + 2vw, 3rem);

    /* Effects */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow-cyan: 0 0 40px rgba(0, 212, 255, 0.15);
    --shadow-glow-purple: 0 0 40px rgba(168, 85, 247, 0.15);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

kbd {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.85em;
    font-family: var(--font-family);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--accent-cyan);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-px);
}

.section {
    padding-block: var(--section-py);
    position: relative;
}

/* ---------- Section Headers ---------- */
.section__header {
    text-align: center;
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}

.section__tag {
    display: inline-block;
    padding: 6px 18px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.section__title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section__description {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    border: none;
}

.btn__icon {
    font-size: 1.2em;
}

.btn--primary {
    background: var(--gradient-cta);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn--primary:hover {
    background: var(--gradient-cta-hover);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.45);
    transform: translateY(-2px);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-glass-hover);
    backdrop-filter: blur(10px);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass-hover);
}

.btn--outline:hover {
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.08);
    transform: translateY(-2px);
}

.btn--sm {
    padding: 10px 24px;
    font-size: var(--fs-xs);
}

.btn--lg {
    padding: 18px 42px;
    font-size: var(--fs-base);
}

/* ---------- Header / Nav ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 11, 24, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: background var(--transition-base);
}

.header.scrolled {
    background: rgba(6, 11, 24, 0.95);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-lg);
    font-weight: 700;
    z-index: 1001;
}

.logo-icon {
    font-size: 1.5em;
}

.logo-accent {
    color: var(--accent-cyan);
}

.nav__list {
    display: flex;
    gap: 8px;
}

.nav__link {
    padding: 8px 16px;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav__link:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav__toggle,
.nav__close {
    display: none;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border-glass);
        padding: 100px 32px 32px;
        transition: right var(--transition-base);
        z-index: 1000;
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 4px;
    }

    .nav__link {
        display: block;
        padding: 14px 16px;
        font-size: var(--fs-base);
    }

    .nav__toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        z-index: 1001;
        padding: 8px;
    }

    .nav__toggle span {
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all var(--transition-fast);
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 24px;
        right: 24px;
        font-size: 1.5rem;
        color: var(--text-secondary);
    }
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 110px; /* Increased from 72px for more spacing under the fixed menu */
    overflow: hidden;
}

.hero__bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.hero__orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.hero__orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25), transparent 70%);
    bottom: 5%;
    left: -5%;
    animation-delay: -3s;
}

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

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent);
}

@keyframes float {

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

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    line-height: 1;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

.hero__title {
    font-size: var(--fs-hero);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero__description {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero__description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

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

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: var(--fs-2xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat__label {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat__divider {
    width: 1px;
    height: 40px;
    background: var(--border-glass-hover);
}

/* Hero Visual â€” Animated Card Stack */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__card-stack {
    position: relative;
    width: 340px;
    height: 440px;
    perspective: 1000px;
}

.hero__preview-card {
    position: absolute;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-slow);
}

.hero__preview-card--back {
    top: 20px;
    left: -20px;
    height: 380px;
    transform: rotate(-6deg);
    z-index: 1;
    opacity: 0.7;
}

.hero__preview-card--front {
    top: 0;
    left: 20px;
    height: 420px;
    transform: rotate(3deg);
    z-index: 2;
    animation: card-float 6s ease-in-out infinite;
}

@keyframes card-float {

    0%,
    100% {
        transform: rotate(3deg) translateY(0);
    }

    50% {
        transform: rotate(3deg) translateY(-12px);
    }
}

.hero__card-stack:hover .hero__preview-card--front {
    transform: rotate(0deg) translateY(-8px) scale(1.02);
}

.hero__card-stack:hover .hero__preview-card--back {
    transform: rotate(-2deg) translateX(-8px);
    opacity: 0.85;
}

.preview-header {
    display: flex;
    gap: 6px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-glass);
}

.preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.preview-dot--red {
    background: #ff5f57;
}

.preview-dot--yellow {
    background: #ffbd2e;
}

.preview-dot--green {
    background: #28ca42;
}

.preview-body {
    padding: 20px;
}

.preview-color-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.color-block {
    height: 50px;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-fast);
}

.color-block:hover {
    transform: scale(1.08);
}

.preview-gradient-bar {
    height: 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.preview-gradient-bar.color {
    background: linear-gradient(90deg, #00BCD4, #E91E63, #FFEB3B, #212121);
}

.preview-gradient-bar.bw {
    background: linear-gradient(90deg, #fff, #000);
}

.preview-text-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.line {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
}

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

.line--3q {
    width: 75%;
}

.line--half {
    width: 50%;
}

/* Hero scroll indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    animation: bob 2s ease-in-out infinite;
    z-index: 2;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

@keyframes bob {

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

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ---------- Test Pages Cards ---------- */
.test-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.test-card {
    position: relative;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.test-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glass-hover);
    background: var(--bg-card-hover);
}

.test-card__glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.test-card:hover .test-card__glow {
    opacity: 1;
}

.test-card__glow--color {
    background: radial-gradient(circle at 50% 80%, rgba(0, 212, 255, 0.06), transparent 50%);
}

.test-card__glow--bw {
    background: radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.04), transparent 50%);
}

.test-card__glow--align {
    background: radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.06), transparent 50%);
}

.test-card__glow--photo {
    background: radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.06), transparent 50%);
}

.test-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.test-card__title {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.test-card__desc {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.test-card__checks {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.5rem;
    font-size: var(--fs-xs);
    color: var(--text-secondary);
}

.test-card__checks li {
    color: var(--accent-green);
}

/* ---------- How It Works ---------- */
.how-it-works {
    background: var(--bg-secondary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    max-width: 1000px;
    margin-inline: auto;
}

.step {
    text-align: center;
    padding: 2.5rem 1.5rem;
    position: relative;
}

.step__number {
    font-size: var(--fs-3xl);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.step__title {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step__desc {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

.step__connector {
    position: absolute;
    top: 50%;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.step:last-child .step__connector {
    display: none;
}

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .step__connector {
        top: auto;
        bottom: -1rem;
        right: 50%;
        width: 2px;
        height: 2rem;
        transform: translateX(50%);
    }
}

/* ---------- Features Grid ---------- */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glass-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-glow-cyan);
}

.feature-card__icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.feature-card__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card__desc {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Brands Ticker ---------- */
.brands {
    padding-block: clamp(3rem, 2rem + 3vw, 5rem);
    overflow: hidden;
}

.brands__ticker {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.brands__track {
    display: flex;
    gap: 3rem;
    animation: ticker 25s linear infinite;
    width: max-content;
}

.brand-item {
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--text-muted);
    white-space: nowrap;
    letter-spacing: -0.02em;
    transition: color var(--transition-fast);
    user-select: none;
}

.brand-item:hover {
    color: var(--accent-cyan);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ---------- FAQ Section ---------- */
.faq__list {
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq__item:hover {
    border-color: var(--border-glass-hover);
}

.faq__item[open] {
    border-color: rgba(0, 212, 255, 0.2);
    background: var(--bg-card-hover);
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: var(--fs-base);
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: color var(--transition-fast);
    list-style: none;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::marker {
    content: '';
}

.faq__icon {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq__item[open] .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.8;
}

.faq__answer p {
    margin: 0;
}

/* ---------- Blog Grid ---------- */
.blog {
    background: var(--bg-secondary);
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-md);
}

.blog-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: var(--gradient-subtle);
}

.blog-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 14px;
    font-size: var(--fs-xs);
    font-weight: 600;
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent-cyan);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

.blog-card__content {
    padding: 24px;
}

.blog-card__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card__excerpt {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-card__link {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--accent-cyan);
    transition: gap var(--transition-fast);
}

.blog-card__link:hover {
    color: var(--accent-purple);
}

/* ---------- CTA Banner ---------- */
.cta-banner__card {
    position: relative;
    text-align: center;
    padding: clamp(3rem, 2.5rem + 3vw, 5rem);
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.cta-banner__bg-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12), rgba(168, 85, 247, 0.08), transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.cta-banner__title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-banner__desc {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-banner__actions {
    position: relative;
    z-index: 1;
}

/* ---------- Footer ---------- */
.footer {
    padding-top: clamp(3rem, 2rem + 4vw, 6rem);
    padding-bottom: 2rem;
    border-top: 1px solid var(--border-glass);
    background: var(--bg-secondary);
}

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

.footer__tagline {
    margin-top: 1rem;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 300px;
}

.footer__heading {
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--accent-cyan);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    text-align: center;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer__brand {
        grid-column: 1/-1;
    }
}

@media (max-width: 480px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Staggered reveals for cards */
.test-card.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.test-card.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.test-card.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.feature-card.reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.feature-card.reveal:nth-child(3) {
    transition-delay: 0.16s;
}

.feature-card.reveal:nth-child(4) {
    transition-delay: 0.24s;
}

.feature-card.reveal:nth-child(5) {
    transition-delay: 0.32s;
}

.feature-card.reveal:nth-child(6) {
    transition-delay: 0.4s;
}

.blog-card.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.blog-card.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.step.reveal:nth-child(2) {
    transition-delay: 0.15s;
}

.step.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

/* ---------- Responsive Hero ---------- */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero__description {
        margin-inline: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__card-stack {
        transform: scale(0.85);
        transform-origin: center bottom;
        margin-bottom: -20px;
    }
}

@media (max-width: 480px) {
    .hero__stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat__divider {
        width: 40px;
        height: 1px;
    }

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

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


    .test-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   NEW SECTIONS â€” Content Expansion Styles
   ============================================================ */

/* ---------- What Is Section ---------- */
.what-is {
    background: var(--bg-secondary);
}

.what-is__content {
    max-width: 900px;
    margin-inline: auto;
}

.what-is__text p {
    font-size: var(--fs-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.what-is__text strong {
    color: var(--text-primary);
}

.what-is__subtitle {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.what-is__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.what-is__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    list-style: none;
}

.what-is__list li strong {
    color: var(--text-primary);
}

.what-is__check {
    color: var(--accent-green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---------- How to Print Guide ---------- */
.how-to-print {
    background: var(--bg-secondary);
}

.how-to__guides {
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guide__item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.guide__item:hover {
    border-color: var(--border-glass-hover);
}

.guide__item[open] {
    border-color: rgba(0, 212, 255, 0.2);
    background: var(--bg-card-hover);
}

.guide__question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    font-size: var(--fs-base);
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.guide__question::-webkit-details-marker {
    display: none;
}

.guide__question::marker {
    content: '';
}

.guide__platform-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.guide__question .faq__icon {
    margin-left: auto;
}

.guide__item[open] .faq__icon {
    transform: rotate(45deg);
}

.guide__answer {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.8;
}

.guide__answer h4 {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.guide__answer h4:first-child {
    margin-top: 0;
}

.guide__answer p {
    margin-bottom: 0.75rem;
}

.guide__steps {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.guide__steps li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.guide__brand-list {
    padding-left: 0;
    margin-bottom: 1rem;
}

.guide__brand-list li {
    list-style: none;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.guide__brand-list li::before {
    content: '\2022';
    position: absolute;
    left: 0.25rem;
    color: var(--accent-cyan);
}

.guide__code {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    overflow-x: auto;
    margin: 0.75rem 0;
    font-size: var(--fs-xs);
}

.guide__code code {
    font-family: 'Courier New', Consolas, monospace;
    color: var(--accent-cyan);
}

/* ---------- Troubleshooting Section ---------- */
.troubleshooting {
    background: var(--bg-primary);
}

.troubleshoot__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.troubleshoot-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.troubleshoot-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glass-hover);
    background: var(--bg-card-hover);
}

.troubleshoot-card__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.troubleshoot-card__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.troubleshoot-card__clue,
.troubleshoot-card__cause,
.troubleshoot-card__fix {
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.troubleshoot-card__clue strong,
.troubleshoot-card__cause strong {
    color: var(--text-primary);
}

.troubleshoot-card__fix strong {
    color: var(--accent-green);
}

.troubleshoot__tip {
    max-width: 800px;
    margin-inline: auto;
    padding: 20px 24px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-md);
    text-align: center;
}

.troubleshoot__tip p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin: 0;
}

.troubleshoot__tip strong {
    color: var(--accent-cyan);
}

/* ---------- Windows Errors Section ---------- */
.win-errors {
    background: var(--bg-secondary);
}

.errors__content {
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.error-item {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
}

.error-item__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.error-item p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.error-item__steps {
    padding-left: 1.25rem;
}

.error-item__steps li {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.error-item code {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.9em;
    padding: 2px 8px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 4px;
    color: var(--accent-cyan);
}

/* ---------- Compatibility Section ---------- */
.compatibility {
    background: var(--bg-primary);
    overflow: hidden;
}

.compat__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 1rem;
}

.compat-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.compat-card:hover {
    border-color: var(--border-glass-hover);
    background: var(--bg-card-hover);
}

.compat-card__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.compat-card__list {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ---------- Responsive for new sections ---------- */
@media (max-width: 768px) {
    .troubleshoot__grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .guide__question {
        padding: 16px 18px;
        font-size: var(--fs-sm);
    }

    .guide__answer {
        padding: 0 18px 18px;
    }

    .error-item {
        padding: 20px;
    }

    .troubleshoot-card {
        padding: 22px 18px;
    }
}
