/* ===============================
   Main Page (Landing) Sections
   =============================== */

/* Blue Hero Section */
.blue-section {
    background: url('../images/bg-light.jpg') top center/cover no-repeat, var(--color-bg-soft);
    padding: 120px 0 60px 0;
    position: relative;
    overflow: hidden;
}
.blue-section .hero-claim {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 2;
}
.blue-section h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -1px;
}
.blue-section h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--color-footer-text);
    margin-bottom: 0;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .blue-section {
        padding: 80px 0 40px 0;
    }
    .blue-section h1 {
        font-size: 28px;
    }
    .blue-section h3 {
        font-size: 17px;
    }
}
@media (max-width: 575.98px) {
    .blue-section {
        padding: 56px 0 24px 0;
    }
    .blue-section h1 {
        font-size: 22px;
    }
}

/* Progress Bar Section - Journey/Timeline */
/* Override Bootstrap progress component completely */
.progress {
    background: linear-gradient(135deg, var(--color-bg-white) 0%, var(--color-bg-soft) 100%) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 4px 24px rgba(3,48,85,0.06), 0 1px 2px rgba(0,0,0,0.04);
    border: 1px solid rgba(226,232,240,0.6);
    padding: 24px 20px;
    margin: 32px 0 0 0;
    overflow: visible !important;
    position: relative;
    height: auto !important;
    display: block !important;
}
.progress::before {
    display: none;
}
.progress::after {
    display: none !important;
    content: none !important;
}
.progress-bar {
    display: none !important;
}
.progress-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}
.progress-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #E2E8F0 0%, var(--color-accent) 100%);
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 0;
}
.progress-wrapper > div {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 500;
    text-align: center;
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.progress-wrapper > div.w17,
.progress-wrapper > div.w14 {
    flex: 1 1 0;
    min-width: 100px;
    background: var(--color-bg-white);
    border-radius: var(--radius-sm);
    padding: 16px 12px;
    box-shadow: 0 2px 8px rgba(3,48,85,0.06);
    border: 1px solid var(--color-footer-border);
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.progress-wrapper > div.w17:hover,
.progress-wrapper > div.w14:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(3,48,85,0.10);
    border-color: var(--color-accent);
}
/* First step accent */
.progress-wrapper > div.w17:first-child {
    border-left: 3px solid var(--color-footer-text);
}
/* Last step accent */
.progress-wrapper > div.w17:last-child {
    border-left: 3px solid var(--color-accent);
    background: linear-gradient(135deg, rgba(0,148,229,0.08) 0%, var(--color-bg-white) 100%);
}
.progress-wrapper > div.w17:last-child::after {
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.progress-wrapper .w3 {
    flex: 0 0 40px;
    max-width: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.progress-wrapper .w3 img.img-fluid {
    width: 20px;
    height: 20px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: opacity 0.2s, filter 0.2s;
}
.progress-wrapper > div.w17:hover + .w3 img.img-fluid,
.progress-wrapper > div.w14:hover + .w3 img.img-fluid {
    opacity: 1;
    filter: none;
}

@media (max-width: 991.98px) {
    .progress {
        padding: 16px 12px;
    }
    .progress-wrapper {
        flex-direction: column;
        gap: 8px;
    }
    .progress-wrapper > div.w17,
    .progress-wrapper > div.w14 {
        min-width: 100%;
        padding: 14px 16px;
    }
    .progress-wrapper .w3 {
        max-width: 100%;
        flex: 0 0 24px;
    }
    .progress-wrapper .w3 img.img-fluid {
        transform: rotate(90deg);
        width: 16px;
        height: 16px;
    }
}
@media (max-width: 575.98px) {
    .progress {
        padding: 16px 12px;
    }
    .progress-wrapper > div {
        font-size: 12px;
    }
}

/* Section Progress (Diagonal BG) */
.section-progress, .section-progress-white {
    position: relative;
    padding: 80px 0 0 0;
    background: none;
}
.section-progress {
    background: linear-gradient(135deg, var(--color-bg-soft) 0%, #fff 100%);
}
.section-progress-white {
    background: #fff;
}
.diagonal-space, .diagonal-space-three, .diagonal-space-two {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, var(--color-bg-soft) 60%, transparent 100%);
}
.diagonal-space-three {
    height: 40px;
    background: linear-gradient(135deg, #fff 60%, transparent 100%);
}
.diagonal-space-two {
    height: 32px;
    background: linear-gradient(135deg, var(--color-bg-soft) 60%, transparent 100%);
}

/* Featurette Section */
.progress-cta {
    font-size: 15px;
    color: var(--color-footer-text);
    font-weight: 400;
    margin: 8px 0 0 0;
}
.progress-cta a {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}
.progress-cta a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}
.progress-cta a .bi {
    font-size: 13px;
    transition: transform 0.2s ease;
    display: inline-block;
}
.progress-cta a:hover .bi {
    transform: translateX(3px);
}
.marketing {
    padding: 48px 0 0 0;
    background: #fff;
}
.featurette-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.2;
}
.featurette-heading + h3 {
    font-size: 18px;
    color: var(--color-footer-text);
    font-weight: 400;
    margin-bottom: 0;
}
@media (max-width: 991.98px) {
    .featurette-heading {
        font-size: 24px;
    }
    .featurette-heading + h3 {
        font-size: 15px;
    }
}

/* Section Images */
.icon-large, .slide-two, .startup {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px -8px rgba(3,48,85,0.10), 0 2px 8px -2px rgba(3,48,85,0.06);
    margin-bottom: 24px;
}
.slide-two {
    margin-top: 24px;
    border-radius: var(--radius-sm);
}
.startup {
    max-width: 120px;
    margin-bottom: 0;
    box-shadow: none;
}

/* ============================================
   Features Showcase Section
   ============================================ */
.features-showcase {
    padding: 20px 0 20px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Detail variant - 2-column grid for feature pages with longer descriptions */
.features-showcase--detail {
    padding: 48px 0 40px;
}

.features-showcase--detail .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.features-showcase--detail .feature-card {
    text-align: left;
    padding: 32px 28px;
}

.features-showcase--detail .feature-card-icon {
    margin: 0 0 16px 0;
}

.features-showcase--detail .feature-title a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.features-showcase--detail .feature-title a:hover {
    color: var(--color-accent);
}

@media (max-width: 575.98px) {
    .features-showcase--detail .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .features-showcase--detail .feature-card {
        padding: 24px 20px;
    }
}

/* 3-column variant for pages with fewer cards (e.g. data privacy) */
.features-grid--3col {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 767.98px) {
    .features-grid--3col {
        grid-template-columns: 1fr !important;
    }
}

/* Features Grid - 4 columns desktop, 2 columns mobile */
.features-showcase .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Feature Card */
.features-showcase .feature-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-footer-border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}
.features-showcase .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(3,48,85,0.10);
    border-color: var(--color-accent);
}

/* Feature Card Icon */
.features-showcase .feature-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-bg-soft) 0%, #fff 100%);
    border: 1px solid var(--color-footer-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.features-showcase .feature-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Feature Badge */
.features-showcase .feature-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent);
    background: var(--color-bg-soft);
    border: 1px solid rgba(0,148,229,0.15);
    border-radius: 20px;
    padding: 2px 10px;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}

/* Feature Title */
.features-showcase .feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 8px;
}

/* Feature Description */
.features-showcase .feature-desc {
    font-size: 16px;
    line-height: 1.55;
    color: var(--color-footer-text);
    margin: 0;
    max-width: none;
}

/* CTA Feature Block */
.features-showcase .feature-cta-block {
    text-align: center;
    padding: 48px 0 24px;
}
.features-showcase .feature-cta-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}
.features-showcase .feature-cta-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 28px;
}
.features-showcase .feature-cta-img-wrap {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: none;
    box-shadow: none;
}
.features-showcase .feature-cta-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Scroll Animations for Features — only activate when JS flags the body */
.js-animations .features-showcase .feature-card.animate-ready,
.js-animations .features-showcase .feature-cta-block.animate-ready {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.js-animations .features-showcase .feature-card.animate-in,
.js-animations .features-showcase .feature-cta-block.animate-in {
    opacity: 1;
    transform: translateY(0);
}
.js-animations .features-showcase .feature-card:nth-child(2).animate-ready { transition-delay: 0.1s; }
.js-animations .features-showcase .feature-card:nth-child(3).animate-ready { transition-delay: 0.2s; }
.js-animations .features-showcase .feature-card:nth-child(4).animate-ready { transition-delay: 0.3s; }

/* Features - Tablet */
@media (max-width: 991.98px) {
    .features-showcase {
        padding: 32px 0 16px;
    }
    .features-showcase .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .features-showcase .feature-card-icon {
        width: 48px;
        height: 48px;
    }
    .features-showcase .feature-title {
        font-size: 18px;
    }
    .features-showcase .feature-desc {
        font-size: 15px;
    }
    .features-showcase .feature-cta-title {
        font-size: 22px;
    }
}

/* Features - Mobile */
@media (max-width: 575.98px) {
    .features-showcase {
        padding: 24px 0 12px;
    }
    .features-showcase .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .features-showcase .feature-card {
        padding: 16px 12px;
    }
    .features-showcase .feature-card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
        padding: 6px;
    }
    .features-showcase .feature-title {
        font-size: 16px;
    }
    .features-showcase .feature-desc {
        font-size: 14px;
    }
    .features-showcase .feature-cta-block {
        padding: 32px 0 16px;
    }
    .features-showcase .feature-cta-title {
        font-size: 20px;
    }
}

/* Advantages Section */
.advantages-section {
    padding: 60px 0;
    background: #fff;
}
.advantage-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(3,48,85,0.06), 0 1px 2px rgba(0,0,0,0.04);
    border: 1px solid rgba(226,232,240,0.6);
    padding: 32px 24px;
    height: 100%;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.advantage-card:hover {
    box-shadow: 0 12px 32px rgba(3,48,85,0.10);
    transform: translateY(-4px);
}
.advantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-soft);
    border-radius: 12px;
}
.advantage-icon i {
    font-size: 24px;
    color: var(--color-primary);
}
.advantage-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.advantage-card p {
    font-size: 14px;
    color: var(--color-footer-text);
    margin: 0;
    line-height: 1.6;
}
@media (max-width: 767.98px) {
    .advantages-section {
        padding: 40px 0;
    }
    .advantage-card {
        padding: 24px 16px;
    }
}

/* Hero subtitle */
.blue-section .hero-subtitle {
    font-size: 18px;
    color: var(--color-footer-text);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 0;
}

/* Flow Steps Section */
.flow-steps-section {
    padding: 60px 0;
    background: var(--color-bg-soft);
}
.flow-step-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(3,48,85,0.06), 0 1px 2px rgba(0,0,0,0.04);
    border: 1px solid rgba(226,232,240,0.6);
    padding: 32px 24px;
    height: 100%;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.flow-step-card:hover {
    box-shadow: 0 12px 32px rgba(3,48,85,0.10);
    transform: translateY(-4px);
}
.flow-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}
.flow-step-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.flow-step-card p {
    font-size: 14px;
    color: var(--color-footer-text);
    margin: 0;
    line-height: 1.6;
}
@media (max-width: 767.98px) {
    .flow-steps-section {
        padding: 40px 0;
    }
    .flow-step-card {
        padding: 24px 16px;
    }
}

/* Stats Section */
.section-stats {
    background: var(--color-bg-soft);
    padding: 60px 0;
}
.stat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(3,48,85,0.06), 0 1px 2px rgba(0,0,0,0.04);
    border: 1px solid rgba(226,232,240,0.6);
    padding: 32px 16px;
    transition: box-shadow 0.2s;
}
.stat-card:hover {
    box-shadow: 0 12px 32px rgba(3,48,85,0.10);
}
.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.stat-label {
    font-size: 14px;
    font-weight: 500;
}
@media (max-width: 767.98px) {
    .stat-value {
        font-size: 28px;
    }
    .stat-card {
        padding: 20px 12px;
    }
}

/* CTA Banner Section (Landing Pages) */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 148, 229, 0.2) 0%, transparent 70%);
    pointer-events: none;
}
.cta-banner .container {
    position: relative;
    z-index: 2;
}
.cta-banner img.app01 {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}
.cta-banner h2 {
    font-size: 26px;
    font-weight: 700;
    color: white;
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
    text-align: right;
}
.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    margin-bottom: 20px;
}
.cta-banner .btn,
.cta-banner .cta-banner-btn {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    background: transparent !important;
    transition: var(--transition-base);
}
.cta-banner .btn:hover,
.cta-banner .cta-banner-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
@media (max-width: 767.98px) {
    .cta-banner {
        padding: 30px 24px;
        text-align: center;
    }
    .cta-banner h2 {
        font-size: 22px;
    }
    .cta-banner img.app01 {
        margin-bottom: 24px;
    }
}

/* Pricing Section */
.section-pricing {
    background: var(--color-bg-soft);
    padding: 80px 0 0 0;
}
.pricingtwothree .card.pricing {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(3,48,85,0.06), 0 1px 2px rgba(0,0,0,0.04);
    border: 1px solid rgba(226,232,240,0.6);
    margin-bottom: 32px;
    padding: 40px 32px;
    transition: box-shadow 0.2s;
}
.pricingtwothree .card.pricing:hover {
    box-shadow: 0 12px 32px rgba(3,48,85,0.10);
}
.pricingtwothree .card-title.pricing-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}
.pricingtwothree .card-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.pricingtwothree .card-body ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--color-footer-text);
    margin-bottom: 10px;
}
.pricingtwothree .card-body ul li div {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-soft);
    border-radius: 8px;
    margin-right: 8px;
}
.pricingtwothree .card-body ul li img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.85;
}
.pricingtwothree .card-body .subtitle {
    font-size: 14px;
    color: var(--color-footer-text);
    font-weight: 400;
}
.pricingtwothree .btn-border {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    transition: var(--transition-base);
}
.pricingtwothree .btn-border:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(3,48,85,0.10);
}
.pricingtwothree .text-muted {
    color: var(--color-footer-muted) !important;
}
@media (max-width: 991.98px) {
    .section-pricing {
        padding: 40px 0 0 0;
    }
    .pricingtwothree .card.pricing {
        padding: 24px 10px;
    }
}
@media (max-width: 575.98px) {
    .section-pricing {
        padding: 24px 0 0 0;
    }
    .pricingtwothree .card.pricing {
        padding: 12px 2px;
    }
}
/* ============================================
   Decisimo - Enterprise Decision Logic Platform
   Custom Styles
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors */
    --color-primary: #033055;
    --color-secondary: #0A4D80;
    --color-accent: #0094E5;
    
    /* Background Colors */
    --color-bg-primary: #F8FAFC;
    --color-bg-soft: #EFF6FF;
    --color-bg-white: #ffffff;
    
    /* Footer Colors */
    --color-footer-heading: #033055;
    --color-footer-text: #62748E;
    --color-footer-muted: #90A1B9;
    --color-footer-border: #E2E8F0;
    --color-footer-bg-alt: #F1F5F9;
    --color-footer-bg: #F8FAFC;
    
    /* Typography */
    --font-primary: 'Hanken Grotesk', sans-serif;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-lg: 16px;
    
    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-primary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.95);
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(3, 48, 85, 0.08);
    box-shadow: 0 4px 20px rgba(3, 48, 85, 0.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 24px;
    width: auto;
}

.navbar-nav {
    gap: 8px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--color-accent);
    background-color: var(--color-bg-soft);
}

/* Dropdown Menu Styles */
.navbar-nav .dropdown-menu {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 8px;
    min-width: 220px;
    margin-top: 8px;
    background-color: #fff;
}

.navbar-nav .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    padding: 10px 16px;
    border-radius: 8px;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
}

.navbar-nav .dropdown-item i {
    color: var(--color-accent);
    font-size: 16px;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background-color: var(--color-bg-soft);
    color: var(--color-accent);
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: 2px;
    border-top-width: 5px;
    border-right-width: 4px;
    border-left-width: 4px;
    transition: transform 0.2s ease;
}

.navbar-nav .dropdown-toggle.show::after {
    transform: rotate(180deg);
}

/* Mobile dropdown styles */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 8px 12px;
        margin: 4px 0 8px 0;
        background-color: #F1F5F9;
        border-radius: 12px;
    }
    
    .navbar-nav .dropdown-item {
        padding: 12px 16px;
        font-size: 15px;
        color: #475569;
        border-radius: 8px;
    }
    
    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus,
    .navbar-nav .dropdown-item:active {
        background-color: #E2E8F0;
        color: var(--color-primary);
    }
    
    .navbar-nav .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    color: #314158;
    text-align: center;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    border: 0.571px solid #E2E8F0;
    background-color: transparent;
    transition: var(--transition-base);
}

.btn-signin:hover {
    color: #314158;
    background-color: var(--color-bg-soft);
    border-color: #cbd5e1;
}

.btn-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background-color: var(--color-primary);
    border: 0.571px solid var(--color-primary);
    transition: var(--transition-base);
}

.btn-demo:hover {
    background-color: var(--color-secondary);
    transform: translateY(-1px);
}

/* Mobile Navigation */
.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 24px;
        margin-top: 16px;
        border-radius: var(--radius-lg);
        box-shadow: 0 10px 40px rgba(3, 48, 85, 0.1);
    }
    
    .navbar-nav {
        gap: 4px;
    }
    
    .nav-link {
        padding: 12px 16px !important;
    }
    
    .navbar-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--color-footer-border);
    }
    
    .btn-signin,
    .btn-demo {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background-image: url('../images/bg-light.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(135deg, transparent 40%, rgba(239, 246, 255, 0.5) 40%, rgba(239, 246, 255, 0.5) 60%, transparent 60%);
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.category-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.category-tab {
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #62748E;
    padding: 6px 12px;
    border: 0.571px solid #F1F5F9;
    background: #F8FAFC;
    border-radius: 19174000px;
    cursor: default;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-footer-text);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-demo-hero,
.btn-demo-hero:link,
.btn-demo-hero:visited,
.btn-demo-hero:active {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    background-color: var(--color-primary);
    color: #fff !important;
    border: none;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-base);
}

.btn-demo-hero:hover {
    background-color: var(--color-secondary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(3, 48, 85, 0.2);
}

.btn-ai-assistant {
    font-size: 15px;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-footer-border);
    color: var(--color-primary);
    background: white;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-base);
}

.btn-ai-assistant:hover {
    border-color: var(--color-primary);
    background-color: var(--color-bg-soft);
    color: var(--color-primary);
}

/* Hero Visual - Orb */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.orb-container {
    position: relative;
    width: 340px;
    height: 340px;
}

.orb-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

/* Floating Sphere Cards */
.sphere-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--color-footer-border);
    box-shadow: 0 4px 24px rgba(3, 48, 85, 0.08), 0 1px 2px rgba(255, 255, 255, 0.6) inset;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.3;
    white-space: nowrap;
    z-index: 10;
}

.sphere-card i {
    color: var(--color-primary);
    font-size: 16px;
    flex-shrink: 0;
}

.sphere-card-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sphere-card-1 {
    top: 5%;
    left: -60px;
    animation: floatCard1 5s ease-in-out infinite;
}

.sphere-card-2 {
    top: 15%;
    right: -80px;
    animation: floatCard2 6s ease-in-out infinite;
}

.sphere-card-3 {
    bottom: 15%;
    left: -50px;
    animation: floatCard3 5.5s ease-in-out infinite;
}

.sphere-card-4 {
    bottom: 5%;
    right: -90px;
    animation: floatCard4 6.5s ease-in-out infinite;
}

@keyframes floatCard1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5px, -8px); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(8px, -6px); }
}

@keyframes floatCard3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-6px, 8px); }
}

@keyframes floatCard4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6px, 6px); }
}

.orb-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 148, 229, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-visual {
        min-height: 300px;
        margin-top: 40px;
    }
    
    .orb-container {
        width: 280px;
        height: 280px;
    }
    
    .orb-image {
        width: 100%;
        height: 100%;
    }
    
    .sphere-card {
        font-size: 11px;
        padding: 8px 10px;
        gap: 6px;
    }
    
    .sphere-card i {
        font-size: 14px;
    }
    
    .sphere-card-1 {
        top: -5%;
        left: -20px;
    }
    
    .sphere-card-2 {
        top: 10%;
        right: -30px;
    }
    
    .sphere-card-3 {
        bottom: 10%;
        left: -15px;
    }
    
    .sphere-card-4 {
        bottom: -5%;
        right: -25px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .btn-demo-hero,
    .btn-ai-assistant {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Industries Section
   ============================================ */
.industries-section {
    padding: 80px 0;
    background-color: var(--color-bg-white);
}

.section-header {
    margin-bottom: 48px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-footer-text);
    margin-top: 12px;
    margin-bottom: 0;
}

.industry-card {
    display: block;
    text-decoration: none;
    background: #F8FAFC;
    border: 0.571px solid #F1F5F9;
    border-radius: 16px;
    padding: 32px 24px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(3, 48, 85, 0.12);
    border-color: #E2E8F0;
    text-decoration: none;
}

.industry-card:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    text-decoration: none;
}

.industry-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFF;
    border-radius: 14px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
    margin-bottom: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.industry-icon i {
    font-size: 44px;
    color: var(--color-primary);
    transition: color 0.25s ease;
}

.industry-icon-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.industry-card:hover .industry-icon {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.08);
}

.industry-card:hover .industry-icon i {
    color: var(--color-accent);
}

.industry-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.industry-description {
    font-size: 14px;
    color: var(--color-footer-text);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Industry cards mobile */
@media (max-width: 767.98px) {
    .industry-card {
        padding: 24px 20px;
        text-align: center;
    }
    
    .industry-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .industry-title {
        font-size: 16px;
    }
    
    .industry-description {
        font-size: 13px;
    }
}

/* ============================================
   Feature Highlight Section (Dark)
   ============================================ */
.feature-highlight-section {
    padding: 80px 0;
    background-color: #FFF;
}

.feature-highlight-card {
    background: linear-gradient(135deg, #033055 0%, #0A4D80 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    overflow: hidden;
    position: relative;
}

.feature-highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 148, 229, 0.1) 100%);
    pointer-events: none;
}

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
}

.feature-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    max-width: 380px;
}

.btn-ai-cta {
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-base);
}

.btn-ai-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Feature Visual - Notification Cards */
.feature-visual {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 40px;
}

.notification-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: slideIn 0.6s ease-out backwards;
}

.notification-card:nth-child(1) {
    animation-delay: 0.2s;
}

.notification-card:nth-child(2) {
    animation-delay: 0.4s;
}

.notification-card:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon.success {
    background-color: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.notification-icon.warning {
    background-color: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

.notification-icon.danger {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.notification-icon i {
    font-size: 16px;
}

.notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.notification-detail {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.notification-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
}

.badge-new {
    background-color: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.badge-update {
    background-color: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

.badge-remove {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

@media (max-width: 991.98px) {
    .feature-highlight-card {
        padding: 40px 30px;
    }
    
    .feature-title {
        font-size: 28px;
    }
    
    .feature-visual {
        padding-left: 0;
        margin-top: 40px;
    }
}

/* ============================================
   Capabilities Section
   ============================================ */
.capabilities-section {
    padding: 80px 0;
    background-image: url('../images/bg-light.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.capabilities-section .container {
    position: relative;
    z-index: 2;
}

.capabilities-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(241, 241, 241, 0.8);
    filter: blur(50px);
}

.bg-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation: float1 8s ease-in-out infinite;
}

.bg-circle-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: -50px;
    animation: float2 10s ease-in-out infinite;
}

.bg-circle-3 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    left: 30%;
    animation: float3 12s ease-in-out infinite;
}

.bg-circle-4 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 25%;
    animation: float4 9s ease-in-out infinite;
}

@keyframes float1 {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.05); }
    50% { transform: translate(80px, 40px) scale(1.1); }
    75% { transform: translate(-20px, 60px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-40px, 50px) scale(1.08); }
    50% { transform: translate(-70px, -20px) scale(1.15); }
    75% { transform: translate(30px, -40px) scale(1.08); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes float3 {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, 30px) scale(1.03); }
    50% { transform: translate(-30px, 50px) scale(1.05); }
    75% { transform: translate(-50px, -20px) scale(1.03); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes float4 {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-35px, -45px) scale(1.06); }
    50% { transform: translate(45px, -30px) scale(1.1); }
    75% { transform: translate(25px, 50px) scale(1.06); }
    100% { transform: translate(0, 0) scale(1); }
}

.capability-card {
    background: #FFF;
    border: 0.571px solid #E2E8F0;
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    display: flex;
    gap: 20px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
    transition: var(--transition-base);
}

.capability-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -8px rgba(3, 48, 85, 0.12), 0 8px 16px -4px rgba(3, 48, 85, 0.08);
    border-color: #cbd5e1;
}

.capability-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-soft);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: var(--transition-base);
}

.capability-icon i {
    font-size: 22px;
    color: var(--color-primary);
}

.capability-content {
    flex: 1;
}

.capability-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.capability-description {
    font-size: 14px;
    color: var(--color-footer-text);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ============================================
   Compliance Section
   ============================================ */
.compliance-section {
    padding: 60px 0;
    background-color: var(--color-bg-white);
    border-top: 1px solid var(--color-footer-border);
}

.compliance-badges {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.compliance-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    width: 200px;
}

.compliance-img {
    max-height: 90px;
    width: auto;
}

.compliance-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-primary);
}

@media (max-width: 767.98px) {
    .compliance-badges {
        gap: 40px;
    }
}

/* ============================================
   Why Section + CTA
   ============================================ */
.why-section {
    padding: 80px 0;
    background-color: #FFF;
}

.why-content {
    padding-right: 40px;
}

.why-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 32px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-feature {
    display: flex;
    gap: 16px;
}

.why-feature-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EFF6FF;
    border-radius: 50%;
    position: relative;
}

.why-feature-icon::before,
.why-feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #EFF6FF;
    transform: translate(-50%, -50%);
}

.why-feature-icon::before {
    animation: pulse-ring-expand 2s ease-out infinite;
}

.why-feature-icon::after {
    animation: pulse-ring-expand 2s ease-out infinite 1s;
}

@keyframes pulse-ring-expand {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.why-feature-icon i {
    font-size: 18px;
    color: #4FACFE;
    position: relative;
    z-index: 1;
}

.why-feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.why-feature-content p {
    font-size: 14px;
    color: var(--color-footer-text);
    margin-bottom: 0;
    line-height: 1.6;
}

/* CTA Card */
.cta-card {
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
}

.cta-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    line-height: 1.3;
}

.cta-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-accent {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    background-color: var(--color-accent);
    color: white;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.btn-accent:hover {
    background-color: #0080cc;
    color: white;
    transform: translateY(-2px);
}

.cta-buttons .btn-outline-light {
    font-size: 15px;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
    transition: var(--transition-base);
}

.cta-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

@media (max-width: 991.98px) {
    .why-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--color-footer-bg);
    border-top: 1px solid var(--color-footer-border);
    padding-top: 60px;
}

.footer-main {
    padding-bottom: 48px;
}

.footer-logo {
    height: 24px;
    width: auto;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 13px;
    color: var(--color-footer-text);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #314158;
    text-decoration: none;
    padding: 8px 16px;
    background-color: transparent;
    border: 0.571px solid #E2E8F0;
    border-radius: 8px;
    transition: var(--transition-base);
}

.footer-email:hover {
    color: #314158;
    background-color: var(--color-bg-soft);
    border-color: #cbd5e1;
}

.footer-compliance {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.footer-compliance-img {
    height: 60px;
    width: auto;
    transition: var(--transition-base);
}

.footer-compliance-img:hover {
    opacity: 0.8;
}

.footer-social {
    margin-top: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-base);
}

.social-link:hover {
    background-color: var(--color-secondary);
    color: white;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 18px;
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-footer-heading);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 13px;
    color: var(--color-footer-text);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-accent);
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--color-footer-border);
}

.copyright-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo-mono {
    height: 16px;
    width: auto;
    flex-shrink: 0;
    color: var(--color-footer-muted);
}

.copyright {
    font-size: 12px;
    color: var(--color-footer-muted);
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.footer-legal a {
    font-size: 12px;
    color: var(--color-footer-muted);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-legal a:hover {
    color: var(--color-accent);
}

@media (max-width: 767.98px) {
    .footer-bottom {
        text-align: center;
    }
    
    .copyright-wrapper {
        justify-content: center;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 12px;
    }
    
    .footer-bottom .copyright.text-md-end {
        text-align: center !important;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-primary-brand {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent);
}

.bg-primary-brand {
    background-color: var(--color-primary);
}

.bg-soft {
    background-color: var(--color-bg-soft);
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Selection Color */
::selection {
    background-color: var(--color-accent);
    color: white;
}

/* Mobile Footer - Email and Social in one line */
@media (max-width: 767.98px) {
    .footer-contact-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    
    .footer-contact-row .footer-email {
        margin-bottom: 0;
    }
    
    .footer-contact-row .footer-social {
        margin-top: 0;
    }
    
    .footer-compliance {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* ============================================
   Blog / Article Page Styles
   ============================================ */

/* Main section background */
main[role="main"] {
    background-color: var(--color-bg-white);
}

/* Article Hero Section */
.blue-section-blog {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background-image: url('../images/bg-light.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.blue-section-blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(135deg, transparent 40%, rgba(239, 246, 255, 0.5) 40%, rgba(239, 246, 255, 0.5) 60%, transparent 60%);
    opacity: 0.5;
    pointer-events: none;
}

.blue-section-blog::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.5) 40%, #ffffff 100%);
    pointer-events: none;
}

.blue-section-blog .hero-claim {
    position: relative;
    z-index: 2;
    max-width: 66.666667%;
    margin-left: 16.666667%;
}

.blue-section-blog .hero-claim h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
    max-width: 700px;
    margin: 0;
    text-align: left;
}

@media (max-width: 991.98px) {
    .blue-section-blog {
        padding: 120px 0 60px;
    }
    
    .blue-section-blog .hero-claim {
        max-width: 100%;
        margin-left: 0;
    }
    
    .blue-section-blog .hero-claim h1 {
        font-size: 26px;
    }
}

@media (max-width: 575.98px) {
    .blue-section-blog .hero-claim h1 {
        font-size: 22px;
    }
}

/* Blog Content Container */
.blog {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    box-shadow: 0 4px 24px rgba(3, 48, 85, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.6);
    margin-top: -100px;
    position: relative;
    z-index: 3;
}

@media (max-width: 991.98px) {
    .blog {
        padding: 36px 32px;
    }
}

@media (max-width: 575.98px) {
    .blog {
        padding: 28px 20px;
        border-radius: var(--radius-sm);
    }
}

/* Published Date */
.blog p small {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-footer-text);
    background-color: var(--color-bg-soft);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
}

/* Blog Typography */
.blog h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-bg-soft);
}

.blog h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 36px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.blog h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-top: 24px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog p {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

.blog p strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* Blog Lists */
.blog ul,
.blog ol {
    margin-bottom: 24px;
    padding-left: 0;
}

.blog ul {
    list-style: none;
}

.blog ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

.blog ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* Hub Article Index List */
.blog ul.hub {
    list-style: none;
    padding: 0;
    margin: 32px 0;
    border: 1px solid var(--color-footer-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-white);
}

.blog ul.hub li {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid var(--color-footer-border);
    transition: background-color 0.2s ease;
}

.blog ul.hub li:last-child {
    border-bottom: none;
}

.blog ul.hub li::before {
    display: none;
}

.blog ul.hub li a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.blog ul.hub li a::after {
    content: '\2192';
    position: absolute;
    right: 20px;
    opacity: 0;
    transform: translateX(-8px);
    color: var(--color-accent);
    font-size: 16px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.blog ul.hub li:hover {
    background-color: var(--color-bg-soft);
}

.blog ul.hub li:hover a {
    color: var(--color-accent);
}

.blog ul.hub li:hover a::after {
    opacity: 1;
    transform: translateX(0);
}

/* Alternating subtle background for better readability */
.blog ul.hub li:nth-child(even) {
    background-color: rgba(239, 246, 255, 0.5);
}

.blog ul.hub li:nth-child(even):hover {
    background-color: var(--color-bg-soft);
}

/* Mobile adjustments for hub list */
@media (max-width: 767.98px) {
    .blog ul.hub li a {
        padding: 14px 16px;
        font-size: 14px;
        padding-right: 40px;
    }
    
    .blog ul.hub li:hover a {
        padding-left: 28px;
    }
    
    .blog ul.hub li a::before {
        left: 16px;
    }
    
    .blog ul.hub li a::after {
        right: 16px;
    }
}

.blog ol {
    list-style: none;
    counter-reset: blog-counter;
}

.blog ol li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    counter-increment: blog-counter;
}

.blog ol li::before {
    content: counter(blog-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    background: var(--color-bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
}

/* Blog Images */
.blog .image {
    margin: 32px 0;
}

.blog .image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid hsla(0, 0%, 100%, 0.5);
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
    pointer-events: none;
    margin: 1em 0 1.2em 0;
    border-radius: 5px;
    z-index: 1;
    box-shadow: 0 8px 20px -6px rgba(3, 48, 85, 0.15), 0 4px 8px -4px rgba(3, 48, 85, 0.08);
}

.blog .image .text-center {
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-footer-text);
    border-radius: 0 0 5px 5px;
    margin-top: -1.2em;
}

/* Blog Horizontal Rules */
.blog hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-footer-border), transparent);
    margin: 40px 0;
}

/* Blog CTA Banner */
.blog .cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 48px 0 32px;
    position: relative;
    overflow: hidden;
}

.blog .cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 148, 229, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.blog .cta-banner .row {
    align-items: center;
    position: relative;
    z-index: 2;
}

.blog .cta-banner img.app01 {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.blog .cta-banner h2 {
    font-size: 26px;
    font-weight: 700;
    color: white;
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
    text-align: right;
}

.blog .cta-banner .btn {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    background: transparent;
    transition: var(--transition-base);
}

.blog .cta-banner .btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767.98px) {
    .blog .cta-banner {
        padding: 30px 24px;
        text-align: center;
    }
    
    .blog .cta-banner h2 {
        font-size: 22px;
        text-align: center;
    }
    
    .blog .cta-banner .text-right {
        text-align: center !important;
    }
    
    .blog .cta-banner img.app01 {
        margin-bottom: 24px;
    }
}

/* Related Articles Section */
.related-articles {
    background-color: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 48px;
}

.related-articles h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 20px 0;
    padding: 0;
}

.related-articles h3::before {
    display: none;
}

.related-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-articles li {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin-bottom: 12px;
    border: 1px solid var(--color-footer-border);
    transition: var(--transition-base);
}

.related-articles li:last-child {
    margin-bottom: 0;
}

.related-articles li:hover {
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(3, 48, 85, 0.08);
    border-color: var(--color-accent);
}

.related-articles li::before {
    display: none;
}

.related-articles a {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-articles a:hover {
    color: var(--color-accent);
}

.related-articles p {
    font-size: 14px;
    color: var(--color-footer-text);
    margin: 8px 0 0 0;
    line-height: 1.6;
}

/* Blog Logo Footer */
.blog + .row .text-center img,
.blog .text-center img[title="Decisimo Rule Engine"] {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.blog + .row .text-center img:hover,
.blog .text-center img[title="Decisimo Rule Engine"]:hover {
    opacity: 0.8;
}

/* Article Progress Indicator */
.section-progress {
    position: relative;
    --reading-progress: 0%;
}

.section-progress::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: var(--reading-progress);
    height: 3px;
    background: linear-gradient(to right, var(--color-accent), var(--color-secondary));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* Smooth scroll offset for fixed header */
.blog h2[id],
.blog h3[id] {
    scroll-margin-top: 100px;
}

/* ============================================
   Voice Chat Modal
   ============================================ */
.voice-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(3, 48, 85, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow-y: auto;
    padding: 1rem;
}

.voice-modal.show {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.voice-modal__dialog {
    width: 100%;
    max-width: 440px;
    margin: auto;
    animation: voiceModalSlideIn 0.3s ease-out;
}

@keyframes voiceModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.voice-modal__content {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 
        0 25px 50px -12px rgba(3, 48, 85, 0.15),
        0 0 0 1px rgba(3, 48, 85, 0.05);
    overflow: hidden;
}

.voice-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(
        135deg,
        #033055 0%,
        #0A4D80 25%,
        #0094E5 50%,
        #00C6E0 75%,
        #0094E5 100%
    );
    background-size: 300% 300%;
    animation: voiceWaveGradient 8s ease infinite;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.voice-modal__header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: voiceWaveShimmer 3s ease-in-out infinite;
}

@keyframes voiceWaveGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes voiceWaveShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.voice-modal__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    position: relative;
    z-index: 1;
}

.voice-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    z-index: 1;
}

.voice-modal__close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.voice-modal__close:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.voice-modal__body {
    padding: 1.75rem 1.5rem 1.5rem;
    background: #fff;
}

.voice-modal__subtitle {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.voice-modal__text {
    margin: 0 0 1.5rem;
    font-size: 0.9375rem;
    color: var(--color-footer-text);
    line-height: 1.5;
}

/* Voice Form Styles */
.voice-form__group {
    margin-bottom: 1.25rem;
}

.voice-form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
}

.voice-form__input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    color: var(--color-primary);
    background: #fff;
    border: 1px solid var(--color-footer-border);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.voice-form__input::placeholder {
    color: var(--color-footer-muted);
}

.voice-form__input:hover {
    border-color: #cbd5e1;
}

.voice-form__input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 148, 229, 0.1);
}

.voice-form__input.is-invalid {
    border-color: #ef4444;
}

.voice-form__error {
    display: none;
    margin-top: 0.375rem;
    font-size: 0.75rem;
    color: #ef4444;
}

.voice-form__error.show {
    display: block;
}

.voice-form__hint {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.6875rem;
    color: var(--color-footer-muted);
}

.voice-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    margin-top: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
}

.voice-form__submit:hover {
    background: var(--color-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(3, 48, 85, 0.2);
}

.voice-form__submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 48, 85, 0.2);
}

.voice-form__submit:active {
    transform: translateY(0);
}

/* Voice Chat Active State */
#voiceForm.hidden {
    display: none;
}

.voice-chat {
    display: none;
}

.voice-chat.active {
    display: block;
}

.voice-chat__status {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    text-align: center;
    color: var(--color-accent);
    background: var(--color-bg-soft);
    border: 1px solid rgba(0, 148, 229, 0.2);
    border-radius: var(--radius-sm);
}

.voice-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100px;
    margin: 1.5rem 0;
}

.voice-chat__timer {
    margin: 0.75rem 0;
    font-size: 0.875rem;
    text-align: center;
    color: var(--color-footer-text);
    font-variant-numeric: tabular-nums;
}

.voice-chat__actions {
    display: flex;
    gap: 0.75rem;
}

.voice-chat__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
}

.voice-chat__btn--disconnect {
    background: #dc2626;
}

.voice-chat__btn--disconnect.hidden {
    display: none;
}

.voice-chat__btn--disconnect:hover {
    background: #b91c1c;
}

.voice-chat__btn--call-again {
    display: none;
    background: var(--color-primary);
}

.voice-chat__btn--call-again.show {
    display: flex;
}

.voice-chat__btn--call-again:hover {
    background: var(--color-secondary);
}

.voice-chat__btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 48, 85, 0.15);
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
    .voice-modal__dialog {
        max-width: 100%;
    }
    
    .voice-modal__header {
        padding: 1rem 1.25rem;
    }
    
    .voice-modal__body {
        padding: 1.5rem 1.25rem 1.25rem;
    }
    
    .voice-chat__actions {
        flex-direction: column;
    }
}

/* ============================================
   Resources Page Styles
   ============================================ */

/* Resources Page Main Container */
main[role="main"] > .container.pt-5 {
    padding-top: 120px !important;
    padding-bottom: 60px;
}

/* Resources Page Headings */
main[role="main"] > .container h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
    position: relative;
}

main[role="main"] > .container h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Resources Grid */
.resources {
    display: flex;
    flex-wrap: wrap;
    margin-top: -20px;
}

/* Resource Link Cards */
.resource-link {
    text-decoration: none;
    display: flex;
}

.resource-link > div {
    display: flex;
    width: 100%;
}

.resource-link .card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-footer-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.resource-link:hover .card {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -8px rgba(3, 48, 85, 0.15), 0 8px 16px -4px rgba(3, 48, 85, 0.08);
    border-color: var(--color-accent);
}

.resource-link:focus .card {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Card Image */
.resource-link .card-img-top {
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid var(--color-footer-border);
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.resource-link:hover .card-img-top {
    transform: scale(1.05);
}

.resource-link .card {
    overflow: hidden;
}

/* Card Body */
.resource-link .card-body {
    padding: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.resource-link .card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.resource-link:hover .card-title {
    color: var(--color-accent);
}

.resource-link .card-text {
    font-size: 14px;
    color: var(--color-footer-text);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Learn More Link */
.resource-link .card-body span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    transition: gap 0.2s ease;
}

.resource-link:hover .card-body span {
    gap: 10px;
}

.resource-link .card-body span i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.resource-link:hover .card-body span i {
    transform: translateX(4px);
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
    main[role="main"] > .container.pt-5 {
        padding-top: 100px !important;
    }
    
    main[role="main"] > .container h1 {
        font-size: 28px;
    }
    
    .resource-link .card {
        margin-top: 16px !important;
        margin-bottom: 16px !important;
    }
    
    .resource-link .card-body {
        padding: 20px;
        text-align: center;
    }
    
    .resource-link .card-title {
        font-size: 18px;
    }
    
    .resource-link .card-text {
        font-size: 13px;
    }
    
    .resource-link .card-body span {
        justify-content: center;
    }
}

/* ============================================
   FAQ Page Styles
   ============================================ */

/* FAQ Section */
.faq-section {
    padding: 60px 0 80px;
    background-color: var(--color-bg-white);
}

/* FAQ Group */
.faq-group {
    margin-bottom: 56px;
}

.faq-group:last-of-type {
    margin-bottom: 48px;
}

.faq-group-header {
    margin-bottom: 32px;
}

.faq-group-header .section-title {
    margin-bottom: 8px;
}

.faq-group-header .section-subtitle {
    margin-top: 8px;
}

/* FAQ Accordion - Override Bootstrap defaults to match site design */
.faq-accordion .accordion-item {
    background: var(--color-bg-white);
    border: 1px solid var(--color-footer-border);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.faq-accordion .accordion-item:hover {
    border-color: rgba(0, 148, 229, 0.3);
    box-shadow: 0 4px 16px rgba(3, 48, 85, 0.06);
    transform: translateY(-1px);
}

.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: var(--color-accent);
    box-shadow: 0 8px 24px rgba(0, 148, 229, 0.08), 0 2px 8px rgba(3, 48, 85, 0.04);
}

/* Accordion Button (Question) */
.faq-accordion .accordion-button {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    background-color: var(--color-bg-white);
    padding: 20px 24px;
    gap: 14px;
    border: none;
    border-radius: var(--radius-lg) !important;
    box-shadow: none !important;
    transition: color var(--transition-base), background-color var(--transition-base);
}

.faq-accordion .accordion-button:hover {
    background-color: var(--color-bg-soft);
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--color-accent);
    background-color: rgba(239, 246, 255, 0.5);
}

/* Accordion arrow indicator */
.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23033055'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230094E5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

/* Accordion Body (Answer) */
.faq-accordion .accordion-body {
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
    padding: 4px 24px 24px 24px;
}

.faq-accordion .accordion-body p {
    margin-bottom: 12px;
}

.faq-accordion .accordion-body p:last-child {
    margin-bottom: 0;
}

/* Accordion header reset */
.faq-accordion .accordion-header {
    margin: 0;
}

/* FAQ CTA */
.faq-cta {
    margin-top: 16px;
}

/* FAQ Responsive - Tablet */
@media (max-width: 991.98px) {
    .faq-section {
        padding: 40px 0 60px;
    }
    
    .faq-group {
        margin-bottom: 40px;
    }
    
    .faq-accordion .accordion-button {
        font-size: 15px;
        padding: 18px 20px;
        gap: 12px;
    }
    
    .faq-accordion .accordion-body {
        padding: 0 20px 20px 20px;
    }
}

/* FAQ Responsive - Mobile */
@media (max-width: 575.98px) {
    .faq-section {
        padding: 32px 0 48px;
    }
    
    .faq-group {
        margin-bottom: 32px;
    }
    
    .faq-group-header .section-title {
        font-size: 24px;
    }
    
    .faq-accordion .accordion-button {
        font-size: 14px;
        padding: 16px;
        gap: 10px;
    }
    
    .faq-accordion .accordion-body {
        padding: 0 16px 16px 16px;
        font-size: 14px;
    }
    
    .faq-accordion .accordion-item {
        border-radius: var(--radius-sm) !important;
    }
}

/* ===============================
   Company / About Page
   =============================== */

/* Company Summary */
#company-summary {
    padding: 0 0 24px;
}

#company-summary .sum-wrap {
    max-width: 780px;
    margin: 0 auto;
}

#company-summary .sum-tag {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

#company-summary .sum-body {
    font-size: 16px;
    color: var(--color-footer-text);
    line-height: 1.65;
    margin-bottom: 20px;
}

#company-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#company-summary ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--color-primary);
    line-height: 1.55;
}

#company-summary ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
}

#company-summary ul li strong {
    font-weight: 600;
}

/* Company Timeline */
#company-timeline {
    color: var(--color-primary);
    background: transparent;
    padding: 32px 0 16px;
}

#company-timeline .tl-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

#company-timeline .tl-section-header {
    text-align: center;
    margin-bottom: 32px;
}

#company-timeline h2 {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    color: var(--color-primary);
    margin: 0 0 8px;
}

#company-timeline p.tl-lead {
    color: var(--color-footer-text);
    margin: 0;
    font-size: 16px;
}

/* Timeline list */
#company-timeline ol {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Vertical line */
#company-timeline ol::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-footer-border);
}

#company-timeline li {
    position: relative;
    margin: 0;
    padding: 0 0 20px 48px;
}

/* Dot */
#company-timeline .tl-dot {
    position: absolute;
    left: 8px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(3, 48, 85, 0.1);
}

/* Card */
#company-timeline .tl-card {
    background: var(--color-bg-primary);
    border: 1px solid var(--color-footer-border);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

#company-timeline .tl-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(3, 48, 85, 0.08);
}

#company-timeline .tl-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin-bottom: 4px;
}

#company-timeline time {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--color-accent);
    font-size: 15px;
}

#company-timeline .tl-kicker {
    color: var(--color-footer-text);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#company-timeline .tl-title {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--color-primary);
    padding-left: 0;
}

#company-timeline .tl-body {
    margin-top: 4px;
    color: var(--color-footer-text);
    font-size: 15px;
    line-height: 1.55;
}

/* Desktop: centered timeline */
@media (min-width: 768px) {
    #company-timeline ol::before {
        left: 50%;
        margin-left: -1px;
    }
    #company-timeline li {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding-left: 0;
        padding-bottom: 24px;
    }
    #company-timeline .tl-dot {
        left: calc(50% - 9px);
    }
    #company-timeline li:nth-child(odd) .tl-card {
        grid-column: 1 / 2;
        text-align: right;
    }
    #company-timeline li:nth-child(odd) .tl-head {
        justify-content: flex-end;
    }
    #company-timeline li:nth-child(even) .tl-card {
        grid-column: 2 / 3;
    }
}

/* Policies section */
.company-policies {
    padding: 32px 0 64px;
}

.company-policies h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.company-policies ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-policies ul li {
    margin-bottom: 10px;
}

.company-policies ul li a {
    font-size: 16px;
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.company-policies ul li a::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    font-size: 12px;
    color: var(--color-accent);
}

.company-policies ul li a:hover {
    color: var(--color-accent);
}

/* Print */
@media print {
    #company-timeline .tl-wrap { padding: 0; }
    #company-timeline .tl-card { break-inside: avoid; box-shadow: none; }
    #company-timeline ol::before,
    #company-timeline .tl-dot { display: none; }
    #company-timeline li { padding: 0 0 .75rem 0; }
}

/* ===============================
   Guide / Introduction Page
   =============================== */

.guide-section {
    padding: 48px 0 72px;
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

/* Guide Group Card */
.guide-group {
    background: var(--color-bg-white);
    border: 1px solid var(--color-footer-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-smooth);
}

.guide-group:hover {
    box-shadow: 0 4px 20px rgba(3, 48, 85, 0.07);
}

.guide-group-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--color-footer-border);
}

.guide-group-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: var(--color-bg-soft);
    color: var(--color-accent);
    font-weight: 700;
    font-size: 16px;
}

.guide-group-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

/* Guide Links */
.guide-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.guide-links li {
    border-bottom: 1px solid var(--color-footer-border);
    transition: background-color 0.2s ease;
}

.guide-links li:last-child {
    border-bottom: none;
}

.guide-links li a {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
}

.guide-links li a::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    font-size: 12px;
    color: var(--color-accent);
    margin-right: 10px;
    transition: transform 0.2s ease;
}

.guide-links li a::after {
    content: '\2192';
    position: absolute;
    right: 24px;
    opacity: 0;
    transform: translateX(-8px);
    color: var(--color-accent);
    font-size: 16px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.guide-links li:hover {
    background-color: var(--color-bg-soft);
}

.guide-links li:hover a {
    color: var(--color-accent);
    padding-left: 28px;
}

.guide-links li:hover a::after {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 575.98px) {
    .guide-section {
        padding: 32px 0 48px;
    }

    .guide-group-header {
        padding: 16px 18px 12px;
        gap: 10px;
    }

    .guide-group-number {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 14px;
        border-radius: 8px;
    }

    .guide-group-header h2 {
        font-size: 16px;
    }

    .guide-links li a {
        padding: 12px 18px;
        font-size: 14px;
    }

    .guide-links li a::after {
        right: 18px;
    }

    .guide-links li:hover a {
        padding-left: 22px;
    }
}
