*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0d1b2e;
    --blue: #1E90FF;
    --blue-light: #3b82f6;
    --gold: #c49a0a;
    --gold-bg: #fef3c7;
    --red: #ef4444;
    --cream: #fdf8f0;
    --bg-light: #f3f4f8;
    --white: #ffffff;
    --text: #1a1a2e;
    --muted: #6b7280;
    --border: #e5e7eb;
    --radius: 14px;
    --color-primary: #1A2E4A;
    --color-accent: #c80024;
    --color-accent-blue: #1E90FF;
    --color-dark: #0D1B2A;
    --color-light-bg: #F7F9FB;
    --color-cream-bg: #fdf0f0;
    --color-white: #FFFFFF;
    --color-text: #2C3E50;
    --color-text-muted: #6B7C93;
    --color-border: #E2E8F0;
    --color-gold: #F5A623;
    --font-display: 'Inter', 'Helvetica Neue', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 96px;
    --container-max: 1200px;
    --container-wide: 1400px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.25s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── EYEBROW LABEL ── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-accent-blue) !important;
    margin-bottom: 0% !important;
}

.eyebrow::before {
    content: '✦';
    font-size: 13px;
    color: inherit;
}

/* ════════════════════════════════
    HERO
════════════════════════════════ */
.hero {
    background: linear-gradient(160deg, #f8faff 0%, #eef2ff 100%);
    padding: 60px 0 10px;
    min-height: 560px !important;
}

.hero .container {
    position: relative;
    z-index: 2;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.hero-badge svg {
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(36px, 4.5vw, 46px);
    font-weight: 700;
    line-height: 1.13;
    color: var(--navy);
    margin-bottom: 20px;
}

.hero h1 .accent {
    color: var(--blue);
}

.hero-desc {
    font-size: 16px;
    color: var(--muted);
    max-width: 400px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: var(--white);
    padding: 13px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}

.btn-primary:hover {
    background: #162236;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-sm);
    padding: 13px 32px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn--primary {
    background: var(--color-accent-blue);
    color: var(--color-white);
    box-shadow: 0 12px 30px rgba(30, 144, 255, 0.24);
}

.btn--primary:hover {
    background: #007ae6;
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(30, 144, 255, 0.32);
    color: var(--color-white);
}

.btn--outline {
    background: transparent;
    border-color: var(--color-accent-blue);
    color: var(--color-accent-blue);
}

.btn--outline:hover {
    background: rgba(30, 144, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(30, 144, 255, 0.12);
    color: var(--color-accent-blue);
}

.btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn__icon--play {
    width: 14px;
    height: 14px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn__icon--arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn__icon--play svg {
    width: 100%;
    height: 100%;
    display: block;
}

.btn__icon--arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}

.btn:hover .btn__icon--play {
    transform: translateX(2px) scale(1.1);
}

.btn:hover .btn__icon--arrow {
    transform: translateX(2px) translateY(-2px) scale(1.1);
}

.btn--red {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 18px 40px rgba(232, 54, 42, 0.18);
}

.btn--red:hover {
    background: #a61f15;
    transform: translateY(-1px);
    color: var(--color-white);
}

.btn--gold {
    background: var(--color-gold);
    color: var(--color-primary);
}

.btn--ghost {
    background: transparent;
    border-color: var(--color-accent-blue);
    color: var(--color-accent-blue);
}

.btn--ghost:hover {
    background: #1567d8;
    color: var(--color-white);
}

.btn--sm {
    padding: 10px 24px;
    font-size: 0.88rem;
    border-radius: 999px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 13px 4px;
}

.btn-ghost:hover {
    color: var(--blue);
}

.hero-image {
    background: #f8fafc;
    border-radius: 24px;
    aspect-ratio: 4/3;
    display: flex;
    padding: 16px;
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 540px;
    justify-self: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), 0 3px 10px rgba(0, 0, 0, 0.02);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* ════════════════════════════════
    PAIN POINTS
════════════════════════════════ */
/* ════════════════════════════════
    PAIN POINTS
════════════════════════════════ */
.pain-section {
    background: #f8faff;
    padding: 46px 0 80px;
}

.pain-section .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}



.pain-section .section-header h2 {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
}

.pain-section .section-header h2 .accent {
    color: var(--color-accent-blue);
}

.pain-section .section-header .sub-header {
    font-size: 16px;
    color: var(--muted);
    max-width: 600px;
    line-height: 1.6;
}

/* Redesigned Card Table */
.pain-table-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.pain-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    background: var(--white);
}

.pain-row:last-child {
    border-bottom: none;
}

.pain-row--header {
    background: #fafafa;
}

.pain-col {
    padding: 36px 48px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pain-col--challenge {
    border-right: 1px solid #e2e8f0;
}

/* Header Icons (Solid inside ring) */
.header-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-icon-wrapper.red {
    background: #fee2e2;
}

.header-icon-wrapper.red svg {
    width: 32px;
    height: 32px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    padding: 7px;
}

.header-icon-wrapper.blue {
    background: #dbeafe;
}

.header-icon-wrapper.blue svg {
    width: 32px;
    height: 32px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    padding: 7px;
}

.pain-col h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.pain-col--challenge h3 {
    color: #ef4444;
}

.pain-col--solution h3 {
    color: #2563eb;
}

.pain-col .col-sub {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

/* Item Squircles */
.item-icon-wrapper {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-icon-wrapper.red {
    background: #fff1f2;
    color: #ef4444;
}

.item-icon-wrapper.blue {
    background: #eff6ff;
    color: #2563eb;
}

.item-icon-wrapper svg {
    width: 22px;
    height: 22px;
    stroke-width: 2px;
}

/* Content Details */
.pain-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.35;
}

.pain-col p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

/* Transition Arrow */
.pain-arrow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 10;
    transition: transform 0.25s ease;
}

.pain-row:hover .pain-arrow {
    transform: translate(-50%, -50%) scale(1.1);
    color: #2563eb;
    border-color: #dbeafe;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.pain-arrow svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .pain-row {
        grid-template-columns: 1fr;
    }

    .pain-col {
        padding: 24px;
    }

    .pain-col--challenge {
        border-right: none;
        border-bottom: 1px dashed #e2e8f0;
    }

    .pain-arrow {
        display: none;
    }

    .pain-row--header {
        display: none;
    }
}

/* ════════════════════════════════
    PLATFORM FEATURES
════════════════════════════════ */
.features-section {
    background: var(--white);
    padding: 60px 0;
}

.section-header .sub {
    font-size: 15px;
    color: var(--muted);
    margin-top: 12px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.features-section .section-header {
    margin-bottom: 40px !important;
    max-width: 800px !important;
}

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

.feat-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--white);
    position: relative;
}

.feat-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--blue);
    background: #eff6ff;
    border-radius: 4px;
    padding: 2px 7px;
}

.feat-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    font-size: 1.4rem;
    border-radius: 12px;
    background: #E6F1FF;
    color: var(--color-accent-blue);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feat-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.feat-card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
}

/* ════════════════════════════════
    TRUEBUCKS LOYALTY
════════════════════════════════ */
.loyalty-section {
    background: linear-gradient(135deg, #3a8dfd 0%, #2575fc 100%) !important;
    padding: 96px 24px;
    text-align: center;
    color: var(--white);
}

.loyalty-section .eyebrow {
    color: rgba(255, 255, 255, 0.85) !important;
    justify-content: center;
}

.loyalty-section h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.loyalty-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.75;
}

.btn--white {
    background: var(--white);
    color: var(--color-accent-blue);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.btn--white:hover {
    background: #f8fafc;
    color: var(--color-accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
}

/* ════════════════════════════════
    CASE STUDY
════════════════════════════════ */
.case-section {
    background: var(--white);
    padding: 72px 0;
}

.case-card {
    background: var(--navy);
    border-radius: 20px;
    padding: 52px 52px 52px 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.case-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 20px;
}

.case-quote {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
    margin-bottom: 16px;
}

.case-attr {
    font-size: 13px;
    color: #ffffff;
    margin-bottom: 28px;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, .3);
    color: var(--white);
    padding: 11px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}

.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, .05);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.stat-box {
    background: rgba(255, 255, 255, .07);
    border-radius: 12px;
    padding: 22px 20px;
    text-align: center;
}

.stat-box .num {
    font-size: 32px;
    font-weight: 800;
    color: var(--blue-light);
    line-height: 1;
    margin-bottom: 6px;
    font-family: 'Georgia', serif;
}

.stat-box .lbl {
    font-size: 12px;
    color: #e4e8ef;
    line-height: 1.35;
}

/* ════════════════════════════════
    FINAL CTA
════════════════════════════════ */
.cta-section {
    background: var(--bg-light);
    padding: 96px 24px;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
}

.cta-section p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 32px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {

    .hero-inner,
    .pain-grid,
    .features-grid,
    .case-card {
        grid-template-columns: 1fr;
    }

    .hero-image {
        aspect-ratio: 16/9;
    }

    .case-card {
        padding: 36px 28px;
        gap: 36px;
    }

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

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

/* ════════════════════════════════
    PREMIUM ANIMATIONS SYSTEM
════════════════════════════════ */

/* Smooth Scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* 1. Global Entrance Transitions (Using cubic-bezier easeOutQuart) */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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



/* Reveal scale-down zoom for image containers */
.reveal-zoom {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

/* Horizontal slide reveal classes (Pain Points) */
.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Scaled reveal class (Pain Row Transition Circles) */
.reveal-scale {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
    transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}

.reveal-scale.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Dynamic CSS Stagger Variable Delay handler */
.stagger-item {
    transition-delay: calc(var(--delay, 0) * 1ms);
}

/* 2. Premium Hover Effects & Transformations */

/* Feature cards translation, shadows, and subtle border glow */
.feat-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.feat-card:hover {
    border: 2px solid var(--color-accent-blue);
    box-shadow: 0 32px 80px rgba(30, 144, 255, 0.18);
    transform: translateY(-6px);
}

.feat-card:hover .feat-icon {
    transform: scale(1.05);
}

.feat-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    font-size: 1.4rem;
    border-radius: 12px;
    background: #E6F1FF;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Statistics box hover scaling and subtle background highlight */
.stat-box {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.stat-box:hover {
    transform: scale(1.02);
    background-color: rgba(255, 255, 255, 0.12);
}

/* Case study section hover zoom & brightened background */
.case-card {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.case-card:hover {
    transform: scale(1.01);
    background-color: #122238;
    /* Slight brightening */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Hero image floating animation and inner zoom transitions */
@keyframes heroImageFloat {
    0% {
        transform: translateY(0px);
    }

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

    100% {
        transform: translateY(0px);
    }
}

.hero-image {
    /* animation: heroImageFloat 6s ease-in-out infinite; */
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-image:hover {
    animation-play-state: paused;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.hero-image img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image:hover img {
    transform: scale(1.03);
}

/* Text link left-to-right underline micro-interaction */
.btn-ghost {
    position: relative;
    overflow: hidden;
}

.btn-ghost::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 4px;
    width: calc(100% - 8px);
    height: 1.5px;
    background-color: var(--color-accent-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-ghost:hover::after {
    transform: scaleX(1);
}

.site-header .btn {
    padding: 10px 24px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* 3. Accessibility / Reduced Motion preference */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-heading,
    .reveal-zoom,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .feat-card,
    .stat-box,
    .case-card,
    .hero-image,
    .hero-image img {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
        clip-path: none !important;
    }

    html {
        scroll-behavior: auto !important;
    }
}