/* ===== CSS Variables ===== */
:root {
    /* Surfaces */
    --bg-primary: #ffffff;
    --bg-secondary: #f4f6fa;
    --bg-tertiary: #e9edf4;
    --bg-card: #ffffff;

    /* Brand Ã¢â‚¬â€ deep navy ink with a tealÃ¢â€ â€™cyan accent */
    --ink: #0f2c5c;
    --accent-primary: #1b4f9c;
    --accent-light: #2e6fd0;
    --accent-dark: #0f2c5c;
    --accent-soft: rgba(27, 79, 156, 0.10);
    --accent-softer: rgba(27, 79, 156, 0.05);
    --accent-gradient: linear-gradient(135deg, #0f2c5c 0%, #2e6fd0 55%, #3a8ae8 100%);

    /* Category colors */
    --amazon-primary: #ea580c;
    --amazon-soft: rgba(234, 88, 12, 0.10);
    --ebay-primary: #e53238;
    --ebay-soft: rgba(229, 50, 56, 0.10);
    --tcg-primary: #7c3aed;
    --tcg-soft: rgba(124, 58, 237, 0.10);
    --freight-primary: #1b4f9c;
    --freight-soft: rgba(27, 79, 156, 0.10);

    /* Text */
    --text-primary: #14213d;
    --text-secondary: #4e545e;
    --text-muted: #7b8394;
    --text-inverse: #ffffff;

    /* Lines */
    --border-color: #e0e5ee;
    --border-light: #c7cfdd;

    /* Elevation Ã¢â‚¬â€ soft, navy-tinted */
    --shadow-sm: 0 1px 2px rgba(15, 44, 92, 0.04), 0 1px 3px rgba(15, 44, 92, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 44, 92, 0.06), 0 2px 4px rgba(15, 44, 92, 0.04);
    --shadow-lg: 0 18px 40px rgba(15, 44, 92, 0.10), 0 4px 12px rgba(15, 44, 92, 0.05);
    --shadow-xl: 0 28px 60px rgba(15, 44, 92, 0.13), 0 8px 20px rgba(15, 44, 92, 0.06);
    --shadow-accent: 0 20px 45px rgba(27, 79, 156, 0.18);

    --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

::selection {
    background: var(--accent-primary);
    color: #fff;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    z-index: 1200;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: var(--accent-gradient);
    will-change: transform;
}

/* ===== Generic Scroll Reveal ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
    transition:
        opacity 0.75s var(--ease-out-soft),
        transform 0.75s var(--ease-out-soft),
        filter 0.75s var(--ease-out-soft);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: padding var(--transition-base), background var(--transition-base),
                border-color var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.88);
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.nav-logo:hover { color: var(--accent-dark); }

.nav-logo-img {
    height: 30px;
    width: auto;
    transition: transform 0.4s var(--ease-spring);
}

.nav-logo:hover .nav-logo-img { transform: rotate(-6deg) scale(1.06); }

.nav-links {
    display: flex;
    gap: 34px;
    margin-left: auto;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-base);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: transform 0.3s var(--ease-spring), box-shadow var(--transition-base),
                background var(--transition-base);
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 150px 24px 90px;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Soft animated gradient mesh */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Radial gradients already fade to transparent, so these need only a light
   blur to soften the banding Ã¢â‚¬â€ a large blur radius here is what makes the
   hero expensive to composite while the drift animations run. */
.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.6;
}

.hero-bg::before {
    width: 520px;
    height: 520px;
    top: -180px;
    left: -110px;
    background: radial-gradient(circle, rgba(46, 111, 208, 0.32), transparent 70%);
    animation: drift1 22s ease-in-out infinite;
}

.hero-bg::after {
    width: 480px;
    height: 480px;
    bottom: -170px;
    right: -90px;
    background: radial-gradient(circle, rgba(58, 138, 232, 0.28), transparent 70%);
    animation: drift2 26s ease-in-out infinite;
}

@keyframes drift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(90px, 60px) scale(1.12); }
}

@keyframes drift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-80px, -50px) scale(1.08); }
}

/* Faint dot grid for depth */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(15, 44, 92, 0.07) 1px, transparent 0);
    background-size: 34px 34px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 78%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-logo {
    width: 260px;
    height: auto;
    margin-bottom: 26px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 12px 24px rgba(15, 44, 92, 0.16));
}

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: var(--accent-soft);
    border: 1px solid rgba(27, 79, 156, 0.2);
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 26px;
}

.hero-eyebrow .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-light);
    box-shadow: 0 0 0 0 rgba(46, 111, 208, 0.6);
    animation: dotPulse 2.2s ease-out infinite;
}

@keyframes dotPulse {
    0%   { box-shadow: 0 0 0 0 rgba(46, 111, 208, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(46, 111, 208, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 111, 208, 0); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
    color: var(--text-primary);
}

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

/* Word-by-word mask reveal */
.reveal-line {
    display: block;
    overflow: hidden;
}

.reveal-word {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.9s var(--ease-out-soft), opacity 0.9s var(--ease-out-soft);
}

.reveal-word.is-in {
    transform: translateY(0);
    opacity: 1;
}

.tagline {
    font-size: 1.12rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--accent-gradient);
    background-size: 180% 180%;
    border: none;
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: var(--shadow-accent);
    transition: transform 0.35s var(--ease-spring), box-shadow var(--transition-base),
                background-position 0.6s ease;
    will-change: transform;
}

.cta-button:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow: 0 26px 55px rgba(27, 79, 156, 0.28);
}

.cta-button svg {
    width: 17px;
    height: 17px;
    transition: transform var(--transition-base);
}

/* Icon leads the label now, so nudging it right would open a gap — scale instead. */
.cta-button:hover svg { transform: scale(1.1); }

.cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    box-shadow: none;
}

.cta-button.secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-dark);
    background: var(--accent-softer);
    box-shadow: var(--shadow-sm);
}

/* Hero stat bar */
.hero-stats {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 22px 42px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.stat { text-align: center; }

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 42px;
    background: var(--border-color);
}

/* NB: keep `display: block` Ã¢â‚¬â€ .stat-value sets it, and an inline-block here
   would let .stat-label ride up onto the same line. */
.live-value {
    display: block;
    transition: transform var(--transition-base);
}

.live-value.updating { animation: tickerUpdate 0.36s ease; }

@keyframes tickerUpdate {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.045); color: var(--accent-dark); }
    100% { transform: scale(1); }
}

/* Scroll cue */
.scroll-indicator {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-line {
    width: 26px;
    height: 42px;
    border: 1.5px solid var(--border-light);
    border-radius: 14px;
    position: relative;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 3px;
    height: 7px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--accent-primary);
    animation: scrollDot 1.9s ease-in-out infinite;
}

@keyframes scrollDot {
    0%   { opacity: 0; transform: translateY(0); }
    35%  { opacity: 1; }
    75%  { opacity: 0; transform: translateY(15px); }
    100% { opacity: 0; }
}

/* ===== Capability Marquee ===== */
.marquee {
    padding: 26px 0;
    background: var(--ink);
    overflow: hidden;
    position: relative;
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 110px;
    z-index: 2;
    pointer-events: none;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--ink), transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--ink), transparent);
}

.marquee-track {
    display: flex;
    gap: 46px;
    width: max-content;
    animation: marqueeScroll 34s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
}

.marquee-item::after {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-light);
    opacity: 0.75;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== Section Styles ===== */
section { padding: 110px 0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-dark);
    margin-bottom: 16px;
    padding: 6px 15px;
    background: var(--accent-soft);
    border: 1px solid rgba(27, 79, 156, 0.18);
    border-radius: 100px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.6vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.18;
    color: var(--text-primary);
}

.section-header .section-sub {
    margin-top: 16px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ===== About ===== */
.about { background: var(--bg-secondary); }

.about-content {
    max-width: 820px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-content p {
    font-size: 1.06rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.85;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.45s var(--ease-spring),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    will-change: transform;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-color, var(--accent-primary));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.45s var(--ease-out-soft);
}

/* Cursor-tracked spotlight */
.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 200px at var(--mouse-x, 50%) var(--mouse-y, 50%),
                var(--brand-soft, var(--accent-soft)) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-light);
}

.stat-card:hover::before { transform: scaleX(1); }
.stat-card:hover::after  { opacity: 1; }

.stat-card[data-brand="amazon"]  { --brand-color: var(--amazon-primary);  --brand-soft: var(--amazon-soft); }
.stat-card[data-brand="ebay"]    { --brand-color: var(--ebay-primary);    --brand-soft: var(--ebay-soft); }
.stat-card[data-brand="tcg"]     { --brand-color: var(--tcg-primary);     --brand-soft: var(--tcg-soft); }
.stat-card[data-brand="freight"] { --brand-color: var(--freight-primary); --brand-soft: var(--freight-soft); }

.stat-card-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--brand-color, var(--accent-primary));
    background: var(--brand-soft, var(--accent-soft));
    transition: transform 0.4s var(--ease-spring);
}

.stat-card-icon svg { width: 21px; height: 21px; }
.stat-card:hover .stat-card-icon { transform: scale(1.1) rotate(-5deg); }

.stat-card-value {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand-color, var(--text-primary));
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.stat-card-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.stat-card-note {
    margin-top: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Services ===== */
.services { background: var(--bg-primary); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.45s var(--ease-spring),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    will-change: transform;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 240px at var(--mouse-x, 50%) var(--mouse-y, 50%),
                var(--accent-softer) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(27, 79, 156, 0.35);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::after { opacity: 1; }

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: #fff;
    background: var(--accent-gradient);
    box-shadow: 0 8px 18px rgba(27, 79, 156, 0.25);
    transition: transform 0.4s var(--ease-spring);
}

.service-icon svg { width: 23px; height: 23px; }
.service-card:hover .service-icon { transform: translateY(-3px) scale(1.06); }

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 11px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.72;
}

.service-meta {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

/* ===== Process ===== */
.process { background: var(--bg-secondary); }

.process-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}

/* Rail that fills as you scroll */
.process-rail {
    position: absolute;
    top: 27px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.process-rail-fill {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 1.1s var(--ease-out-soft);
}

.process-rail-fill.is-filled { transform: scaleX(1); }

.process-step {
    position: relative;
    text-align: center;
    padding: 0 8px;
}

.process-node {
    width: 54px;
    height: 54px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    transition: transform 0.55s var(--ease-spring), background 0.45s ease,
                border-color 0.45s ease, color 0.45s ease, box-shadow 0.45s ease;
}

.process-step.is-visible .process-node {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 12px 26px rgba(27, 79, 156, 0.25);
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.process-step p {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Testimonials ===== */
.testimonials { background: var(--bg-primary); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.35s ease, border-color 0.35s ease;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--cat-color, var(--accent-primary));
    transform: scaleY(0);
    transform-origin: 50% 0;
    transition: transform 0.5s var(--ease-out-soft);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-lg);
}

.testimonial-card:hover::before { transform: scaleY(1); }

.testimonial-card[data-cat="amazon"]  { --cat-color: var(--amazon-primary); }
.testimonial-card[data-cat="ebay"]    { --cat-color: var(--ebay-primary); }
.testimonial-card[data-cat="tcg"]     { --cat-color: var(--tcg-primary); }
.testimonial-card[data-cat="freight"] { --cat-color: var(--freight-primary); }

.testimonial-cat {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    padding: 4px 11px;
    border-radius: 100px;
    margin-bottom: 18px;
    color: var(--cat-color, var(--accent-dark));
    background: color-mix(in srgb, var(--cat-color, #1b4f9c) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--cat-color, #1b4f9c) 22%, transparent);
}

.testimonial-content {
    flex: 1;
    margin-bottom: 22px;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    color: #f59e0b;
}

.testimonial-content p {
    font-size: 0.97rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--cat-color, var(--accent-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.92rem;
    color: #fff;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.83rem;
    color: var(--text-muted);
}

/* ===== Contact ===== */
.contact { background: var(--bg-secondary); }

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-info > p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.75;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), border-color var(--transition-base),
                box-shadow var(--transition-base);
}

.contact-item:hover {
    border-color: rgba(27, 79, 156, 0.4);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    color: var(--accent-dark);
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.contact-label {
    font-size: 0.74rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 600;
}

.contact-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    word-break: break-word;
}

/* Contact visual panel */
.contact-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 56px 40px;
    background: var(--ink);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.contact-visual::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 111, 208, 0.32), transparent 68%);
    filter: blur(60px);
    top: -140px;
    right: -120px;
    animation: drift1 20s ease-in-out infinite;
}

.contact-visual-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* The logo's inner highlights are keyed transparent, so it needs a light
   ground to sit on — hence the white card inside the navy panel. */
.contact-logo-card {
    display: inline-block;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 26px 34px;
    margin-bottom: 26px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.contact-logo {
    display: block;
    width: 236px;
    height: auto;
}

.contact-visual-inner h3 {
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.contact-visual-inner p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 300px;
    margin: 0 auto;
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.footer-logo { height: 26px; width: auto; }

.footer-links { display: flex; gap: 30px; }

.footer-links a {
    font-size: 0.89rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover { color: var(--accent-dark); }

.footer-copyright p {
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .stats-grid       { grid-template-columns: repeat(2, 1fr); }
    .services-grid    { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid{ grid-template-columns: repeat(2, 1fr); }

    .process-track { grid-template-columns: repeat(2, 1fr); row-gap: 46px; }
    .process-rail  { display: none; }

    .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }
    .contact-visual  { order: -1; padding: 44px 32px; }
}

@media (max-width: 768px) {
    section { padding: 84px 0; }

    .nav-links { display: none; }
    .nav-cta { padding: 9px 16px; font-size: 0.8rem; }

    .hero { padding: 132px 20px 76px; }
    .hero-stats { flex-direction: column; gap: 22px; padding: 26px 34px; width: 100%; }
    .stat-divider { width: 56px; height: 1px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .cta-button { justify-content: center; }

    .stats-grid, .services-grid, .testimonials-grid, .process-track {
        grid-template-columns: 1fr;
    }

    .footer-content { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-logo { width: 74px; }
    .marquee-track { gap: 30px; }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] { opacity: 1; transform: none; filter: none; }
    .reveal-word  { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
}
