*,
*::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 0;
    min-height: 560px !important;
}

.hero .container {
    position: relative;
    z-index: 2;
    min-height: 450px;
    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-section {
    background: #f8faff;
    padding: 48px 0 96px;
}

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



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

.pain-section .section-header h2 .accent {
    color: #2563eb;
}

.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
════════════════════════════════ */
.section-header {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    max-width: 800px !important;

}

.features-section {
    background: var(--white);
    padding: 88px 0 120px;
}

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

.feature-header .section-header {
    margin-bottom: 30px !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 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: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--blue);
}

.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: var(--color-accent-blue);
    padding: 96px 24px;
    text-align: center;
    color: var(--white);
}

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

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

.loyalty-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 480px;
    margin: 0 auto 36px;
    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: #94a3b8;
    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: #94a3b8;
    line-height: 1.35;
}

/* ════════════════════════════════
    FINAL CTA
════════════════════════════════ */
.fd-cta-section {
    background: linear-gradient(-45deg, #3a8dfd, #2575fc, #1e90ff, #0a58ca) !important;
    background-size: 400% 400% !important;
    animation: gradientMove 15s ease infinite !important;
    padding: 96px 24px;
    text-align: center;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.fd-cta-section p {
    font-size: 15px;
    color: var(--bg-light);
    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(-8px);
}

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

.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);
}


/* 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 {
    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);
}

/* 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;
    }
}

/* Request a Demo Modal CSS Starts here.*/
.demo-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.demo-modal.is-open {
    display: flex;
}

.demo-modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 17, 25, 0.72);
    backdrop-filter: blur(6px);
    z-index: 0;
}

.demo-modal__box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem 1.5rem 1.25rem;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28);
    scrollbar-width: none;
}

.demo-modal__box::-webkit-scrollbar {
    display: none;
}

.demo-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f3f4f6;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
    z-index: 2;
}

.demo-modal__close:hover {
    background: #e5e7eb;
    color: #111;
}

.demo-modal__header {
    margin-bottom: 1.25rem;
    padding-right: 2rem;
}

.demo-modal__badge {
    display: inline-block;
    background: rgba(229, 49, 32, 0.1);
    color: #e53120;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 0.6rem;
}

.demo-modal__badge--blue {
    background: rgba(30, 144, 255, 0.1);
    color: #1e90ff;
}

.demo-modal__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.demo-modal__subtitle {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0;
}

/* ── WPForms overrides inside modal ─────────────────────── */
.demo-modal .wpforms-form {
    margin: 0 !important;
}

.demo-modal .wpforms-field-container {
    margin: 0 !important;
}

.demo-modal .wpforms-field {
    margin-bottom: 0.85rem !important;
    padding: 0 !important;
}

.demo-modal .wpforms-field label.wpforms-field-label {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 5px !important;
    display: block !important;
}

.demo-modal .wpforms-required-label {
    color: #e53120 !important;
}

.demo-modal .wpforms-form input[type="text"],
.demo-modal .wpforms-form input[type="email"],
.demo-modal .wpforms-form input[type="tel"],
.demo-modal .wpforms-form input[type="number"],
.demo-modal .wpforms-form input[type="url"],
.demo-modal .wpforms-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 9px 12px !important;
    font-size: 0.88rem !important;
    color: #111827 !important;
    background: #f9fafb !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-shadow: none !important;
    outline: none !important;
    height: auto !important;
}

.demo-modal .wpforms-form input:focus,
.demo-modal .wpforms-form textarea:focus {
    border-color: #1e90ff !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.12) !important;
}

.demo-modal .wpforms-field-name .wpforms-field-row {
    display: flex !important;
    gap: 0.6rem !important;
}

.demo-modal .wpforms-field-name .wpforms-field-row-block {
    flex: 1 !important;
}

.demo-modal .wpforms-field-sublabel {
    font-size: 0.72rem !important;
    color: #9ca3af !important;
    margin-top: 3px !important;
    display: block !important;
}

.demo-modal input[type="number"]::-webkit-inner-spin-button,
.demo-modal input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
}

.demo-modal input[type="number"] {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

.demo-modal .wpforms-submit-container {
    margin-top: 1rem !important;
    padding: 0 !important;
}

.demo-modal .wpforms-form .wpforms-submit {
    width: 100% !important;
    background: #e53120 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 11px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s, transform 0.15s !important;
    letter-spacing: 0.01em !important;
}

.demo-modal .wpforms-form .wpforms-submit:hover {
    background: #c0281a !important;
    transform: translateY(-1px) !important;
}

#sales-modal .wpforms-form .wpforms-submit {
    background: #e53120 !important;
}

#sales-modal .wpforms-form .wpforms-submit:hover {
    background: #c0281a !important;
}

.demo-modal .wpforms-error-container,
.demo-modal label.wpforms-error {
    color: #e53120 !important;
    font-size: 0.78rem !important;
    margin-top: 3px !important;
}

.demo-modal .wpforms-confirmation-container-full {
    text-align: center;
    padding: 1.5rem 0;
    color: #111827;
    font-size: 0.95rem;
}

/* ── Email & Phone Fields Side-by-Side ────────────────────────── */
.demo-modal .wpforms-form {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 16px !important;
    align-items: start !important;
}

/* All fields span full width by default */
.demo-modal .wpforms-field {
    grid-column: 1 / -1 !important;
    margin-bottom: 0.85rem !important;
    padding: 0 !important;
}

/* Force date/time field to use full modal width and avoid half-column clipping */
.demo-modal .wpforms-field-date-time,
.demo-modal .wpforms-field-date-time .wpforms-field-row,
.demo-modal .wpforms-field-date-time .wpforms-field-row-block,
.demo-modal .wpforms-field-date-time .wpforms-datepicker-wrap,
.demo-modal .wpforms-field-date-time .wpforms-datepicker-wrap input,
.demo-modal .wpforms-field-date-time .wpforms-datepicker-wrap .wpforms-date-datepicker {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.demo-modal .wpforms-field-date-time .wpforms-datepicker-wrap {
    margin-bottom: 0.5rem !important;
}

.demo-modal .wpforms-field-date-time .wpforms-datepicker-clear {
    right: 12px !important;
}

.demo-modal .flatpickr-input,
.demo-modal .wpforms-form .wpforms-field-date-time-date {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.demo-modal .flatpickr-calendar,
.demo-modal .wpforms-form .choices .choices__list--dropdown {
    z-index: 100000 !important;
}

/* Email field: first column only */
.demo-modal .wpforms-field-email {
    grid-column: 1 !important;
    width: 100% !important;
    margin-bottom: 0.85rem !important;
}

/* Phone field: second column only */
.demo-modal .wpforms-field-tel {
    grid-column: 2 !important;
    width: 100% !important;
    margin-bottom: 0.85rem !important;
}

/* Make inputs and wrappers fill their grid cells */
.demo-modal .wpforms-field-email input,
.demo-modal .wpforms-field-tel input,
.demo-modal .wpforms-field-container,
.demo-modal .wpforms-field,
.demo-modal .wpforms-field-row,
.demo-modal .wpforms-field-row-block,
.demo-modal .wpforms-form select,
.demo-modal .wpforms-form .choices .choices__inner,
.demo-modal .wpforms-form .choices .choices__input--cloned,
.demo-modal .wpforms-form .choices .choices__input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Ensure submit button and submit container span full width of the grid */
.demo-modal .wpforms-submit-container,
.demo-modal .wpforms-form .wpforms-submit {
    grid-column: 1 / -1 !important;
    width: 91% !important;
}

/* Force WPForms field wrappers and inputs to match submit width */
.demo-modal .wpforms-form,
.demo-modal .wpforms-field-container,
.demo-modal .wpforms-field,
.demo-modal .wpforms-field-row,
.demo-modal .wpforms-field-row-block,
.demo-modal .wpforms-field-email,
.demo-modal .wpforms-field-tel,
.demo-modal .wpforms-field-name,
.demo-modal .wpforms-field-date-time,
.demo-modal .wpforms-field-date-time .wpforms-field-row,
.demo-modal .wpforms-field-date-time .wpforms-field-row-block,
.demo-modal .wpforms-field-date-time .wpforms-datepicker-wrap,
.demo-modal .wpforms-field-date-time .wpforms-datepicker-wrap input,
.demo-modal .wpforms-form input,
.demo-modal .wpforms-form textarea,
.demo-modal .wpforms-form select,
.demo-modal .wpforms-form .choices .choices__inner,
.demo-modal .wpforms-form .choices .choices__input--cloned,
.demo-modal .wpforms-form .choices .choices__input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 120% !important;
    box-sizing: border-box !important;
}

/* Ensure Name field keeps full width */
.demo-modal .wpforms-field-name {
    grid-column: 1 / -1 !important;
}

/* ── Time Slots Grid (3 Columns) ──────────────────────────────── */
.demo-time-slots {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    margin-top: 12px !important;
    margin-bottom: 0.85rem !important;
}

.time-slot {
    padding: 10px 12px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    cursor: pointer !important;
    text-align: center !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
}

.time-slot:hover {
    border-color: #1e90ff !important;
    background: rgba(30, 144, 255, 0.05) !important;
}

.time-slot.selected {
    background: #1e90ff !important;
    border-color: #1e90ff !important;
    color: #ffffff !important;
}

/* Responsive Time Slots */
@media (max-width: 760px) {
    .demo-time-slots {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .time-slot {
        font-size: 0.85rem !important;
        padding: 8px 10px !important;
    }
}

@media (max-width: 480px) {
    .demo-time-slots {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }

    .time-slot {
        font-size: 0.8rem !important;
        padding: 8px 8px !important;
    }
}

/* Responsive Email & Phone Fields */
@media (max-width: 768px) {
    .demo-modal .wpforms-form {
        grid-template-columns: 1fr !important;
    }

    .demo-modal .wpforms-field-email,
    .demo-modal .wpforms-field-tel {
        grid-column: 1 !important;
    }
}

/* Request a Demo Modal CSS ends here. */

/* ══════════════════════════════
   COMPARISON TABLE
══════════════════════════════ */
.fd-comparison {
    background: var(--white);
    padding: 60px 0 !important;
}

.fd-table-wrap {
    max-width: 1200px;
    margin: 0 auto !important;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(13, 27, 46, 0.05);
}

.fd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: var(--white);
}

.fd-table th {
    padding: 24px !important;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    border-bottom: 2px solid var(--border);
    background: #fafbfc;
}

.fd-table-feature-col {
    text-align: left !important;
    width: 45%;
}

.fd-table-truedna {
    background: #f0f5ff !important;
    color: var(--blue) !important;
    font-size: 16px;
}

.fd-recommended {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--blue);
    color: var(--white);
    border-radius: 4px;
    padding: 4px 10px !important;
    margin: 8px auto 0 !important;
    width: fit-content;
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

.fd-table td {
    padding: 20px 24px !important;
    border-bottom: 1px solid var(--border);
    text-align: center !important;
    color: var(--muted);
    font-weight: 500;
}

.fd-table td:first-child {
    text-align: left;
    color: var(--navy);
    font-weight: 600;
}

/* Alternating Row Column Aesthetics */
.fd-table-truedna td,
.fd-table tbody tr td:nth-child(2) {
    background: #fafdff;
}

.fd-row-alt td {
    background: #fcfdfe;
}

.fd-row-alt td:nth-child(2) {
    background: #f5f9ff;
}

.fd-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Indicators */
.fd-check-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.fd-check-gray {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #f3f4f6;
    color: #9ca3af;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.fd-dash {
    color: #d1d5db;
    font-size: 18px;
    font-weight: 500;
}

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

/* Scroll animations initial states */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

.reveal-fade {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity;
}

.reveal-fade.active {
    opacity: 1;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

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

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

.reveal-row {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

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

/* Table Row Hover slide-right */
.fd-table tbody tr {
    transition: background-color 0.25s ease, transform 0.25s ease !important;
}
.fd-table tbody tr:hover {
    background-color: rgba(30, 144, 255, 0.04) !important;
    transform: translateX(4px);
}

/* Checkmark bounce transition */
.fd-check-blue {
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.active .fd-check-blue {
    transform: scale(1);
    transition-delay: calc(var(--delay, 0) * 1ms + 150ms);
}

/* Buttons global transition & hover scaling */
.btn {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
}
.btn:hover {
    transform: scale(1.03) translateY(-1px) !important;
}

/* CTA Pulse */
@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.fd-cta-section .btn {
    animation: btnPulse 2.5s infinite;
}
.fd-cta-section .btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* Text link micro-interaction */
main a:not(.btn) {
    position: relative;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}
main a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
main a:not(.btn):hover::after {
    transform: scaleX(1);
}

/* Eyebrow overrides on blue backgrounds */
.fd-cta-section .eyebrow,
.loyalty-section .eyebrow {
    color: rgba(255, 255, 255, 0.85) !important;
    justify-content: center;
}