/* ============================================
   Dial800 Marketing Website — CSS
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-primary: #092239;
    --color-primary-dark: #022740;
    --color-accent: #E9563A;
    --color-accent-hover: #d44a30;
    --color-secondary: #F5AB22;
    --color-secondary-hover: #e09a10;
    --color-dark: #0D0F13;
    --color-gray-dark: #363636;
    --color-gray-mid: #666;
    --color-gray-light: #B5B5B5;
    --color-gray-border: #dadada;
    --color-gray-bg: #f5f7fa;
    --color-white: #ffffff;
    --color-success: #22c55e;
    --font-family: 'Poppins', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

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

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

body {
    font-family: var(--font-family);
    color: var(--color-gray-dark);
    line-height: 1.6;
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 12px;
    margin-top: 1.2rem;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-mid);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

    .btn-primary:hover {
        background: var(--color-accent-hover);
        border-color: var(--color-accent-hover);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(233,86,58,0.35);
    }

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.4);
}

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

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

    .btn-outline:hover {
        background: var(--color-primary);
        color: var(--color-white);
        transform: translateY(-2px);
    }

.btn-sm {
    padding: 10px 24px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

    .header.scrolled {
        background: var(--color-primary);
        padding: 10px 0;
        box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    }

    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

    .nav-links a {
        color: var(--color-white);
        font-size: 0.9rem;
        font-weight: 500;
        transition: opacity var(--transition);
        opacity: 0.85;
    }

        .nav-links a:hover {
            opacity: 1;
        }

    .nav-links .btn-primary {
        opacity: 1;
        padding: 10px 24px;
        font-size: 0.875rem;
    }

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(145deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #0a3050 100%);
    padding: 160px 0 100px;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(233,86,58,0.08) 0%, transparent 70%);
        border-radius: 50%;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(245,171,34,0.06) 0%, transparent 70%);
        border-radius: 50%;
    }

    .hero .container {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
        /*-- added to push content up --*/
        margin-top: -2rem;
    }

.hero-content h1 {
    color: var(--color-white);
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

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

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat h3 {
    color: var(--color-accent);
    font-size: 2rem;
    margin-bottom: 4px;
}

.hero-stat p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin: 0;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-dashboard {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 100%;
    max-width: 480px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dashboard-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

    .dashboard-dot.red {
        background: #ff5f57;
    }

    .dashboard-dot.yellow {
        background: #ffbd2e;
    }

    .dashboard-dot.green {
        background: #28c841;
    }

.dashboard-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

    .dashboard-row:last-child {
        border: none;
    }

.dashboard-label {
    opacity: 0.6;
    font-size: 0.8rem;
}

.dashboard-value {
    font-weight: 600;
    color: var(--color-accent);
}

    .dashboard-value.green {
        color: var(--color-success);
    }

    .dashboard-value.gold {
        color: var(--color-secondary);
    }

.dashboard-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.dashboard-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
}

/* --- Social Proof --- */
.social-proof {
    background: var(--color-white);
    padding: 48px 0;
    border-bottom: 1px solid var(--color-gray-border);
}

    .social-proof .container {
        text-align: center;
    }

    .social-proof p {
        font-size: 0.85rem;
        color: var(--color-gray-dark);
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 500;
        margin-bottom: 24px;
    }

.logo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

/* --- Features Section changed opacity settings and remove transition since they aren't links --- */
.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 500;
    /*opacity: 0.6;
    transition: opacity var(--transition);*/
}

    /*.logo-placeholder:hover {
        opacity: 1;
    }*/

    .logo-placeholder i {
        font-size: 1.25rem;
        color: var(--color-primary);
        opacity: 0.7; /*-- was 0.6 --*/
    }

.proof-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-gray-border);
}

.proof-stat {
    text-align: center;
}

    .proof-stat strong {
        display: block;
        font-size: 1.5rem;
        color: var(--color-primary);
        font-weight: 700;
    }

    .proof-stat span {
        font-size: 0.8rem;
        color: var(--color-gray-mid);
    }

/* --- Features Section --- */
.features {
    padding: 100px 0;
    background: var(--color-gray-bg);
}

    .features .container {
        text-align: center;
    }

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

.feature-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: left;
    transition: all var(--transition);
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(20px);
}

    .feature-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--color-gray-border);
    }

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

    .feature-icon.blue, .card-icon.blue {
        background: var(--color-primary);
    }

    .feature-icon.orange, .card-icon.orange {
        background: var(--color-accent);
    }

    .feature-icon.gold, .card-icon.gold {
        background: var(--color-secondary);
    }

    .feature-icon.teal, .card-icon.teal {
        background: #0d9488;
    }

    .feature-icon.purple, .card-icon.purple {
        background: #7c3aed;
    }

    .feature-icon.navy, .card-icon.navy {
        background: var(--color-primary-dark);
    }

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-gray-mid);
    line-height: 1.6;
    margin: 0;
}

/* --- How It Works --- */
.how-it-works {
    padding: 100px 0;
    background: var(--color-white);
}

    .how-it-works .container {
        text-align: center;
    }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 16px;
    position: relative;
}

    .steps::before {
        content: '';
        position: absolute;
        top: 48px;
        left: 20%;
        right: 20%;
        height: 2px;
        background: linear-gradient(90deg, var(--color-accent), var(--color-secondary), var(--color-success));
    }

.step {
    position: relative;
    z-index: 1;
}

.step-number {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    position: relative;
}

    .step-number::after {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        border: 2px dashed rgba(9,34,57,0.15);
    }

.step:nth-child(1) .step-number {
    background: var(--color-accent);
}

.step:nth-child(2) .step-number {
    background: var(--color-secondary);
}

.step:nth-child(3) .step-number {
    background: var(--color-success);
}

.step-icon {
    font-size: 2.5rem;
}

.step h3 {
    margin-bottom: 12px;
}

.step p {
    font-size: 0.95rem;
    color: var(--color-gray-mid);
    max-width: 300px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Pricing Section --- */
.pricing {
    padding: 100px 0;
    background: var(--color-gray-bg);
}

    .pricing .container {
        text-align: center;
    }

.pricing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
    background: var(--color-white);
    padding: 6px 8px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
}

    .pricing-toggle span {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--color-gray-mid);
        padding: 8px 20px;
        border-radius: var(--radius-pill);
        cursor: pointer;
        transition: all var(--transition);
    }

        .pricing-toggle span.active {
            background: var(--color-primary);
            color: var(--color-white);
        }

.save-badge {
    font-size: 0.7rem !important;
    background: var(--color-accent) !important;
    color: var(--color-white) !important;
    padding: 4px 10px !important;
    border-radius: var(--radius-pill) !important;
    font-weight: 600 !important;
    margin-left: 4px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: start;
}

.pricing-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px 22px;
    text-align: left;
    border: 2px solid transparent;
    transition: all var(--transition);
    position: relative;
}

    .pricing-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .pricing-card.popular {
        border-color: var(--color-accent);
        transform: scale(1.03);
        box-shadow: var(--shadow-xl);
    }

        .pricing-card.popular:hover {
            transform: scale(1.03) translateY(-4px);
        }

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.pricing-card .tier-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.pricing-card .tier-desc {
    font-size: 0.8rem;
    color: var(--color-gray-mid);
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 4px;
}

    .pricing-card .price span {
        font-size: 0.9rem;
        font-weight: 400;
        color: var(--color-gray-mid);
    }

.pricing-card .price-note {
    font-size: 0.8rem;
    color: var(--color-gray-light);
    margin-bottom: 24px;
}

.pricing-card .features-list {
    margin-bottom: 28px;
}

    .pricing-card .features-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 0.85rem;
        color: var(--color-gray-dark);
        padding: 6px 0;
    }

        .pricing-card .features-list li i {
            color: var(--color-success);
            font-size: 0.8rem;
            margin-top: 3px;
            flex-shrink: 0;
        }

        .pricing-card .features-list li.highlight {
            font-weight: 600;
            color: var(--color-primary);
        }

.pricing-card .btn {
    width: 100%;
}

.pricing-card.enterprise .price {
    font-size: 1.8rem;
}

.pricing-note {
    margin-top: 32px;
    font-size: 0.85rem;
    color: var(--color-gray-mid);
}

    .pricing-note i {
        color: var(--color-secondary);
        margin-right: 4px;
    }

/* --- AI Voice Agents Section --- */
.ai-agents {
    padding: 100px 0;
    background: linear-gradient(145deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

    .ai-agents::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(233,86,58,0.1) 0%, transparent 70%);
    }

    .ai-agents .container {
        position: relative;
        z-index: 1;
    }

.ai-agents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ai-agents-content .section-label {
    color: var(--color-secondary);
}

.ai-agents-content h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.ai-agents-content > p {
    opacity: 0.8;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.agent-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.agent-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.agent-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(233,86,58,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent);
    font-size: 1.1rem;
}

.agent-feature h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.agent-feature p {
    font-size: 0.85rem;
    opacity: 0.65;
    margin: 0;
    line-height: 1.5;
}

.ai-agents-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.agent-use-case {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all var(--transition);
}

    .agent-use-case:hover {
        background: rgba(255,255,255,0.1);
        transform: translateX(4px);
    }

    .agent-use-case h4 {
        color: var(--color-white);
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .agent-use-case h4 i {
            color: var(--color-secondary);
        }

    .agent-use-case p {
        font-size: 0.9rem;
        opacity: 0.7;
        margin: 0;
        line-height: 1.6;
    }

.agent-roi {
    background: rgba(233,86,58,0.12);
    border: 1px solid rgba(233,86,58,0.25);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

    .agent-roi h4 {
        color: var(--color-accent);
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .agent-roi p {
        font-size: 0.85rem;
        opacity: 0.75;
        margin: 0;
    }

    .agent-roi .roi-number {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--color-white);
        display: block;
        margin: 8px 0;
    }

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: var(--color-white);
}

    .testimonials .container {
        text-align: center;
    }

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

.testimonial-card {
    background: var(--color-gray-bg);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    text-align: left;
    transition: all var(--transition);
}

    .testimonial-card:hover {
        box-shadow: var(--shadow-md);
    }

.testimonial-stars {
    color: var(--color-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-gray-dark);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-author-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.testimonial-author-info span {
    font-size: 0.8rem;
    color: var(--color-gray-mid);
}

/* --- FAQ Section --- */
.faq {
    padding: 100px 0;
    background: var(--color-gray-bg);
}

    .faq .container {
        text-align: center;
    }

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--color-gray-border);
    transition: border-color var(--transition);
}

    .faq-item.active {
        border-color: var(--color-accent);
    }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-primary);
    transition: color var(--transition);
    gap: 16px;
}

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

    .faq-question i {
        font-size: 0.8rem;
        transition: transform var(--transition);
        flex-shrink: 0;
    }

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--color-gray-mid);
    line-height: 1.7;
}

/* --- CTA Section --- */
.cta {
    padding: 80px 0;
    background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    text-align: center;
}

    .cta h2 {
        color: var(--color-white);
        font-size: 2.25rem;
        margin-bottom: 16px;
    }

    .cta p {
        opacity: 0.8;
        font-size: 1.1rem;
        max-width: 560px;
        margin: 0 auto 32px;
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    background: var(--color-gray-dark);
    color: var(--color-white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
    /*height: 36px;
    margin-bottom: 16px;*/
    margin-left: -1rem;
    margin-bottom: -1rem;
    margin-top: -3rem;
}

.footer-brand p {
    font-size: 0.85rem;
    opacity: 0.65;
    line-height: 1.7;
    max-width: 300px;
}

.footer-brand .footer-contact {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .footer-brand .footer-contact a {
        font-size: 0.85rem;
        opacity: 0.65;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: opacity var(--transition);
    }

        .footer-brand .footer-contact a:hover {
            opacity: 1;
        }

.footer-col h4 {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

    .footer-col ul li a {
        font-size: 0.85rem;
        opacity: 0.6;
        transition: opacity var(--transition);
    }

        .footer-col ul li a:hover {
            opacity: 1;
        }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8rem;
    opacity: 0.5;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

/* --- Navigation Dropdowns --- */
.nav-links {
    position: relative;
}

.nav-dropdown {
    position: relative;
}

    .nav-dropdown > a {
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .nav-dropdown > a i.fa-chevron-down {
            font-size: 0.6rem;
            transition: transform var(--transition);
        }

    .nav-dropdown:hover > a i.fa-chevron-down {
        transform: rotate(180deg);
    }

@media (min-width: 769px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(8px);
        background: var(--color-white);
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-lg);
        padding: 12px 0;
        min-width: 240px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease;
        z-index: 1001;
    }
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

@media (min-width: 769px) {
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--color-gray-dark) !important;
    font-size: 0.85rem !important;
    opacity: 1 !important;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}

    .dropdown-menu a:hover {
        background: var(--color-gray-bg);
        color: var(--color-accent) !important;
    }

    .dropdown-menu a i {
        width: 20px;
        text-align: center;
        color: var(--color-accent);
        font-size: 0.9rem;
    }

/* --- Subpage Hero (smaller) --- */
.page-hero {
    background: linear-gradient(145deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #0a3050 100%);
    padding: 140px 0 70px;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .page-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(233,86,58,0.08) 0%, transparent 70%);
        border-radius: 50%;
    }

    .page-hero .container {
        position: relative;
        z-index: 1;
    }

    .page-hero h1 {
        color: var(--color-white);
        font-size: 2.75rem;
        margin-bottom: 16px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .page-hero p {
        font-size: 1.15rem;
        opacity: 0.85;
        max-width: 640px;
        margin: 0 auto 32px;
        line-height: 1.7;
    }

    .page-hero .hero-buttons,
    .page-hero .btn-group-center {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .page-hero .breadcrumb {
        font-size: 0.85rem;
        opacity: 0.6;
        margin-bottom: 20px;
    }

        .page-hero .breadcrumb a {
            color: var(--color-white);
            opacity: 0.8;
            transition: opacity var(--transition);
        }

            .page-hero .breadcrumb a:hover {
                opacity: 1;
            }

/* --- Subpage Content Sections --- */
.content-section {
    padding: 80px 0;
}

    .content-section:nth-child(even) {
        background: var(--color-gray-bg);
    }

    .content-section h2 {
        margin-bottom: 16px;
    }

    .content-section h3 {
        margin-bottom: 12px;
    }

    .content-section p {
        color: var(--color-gray-mid);
        line-height: 1.7;
    }

    .content-section .section-label {
        margin-bottom: 12px;
    }

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

    .content-grid.reverse {
        direction: rtl;
    }

        .content-grid.reverse > * {
            direction: ltr;
        }

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

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

/* --- Info Cards --- */
.info-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

    .info-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--color-gray-border);
    }

    .info-card .card-icon {
        width: 56px;
        height: 56px;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 20px;
        color: var(--color-white);
        background: var(--color-primary);
    }

    .info-card h3 {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    .info-card p {
        font-size: 0.9rem;
        color: var(--color-gray-mid);
        line-height: 1.6;
        margin: 0;
    }

/* --- Feature Detail Block --- */
.feature-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

    .feature-detail .detail-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: var(--radius-sm);
        background: rgba(233,86,58,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-accent);
        font-size: 1.1rem;
    }

    .feature-detail h4 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .feature-detail p {
        font-size: 0.9rem;
        color: var(--color-gray-mid);
        margin: 0;
        line-height: 1.6;
    }

/* --- ROI / Stats Boxes --- */
.roi-box {
    background: linear-gradient(145deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    border-radius: var(--radius-md);
    padding: 40px;
    color: var(--color-white);
    text-align: center;
}

    .roi-box h3 {
        color: var(--color-white);
        margin-bottom: 12px;
    }

    .roi-box .roi-value {
        font-size: 3rem;
        font-weight: 700;
        color: var(--color-accent);
        display: block;
        margin: 16px 0;
    }

    .roi-box p {
        color: var(--color-white);
        opacity: 0.8;
        margin: 0;
    }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /*-- changed grid to 3 columns from 4 to center the 3 items --*/
    gap: 24px;
    margin-top: 40px;
}

.stat-box {
    text-align: center;
    padding: 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

    .stat-box .stat-number {
        font-size: 2rem;
        font-weight: 700;
        color: var(--color-accent);
        display: block;
        margin-bottom: 4px;
    }

    .stat-box .stat-label {
        font-size: 0.85rem;
        color: var(--color-gray-mid);
    }

/* --- Comparison Table --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

    .comparison-table thead {
        background: var(--color-primary);
        color: var(--color-white);
    }

    .comparison-table th {
        padding: 16px 20px;
        font-size: 0.85rem;
        font-weight: 600;
        text-align: left;
        color: var(--color-white);
    }

    .comparison-table td {
        padding: 14px 20px;
        font-size: 0.85rem;
        border-bottom: 1px solid var(--color-gray-border);
        color: var(--color-gray-dark);
    }

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

    .comparison-table tr:hover td {
        background: var(--color-gray-bg);
    }

    .comparison-table .check {
        color: var(--color-success);
        font-weight: 600;
    }

    .comparison-table .cross {
        color: var(--color-gray-light);
    }

/* --- Process / Steps (horizontal) --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    position: relative;
}

    .process-step .step-num {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--color-accent);
        color: var(--color-white);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.2rem;
        margin: 0 auto 16px;
    }

    .process-step h4 {
        margin-bottom: 8px;
    }

    .process-step p {
        font-size: 0.85rem;
        color: var(--color-gray-mid);
        margin: 0;
    }

/* --- Success Story Cards --- */
.story-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

    .story-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-xl);
    }

.story-card-header {
    background: linear-gradient(145deg, var(--color-primary-dark), var(--color-primary));
    padding: 32px 28px;
    color: var(--color-white);
}

    .story-card-header .story-industry {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--color-secondary);
        margin-bottom: 12px;
        display: block;
    }

    .story-card-header h3 {
        color: var(--color-white);
        font-size: 1.3rem;
        line-height: 1.4;
    }

.story-card-body {
    padding: 28px;
}

.story-section {
    margin-bottom: 20px;
}

    .story-section:last-child {
        margin-bottom: 0;
    }

    .story-section h4 {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: var(--color-accent);
        margin-bottom: 8px;
    }

    .story-section p {
        font-size: 0.9rem;
        color: var(--color-gray-mid);
        margin: 0;
        line-height: 1.6;
    }

.story-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 12px;
}

.story-result {
    text-align: center;
    padding: 16px;
    background: var(--color-gray-bg);
    border-radius: var(--radius-sm);
}

    .story-result .result-number {
        display: block;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--color-accent);
    }

    .story-result .result-label {
        font-size: 0.75rem;
        color: var(--color-gray-mid);
    }

.story-quote {
    border-left: 3px solid var(--color-accent);
    padding: 16px 20px;
    background: var(--color-gray-bg);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: 20px;
}

    .story-quote blockquote {
        font-style: italic;
        font-size: 0.9rem;
        color: var(--color-gray-dark);
        line-height: 1.6;
        margin-bottom: 8px;
    }

    .story-quote cite {
        font-size: 0.8rem;
        color: var(--color-gray-mid);
        font-style: normal;
    }

/* --- Use Case Flow --- */
.flow-visual {
    background: var(--color-gray-bg);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--color-gray-border);
}

.flow-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
    position: relative;
}

    .flow-step:last-child {
        margin-bottom: 0;
    }

    .flow-step::before {
        content: '';
        position: absolute;
        left: 20px;
        top: 44px;
        bottom: -24px;
        width: 2px;
        background: var(--color-gray-border);
    }

    .flow-step:last-child::before {
        display: none;
    }

    .flow-step .flow-num {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 50%;
        background: var(--color-accent);
        color: var(--color-white);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.9rem;
        position: relative;
        z-index: 1;
    }

    .flow-step h4 {
        margin-bottom: 4px;
    }

    .flow-step p {
        font-size: 0.9rem;
        color: var(--color-gray-mid);
        margin: 0;
    }

/* --- Subpage CTA with accent background --- */
.cta-accent {
    padding: 80px 0;
    background: linear-gradient(145deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    color: var(--color-white);
    text-align: center;
}

    .cta-accent h2 {
        color: var(--color-white);
        font-size: 2.25rem;
        margin-bottom: 16px;
    }

    .cta-accent p {
        opacity: 0.9;
        font-size: 1.1rem;
        max-width: 560px;
        margin: 0 auto 32px;
        color: var(--color-white);
    }

    .cta-accent .btn-primary {
        background: var(--color-white);
        color: var(--color-accent);
        border-color: var(--color-white);
    }

        .cta-accent .btn-primary:hover {
            background: var(--color-primary);
            color: var(--color-white);
            border-color: var(--color-primary);
        }

    .cta-accent .btn-secondary {
        border-color: rgba(255,255,255,0.5);
    }

        .cta-accent .btn-secondary:hover {
            background: rgba(255,255,255,0.15);
            border-color: var(--color-white);
        }

/* --- Integration Logos/Badges --- */
.integration-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.integration-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-gray-dark);
}

    .integration-badge i {
        color: var(--color-accent);
    }

/* --- Mobile Menu Overlay --- */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0,0,0,0.4);
}

    .mobile-overlay.active {
        display: block;
    }

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

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

    .pricing-card.popular {
        transform: scale(1);
    }

        .pricing-card.popular:hover {
            transform: translateY(-4px);
        }

    .ai-agents-grid {
        grid-template-columns: 1fr;
    }

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

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

        .content-grid.reverse {
            direction: ltr;
        }

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

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

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

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    /* --- Mobile Navigation --- */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        padding: 0 24px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
    }

        .nav-links.open {
            max-height: 100vh;
            padding: 16px 24px 24px;
            overflow-y: auto;
        }

        .nav-links > a,
        .nav-dropdown > a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 16px 20px;
            font-size: 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }

        .nav-links > .btn-primary {
            width: 100%;
            margin-top: 12px;
            padding: 16px 20px;
            text-align: center;
            justify-content: center;
            border-bottom: none;
            background: var(--color-accent);
            border-color: var(--color-accent);
            border-radius: var(--radius-sm);
        }

        .nav-links > .nav-phone {
            justify-content: flex-start;
            gap: 8px;
        }

    .mobile-toggle {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
    }

        .nav-dropdown > a {
            cursor: pointer;
        }

            .nav-dropdown > a i.fa-chevron-down {
                display: inline-block;
                font-size: 0.7rem;
                transition: transform 0.3s ease;
                margin-left: auto;
            }

        .nav-dropdown.open > a i.fa-chevron-down {
            transform: rotate(180deg);
        }

    .dropdown-menu {
        position: static;
        transform: none;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        padding: 0;
        min-width: auto;
        margin: 0;
        border-radius: var(--radius-sm);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.open .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu a {
        color: rgba(255,255,255,0.85) !important;
        padding: 12px 20px 12px 28px;
        font-size: 0.9rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

        .dropdown-menu a:last-child {
            border-bottom: none;
        }

        .dropdown-menu a:hover {
            background: rgba(255,255,255,0.1);
            color: var(--color-accent) !important;
        }

        .dropdown-menu a i {
            color: var(--color-secondary);
        }

    .content-grid-3 {
        grid-template-columns: 1fr;
    }

    .content-grid-4 {
        grid-template-columns: 1fr;
    }

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

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero {
        padding: 120px 0 50px;
    }

    .story-results {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

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

    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

        .steps::before {
            display: none;
        }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .proof-stats {
        flex-direction: column;
        gap: 20px;
    }

    .logo-strip {
        gap: 24px;
    }

    .ai-agents-content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

        .hero-buttons .btn {
            width: 100%;
        }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* --- Trial / Demo Form --- */
.trial-form {
    max-width: 680px;
    margin: 0 auto;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--color-primary);
        margin-bottom: 6px;
    }

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--color-gray-dark);
    background: var(--color-white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

    .form-control:focus {
        outline: none;
        border-color: var(--color-accent);
        box-shadow: 0 0 0 3px rgba(233,86,58,0.12);
    }

    .form-control::placeholder {
        color: var(--color-gray-light);
    }

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.trust-signals {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-gray-border);
}

.trust-signal {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-mid);
}

    .trust-signal i {
        font-size: 1.25rem;
        color: var(--color-success);
    }

.privacy-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-gray-light);
    margin-top: 20px;
}

/* --- Button Alignment Utility --- */
.btn-group-center {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

    .trust-signals {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .btn-group-center {
        flex-direction: column;
        align-items: center;
    }

        .btn-group-center .btn {
            width: 100%;
        }
}

/* ============================================================
   REFRESH ADDITIONS (2026-08) — additive component variants only.
   Built exclusively from the existing design tokens above, per
   docs/Plan-Marketing-Website-Refresh.md §3.5. No token changes.
   ============================================================ */

/* --- Grouped dropdown headings (header nav) --- */
.dropdown-heading {
    display: block;
    padding: 10px 18px 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gray-mid);
}

    .dropdown-heading:not(:first-child) {
        border-top: 1px solid var(--color-gray-border);
        margin-top: 6px;
    }

/* --- Card-as-link (related posts, integration cards) --- */
a.feature-card,
a.story-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* --- Blog post components --- */
.blog-post .post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 18px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

    .blog-post .post-meta .category-chip {
        background: var(--color-accent);
        color: var(--color-white);
        padding: 3px 12px;
        border-radius: 999px;
        font-size: 0.8rem;
        font-weight: 600;
    }

.blog-post .article-body {
    max-width: 760px;
    margin: 0 auto;
}

    .blog-post .article-body h2 {
        margin-top: 40px;
        color: var(--color-primary);
    }

    .blog-post .article-body h3 {
        margin-top: 28px;
        color: var(--color-primary);
    }

    .blog-post .article-body p,
    .blog-post .article-body li {
        line-height: 1.7;
        color: var(--color-gray-dark);
    }

    .blog-post .article-body ul,
    .blog-post .article-body ol {
        padding-left: 1.4em;
        margin: 1em 0;
    }

    .blog-post .article-body blockquote {
        margin: 1.4em 0;
        padding: 4px 22px;
        border-left: 4px solid var(--color-secondary);
        color: var(--color-gray-dark);
        background: var(--color-gray-bg);
        border-radius: 0 8px 8px 0;
    }

    .blog-post .article-body a {
        color: var(--color-accent);
        font-weight: 500;
    }

.blog-post .tldr-box {
    max-width: 760px;
    margin: 0 auto;
    padding: 22px 26px;
    background: var(--color-white);
    border-left: 4px solid var(--color-accent);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(9, 34, 57, 0.08);
    text-align: left;
}

    .blog-post .tldr-box .section-label {
        display: inline-block;
        margin-bottom: 8px;
    }

    .blog-post .tldr-box p {
        margin: 0;
        color: var(--color-gray-dark);
    }

.blog-post .author-box {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px 26px;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(9, 34, 57, 0.08);
}

.blog-post figure {
    margin: 32px 0;
}

    .blog-post figure img {
        max-width: 100%;
        border-radius: 8px;
    }

.blog-post figcaption {
    font-size: 0.85rem;
    color: var(--color-gray-mid);
    margin-top: 8px;
    text-align: center;
}

.table-scroll {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .blog-post .post-meta {
        font-size: 0.82rem;
        gap: 8px 12px;
    }
}

/* --- FAQ items authored as <button> render identically to the div variant --- */
button.faq-question {
    width: 100%;
    background: none;
    border: none;
    font-family: var(--font-family);
    text-align: left;
}

/* --- 3-column stat band variant (Company, Security) — collapses like the base grid --- */
.stat-grid.stat-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

/* --- UI hardening (2026-08 refresh review) --- */
/* A feature-icon without a color modifier must never render white-on-white */
.feature-icon,
.card-icon {
    background: var(--color-primary);
}

/* --- Mobile hardening (2026-08 refresh review) --- */
/* Wide tables inside a div.comparison-table wrapper scroll instead of clipping */
div.comparison-table {
    overflow-x: auto;
}

/* Grid children may shrink below min-content so long content wraps instead of overflowing */
.content-grid > *,
.content-grid-3 > *,
.content-grid-4 > * {
    min-width: 0;
}

/* Long button labels wrap on small screens instead of widening the page */
@media (max-width: 480px) {
    .btn {
        white-space: normal;
        max-width: 100%;
    }
}

/* Stat bands go single-column on phones so large figures never force overflow */
@media (max-width: 480px) {
    .stat-grid,
    .stat-grid.stat-grid-3 {
        grid-template-columns: 1fr;
    }

    .stat-grid .stat-box {
        min-width: 0;
    }
}

/* --- Header spacing & tablet nav collapse (2026-08 refresh review) ---
   The nav gained Integrations/Resources/Pricing/Login, so the desktop menu no
   longer fits between 769px and ~1080px. Below 1080px the header now uses the
   SAME drawer/accordion presentation the site already ships at <=768px (rules
   replicated verbatim); main.js width checks match. */
.logo {
    flex-shrink: 0;
    margin-right: 32px;
}

@media (min-width: 769px) and (max-width: 1180px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        padding: 0 24px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
    }

        .nav-links.open {
            max-height: 100vh;
            padding: 16px 24px 24px;
            overflow-y: auto;
        }

        .nav-links > a,
        .nav-dropdown > a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 16px 20px;
            font-size: 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }

        .nav-links > .btn-primary {
            width: 100%;
            margin-top: 12px;
            padding: 16px 20px;
            text-align: center;
            justify-content: center;
            border-bottom: none;
            background: var(--color-accent);
            border-color: var(--color-accent);
            border-radius: var(--radius-sm);
        }

        .nav-links > .nav-phone {
            justify-content: flex-start;
            gap: 8px;
        }

    .mobile-toggle {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
    }

        .nav-dropdown > a {
            cursor: pointer;
        }

            .nav-dropdown > a i.fa-chevron-down {
                display: inline-block;
                font-size: 0.7rem;
                transition: transform 0.3s ease;
                margin-left: auto;
            }

        .nav-dropdown.open > a i.fa-chevron-down {
            transform: rotate(180deg);
        }

    .dropdown-menu {
        position: static;
        transform: none;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        padding: 0;
        min-width: auto;
        margin: 0;
        border-radius: var(--radius-sm);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.open .dropdown-menu {
        max-height: 500px;
    }

    /* The desktop hover rule must not reposition the accordion submenu */
    .nav-dropdown:hover .dropdown-menu {
        transform: none;
        left: auto;
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu a {
        color: rgba(255,255,255,0.85) !important;
        padding: 12px 20px 12px 28px;
        font-size: 0.9rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

        .dropdown-menu a:last-child {
            border-bottom: none;
        }

        .dropdown-menu a:hover {
            background: rgba(255,255,255,0.1);
            color: var(--color-accent) !important;
        }

        .dropdown-menu a i {
            color: var(--color-secondary);
        }
}

/* Grouped-menu headings stay legible inside the dark drawer */
@media (max-width: 1180px) {
    .nav-links .dropdown-heading {
        color: rgba(255, 255, 255, 0.5);
        padding: 12px 20px 4px;
    }

        .nav-links .dropdown-heading:not(:first-child) {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }
}

/* Desktop nav items never wrap mid-label */
@media (min-width: 1181px) {
    .nav-links > a,
    .nav-dropdown > a {
        white-space: nowrap;
    }
}

/* Fourth "Convert" step (added in the 2026-08 refresh) completes the step palette */
.step:nth-child(4) .step-number {
    background: var(--color-primary);
}

/* Four-step "Track / Understand / Answer / Convert" band (home page only) */
.steps {
    grid-template-columns: repeat(4, 1fr);
}

    .steps::before {
        left: 12.5%;
        right: 12.5%;
        background: linear-gradient(90deg, var(--color-accent), var(--color-secondary), var(--color-success), var(--color-primary));
    }

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

        .steps::before {
            display: none;
        }
}

/* --- Text-visibility hardening (2026-08 refresh review, round 2) --- */
/* A step-number outside the home page's colored .steps band must never render
   its white numeral on a white card (VoiceInsightsAi process steps et al.).
   The home page's .step:nth-child rules are more specific and still override. */
.step-number {
    background: var(--color-accent);
}

/* .stat-box is a white card; re-anchor inherited text color so placing one
   inside a dark container (.roi-box sets color:white) never produces
   white-on-white paragraphs. stat-number/stat-label keep their own colors. */
.stat-box {
    color: var(--color-gray-dark);
}

    .stat-box p {
        color: var(--color-gray-dark);
        font-size: 0.85rem;
        line-height: 1.55;
        margin: 10px 0 0;
    }

/* Step number chips keep their circle shape inside flex rows */
.process-step .step-num,
.step-number {
    flex-shrink: 0;
}

/* --- Legal documents (/Legal/*) (2026-10 policy consolidation) --- */
/* The global reset removes list bullets and link color; legal text needs
   both. .legal-body restores them and gives long numbered documents a
   readable heading rhythm. Shared by Terms, Privacy and the CloudVoice policies. */
.legal-body {
    max-width: 800px;
    margin: 0 auto;
}

    .legal-body h2 {
        font-size: 1.6rem;
        margin-top: 44px;
        margin-bottom: 14px;
        color: var(--color-primary);
    }

    .legal-body h3 {
        font-size: 1.2rem;
        margin-top: 28px;
        margin-bottom: 10px;
        color: var(--color-primary);
    }

    .legal-body p,
    .legal-body li {
        color: var(--color-gray-dark);
        line-height: 1.7;
    }

    .legal-body ul,
    .legal-body ol {
        padding-left: 1.5em;
        margin: 0 0 1rem;
    }

    .legal-body ul {
        list-style: disc;
    }

    .legal-body ol {
        list-style: decimal;
    }

    .legal-body li {
        margin-bottom: 6px;
    }

    .legal-body a {
        color: var(--color-accent);
        font-weight: 500;
    }

        .legal-body a:hover {
            text-decoration: underline;
        }

    .legal-body address {
        font-style: normal;
        line-height: 1.7;
        color: var(--color-gray-dark);
    }

    /* Keep in-page anchor targets clear of the fixed header */
    .legal-body [id] {
        scroll-margin-top: 96px;
    }

/* Part divider inside a multi-part document */
.legal-body .legal-part {
    margin-top: 64px;
    padding-top: 28px;
    border-top: 1px solid var(--color-gray-border);
}

    .legal-body .legal-part .section-label {
        display: block;
        margin: 0 0 6px;
    }

    .legal-body .legal-part h2 {
        margin-top: 0;
        font-size: 1.9rem;
    }

    .legal-body .legal-part + h2 {
        margin-top: 28px;
    }

/* Table of contents (scoped under .legal-body so these always out-rank the
   .legal-body h2/ol/li rules above regardless of source order) */
.legal-body .legal-toc {
    background: var(--color-gray-bg);
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    margin: 24px 0 8px;
}

    .legal-body .legal-toc h2 {
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin: 0 0 12px;
    }

    .legal-body .legal-toc ol {
        list-style: none;
        padding-left: 0;
        margin: 0;
        columns: 2;
        column-gap: 32px;
    }

    .legal-body .legal-toc li {
        break-inside: avoid;
        font-size: 0.92rem;
        margin-bottom: 4px;
    }

    .legal-body .legal-toc .legal-toc-part {
        font-weight: 600;
        color: var(--color-primary);
        margin-top: 10px;
        column-span: all;
    }

        .legal-body .legal-toc .legal-toc-part:first-child {
            margin-top: 0;
        }

/* Callout for warnings (E911 limitations) and summaries */
.legal-body .legal-callout {
    background: #fff6f3;
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 22px;
    margin: 20px 0 24px;
}

    .legal-body .legal-callout p:last-child,
    .legal-body .legal-callout ul:last-child {
        margin-bottom: 0;
    }

/* Document hub (/Legal) */
.legal-index {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

a.legal-index-card {
    display: block;
    background: var(--color-white);
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-md);
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}

    a.legal-index-card:hover {
        box-shadow: var(--shadow-md);
        border-color: var(--color-accent);
        transform: translateY(-2px);
    }

    a.legal-index-card .section-label {
        margin: 0 0 8px;
    }

    a.legal-index-card h3 {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }

    a.legal-index-card p {
        font-size: 0.92rem;
        color: var(--color-gray-mid);
        line-height: 1.6;
        margin: 0;
    }

@media (max-width: 768px) {
    .legal-body .legal-toc ol {
        columns: 1;
    }

    .legal-body .legal-part h2 {
        font-size: 1.5rem;
    }

    .legal-index {
        grid-template-columns: 1fr;
    }
}
