/* Pricing "Ideal for" chip lists */
.use-cases { margin-top: 0.5rem; }
.use-intro { font-weight: 600; font-size: 0.9rem; color: #475569; margin-bottom: 0.5rem; }
.use-chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; list-style: none; }
.use-chip { display: inline-flex; align-items: center; padding: 0.375rem 0.6rem; border-radius: 999px; border: 1px solid #e2e8f0; background-color: #f8fafc; color: #0f172a; font-size: 0.85rem; line-height: 1; }
.pricing-card.popular .use-chip { background-color: #eef2ff; border-color: #e0e7ff; }

@media (prefers-color-scheme: dark) {
    .use-intro { color: #cbd5e1; }
    .use-chip { background-color: #1f2937; border-color: #334155; color: #e5e7eb; }
    .pricing-card.popular .use-chip { background-color: #1e293b; border-color: #334155; }
    .result-badge.result--up { background: #06281f; color: #a7f3d0; border-color: #0b3b2f; }
    .result-badge.result--down { background: #2b1a1a; color: #fecaca; border-color: #5b2424; }
}
/* =========================
   USE CASES SECTION
========================= */
.use-filters { display: flex; align-items: center; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.use-chip.active { border-color: var(--primary); background-color: var(--primary-soft); color: var(--primary); }

.usecases-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (min-width: 1024px) {
    .usecases-grid { grid-template-columns: repeat(3, 1fr); }
}

.usecase-card { border: 1px solid var(--border); position: relative; overflow: hidden; }
.industry-outcomes { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-top: 0.8rem; }
.industry-wrapper .card--industry { cursor: pointer; }
/* Industry card: embedded mini workflow */
.industry-steps { margin-top: 0.8rem; padding-left: 1.1rem; text-align: left; list-style-position: outside; }
.industry-steps li { color: var(--gray); margin-bottom: 0.45rem; text-align: left; }
.card--industry .industry-steps { align-self: stretch; width: 100%; }
.industry-meta { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-top: 1rem; }

/* Hover reveal steps similar to industries/cards behavior */
@media (min-width: 900px) {
    .card--industry .industry-steps { max-height: 0; opacity: 0; transition: all 0.25s ease; }
    .card--industry:hover .industry-steps { max-height: 220px; opacity: 1; }
}

@media (max-width: 899px) {
    .card--industry .industry-steps { max-height: none; opacity: 1; }
}
.usecase-card .card-icon { width: 56px; height: 56px; border-radius: 9999px; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: var(--shadow-sm); }
.usecase-summary { color: var(--gray); margin-top: 0.5rem; }
.usecase-steps { margin-top: 0.8rem; padding-left: 1.1rem; }
.usecase-steps li { color: var(--gray); margin-bottom: 0.45rem; }
.usecase-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: 1rem; }
.result-badge { display: inline-flex; align-items: center; gap: 0.35rem; border-radius: 999px; padding: 0.35rem 0.6rem; font-size: 0.9rem; font-weight: 700; border: 1px solid var(--border); }
.result-badge.result--up { background: #f0fdf4; color: #065f46; border-color: #bbf7d0; }
.result-badge.result--down { background: #fef2f2; color: #7f1d1d; border-color: #fecaca; }
.result-badge.result--up::before { content: '▲'; display: inline-block; color: #16a34a; font-size: 0.9rem; }
.result-badge.result--down::before { content: '▼'; display: inline-block; color: #dc2626; font-size: 0.9rem; }
.usecase-link { display: inline-block; margin-top: 0.6rem; font-size: 0.9rem; color: var(--gray); text-decoration: none; }
.usecase-link:hover { color: var(--primary); }

/* Hover reveal polish (desktop) */
@media (min-width: 900px) {
    .usecase-card .usecase-steps { max-height: 0; opacity: 0; transition: all 0.25s ease; }
    .usecase-card:hover .usecase-steps { max-height: 220px; opacity: 1; }
}

/* Mobile: keep steps visible for readability */
@media (max-width: 899px) {
    .usecase-card .usecase-steps { max-height: none; opacity: 1; }
}
/* =========================
   GLOBAL DESIGN SYSTEM
========================= */
:root {
    /* Core Colors */
    --primary: #ff6a00;
    /* Action & CTA */
    --primary-soft: #fff2e6;
    /* Soft CTA backgrounds */
    --trust-blue: #0b3c5d;
    /* Authority & healthcare */
    --dark: #0f172a;
    /* Text & backgrounds */
    --gray: #64748b;
    /* Secondary text */
    --light: #f8fafc;
    /* Light backgrounds */

    /* Status & Feedback */
    --success: #16a34a;
    /* Success state */
    --error: #dc2626;
    /* Error state */

    /* Borders & Shadows */
    --border: #e5e7eb;
    --shadow-sm: 0 6px 16px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 14px 32px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
}

body {
    background: var(--light);
    color: var(--dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   LAYOUT
========================= */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.section-title p {
    color: var(--gray);
    font-size: 1.05rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

/* =========================
   TOP NAVIGATION
========================= */
.top-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.5rem;
}

.nav-logo img {
    height: 34px;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 1.6rem;
    list-style: none;
}

/* Mobile menu (hidden by default) */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links.open {
    display: block;
}

/* Desktop -> mobile switch handled in media queries below */

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 0.4rem 0.7rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.nav-links a.active {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

/* =========================
   HERO SECTION
========================= */
.band--gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1a2a4d 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.band--gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 106, 0, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.band {
    position: relative;
}

.band--light {
    background: #f8fafc;
}

.hero-content {
    max-width: 720px;
    margin: auto;
    text-align: center;
    padding-top: 3rem;
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin: auto auto 1.2rem;
}

.hero-content h1 {
    font-size: clamp(1.6rem, 3.6vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.band--gradient .hero-content h1 {
    color: #fff;
}

.hero-sub {
    font-size: 1.0rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.8rem;
    line-height: 1.4;
}

.band--gradient .hero-sub {
    color: rgba(255, 255, 255, 0.85);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    border-radius: 999px;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(255, 106, 0, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 12px 28px rgba(255, 106, 0, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-soft);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
}

.trusted-by {
    margin-top: 2.5rem;
    font-size: 0.95rem;
    color: var(--gray);
}

/* =========================
   TRUST SECTION
========================= */
.trust-section {
    background: linear-gradient(135deg, var(--trust-blue) 0%, #0d4a7d 100%);
    color: #fff;
}

.trust-content h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.trust-content>p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
}

/* =========================
   CHALLENGES ACCORDION
========================= */
/* =========================
   CHALLENGES – INFORMATIVE LIST
========================= */
.challenge-list {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.challenge-row {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.challenge-row:hover {
    border-color: #ffd5b3;
    box-shadow: 0 10px 26px rgba(255, 106, 0, 0.14);
}

.challenge-main { display: flex; align-items: flex-start; gap: 1rem; }
.challenge-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}
.challenge-body h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.challenge-desc { color: var(--gray); }

.challenge-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background-color: #f8fafc;
    color: #0f172a;
    font-size: 0.85rem;
    line-height: 1;
}
.chip--severity { font-weight: 600; }
.chip--high { background-color: #fff2e6; border-color: #ffd5b3; color: #b45309; }
.chip--medium { background-color: #eef2ff; border-color: #e0e7ff; color: #3730a3; }

.challenge-aside { display: grid; gap: 0.5rem; align-content: start; }
.risk-meter {
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}
.risk-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff6a00, #ff8f3a);
    border-radius: 999px;
    transition: width 0.4s ease;
}
.challenge-tip { color: #0f172a; font-size: 0.95rem; }

@media (max-width: 900px) {
    .challenge-row { grid-template-columns: 1fr; }
}

@media (prefers-color-scheme: dark) {
    .challenge-row { background: #0f172a; border-color: #1f2937; }
    .challenge-row:hover { border-color: #334155; box-shadow: var(--shadow-md); }
    .challenge-desc { color: #cbd5e1; }
    .chip { background-color: #1f2937; border-color: #334155; color: #e5e7eb; }
    .chip--high { background-color: #3b2c22; border-color: #6b3f2d; color: #fbbf24; }
    .chip--medium { background-color: #1e293b; border-color: #334155; color: #a5b4fc; }
    .risk-meter { background: #334155; }
    .challenge-tip { color: #e5e7eb; }
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.badge-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Footer badges: more professional placement and responsive tweaks */
.footer-trust-badges {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.footer-trust-badges .badge-item {
    background: #fff;
    color: var(--dark);
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-trust-badges .badge-emoji {
    font-size: 1rem;
    line-height: 1;
    display: inline-block;
}

.footer-trust-badges .badge-text {
    font-weight: 600;
}

@media (max-width: 600px) {
    .footer-trust-badges {
        gap: 0.5rem;
    }

    .footer-trust-badges .badge-item {
        padding: 0.45rem 0.6rem;
        font-size: 0.85rem;
    }

    .footer-trust-badges .badge-emoji {
        display: none;
    }

    footer p {
        text-align: center;
        font-size: 0.92rem;
    }
}

/* =========================
   CARDS (Unified Style)
========================= */
.card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card--elevated {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card--elevated:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 0.8rem;
    margin-top: 0.8rem;
}

.card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-icon,
.card-feature {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.card ul {
    margin-top: 0.8rem;
    padding-left: 1.1rem;
}

.card li {
    margin-bottom: 0.6rem;
    color: var(--gray);
}

/* Add-on hover-expand behavior */
.grid .card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, padding 0.22s ease;
    overflow: hidden;
}

.grid .card .addon-desc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.2s ease;
    color: var(--gray);
    margin-top: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.grid .card:focus-within,
.grid .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    padding-bottom: 2.2rem;
}

.grid .card:focus-within .addon-desc,
.grid .card:hover .addon-desc {
    max-height: 240px;
    opacity: 1;
}

/* Make summary-highlight small when used inside add-on cards */
.grid .summary-highlight {
    padding: 0.4rem 0.7rem;
    font-size: 0.95rem;
}

/* =========================
   GRID
========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
}

.agents-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Force three cards per row on larger screens */
@media (min-width: 1024px) {
    .agents-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================
   FEATURES SECTION POLISH
========================= */
/* Card polish scoped to Features grid */
.agents-grid .card--elevated {
    border: 1px solid var(--border);
    min-height: 280px;
    padding-top: 2.4rem; /* room for badge */
}

/* Numeric badge styling */
.agents-grid .card-feature {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

/* Feature icon styling */
.agents-grid .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 9999px;
    background: var(--primary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
}

.agents-grid .card--elevated h3 {
    margin-top: 0.8rem;
}

.channels-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.integrations-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* =========================
   TESTIMONIALS
========================= */
.band--testimonials {
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stars {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.author-name {
    font-weight: 600;
    color: var(--dark);
}

.author-title {
    font-size: 0.85rem;
    color: var(--gray);
}

/* =========================
   PRICING
========================= */
.pricing {
    max-width: 1400px;
    margin: 0 auto;
}

/* Give even more width on very large viewports */
@media (min-width: 1440px) {
    .pricing {
        max-width: 1600px;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Keep 4 pricing cards in one row on larger screens */
@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pricing-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pricing-card p {
    color: var(--gray);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-8px);
}

.pricing-card .badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1.2rem 0;
    color: var(--dark);
}

.pricing-card a {
    margin-top: 1.5rem;
    display: inline-block;
}

.price span {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

/* Pricing details summary highlight */
.summary-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, var(--primary) 0%, #ff8a3a 100%);
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.summary-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.14);
}

/* Remove default marker and add a custom caret */
details summary::-webkit-details-marker {
    display: none;
}

.summary-highlight::after {
    content: '\25BE';
    /* small down caret */
    display: inline-block;
    margin-left: 0.45rem;
    font-size: 0.85rem;
    opacity: 0.95;
    transition: transform 0.18s ease;
}

details[open] .summary-highlight::after {
    transform: rotate(180deg);
}

/* Make the collapsed list slightly separated */
details ul {
    margin-top: 0.9rem;
}

/* Add-on compact title style */
.addon-title {
    font-weight: 700;
    color: var(--dark);
    font-size: 1rem;
}

/* =========================
   ADD-ON PRICING (Scoped Polish)
========================= */
.addons-title {
    margin-top: 3rem;
}

/* =========================
   ADD-ONS: List-Style Alternative
   ========================= */
.addons-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.addon-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 0.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.addon-row:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.addon-left {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: start;
    gap: 0.9rem;
}

.addon-left .addon-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.addon-text { display: flex; flex-direction: column; gap: 0.35rem; }

.addon-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.addon-name {
    font-weight: 700;
    color: var(--dark);
}

.addon-price {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.addon-price--alt {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.addons-list .addon-desc {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.45;
}

/* No right-side CTA in list variant */

/* Small button variant reused site-wide */
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.9rem; }

@media (max-width: 640px) {
    .addon-row { grid-template-columns: 1fr; align-items: start; }
}

.addons-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
}

@media (min-width: 1024px) {
    .addons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Enforce a single-row layout of five cards on desktop */
@media (min-width: 1024px) {
    .addons-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.addons-grid .card {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.6rem 1.6rem 1.2rem;
    position: relative;
    min-height: 200px;
    text-align: center;
    overflow: hidden;
    transition: all 0.25s ease-out;
}

.addons-grid .card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.addons-grid .addon-icon {
    width: auto;
    min-width: 60px;
    height: 44px;
    padding: 0 12px;
    border-radius: 9999px;
    background: var(--primary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease;
}

.addons-grid .card:hover .addon-icon {
    transform: scale(0.92) translateY(-6px);
}

.addons-grid .addon-title {
    margin-top: 0.8rem;
}

/* Hover-reveal description, matching industries behavior */
.addons-grid .addon-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray);
    opacity: 0;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.25s ease;
}

.addons-grid .card:hover .addon-desc {
    opacity: 1;
    margin-top: 0.6rem;
    max-height: 300px;
    transform: translateY(-6px);
}

/* Mobile: show description expanded for readability */
@media (max-width: 899px) {
    .addons-grid .addon-desc {
        opacity: 1;
        max-height: none;
        margin-top: 0.6rem;
        transform: none;
    }
}

.card[title] {
    cursor: help;
}

/* =========================
   CONTACT FORM
========================= */
.contact {
    max-width: 620px;
    margin: auto;
}

.contact-form {
    background: #fff;
    padding: 2.2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 0.95rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

.form-note {
    font-size: 0.85rem;
    color: var(--success);
    margin-top: 0.5rem;
}

.form-status {
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    display: none;
    margin-bottom: 1rem;
}

.form-status:not(:empty) {
    display: block;
}

.form-status.success {
    background: #dcfce7;
    color: var(--success);
    border: 1px solid #bbf7d0;
}

.form-status.error {
    background: #fee2e2;
    color: var(--error);
    border: 1px solid #fecaca;
}

/* =========================
   FOOTER
========================= */
footer {
    background: var(--dark);
    color: #cbd5e1;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        right: 1.25rem;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        padding: 1rem;
        min-width: 220px;
        z-index: 200;
    }

    .menu-toggle {
        display: inline-block;
    }

    .nav-links.open {
        display: block;
    }

    .nav-links li {
        display: block;
        margin: 0.5rem 0;
    }

    .nav-links a {
        display: block;
        padding: 0.65rem 0.9rem;
        color: var(--dark);
        border-radius: 8px;
    }

    .nav-links a:hover {
        background: var(--primary-soft);
        color: var(--primary);
    }

    .nav-container {
        position: relative;
    }

    section {
        padding: 2.5rem 1.5rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .price {
        font-size: 2rem;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .trust-stats {
        grid-template-columns: 1fr;
    }

    section {
        padding: 1.6rem 1rem;
    }

    .hero-content {
        padding-top: 2rem;
    }
}

/* =========================
   NEW SECTIONS STYLING
========================= */

/* Industries Grid */
/* Industries Grid - Clean & Simple Hover Reveal */
.industries-grid {
    display: grid;
    /* Default: simple responsive wrapping for mobile/tablet */
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

/* Force 5 columns on large screens to meet the "2 row 5 column" requirement */
@media (min-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.card--industry {
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
    /* Increased fixed height to accommodate longer text */
    height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card--industry:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card--industry .card-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    background: var(--light);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.4s ease;
}

.card--industry h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--dark);
    transition: all 0.4s ease;
}

.card--industry h3::after {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    margin-top: 6px;
    opacity: 0.9;
    transition: width 0.25s ease, opacity 0.25s ease;
}

.card--industry p:not(.card-subtitle) {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
    transition: all 0.4s ease;
    overflow: hidden;
    /* Ensure text aligns nicely */
    width: 100%;
}

.card--industry .card-subtitle {
    margin-top: 0.35rem;
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 1;
    transition: transform 0.4s ease, margin-top 0.4s ease, opacity 0.4s ease;
}

/* Hover Effect: Move icon/title up, fade text in */
.card--industry:hover .card-icon {
    transform: scale(0.85) translateY(-25px);
    margin-bottom: 0.5rem;
}

.card--industry:hover h3 {
    transform: translateY(-25px);
}

.card--industry:hover h3::after {
    width: 36px;
    opacity: 1;
}

.card--industry:hover p:not(.card-subtitle) {
    /* Increased max-height to ensure no cutoff */
    max-height: 200px;
    opacity: 1;
    margin-top: 0.75rem;
    transform: translateY(0);
}

.card--industry:hover .card-subtitle {
    transform: translateY(-18px);
    margin-top: 0.25rem;
}

/* Challenges Grid */
.challenges-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card--challenge {
    border-left: 4px solid var(--primary);
    /* Accent line */
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

.card--challenge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card--challenge h3 {
    margin-top: 0.5rem;
    color: var(--dark);
    position: relative;
}

.card--challenge h3::after {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    margin-top: 8px;
    opacity: 0.9;
}

.card--challenge .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: var(--primary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: var(--shadow-sm);
}

.challenge-tip {
    background: #fff7ed;
    border-left: 3px solid var(--primary);
    padding: 0.7rem 0.9rem;
    margin-top: 0.9rem;
    border-radius: var(--radius-sm);
    color: #9a3412;
}

/* Challenges section band polish */
#challenges.band {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

#challenges.band::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -80px;
    width: 340px;
    height: 340px;
    background: rgba(255, 106, 0, 0.12);
    border-radius: 50%;
    filter: blur(60px);
}

@media (prefers-color-scheme: dark) {
    .challenge-tip { background: #1f2937; color: #e5e7eb; border-left-color: var(--primary); }
    #challenges.band { background: linear-gradient(180deg, #0b1224 0%, #0f172a 100%); }
}

/* Solution Section Override */
.trust-content strong {
    color: #ffd700;
    /* Gold/Yellow highlight for emphasis */
}

/* USP Section */
#usp .card {
    text-align: center;
}

/* Keep 4 cards per row on large screens */
#usp .grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (min-width: 1024px) {
    #usp .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =========================
   COMPARISON TABLE
========================= */
.comparison-section {
    background: #f8fafc;
    padding-bottom: 5rem;
}

.table-container {
    overflow-x: auto;
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Ensure scroll on small mobile */
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: #fff;
    font-weight: 700;
    color: var(--dark);
    font-size: 1.1rem;
}

/* Header colors */
.comparison-table th:nth-child(2) {
    color: var(--error);
    background: #fef2f2;
    /* Light red/pink tint */
}

.comparison-table th:nth-child(3) {
    color: var(--success);
    background: #f0fdf4;
    /* Light green tint */
    border-left: 1px solid #bbf7d0;
}

/* Explicit highlight class for AI column header */
.comparison-table th.highlight-col {
    color: var(--success);
    background: #f0fdf4;
    border-left: 1px solid #bbf7d0;
}

.comparison-table td {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Highlight columns */
.comparison-table td:nth-child(2) {
    background: #fff5f5;
    /* Very subtle red tint */
}

.comparison-table td:nth-child(3) {
    background: #f0fdf4;
    /* Very subtle green tint */
    font-weight: 600;
    color: var(--dark);
    border-left: 1px solid #bbf7d0;
}

/* Optional hover highlight for rows */
.comparison-table tbody tr:hover {
    background-color: #f1fdf7;
}

/* Icons in status */
.status-icon {
    display: inline-block;
    margin-right: 0.5rem;
}

/* Responsive Table */
@media (max-width: 768px) {

    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile-first readable comparison: stack rows into cards and remove horizontal scroll */
@media (max-width: 640px) {
    .table-container {
        overflow: visible;
        box-shadow: none;
        border-radius: 0;
        border: 0;
        background: transparent;
    }

    .comparison-table {
        min-width: 0;
        display: block;
        background: transparent;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table tbody {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .comparison-table tr {
        display: block;
        padding: 1rem;
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        background: #fff;
    }

    .comparison-table td {
        display: block;
        width: 100%;
        border: 0;
        background: transparent !important;
        padding: 0.5rem 0;
    }

    /* Feature title */
    .comparison-table td:nth-child(1) {
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 0.25rem;
    }

    /* Labels for competitors */
    .comparison-table td:nth-child(2)::before,
    .comparison-table td:nth-child(3)::before {
        display: block;
        font-size: 0.8rem;
        color: var(--gray);
        margin-bottom: 0.15rem;
        font-weight: 600;
    }

    .comparison-table td:nth-child(2)::before {
        content: "Traditional Receptionist";
    }

    .comparison-table td:nth-child(3)::before {
        content: "TriageZone AI Call Agent";
    }
}

/* =========================
   COMPACT INDUSTRIES GRID (Pop-over Effect)
========================= */

/* The Grid Container */
.industries-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: start;
    /* Prevent stretching */
}

/* The Placeholder (Grid Item) */
/* Keeps the grid structure stable while inner card expands */
.industry-wrapper {
    height: 200px;
    /* Reduced height (Compact Mode) */
    position: relative;
    z-index: 1;
    border-radius: var(--radius-md);
    transition: z-index 0s linear 0.1s;
    /* Delay z-index drop to match transition */
}

/* The Visual Card */
.industry-wrapper .card--industry {
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 1.5rem;
    position: relative;
    top: 0;
    left: 0;
    transition: all 0.25s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Align to top initially */
    overflow: hidden;
    border: 1px solid transparent;
}

/* Content Styling */
.industry-wrapper .card-icon {
    font-size: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 70px;
    padding: 0 12px;
    background: var(--light);
    border-radius: 9999px;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 0.8rem;
    transition: transform 0.25s ease;
}

.industry-wrapper h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--dark);
    transition: color 0.2s ease;
}

.industry-wrapper p:not(.card-subtitle) {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--gray);
    opacity: 0;
    margin-top: 0;
    max-height: 0;
    transition: all 0.25s ease;
}

/* HOVER STATE (Desktop) */
@media (min-width: 900px) {

    /* Bring wrapper to front immediately */
    .industry-wrapper:hover {
        z-index: 50;
        transition-delay: 0s;
    }

    /* Expand the card */
    .industry-wrapper:hover .card--industry {
        position: absolute;
        top: -15px;
        left: -15px;
        width: calc(100% + 30px);
        height: auto;
        /* Grow to fit content */
        min-height: 240px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        border-color: var(--primary);
        z-index: 50;
    }

    /* Reveal Content */
    .industry-wrapper:hover p {
        opacity: 1;
        margin-top: 1rem;
        max-height: none;
        /* Reveal text without clipping long descriptions */
    }

    .industry-wrapper:hover .card-icon {
        transform: scale(0.9);
        color: var(--primary);
        /* Optional accent */
    }

    /* Ensure full workflow steps are visible on hover */
    .industry-wrapper:hover .industry-steps {
        max-height: none;
        opacity: 1;
    }
}

/* MOBILE STATE (Simple Stack) */
@media (max-width: 899px) {
    .industry-wrapper {
        height: auto;
        margin-bottom: 1rem;
    }

    .industry-wrapper .card--industry {
        height: auto;
        padding: 1.5rem;
    }

    .industry-wrapper p {
        opacity: 1;
        max-height: none;
        margin-top: 0.8rem;
    }
}

/* (Reverted) Removed scoped overrides that simplified cards
   to restore original visual design across Add-ons & Industries. */

/* =========================
   Industries: Enforce 5 columns on desktop
   ========================= */
@media (min-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* =========================
    Industries: Layout overrides to ensure CTAs are visible
    Fixes clipping from compact grid heights & absolute hover pop-over
========================= */
.industry-wrapper { height: auto; }
.industry-wrapper .card--industry { height: auto; }


/* Desktop: keep uniform card height on load */
@media (min-width: 1024px) {
    .industries-grid .industry-wrapper { height: 320px; }
    .industries-grid .industry-wrapper .card--industry { height: 100%; overflow: hidden; }
    /* On hover, allow full expansion beyond uniform load height */
    .industries-grid .industry-wrapper:hover .card--industry { height: auto; overflow: visible; }
}
