/* =============================================
   ShipMint — Homepage Styles
   ============================================= */

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg,
            rgba(10, 22, 40, 0.6) 0%,
            rgba(10, 22, 40, 0.92) 50%,
            var(--navy) 100%);
}

/* Interactive particle canvas */
#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

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

/* Hero left (copy) */
.hero-left {
    padding: 40px 0;
}

.hero h1 {
    font-size: var(--font-size-hero);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 8px;
}

.hero-tagline {
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 540px;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: var(--font-size-lg);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-free-note {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.hero-free-note .material-symbols-outlined {
    font-size: 15px;
    color: var(--teal);
}

/* Hero right (mosaic dashboard) */
.hero-right {
    position: relative;
}

.hero-mosaic {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mosaic-card {
    background: rgba(12, 28, 52, 0.85);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mosaic-card--primary {
    border-left: 3px solid var(--teal);
}

.mosaic-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mosaic-card-header .material-symbols-outlined {
    font-size: 18px;
    color: var(--blue);
}

.mosaic-card--primary .mosaic-card-header .material-symbols-outlined {
    color: var(--teal);
}

/* Savings rows inside mosaic */
.mosaic-savings {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.mosaic-savings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--navy-border);
}

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

.mosaic-savings-row--highlight {
    background: rgba(0, 212, 170, 0.06);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    margin: 4px -10px 0;
    border-bottom: none;
}

.mosaic-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.mosaic-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.mosaic-value--teal {
    color: #32CD32;
    font-size: 18px;
}

.mosaic-annualized {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    padding-top: 6px;
}

.mosaic-annualized strong {
    color: var(--blue);
}

/* Bottom row: two small cards side by side */
.mosaic-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mosaic-card--small {
    padding: 16px;
}

.mosaic-card--small .mosaic-card-header {
    margin-bottom: 10px;
    font-size: 11px;
}

.mosaic-card--small .mosaic-card-header .material-symbols-outlined {
    font-size: 16px;
}

/* Audit status inside mosaic */
.mosaic-audit-status {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mosaic-audit-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-secondary);
}

.mosaic-audit-count {
    margin-left: auto;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 10px;
}

/* AI snippet inside mosaic */
.mosaic-ai-snippet {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 5px;
    height: 56px;
    overflow: hidden;
}

.mosaic-ai-fade {
    animation: heroAiFade 0.6s ease-out forwards;
}

.mosaic-ai-fadeout {
    animation: heroAiFadeOut 0.4s ease-in forwards;
}

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

@keyframes heroAiFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-6px); }
}

.typing-dots {
    display: inline-flex;
    gap: 3px;
    font-weight: 700;
    font-size: 16px;
    color: var(--teal);
    letter-spacing: 1px;
}

.typing-dots span {
    animation: dotBounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 60%, 100% { opacity: 0.2; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-2px); }
}

.mosaic-ai-msg {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.mosaic-ai-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
    margin-top: 4px;
}

.mosaic-ai-msg--action {
    color: var(--teal);
    font-weight: 500;
}

.mosaic-ai-msg--action .material-symbols-outlined {
    color: var(--teal);
}

/* Glow behind mosaic */
.hero-right::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center,
            rgba(30, 144, 255, 0.2) 0%,
            rgba(30, 144, 255, 0.08) 40%,
            transparent 70%);
    pointer-events: none;
}


/* ===== HERO → LIGHT FADE DIVIDER ===== */
.hero-fade-divider {
    height: 140px;
    background: linear-gradient(to bottom,
        #0b1120 0%,
        #111d33 25%,
        #2a4060 45%,
        #7a9bbf 65%,
        #c8d8e8 80%,
        #F8FAFD 100%);
    margin-top: -1px;
}


/* ===== SOCIAL PROOF STRIP ===== */
.proof-strip {
    background: var(--navy-surface);
    border-top: 1px solid var(--navy-border);
    border-bottom: 1px solid var(--navy-border);
    padding: 48px 0;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.proof-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.proof-number.blue {
    color: var(--blue);
}

.proof-number.teal {
    color: var(--teal);
}

.proof-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}


/* ===== HOW IT WORKS ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    align-items: stretch;
}




.step-card {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    border-color: rgba(30, 144, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-dark);
}

.step-card:nth-child(1) .step-number {
    background: linear-gradient(135deg, var(--blue), #4dabff);
    color: var(--white);
    box-shadow: 0 4px 16px var(--blue-glow);
}

.step-card:nth-child(2) .step-number {
    background: linear-gradient(135deg, var(--teal), #33e0be);
    color: var(--navy);
    box-shadow: 0 4px 16px var(--teal-glow);
}

.step-card:nth-child(3) .step-number {
    background: linear-gradient(135deg, var(--indigo), #9b82fd);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(124, 92, 252, 0.25);
}

.step-icon {
    font-size: 36px;
    margin-bottom: 16px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.step-card:nth-child(1) .step-icon {
    background: rgba(30, 144, 255, 0.12);
    color: var(--blue);
}

.step-card:nth-child(2) .step-icon {
    background: rgba(0, 212, 170, 0.12);
    color: var(--teal);
}

.step-card:nth-child(3) .step-icon {
    background: rgba(124, 92, 252, 0.12);
    color: var(--indigo);
}

.step-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step-card p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
}

.step-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--teal);
    background: rgba(0, 212, 170, 0.08);
    border-radius: var(--radius-full);
    padding: 4px 12px;
}

.step-time .material-symbols-outlined {
    font-size: 14px;
}


#benchmark .section-header {
    margin-bottom: 24px;
}

/* ===== IAD PREVIEW ===== */
#benchmark .iad-wrapper {
    background: var(--navy);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(30, 144, 255, 0.2),
        0 16px 48px rgba(30, 144, 255, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#benchmark .iad-wrapper:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 32px rgba(30, 144, 255, 0.28),
        0 24px 64px rgba(30, 144, 255, 0.2);
}

.iad-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.35);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--teal);
    margin-bottom: 16px;
    text-align: center;
}

.iad-pill .material-symbols-outlined {
    font-size: 16px;
}

.iad-browser-bar {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--navy-border);
}

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

.iad-browser-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.iad-browser-dots .dot--red { background: #FF5F57; }
.iad-browser-dots .dot--yellow { background: #FEBC2E; }
.iad-browser-dots .dot--green { background: #28C840; }

#benchmark .iad-content {
    padding: 40px;
    background: var(--navy);
    position: relative;
}

.iad-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(30, 144, 255, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 170, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.iad-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--coral);
    width: fit-content;
    margin: 0 auto 24px;
}

.iad-alert .material-symbols-outlined {
    font-size: 16px;
}

.iad-headline {
    text-align: center;
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
}

.iad-headline em {
    font-style: normal;
    color: var(--blue);
}

.iad-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.savings-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
    position: relative;
}

#benchmark .savings-card {
    background: rgba(30, 144, 255, 0.08);
    border: 1px solid rgba(30, 144, 255, 0.15);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

#benchmark .savings-card:last-child {
    border-color: rgba(0, 212, 170, 0.2);
    background: rgba(0, 212, 170, 0.08);
}

.savings-card .label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.savings-card .amount {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.savings-card:last-child .amount {
    color: #32CD32;
}

.savings-card .sub {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

#benchmark .annualized-bar {
    background: rgba(30, 144, 255, 0.08);
    border: 1px solid rgba(30, 144, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 14px 24px;
    text-align: center;
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.annualized-bar strong {
    color: var(--blue);
    font-weight: 600;
}

.breakdown-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

#benchmark .breakdown-card {
    background: rgba(30, 144, 255, 0.06);
    border: 1px solid rgba(30, 144, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
}

.breakdown-card .badge-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
}

.badge-status--red {
    background: rgba(252, 53, 63, 0.12);
    color: #FC353F;
}

.badge-status--amber {
    background: rgba(255, 165, 0, 0.12);
    color: #FFA500;
}

.breakdown-card h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.breakdown-card h4 .material-symbols-outlined {
    font-size: 20px;
    color: var(--blue);
}

.breakdown-card .savings-amount {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: #32CD32;
}

.savings-sub {
    font-size: 10px;
    font-weight: 300;
    color: var(--text-muted);
    margin-top: 2px;
}

/* IAD reveal animation */
.iad-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible .iad-reveal {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.visible .iad-reveal:nth-child(1) { transition-delay: 0.1s; }
.fade-in.visible .iad-reveal:nth-child(2) { transition-delay: 0.2s; }
.fade-in.visible .iad-reveal:nth-child(3) { transition-delay: 0.3s; }


/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.feature-card:hover {
    border-color: rgba(30, 144, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-dark);
}

.feature-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.65;
}


/* ===== WHO IT'S FOR ===== */
.who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.who-card {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: var(--transition);
}

.who-card:hover {
    border-color: rgba(30, 144, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-dark-hover);
}

.who-icon {
    font-size: 40px;
    color: var(--blue);
    margin-bottom: 16px;
    display: block;
}

.who-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.who-card p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.7;
}
/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonial-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 60px 24px;
    cursor: grab;
    user-select: none;
    /* Break out of container */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonial-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-carousel:active {
    cursor: grabbing;
}

.testimonial-card {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    min-width: 340px;
    max-width: 400px;
    flex-shrink: 0;
    transition: box-shadow var(--transition), border-color var(--transition), transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: rgba(30, 144, 255, 0.2);
    box-shadow: var(--card-shadow-dark);
}

.testimonial-text {
    font-size: var(--font-size-md);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--indigo));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-info p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}


/* ===== FAQ ACCORDION ===== */
.faq-grid {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid var(--navy-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(30, 144, 255, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    background: var(--navy-card);
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--blue);
}

.faq-question .material-symbols-outlined {
    font-size: 24px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question .material-symbols-outlined {
    transform: rotate(180deg);
    color: var(--blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
    background: var(--navy-card);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ===== FINAL CTA ===== */






/* ===== LIGHT-MODE STEP CARDS ===== */



.section--light .step-card {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.section--light .step-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(30, 144, 255, 0.25);
}

.section--light .step-card h3 {
    color: var(--light-text);
}

.section--light .step-card p {
    color: var(--light-text-secondary);
}

.section--light .step-card:nth-child(1) .step-icon {
    background: rgba(30, 144, 255, 0.1);
    color: var(--blue);
}

.section--light .step-card:nth-child(2) .step-icon {
    background: rgba(0, 212, 170, 0.1);
    color: var(--teal);
}

.section--light .step-card:nth-child(3) .step-icon {
    background: rgba(124, 92, 252, 0.1);
    color: var(--indigo);
}

.section--light .step-time {
    background: rgba(0, 212, 170, 0.1);
}


/* ===== ANIMATED COUNTERS ===== */
.counter-number {
    font-variant-numeric: tabular-nums;
}


/* ===== COMMAND CENTER ===== */
.command-center {
    padding: var(--section-padding) 0;
    background: var(--light-bg);
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.command-card {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.command-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity var(--transition);
}

.command-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(30, 144, 255, 0.2);
}

.command-card:hover::before {
    opacity: 1;
}

.command-card:nth-child(1)::before {
    background: linear-gradient(90deg, var(--blue), var(--teal));
}

.command-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--indigo), var(--blue));
}

.command-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--teal), #33e0be);
}

.command-card:nth-child(4)::before {
    background: linear-gradient(90deg, var(--amber), var(--coral));
}

.command-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.command-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 4px;
}

.command-card-subtitle {
    font-size: var(--font-size-sm);
    color: var(--blue);
    font-weight: 600;
}

.command-card p {
    font-size: var(--font-size-base);
    color: var(--light-text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.command-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--blue);
    transition: var(--transition-fast);
}

.command-card-link:hover {
    gap: 8px;
    color: var(--blue-hover);
}

.command-card-link .material-symbols-outlined {
    font-size: 18px;
    transition: transform var(--transition-fast);
}

.command-card-link:hover .material-symbols-outlined {
    transform: translateX(2px);
}

/* Mini visualizations inside command cards */
.mini-viz {
    background: var(--light-bg);
    border: 1px solid var(--light-border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
    margin-top: auto;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Scan counter viz */
.scan-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.scan-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--light-text-secondary);
}

.scan-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.scan-dot--green {
    background: var(--teal);
    box-shadow: 0 0 6px var(--teal-glow);
    animation: pulse-dot 2s infinite;
}

.scan-dot--blue {
    background: var(--blue);
    box-shadow: 0 0 6px var(--blue-glow);
    animation: pulse-dot 2s infinite 0.3s;
}

.scan-dot--amber {
    background: var(--amber);
    box-shadow: 0 0 6px rgba(255, 181, 71, 0.3);
    animation: pulse-dot 2s infinite 0.6s;
}

.scan-dot--indigo {
    background: var(--indigo);
    box-shadow: 0 0 6px rgba(124, 92, 252, 0.3);
    animation: pulse-dot 2s infinite 0.9s;
}

.scan-dot--coral {
    background: var(--coral);
    box-shadow: 0 0 6px rgba(255, 107, 107, 0.3);
    animation: pulse-dot 2s infinite 1.2s;
}

@keyframes pulse-dot {

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

    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

/* Benchmark gauge viz */
.gauge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.gauge-row:last-child {
    margin-bottom: 0;
}

.gauge-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--light-text-secondary);
    width: 80px;
    flex-shrink: 0;
}

.gauge-track {
    flex: 1;
    height: 8px;
    background: var(--light-border);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.gauge-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s ease;
    width: 0;
}

.gauge-fill--you {
    background: var(--coral);
}

.gauge-fill--market {
    background: var(--amber);
}

.gauge-fill--shipmint {
    background: linear-gradient(90deg, var(--teal), #33e0be);
}

.visible .gauge-fill--you {
    width: 45%;
}

.visible .gauge-fill--market {
    width: 65%;
}

.visible .gauge-fill--shipmint {
    width: 88%;
}

.gauge-value {
    font-size: 12px;
    font-weight: 700;
    width: 40px;
    text-align: right;
    flex-shrink: 0;
}

.gauge-value--red {
    color: var(--coral);
}

.gauge-value--amber {
    color: var(--amber);
}

.gauge-value--green {
    color: var(--teal);
}

/* AI conversation preview */
.ai-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-msg {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.ai-msg-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
}

.ai-msg-avatar--ai {
    background: linear-gradient(135deg, var(--blue), var(--indigo));
    color: var(--white);
}

.ai-msg-avatar--user {
    background: var(--light-border);
    color: var(--light-text-muted);
}

.ai-msg-bubble {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.5;
    max-width: 85%;
}

.ai-msg--ai .ai-msg-bubble {
    background: rgba(30, 144, 255, 0.08);
    border: 1px solid rgba(30, 144, 255, 0.15);
    color: var(--light-text-secondary);
}

.ai-msg--user .ai-msg-bubble {
    background: var(--light-bg);
    border: 1px solid var(--light-border);
    color: var(--light-text-secondary);
}

/* Live chat chrome for AI card */
.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(30, 144, 255, 0.06);
    border: 1px solid rgba(30, 144, 255, 0.12);
    border-radius: 10px 10px 0 0;
    margin: -16px -20px 12px;
}

.ai-chat-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--light-text);
}

.ai-chat-title .material-symbols-outlined {
    font-size: 14px;
    color: var(--blue);
}

.ai-chat-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 500;
    color: var(--teal);
}

.ai-chat-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 6px var(--teal-glow);
    animation: pulse-dot 2s infinite;
}

/* Typing indicator */
.ai-typing {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 2px;
}

.ai-typing-dots {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 10px 14px;
    background: rgba(30, 144, 255, 0.08);
    border: 1px solid rgba(30, 144, 255, 0.15);
    border-radius: 10px;
}

.ai-typing-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0.4;
    animation: typing-bounce 1.4s infinite;
}

.ai-typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

/* Fixed chat messages area — no scroll, clips overflow */
.ai-chat-messages {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    height: 150px;
    overflow: hidden;
    position: relative;
}

/* EasyRate summary row */
.easyrate-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--light-border);
}

.easyrate-summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.easyrate-summary-value {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.easyrate-summary-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--light-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.easyrate-summary-divider {
    width: 1px;
    height: 32px;
    background: var(--light-border);
}

/* Savings bar viz */
.savings-compare {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.savings-bar-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--light-text-secondary);
    width: 100px;
    flex-shrink: 0;
}

.savings-bar-track {
    flex: 1;
    height: 28px;
    background: var(--light-border);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.savings-bar-fill {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    transition: width 1.5s ease;
    width: 0;
}

.savings-bar-fill--current {
    background: linear-gradient(90deg, var(--coral), #ff8585);
}

.savings-bar-fill--easyrate {
    background: linear-gradient(90deg, var(--teal), #33e0be);
}

.visible .savings-bar-fill--current {
    width: 100%;
}

.visible .savings-bar-fill--easyrate {
    width: 71.5%;
}


/* ===== PROOF STRIP URGENCY RESTYLE ===== */
.proof-strip {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-surface) 50%, var(--navy) 100%);
    border-top: 1px solid var(--navy-border);
    border-bottom: 1px solid var(--navy-border);
    padding: 56px 0;
    position: relative;
}

.proof-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%,
            rgba(30, 144, 255, 0.04) 0%,
            transparent 60%);
    pointer-events: none;
}

.proof-number {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.proof-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.4;
}



@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero-left {
        padding-top: 32px;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-trust-row {
        justify-content: center;
    }

    .hero-free-note {
        justify-content: center;
    }

    .hero-right {
        max-width: 500px;
        margin: 0 auto;
    }

    .mosaic-row {
        grid-template-columns: 1fr 1fr;
    }

    .section-divider svg {
        height: 80px;
    }

    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }




    .savings-row {
        grid-template-columns: 1fr;
    }

    .breakdown-row {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .scan-list {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .who-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 479px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-sub {
        font-size: var(--font-size-md);
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .proof-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

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


    .iad-content {
        padding: 24px;
    }
}