/* ===== ILLYVOIP DESIGN TOKENS ===== */
:root {
    --iv-bg-base: #f4f7f0;       /* Base canvas (warm sage-cream replacing stark white) */
    --iv-bg-alt: #edf4ec;        /* Alternating section background (soft mist-sage) */
    --iv-bg-card: #ffffff;       /* Pure white card surface for maximum contrast */
    --iv-ink: #162f2b;           /* Deep dark slate forest ink for headings (sharp 12.4:1 contrast) */
    --iv-body: #475a52;          /* Rich slate-sage body text (6.1:1 AAA contrast) */
    --iv-muted: #6b7e76;         /* Secondary / muted text */
    --iv-teal: #278b7d;          /* Primary brand accent & main CTA buttons */
    --iv-teal-hover: #1b665b;    /* Darker teal for button hover */
    --iv-teal-light: #ebf6f2;    /* Soft mint background for badges / pills */
    --iv-teal-border: #99cfc5;   /* Subtle teal border for hover & accents */
    --iv-deep: #123e35;          /* Deep luxury forest teal (top bar, dark elements, footer) */
    --iv-deep-dark: #0d2e27;     /* Extra deep forest tone */
    --iv-line: #dce7df;          /* Soft organic line border replacing harsh #e2e8f0 */
    --iv-line-subtle: #e8f0ea;
    --iv-shadow: 0 4px 20px rgba(18, 62, 53, 0.05);
    --iv-shadow-hover: 0 16px 36px rgba(18, 62, 53, 0.10);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--iv-bg-base);
    color: var(--iv-ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--iv-deep);
    color: #dcefe7;
    font-size: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== HEADER / NAV ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 247, 240, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--iv-line);
    box-shadow: 0 2px 14px rgba(18, 62, 53, 0.04);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.85;
}

.logo-icon {
    width: 38px;
    height: 38px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--iv-ink);
    letter-spacing: -0.5px;
}

.logo-name-accent {
    color: var(--iv-teal);
}

.logo-sub {
    font-size: 10px;
    font-weight: 700;
    color: var(--iv-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--iv-body);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--iv-teal);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--iv-teal);
    border-radius: 1px;
}

.header-cta {
    padding: 10px 24px;
    background: linear-gradient(135deg, #278b7d 0%, #1e6d62 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(39, 139, 125, 0.25);
}

.header-cta:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #1e6d62 0%, #165348 100%);
    box-shadow: 0 6px 18px rgba(39, 139, 125, 0.35);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 105px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 40px 0;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background: url('assets/hero-bg.png?v=20261021_v5') center/cover no-repeat;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    inset: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 23, 42, 0.70) 50%,
        rgba(15, 23, 42, 0.52) 100%
    );
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: flex-end;
    gap: 40px;
}

/* ===== LEFT PANE ===== */
.hero-left {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    max-width: 650px;
    min-width: 0;
}

.hero-headline {
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 18px;
    transition: all 0.5s ease;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-headline .highlight-word {
    color: #5eead4;
    position: relative;
    transition: opacity 0.35s ease, transform 0.35s ease;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
    font-weight: 900;
}

.hero-headline.category-detected {
    font-size: clamp(26px, 3.5vw, 42px);
}

.hero-subtext {
    font-size: clamp(16px, 1.6vw, 20px);
    color: rgba(255,255,255,0.9);
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.6;
    transition: all 0.5s ease;
}

.suggestion-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    max-width: 100%;
    transition: opacity 0.5s ease;
}

.pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    color: #ffffff;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.pill:hover {
    background: rgba(39, 139, 125, 0.35);
    border-color: #278b7d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 139, 125, 0.3);
}

.pill-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: rgba(255,255,255,0.8);
}

.features-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.feature-icon {
    font-size: 16px;
}

/* ===== CHAT PANEL ===== */
.chat-panel {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 440px;
    max-width: 100%;
    flex: 0 0 440px;
    height: 600px;
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0,0,0,0.25),
        0 8px 20px rgba(0,0,0,0.12);
    animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255,255,255,0.2);
    background: #fff;
    z-index: 10;
}

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

.chat-header {
    background: linear-gradient(135deg, #123e35 0%, #162f2b 100%);
    padding: 22px 22px 18px;
}

.chat-header-title {
    font-size: 18px;
    font-weight: 700;
    color: #5eead4;
    margin-bottom: 14px;
    line-height: 1.3;
}

.experts-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.expert-avatars {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.expert-avatar-wrap {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    margin-left: -10px;
}

.expert-avatar-wrap:first-child {
    margin-left: 0;
}

.expert-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #123e35;
    display: block;
}

.expert-avatar-beacon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border: 2px solid #123e35;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
    z-index: 3;
    pointer-events: none;
}

.experts-count {
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
}

.experts-count strong {
    font-weight: 700;
}

/* Chat Body */
.chat-body {
    flex: 1;
    background: #f7f8fa;
    padding: 18px 18px 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 120px;
}

.chat-label {
    font-size: 12px;
    color: #8b95a2;
    margin-bottom: 4px;
}

.chat-message {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    animation: fadeInUp 0.4s ease;
}

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

.chat-message.user-message {
    flex-direction: row-reverse;
}

.pearl-avatar-wrap {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    flex-shrink: 0;
}

.pearl-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    display: block;
}

.pearl-online-beacon {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border: 2px solid #ffffff;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
    z-index: 2;
    pointer-events: none;
}

.message-bubble {
    padding: 11px 15px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 85%;
}

.bot-bubble {
    background: #eaf1ec;
    color: #162f2b;
    border-bottom-left-radius: 4px;
}

.user-bubble {
    background: linear-gradient(135deg, #278b7d 0%, #1e6d62 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    animation: fadeInUp 0.2s ease;
}

.typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e6f3ef;
    border: 1px solid #cce6de;
    padding: 12px 16px;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #3b7a6e;
    border-radius: 50%;
    animation: typingBounce 1.25s ease-in-out infinite;
}

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

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

/* Connect options — Professional Design */
.connect-options-pro {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
    animation: fadeInUp 0.4s ease;
}

.connect-option-pro {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.connect-option-pro::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.call-option-pro::before {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05), rgba(16, 185, 129, 0.08));
}

.chat-option-pro::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(37, 99, 235, 0.08));
}

.connect-option-pro:hover::before { opacity: 1; }

.call-option-pro:hover {
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.15);
}

.chat-option-pro:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.option-pro-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.call-icon-pro {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
}

.chat-icon-pro {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}

.option-pro-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    z-index: 1;
}

.option-pro-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.option-pro-desc {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
}

.option-pro-arrow {
    color: #cbd5e1;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 1;
}

.call-option-pro:hover .option-pro-arrow { color: #059669; transform: translateX(3px); }
.chat-option-pro:hover .option-pro-arrow { color: #3b82f6; transform: translateX(3px); }

/* Phone card in chat */
.phone-card {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border-radius: 12px;
    padding: 16px;
    margin-top: 8px;
    text-align: center;
    animation: fadeInUp 0.4s ease;
}

.phone-card .phone-num { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.phone-card .phone-info { font-size: 12px; color: rgba(255,255,255,0.8); margin-top: 4px; }

/* Chat Input Area */
.chat-input-area {
    background: #f7f8fa;
    padding: 0 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-tooltip {
    background: #334155;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    position: relative;
    align-self: center;
}

.input-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #334155;
}

.chat-input {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--iv-line);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: var(--iv-ink);
    background: #fff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.chat-input:focus {
    border-color: var(--iv-teal);
    box-shadow: 0 0 0 3px rgba(39, 139, 125, 0.15);
}

.chat-input::placeholder { color: #94a3b8; }

.start-chat-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #278b7d 0%, #1e6d62 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(39, 139, 125, 0.25);
}

.start-chat-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.start-chat-btn:hover::before { left: 100%; }
.start-chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 139, 125, 0.35);
}
.start-chat-btn:active { transform: translateY(0); }

.online-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.online-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* ===== BELOW-HERO SECTIONS ===== */
.section {
    padding: 44px 0;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

body.support-page .section-container,
body.support-page .site-footer .section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    width: 100%;
}

.section-title {
    text-align: left;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--iv-ink);
}

.section-subtitle {
    text-align: left;
    font-size: 16px;
    color: var(--iv-body);
    margin-bottom: 24px;
}

/* How It Works */
.how-it-works {
    background: var(--iv-bg-alt);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--iv-line);
    border-bottom: 1px solid var(--iv-line);
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: floatOrb 12s ease-in-out infinite alternate;
    pointer-events: none;
}

.how-it-works::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: floatOrb 14s ease-in-out infinite alternate-reverse;
    pointer-events: none;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.15); }
    100% { transform: translate(-30px, 30px) scale(0.95); }
}

.steps-container-wrap {
    position: relative;
}

.steps-flow-track {
    display: none;
}

@media (min-width: 960px) {
    .steps-flow-track {
        display: block;
        position: absolute;
        top: 140px;
        left: 15%;
        right: 15%;
        height: 3px;
        background: linear-gradient(90deg, rgba(59,130,246,0.15), rgba(139,92,246,0.2), rgba(16,185,129,0.15));
        z-index: 1;
        border-radius: 4px;
    }
    .steps-flow-pulse {
        position: absolute;
        top: -3px;
        left: 0;
        width: 100px;
        height: 9px;
        background: linear-gradient(90deg, transparent, #3b82f6, #a855f7, transparent);
        border-radius: 6px;
        filter: blur(1px);
        animation: flowTravel 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
}

@keyframes flowTravel {
    0% { left: 0%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 90%; opacity: 0; }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.step-card {
    position: relative;
    background: var(--iv-bg-card);
    border: 1.5px solid var(--iv-line);
    border-radius: 18px;
    padding: 24px 22px 22px;
    text-align: left;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(18, 62, 53, 0.04);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
}

.step-card:nth-child(1) { animation: cardBreath 6s ease-in-out infinite; }
.step-card:nth-child(2) { animation: cardBreath 6s ease-in-out infinite 2s; }
.step-card:nth-child(3) { animation: cardBreath 6s ease-in-out infinite 4s; }

@keyframes cardBreath {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.step-card:hover {
    animation-play-state: paused;
    transform: translateY(-10px);
    border-color: var(--iv-teal-border);
    box-shadow: var(--iv-shadow-hover);
}

.step-badge {
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #164e43;
    background: #ebf6f2;
    border: 1px solid #b9dfd5;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(18, 62, 53, 0.06);
    display: flex;
    align-items: center;
    gap: 6px;
}

.step-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #278b7d;
    border-radius: 50%;
    box-shadow: 0 0 8px #278b7d;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.step-motion-icon {
    width: 104px;
    height: 104px;
    margin: 6px 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.motion-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--iv-ink);
}

.step-card p {
    font-size: 14.5px;
    color: var(--iv-body);
    line-height: 1.6;
    margin: 0;
}

/* --- STEP 1 ANIMATIONS: Ask Your Question --- */
.p1-orbit {
    transform-origin: 50px 50px;
    animation: p1OrbitRotate 12s linear infinite;
}
@keyframes p1OrbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.p1-bubble-group {
    animation: p1FloatBubble 3.2s ease-in-out infinite alternate;
    transform-origin: 50px 50px;
}
@keyframes p1FloatBubble {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-4px) scale(1.02); }
}

.p1-dot {
    animation: p1DotBounce 1.4s ease-in-out infinite;
}
.p1-dot-1 { animation-delay: 0s; }
.p1-dot-2 { animation-delay: 0.2s; }
.p1-dot-3 { animation-delay: 0.4s; }
@keyframes p1DotBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
    40% { transform: translateY(-5px); opacity: 1; }
}

.p1-query-badge {
    animation: p1BadgeBob 2.6s ease-in-out infinite alternate;
    transform-origin: 72px 26px;
}
@keyframes p1BadgeBob {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-3px) scale(1.08); }
}

.p1-sparkle-1 {
    animation: p1SparkleTwinkle 2s ease-in-out infinite alternate;
    transform-origin: 22px 28px;
}
.p1-sparkle-2 {
    animation: p1SparkleTwinkle 2.4s ease-in-out infinite 0.5s alternate;
    transform-origin: 78px 68px;
}
@keyframes p1SparkleTwinkle {
    0% { transform: scale(0.7); opacity: 0.3; }
    100% { transform: scale(1.2); opacity: 1; }
}

/* --- STEP 2 ANIMATIONS: AI Help Core --- */
.p2-orbit-spin {
    transform-origin: 50px 50px;
    animation: p2Orbit 9s linear infinite;
}
@keyframes p2Orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.p2-core {
    animation: p2CorePulse 2.8s ease-in-out infinite alternate;
    transform-origin: 50px 50px;
}
@keyframes p2CorePulse {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-3px) scale(1.02); }
}

.p2-beacon {
    animation: p2BeaconGlow 1.5s ease-in-out infinite alternate;
}
@keyframes p2BeaconGlow {
    0% { fill: #a855f7; filter: drop-shadow(0 0 1px #a855f7); }
    100% { fill: #e879f9; filter: drop-shadow(0 0 5px #e879f9); }
}

.p2-signal-ring {
    transform-origin: 50px 15px;
    animation: p2SignalExpand 1.8s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
}
@keyframes p2SignalExpand {
    0% { r: 4px; opacity: 0.9; stroke-width: 1.5px; }
    100% { r: 10px; opacity: 0; stroke-width: 0.5px; }
}

.p2-laser {
    animation: p2LaserSweep 2.2s ease-in-out infinite alternate;
}
@keyframes p2LaserSweep {
    0% { transform: translateY(-7px); opacity: 0.3; }
    50% { opacity: 1; }
    100% { transform: translateY(7px); opacity: 0.3; }
}

.p2-eye {
    animation: p2EyeBlink 3.5s ease-in-out infinite;
    transform-origin: center;
}
@keyframes p2EyeBlink {
    0%, 94%, 100% { transform: scaleY(1); }
    97% { transform: scaleY(0.1); }
}

.p2-sparkle {
    animation: p1SparkleTwinkle 1.8s ease-in-out infinite alternate;
    transform-origin: 78px 25px;
}

/* --- STEP 3 ANIMATIONS: Connect with an Expert --- */
.p3-radar-ring {
    transform-origin: 50px 50px;
    animation: p3RadarRotate 14s linear infinite;
}
@keyframes p3RadarRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.p3-specialist {
    animation: p3Float 3s ease-in-out infinite alternate;
    transform-origin: 50px 50px;
}
@keyframes p3Float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

.p3-wave-1 {
    animation: p3WaveAnim1 0.9s ease-in-out infinite alternate;
}
.p3-wave-2 {
    animation: p3WaveAnim2 0.7s ease-in-out infinite alternate;
}
.p3-wave-3 {
    animation: p3WaveAnim3 1.1s ease-in-out infinite alternate;
}
@keyframes p3WaveAnim1 {
    0% { y2: 53px; opacity: 0.35; }
    100% { y2: 46px; opacity: 1; }
}
@keyframes p3WaveAnim2 {
    0% { y2: 53px; opacity: 0.25; }
    100% { y2: 44px; opacity: 1; }
}
@keyframes p3WaveAnim3 {
    0% { y2: 53px; opacity: 0.35; }
    100% { y2: 47px; opacity: 1; }
}

.p3-ping {
    transform-origin: 74px 24px;
    animation: p3PingRing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes p3PingRing {
    0% { r: 4px; opacity: 0.9; stroke-width: 1.5px; }
    100% { r: 12px; opacity: 0; stroke-width: 0.5px; }
}

.p3-badge {
    animation: p3BadgePulse 2.5s ease-in-out infinite alternate;
    transform-origin: 72px 70px;
}
@keyframes p3BadgePulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

/* Flow Connector Lines on Desktop */
@media (min-width: 960px) {
    .step-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 86px;
        right: -24px;
        width: 16px;
        height: 2px;
        background: linear-gradient(90deg, #93c5fd, #c4b5fd);
        z-index: 2;
        border-radius: 2px;
    }
}

/* Categories */
.categories-section {
    background: var(--iv-bg-base);
}

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

.category-card {
    position: relative;
    background: #fff;
    border: 1.5px solid var(--iv-line);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--iv-shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 270px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.category-card .card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.category-card:hover .card-bg-img {
    transform: scale(1.08);
}

/* Category-specific focal positioning so iconic subjects are never cropped */
.category-card[data-cat="microsoft"] .card-bg-img { object-position: center 15%; }
.category-card[data-cat="ios"] .card-bg-img { object-position: center 25%; }
.category-card[data-cat="xbox"] .card-bg-img { object-position: center 48%; }
.category-card[data-cat="android"] .card-bg-img { object-position: center 28%; }
.category-card[data-cat="legal"] .card-bg-img { object-position: center 10%; }
.category-card[data-cat="medical"] .card-bg-img { object-position: center 12%; }
.category-card[data-cat="plumbing"] .card-bg-img { object-position: center 20%; }
.category-card[data-cat="automotive"] .card-bg-img { object-position: 65% 25%; }
.category-card[data-cat="appliances"] .card-bg-img { object-position: center 40%; }
.category-card[data-cat="finance"] .card-bg-img { object-position: center 42%; }
.category-card[data-cat="veterinary"] .card-bg-img { object-position: center 48%; }
.category-card[data-cat="crypto"] .card-bg-img,
.category-card[data-cat="payments"] .card-bg-img { object-position: center 36%; }

.category-card .card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 32%,
        rgba(255, 255, 255, 0.65) 48%,
        rgba(255, 255, 255, 0.95) 64%,
        #ffffff 76%,
        #ffffff 100%
    );
    pointer-events: none;
}

.category-card .card-body {
    position: relative;
    z-index: 3;
    padding: 105px 20px 22px 20px;
    text-align: center;
    width: 100%;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.category-card:hover h3 {
    color: #2563eb;
}

.category-card p {
    font-size: 13px;
    color: #334155;
    font-weight: 500;
    line-height: 1.45;
    margin-bottom: 10px;
    min-height: 38px;
}

.cat-experts {
    font-size: 12px;
    font-weight: 700;
    color: #1d4ed8;
    display: inline-block;
}

/* Fallback / legacy support */
.cat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.08));
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.28s ease;
}

/* Meet Experts */
.experts-section {
    background: var(--iv-bg-base);
}

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

.expert-card {
    background: #fff;
    border: 1.5px solid var(--iv-line);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--iv-shadow);
}

.expert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.expert-card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid #f0f4f8;
}

.expert-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--iv-ink);
    margin-bottom: 4px;
}

.expert-title {
    font-size: 13px;
    color: var(--iv-body);
    margin-bottom: 10px;
}

.expert-stars {
    color: #f59e0b;
    font-size: 16px;
    margin-bottom: 8px;
}

.expert-stats {
    font-size: 12px;
    color: var(--iv-teal);
    font-weight: 700;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.cta-section .section-container {
    max-width: 100%;
    margin: 0;
    padding: 0 40px; max-width: 1280px; margin: 0 auto; box-sizing: border-box;
}

.cta-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.cta-content {
    flex: 1;
    max-width: 560px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-content.animated {
    opacity: 1;
    transform: translateX(0);
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 22px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 14px;
}

.cta-content p strong {
    color: #0f172a;
}

.cta-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.28);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.4);
}

.cta-image-wrap {
    flex: 1;
    max-width: 480px;
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-image-wrap.animated,
.cta-image-wrap.visible {
    opacity: 1;
    transform: translateX(0);
}

.cta-image-wrap::before {
    content: '';
    position: absolute;
    inset: -12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(14, 165, 233, 0.1));
    border-radius: 40px;
    filter: blur(14px);
    z-index: 0;
    transform: rotate(-2deg);
}

.cta-image {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    border-radius: 36px;
    box-shadow: 0 24px 60px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    display: block;
    animation: imageBreath 6s ease-in-out infinite alternate;
}

@keyframes imageBreath {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Testimonials */
.testimonials-section {
    background: #f8fafc;
}

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

.testimonial-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 18px;
    margin-bottom: 14px;
}

.testimonial-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: #1e293b;
}

.testimonial-author span {
    font-size: 12px;
    color: #94a3b8;
}

/* Stats Section (Rounded Card Redesign) */
.stats-section-wrap {
    padding: 20px 0 60px;
    background: #ffffff;
}

.stats-section-wrap .section-container {
    max-width: 100%;
    margin: 0;
    padding: 0 40px; max-width: 1280px; margin: 0 auto; box-sizing: border-box;
}

.stats-rounded-card {
    background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 50%, #eff6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 28px;
    padding: 44px 36px;
    box-shadow: 0 12px 32px -4px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}

.stats-rounded-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05), transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 10px 14px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    height: 60%;
    width: 1px;
    background: linear-gradient(180deg, transparent, #cbd5e1, transparent);
}

.stat-number {
    display: block;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
    transition: transform 0.4s ease;
}

.stat-number.counter-completed {
    animation: statPulse 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes statPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

.stat-label {
    font-size: 14.5px;
    font-weight: 600;
    color: #475569;
    display: block;
    letter-spacing: -0.01em;
}

/* ===== TRUST BADGES (SVG-based) ===== */
.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 20px 0;
}

.trust-badge {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
}

.badge-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-logo svg {
    height: 50px;
    width: auto;
}

.bbb-logo svg { height: 55px; }
.legitscript-logo svg { height: 50px; }
.google-logo svg { height: 50px; }
.trustpilot-logo svg { height: 55px; }

/* ===== CHAT ACTION LABEL ===== */
.chat-action-label {
    font-size: 11px;
    color: #94a3b8;
    text-align: right;
    padding: 2px 0;
    font-style: italic;
}

/* ===== CALL DETAILS PANEL (Adjacent to Chat on Desktop, Centered Modal on Mobile/Tablet) ===== */
.call-details-panel,
.call-panel {
    display: none;
    position: fixed;
    top: 110px;
    right: 430px;
    width: 360px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.30), 0 8px 24px rgba(0, 0, 0, 0.14);
    padding: 24px;
    z-index: 10102 !important;
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(18, 62, 53, 0.12);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

.call-panel-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10090 !important;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.call-panel-backdrop.visible {
    display: block !important;
    opacity: 1 !important;
}

/* Keep chat panel crisp alongside call panel on desktop (> 1100px), while softly dimming hero-left */
@media (min-width: 1101px) {
    body.call-panel-open .hero-inner {
        z-index: 10100 !important;
    }
    body.call-panel-open .hero-left {
        opacity: 0.18;
        filter: blur(3px);
        pointer-events: none;
        transition: opacity 0.25s ease, filter 0.25s ease;
    }
    body.call-panel-open .chat-panel {
        position: relative;
        z-index: 10101 !important;
    }
}

/* Custom scrollbar for call panel */
.call-details-panel::-webkit-scrollbar,
.call-panel::-webkit-scrollbar { width: 4px; }
.call-details-panel::-webkit-scrollbar-track,
.call-panel::-webkit-scrollbar-track { background: transparent; margin: 16px 0; }
.call-details-panel::-webkit-scrollbar-thumb,
.call-panel::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

.call-details-panel.visible,
.call-panel.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.call-panel-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--iv-teal);
    font-weight: 700;
    margin-bottom: 16px;
}

.call-panel-badge .blue-tick {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.call-panel-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
}

.call-panel-expert {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}

.call-panel-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
}

.call-panel-expert strong {
    display: block;
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 2px;
}

.call-panel-expert span {
    display: block;
    font-size: 13px;
    color: #64748b;
}

.call-panel-customers {
    font-size: 12px !important;
    color: #3b82f6 !important;
    font-weight: 600;
}

.call-panel-info {
    margin-bottom: 20px;
}

.call-panel-info p {
    font-size: 15px;
    color: #334155;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 6px;
}

.call-panel-sub {
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 400 !important;
}

/* ===== CALL NOW SECTION ===== */
.call-now-section {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.call-phone-display {
    text-align: center;
    padding: 16px;
    background: #ebf6f2;
    border-radius: 12px;
    border: 1px solid #b9dfd5;
    margin-bottom: 16px;
}

.call-phone-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 500;
}

.call-phone-number {
    display: block;
    font-size: 26px;
    font-weight: 900;
    color: #16655a;
    letter-spacing: 1.5px;
}

.call-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #278b7d 0%, #1e6d62 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(39, 139, 125, 0.3);
}

.call-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.call-now-btn:hover::before { left: 100%; }

.call-now-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1e6d62 0%, #165348 100%);
    box-shadow: 0 8px 25px rgba(39, 139, 125, 0.4);
}

.call-now-btn:active {
    transform: translateY(0);
}

.call-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: #059669;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}

.call-panel-number {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 14px 16px;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1.5px solid #86efac;
    text-decoration: none !important;
    color: #16655a !important;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.call-panel-number:hover {
    background: #dcfce7;
    border-color: #4ade80;
    color: #14532d !important;
    transform: translateY(-1px);
}

.call-panel-number span,
.call-panel-number .phone-number,
#callPanelPhoneNumberVisible {
    text-decoration: none !important;
    color: #16655a !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
}

.call-number-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}

.call-number-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #059669;
    letter-spacing: 1px;
}

.call-panel-trust {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.call-panel-trust span {
    font-size: 11px;
    color: #059669;
    font-weight: 600;
}

.call-panel-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.call-panel-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* ===== BRAND DISCLAIMER ===== */
.brand-disclaimer {
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.brand-disclaimer p {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.7;
    text-align: left;
    max-width: 100%;
    margin: 0 0 14px 0;
}

/* Footer */
.site-footer {
    background: var(--iv-deep);
    padding: 56px 0 36px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #dcefe7;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 22px;
    width: 100%;
    max-width: 100%;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    color: #a3c9bd;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    font-size: 14px;
    color: #b8d5cb;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #5eead4;
}

.footer-bottom {
    text-align: left;
    font-size: 13px;
    color: #7fa498;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    margin-top: 24px;
}

/* ===== EXPERT POPUP (1-minute trigger) ===== */
.expert-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10200 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    animation: fadeIn 0.3s ease;
}

.expert-popup-overlay.closing {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.expert-popup-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 32px 28px;
    max-width: 420px;
    width: 100%;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    text-align: center;
    position: relative;
    animation: scaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    box-sizing: border-box;
}

.expert-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.expert-popup-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.expert-popup-badge {
    display: inline-block;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.expert-popup-avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
}

.popup-avatar-bg {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    margin: 0 -6px;
    opacity: 0.6;
    filter: grayscale(30%);
}

.popup-avatar-main {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    margin: 0 -6px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.popup-avatar-main::after {
    content: '✓';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    border: 2px solid #fff;
}

.expert-popup-name {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}

.expert-popup-role {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 500;
}

.expert-popup-customers {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.expert-popup-divider {
    width: 60px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 auto 20px;
    border-radius: 1px;
}

.expert-popup-msg {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 8px;
}

.expert-popup-sub {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 24px;
}

.expert-popup-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 48px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.25);
    position: relative;
    overflow: hidden;
}

.expert-popup-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.expert-popup-cta:hover::before { left: 100%; }

.expert-popup-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    position: relative;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover { color: #334155; }

.modal-title { font-size: 24px; font-weight: 800; color: #1e293b; margin-bottom: 8px; }
.modal-desc { font-size: 15px; color: #64748b; margin-bottom: 24px; line-height: 1.5; }

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all 0.3s ease;
}

.modal-option:hover {
    border-color: #3b82f6;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59,130,246,0.1);
}

.option-icon { font-size: 28px; }
.option-label { display: block; font-size: 16px; font-weight: 700; color: #1e293b; }
.option-desc { display: block; font-size: 13px; color: #94a3b8; margin-top: 2px; }

.phone-reveal {
    margin-top: 20px;
    text-align: center;
    animation: fadeInUp 0.4s ease;
}

.phone-number-card {
    background: linear-gradient(135deg, #059669, #10b981);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.phone-icon { font-size: 24px; }
.phone-number { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.phone-note { font-size: 13px; color: #64748b; margin-top: 10px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 2px;
        text-align: center;
    }
    
    .hero {
        padding: 30px 0 40px;
        min-height: auto;
    }

    .hero-inner {
        flex-direction: column;
        align-items: center;
        padding: 0 24px;
        gap: 30px;
    }

    .hero-left {
        max-width: 100%;
        padding: 0;
        text-align: center;
        align-items: center;
    }

    .suggestion-pills {
        justify-content: center;
        flex-wrap: wrap;
    }

    .chat-panel {
        position: relative;
        width: 100%;
        max-width: 500px;
        height: 560px;
        right: auto;
        left: auto;
        top: auto;
        bottom: auto;
        flex: none;
        margin: 0 auto;
    }

    .section-container {
        padding: 0 24px;
        max-width: 1280px;
        width: 100%;
        box-sizing: border-box;
    }

    .cta-section .section-container {
        padding: 0 24px;
    }

    .stats-section-wrap .section-container {
        padding: 0 24px;
    }

    .site-footer {
        padding: 60px 0 30px;
    }

    .header-nav {
        gap: 20px;
    }

    .steps-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .experts-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .cta-split {
        flex-direction: column;
        text-align: center;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-image-wrap {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .header-inner {
        padding: 0 20px;
    }

    .hero {
        padding: 24px 0 32px;
    }

    .hero-inner {
        padding: 0 16px;
        gap: 24px;
    }

    .hero-headline {
        font-size: clamp(26px, 6vw, 36px);
        text-align: center;
    }

    .hero-subtext {
        font-size: 15px;
        text-align: center;
        margin-bottom: 20px;
    }

    .chat-panel {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        height: 520px;
        max-height: 75vh;
        border-radius: 16px;
        z-index: 10;
        margin: 0 auto;
    }

    .section-container {
        padding: 0 16px;
    }

    .cta-section .section-container {
        padding: 0 16px;
    }

    .stats-section-wrap .section-container {
        padding: 0 16px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stats-rounded-card {
        padding: 24px 16px;
        border-radius: 18px;
    }
}

/* Dedicated media query ensuring Call Window is 100% ON TOP on all Mobile, Tablet, and Split screens */
@media (max-width: 1100px) {
    .call-panel-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.75) !important;
        backdrop-filter: blur(5px) !important;
        -webkit-backdrop-filter: blur(5px) !important;
        z-index: 10090 !important;
        opacity: 0;
        transition: opacity 0.28s ease;
    }

    .call-panel-backdrop.visible {
        display: block !important;
        opacity: 1 !important;
    }

    .call-details-panel,
    .call-panel {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        width: calc(100% - 28px) !important;
        max-width: 420px !important;
        max-height: 90dvh !important;
        border-radius: 22px !important;
        padding: 26px 22px 26px 22px !important;
        z-index: 10102 !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
        background: #ffffff !important;
        transform: translate(-50%, -46%) scale(0.96) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .call-details-panel.visible,
    .call-panel.visible {
        transform: translate(-50%, -50%) scale(1) !important;
        opacity: 1 !important;
        display: block !important;
    }
}

@media (max-width: 600px) {
    .hero-left { padding: 0 0 20px; }
    .hero-headline { font-size: 26px; }
    .hero-subtext { font-size: 15px; }
    .features-row { flex-direction: column; gap: 12px; }
    .chat-header { padding: 16px; }
    .chat-body { min-height: 150px; }
    .expert-avatar { width: 34px; height: 34px; }
    .section { padding: 50px 0; }
    .section-container { padding: 0 20px; }
    .section-title { font-size: 26px; }
    .categories-grid { grid-template-columns: 1fr; }
    .experts-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Hidden utility */
.hidden { display: none !important; }

/* Scrollbar styling */
.chat-body::-webkit-scrollbar { width: 5px; }
.chat-body::-webkit-scrollbar-track { background: transparent; }
.chat-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

/* ===== CHAT REGULATORY ADVISORY BANNER ===== */
.chat-advisory-banner {
    padding: 10px 16px;
    font-size: 12px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.3s ease;
}

.chat-advisory-banner.medical {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.chat-advisory-banner.legal {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

/* ===== COMPLIANT FOOTER GUARANTEES BAR ===== */
.footer-guarantees {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    margin-bottom: 28px;
    text-align: left;
    width: 100%;
    max-width: 100%;
    backdrop-filter: blur(8px);
}

.footer-guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guarantee-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guarantee-icon-wrap img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-guarantee-item:hover .guarantee-icon-wrap img {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

.guarantee-text {
    min-width: 0;
    flex: 1;
}

.guarantee-text strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 2px;
    white-space: nowrap;
}

.guarantee-text p {
    font-size: 11.5px;
    color: #a3c9bd;
    line-height: 1.35;
    margin: 0;
}

@media (max-width: 900px) {
    .footer-guarantees {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 14px;
    }
}

@media (max-width: 520px) {
    .footer-guarantees {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .guarantee-text strong {
        white-space: normal;
    }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 850px;
    background: #0f172a;
    color: #e2e8f0;
    padding: 20px 24px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid #334155;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
}

.cookie-text a {
    color: #60a5fa;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cookie-accept:hover {
    background: #2563eb;
}

.btn-cookie-essential {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cookie-essential:hover {
    background: #1e293b;
    color: white;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        bottom: 10px;
        width: calc(100% - 20px);
    }
    .cookie-actions {
        flex-direction: column;
    }
}





/* ==========================================================================
   HOW IT WORKS - STAGE SCREENS & CARDS
   ========================================================================== */
.step-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid var(--iv-line);
    border-radius: 18px;
    padding: 22px 20px 18px;
    text-align: left;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: #cbd5e1;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.step-pill {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.step-pill-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.step-time {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
}

.stage-screen {
    background: #0f172a;
    border-radius: 12px;
    padding: 12px 14px;
    min-height: 110px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #1e293b;
    position: relative;
    overflow: hidden;
}

.screen-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.dot-btn {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.screen-title {
    font-size: 10px;
    color: #64748b;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    margin-left: 6px;
    letter-spacing: 0.05em;
}

.typing-box {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 12px;
    color: #f8fafc;
    line-height: 1.5;
    min-height: 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.typing-cursor {
    display: inline-block;
    width: 7px;
    height: 15px;
    background: #38bdf8;
    margin-left: 4px;
    animation: cursorBlink 0.9s infinite;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.stage-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #1e293b;
}

.stage-status-tag {
    font-size: 10px;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
}

.stage-speed-tag {
    font-size: 10px;
    color: #10b981;
    font-weight: 700;
}

.stage-screen-ai {
    background: linear-gradient(145deg, #090d16 0%, #0f172a 100%);
}

.scan-laser-wrap {
    position: relative;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38bdf8, #a855f7, transparent);
    box-shadow: 0 0 10px #38bdf8;
    animation: scanMove 2.4s ease-in-out infinite alternate;
}

@keyframes scanMove {
    0% { top: 0%; }
    100% { top: 96%; }
}

.scan-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #cbd5e1;
    margin-bottom: 6px;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
}

.scan-item:last-child {
    margin-bottom: 0;
}

.scan-check {
    color: #10b981;
    font-weight: 900;
}

.progress-bar-wrap {
    width: 100%;
    height: 4px;
    background: #1e293b;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #a855f7);
    border-radius: 4px;
    animation: fillBar 3s ease-in-out infinite;
}

@keyframes fillBar {
    0% { width: 10%; }
    60% { width: 94%; }
    100% { width: 100%; }
}

.stage-screen-expert {
    background: linear-gradient(145deg, #09121a 0%, #0f172a 100%);
}

.expert-live-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.expert-mini-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #10b981;
    object-fit: cover;
}

.expert-info-text {
    flex: 1;
}

.expert-name {
    font-size: 12px;
    font-weight: 700;
    color: #f8fafc;
}

.expert-role {
    font-size: 10px;
    color: #94a3b8;
}

.equalizer-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 38px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0 16px;
}

.eq-bar {
    width: 3.5px;
    background: #10b981;
    border-radius: 2px;
    animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.eq-1 { height: 12px; animation-delay: 0.1s; }
.eq-2 { height: 26px; animation-delay: 0.3s; }
.eq-3 { height: 18px; animation-delay: 0.15s; }
.eq-4 { height: 28px; animation-delay: 0.4s; }
.eq-5 { height: 14px; animation-delay: 0.25s; }
.eq-6 { height: 22px; animation-delay: 0.5s; }
.eq-7 { height: 10px; animation-delay: 0.2s; }

@keyframes eqBounce {
    0% { transform: scaleY(0.3); opacity: 0.4; }
    100% { transform: scaleY(1.1); opacity: 1; }
}

/* ==========================================================================
   CURVY CTA BANNER CARD
   ========================================================================== */
.cta-section {
    background: #f8fafc;
    padding: 60px 0;
    overflow: hidden;
}

.cta-banner-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 36px;
    padding: 56px 60px;
    box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}

.cta-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.cta-content {
    flex: 1;
    max-width: 560px;
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-content.animated {
    opacity: 1;
    transform: translateX(0);
}

.cta-content h2 {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 14px;
}

.cta-content p strong {
    color: #0f172a;
}

.cta-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.28);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.4);
}

.cta-image-wrap {
    flex: 1;
    max-width: 520px;
    position: relative;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-image-wrap.animated,
.cta-image-wrap.visible {
    opacity: 1;
    transform: translateX(0);
}

.cta-image {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    border-radius: 28px;
    box-shadow: 0 20px 48px -10px rgba(15, 23, 42, 0.16);
    display: block;
    animation: imageBreath 6s ease-in-out infinite alternate;
}

@keyframes imageBreath {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* ==========================================================================
   STATS SECTION - PURE LIGHT / NEUTRAL (ZERO BLUE)
   ========================================================================== */
.stats-section-wrap {
    padding: 20px 0 60px;
    background: #f8fafc;
}

.stats-rounded-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 28px !important;
    padding: 44px 36px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
    position: relative;
    overflow: hidden;
}

.stats-rounded-card::before {
    display: none !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 10px 14px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    height: 60%;
    width: 1px;
    background: #e2e8f0 !important;
}

.stat-number {
    display: block;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    line-height: 1.15;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 14.5px;
    font-weight: 600;
    color: #64748b !important;
    display: block;
    letter-spacing: -0.01em;
}



/* ==========================================================================
   S-CURVE CTA DESIGN ("When you can't afford to be wrong")
   Continuous S-shaped image flowing across top strip & right side,
   rounding gracefully around the left text pocket.
   ========================================================================== */
.cta-section {
    background: #f8fafc;
    padding: 60px 0;
    overflow: hidden;
}

.cta-banner-card-s {
    background: #edf2f7;
    border: 1px solid #e2e8f0;
    border-radius: 36px;
    box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: stretch;
    padding: 0 !important;
}

.s-curve-svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

.cta-top-badge {
    position: absolute;
    top: 22px;
    left: 48px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 16px;
    border-radius: 20px;
    color: #f8fafc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.cta-top-badge .badge-pulse {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: livePulse 2s infinite;
}

.cta-s-image-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    clip-path: url(#ctaSCurveDesktop);
    background: #0f172a;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-s-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% center;
    display: block;
    filter: brightness(0.97);
}

.cta-s-image-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.04) 45%, transparent 70%);
}

.cta-content-pocket {
    position: relative;
    z-index: 2;
    width: 44%;
    max-width: 530px;
    padding: 120px 24px 50px 56px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-content-pocket.animated,
.cta-content-pocket.visible {
    opacity: 1;
    transform: translateX(0);
}

.cta-content-pocket h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    line-height: 1.22;
    letter-spacing: -0.02em;
}

.cta-content-pocket p {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 14px;
}

.cta-content-pocket p strong {
    color: #0f172a;
}

.cta-content-pocket .cta-btn {
    align-self: flex-start;
    margin-top: 14px;
}

@media (max-width: 1100px) {
    .cta-content-pocket {
        width: 46%;
        padding: 110px 16px 40px 40px;
    }
    .cta-content-pocket h2 {
        font-size: 30px;
    }
}

@media (max-width: 860px) {
    .cta-banner-card-s {
        flex-direction: column;
        min-height: auto;
        border-radius: 28px;
    }
    .cta-s-image-layer {
        position: relative;
        inset: auto;
        width: 100%;
        height: 290px;
        clip-path: url(#ctaSWaveMobile);
    }
    .cta-content-pocket {
        width: 100%;
        max-width: 100%;
        padding: 24px 24px 38px;
        text-align: center;
        align-items: center;
        opacity: 1;
        transform: none;
    }
    .cta-content-pocket h2 {
        font-size: 26px;
    }
    .cta-content-pocket .cta-btn {
        align-self: center;
    }
    .cta-top-badge {
        top: 16px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 10px;
        white-space: nowrap;
        padding: 5px 12px;
    }
}



/* ==========================================================================
   TRANSLUCENT THEME CTA OVERLAY ("When you can't afford to be wrong")
   Theme color #f4f7f0 translucent frosted overlay so background pic is lightly visible
   Clean perpendicular straight borders meeting at crisp 90° corner
   ========================================================================== */
.cta-section {
    background: #f8fafc !important;
    padding: 60px 0 !important;
    overflow: hidden !important;
}

.cta-banner-card-s {
    background: var(--iv-bg-base) !important;
    border: 1px solid var(--iv-line) !important;
    border-radius: 36px !important;
    box-shadow: 0 20px 48px -12px rgba(18, 62, 53, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 540px !important;
    display: flex !important;
    align-items: stretch !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.s-curve-svg-defs {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.cta-top-badge {
    position: absolute !important;
    top: 22px !important;
    left: 48px !important;
    z-index: 4 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(15, 23, 42, 0.84) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    color: #f8fafc !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
}

.cta-top-badge .badge-pulse {
    width: 6px !important;
    height: 6px !important;
    background: #10b981 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 8px #10b981 !important;
    animation: livePulse 2s infinite !important;
}

.cta-banner-card-s .cta-s-image-layer {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    z-index: 1 !important;
    pointer-events: none !important;
    clip-path: none !important;
    background: #0f172a !important;
    transform: none !important;
    opacity: 1 !important;
}

.cta-banner-card-s .cta-s-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 80% center !important;
    display: block !important;
    filter: brightness(0.97) !important;
    animation: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.cta-banner-card-s .cta-s-image-layer::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.02) 45%, transparent 70%) !important;
}

.cta-banner-card-s .cta-content-pocket {
    position: absolute !important;
    top: 76px !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 48% !important;
    max-width: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 38px 36px 38px 52px !important;
    background: linear-gradient(135deg, rgba(244, 247, 240, 0.50) 0%, rgba(244, 247, 240, 0.28) 100%) !important;
    backdrop-filter: blur(5px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(5px) saturate(120%) !important;
    border-top: 1.5px solid rgba(22, 47, 43, 0.15) !important;
    border-right: 1.5px solid rgba(22, 47, 43, 0.15) !important;
    box-shadow: 4px 0 24px rgba(18, 62, 53, 0.05) !important;
    z-index: 2 !important;
    transform: none !important;
    opacity: 1 !important;
}

.cta-banner-card-s .cta-content-pocket h2 {
    font-size: 34px !important;
    font-weight: 850 !important;
    color: #0b251f !important;
    margin-bottom: 14px !important;
    line-height: 1.22 !important;
    letter-spacing: -0.02em !important;
}

.cta-banner-card-s .cta-content-pocket p {
    font-size: 15px !important;
    color: #16362f !important;
    font-weight: 550 !important;
    line-height: 1.65 !important;
    margin-bottom: 12px !important;
}

.cta-banner-card-s .cta-content-pocket p strong {
    color: #162f2b !important;
}

.cta-banner-card-s .cta-content-pocket .cta-btn {
    align-self: flex-start !important;
    margin-top: 14px !important;
}

@media (max-width: 1100px) {
    .cta-banner-card-s .cta-content-pocket {
        width: 52% !important;
        padding: 28px 24px 28px 34px !important;
    }
    .cta-banner-card-s .cta-content-pocket h2 {
        font-size: 28px !important;
    }
}

@media (max-width: 960px) {
    .cta-banner-card-s {
        flex-direction: column !important;
        min-height: auto !important;
        border-radius: 28px !important;
    }
    .cta-banner-card-s .cta-s-image-layer {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: 280px !important;
        clip-path: none !important;
    }
    .cta-banner-card-s .cta-content-pocket {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 32px 24px 36px !important;
        text-align: center !important;
        align-items: center !important;
        background: #f4f7f0 !important;
        border-top: 1.5px solid rgba(22, 47, 43, 0.12) !important;
        border-right: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }
    .cta-banner-card-s .cta-content-pocket h2 {
        font-size: 26px !important;
    }
    .cta-banner-card-s .cta-content-pocket .cta-btn {
        align-self: center !important;
    }
    .cta-top-badge {
        top: 14px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        font-size: 10px !important;
        max-width: calc(100% - 24px) !important;
        white-space: normal !important;
        text-align: center !important;
        justify-content: center !important;
        line-height: 1.3 !important;
        padding: 5px 12px !important;
    }
}


/* ==========================================================================
   KNOWLEDGE BASE & VERIFIED TROUBLESHOOTING GUIDES SECTION
   ========================================================================== */
.kb-section {
    position: relative;
    background: var(--iv-bg-alt);
    padding: 90px 0;
    border-top: 1px solid var(--iv-line);
    border-bottom: 1px solid var(--iv-line);
}

.kb-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 36px;
}

.kb-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #ebf6f2;
    border: 1px solid #b9dfd5;
    border-radius: 20px;
    color: #164e43;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}

.kb-search-container {
    max-width: 720px;
    margin: 0 auto 28px;
}

.kb-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1.5px solid var(--iv-line);
    border-radius: 50px;
    padding: 8px 18px;
    box-shadow: var(--iv-shadow);
    transition: all 0.25s ease;
}

.kb-search-box:focus-within {
    border-color: var(--iv-teal);
    box-shadow: 0 0 0 4px rgba(39, 139, 125, 0.15), var(--iv-shadow-hover);
}

.kb-search-icon {
    color: var(--iv-teal);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.kb-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    color: #1e293b;
    background: transparent;
    padding: 6px 0;
}

.kb-search-input::placeholder {
    color: #94a3b8;
}

.kb-search-clear {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    border-radius: 50%;
    display: none;
    line-height: 1;
    transition: color 0.2s ease;
}

.kb-search-clear:hover {
    color: #1e293b;
}

.kb-filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.kb-pill {
    padding: 8px 18px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.kb-pill:hover {
    border-color: var(--iv-teal-border);
    background: #ebf6f2;
    color: var(--iv-ink);
}

.kb-pill.active {
    background: var(--iv-teal);
    border-color: var(--iv-teal);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(39, 139, 125, 0.3);
}

.kb-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 20px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.kb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.kb-card {
    background: #ffffff;
    border: 1.5px solid var(--iv-line);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--iv-shadow);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.2s ease;
    cursor: pointer;
    position: relative;
}

.kb-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--iv-shadow-hover);
    border-color: var(--iv-teal-border);
}

.kb-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.kb-cat-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eff6ff;
    color: #2563eb;
}

.kb-cat-tag.appliances { background: #fef3c7; color: #b45309; }
.kb-cat-tag.auto { background: #fee2e2; color: #b91c1c; }
.kb-cat-tag.apple { background: #f3e8ff; color: #7e22ce; }
.kb-cat-tag.pets { background: #ecfdf5; color: #047857; }
.kb-cat-tag.legal { background: #f1f5f9; color: #334155; }
.kb-cat-tag.mobile { background: #e0f2fe; color: #0284c7; }

.kb-read-time {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.kb-card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--iv-ink);
    line-height: 1.35;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.kb-card:hover .kb-card-title {
    color: var(--iv-teal);
}

.kb-card-snippet {
    font-size: 13.5px;
    color: var(--iv-body);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.kb-checklist-preview {
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.kb-checklist-item {
    font-size: 12px;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.kb-checklist-item:last-child {
    margin-bottom: 0;
}

.kb-checklist-item svg {
    color: #10b981;
    flex-shrink: 0;
    margin-top: 1px;
}

.kb-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.kb-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kb-author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #e2e8f0;
}

.kb-author-info {
    display: flex;
    flex-direction: column;
}

.kb-author-name {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.kb-author-name .tick {
    color: #2563eb;
    font-size: 12px;
}

.kb-author-role {
    font-size: 11px;
    color: #64748b;
}

.kb-card-action {
    font-size: 13px;
    font-weight: 700;
    color: var(--iv-teal);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}

.kb-card:hover .kb-card-action {
    gap: 7px;
}

/* Zero Results Fallback Card */
.kb-zero-results {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 24px;
    padding: 48px 24px;
    text-align: center;
    max-width: 680px;
    margin: 30px auto;
    display: none;
    animation: fadeIn 0.3s ease;
}

.kb-zero-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #ebf6f2;
    border: 1.5px solid #99cfc5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #278b7d;
}

.kb-zero-title {
    font-size: 22px;
    font-weight: 800;
    color: #162f2b;
    margin-bottom: 10px;
}

.kb-zero-desc {
    font-size: 15px;
    color: #475a52;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 24px;
}

.kb-zero-cta {
    background: linear-gradient(135deg, #278b7d 0%, #1e6d62 100%);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(39, 139, 125, 0.3);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.kb-zero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(39, 139, 125, 0.4);
}

/* ==========================================================================
   ARTICLE MODAL READER (In-depth step-by-step troubleshooting)
   ========================================================================== */
.kb-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kb-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.kb-modal-card {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 840px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    position: relative;
    padding: 38px 40px;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kb-modal-overlay.active .kb-modal-card {
    transform: translateY(0);
}

.kb-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    color: #475569;
    transition: all 0.2s ease;
}

.kb-modal-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.kb-modal-expert-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 18px;
    margin-bottom: 24px;
}

.kb-modal-expert-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3b82f6;
}

.kb-modal-title {
    font-size: 26px;
    font-weight: 900;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 16px;
}

.kb-modal-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.kb-modal-body h4 {
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
    margin: 24px 0 10px;
}

.kb-modal-body p {
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 14px;
}

.kb-step-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.kb-step-num {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 4px;
}

.kb-step-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.kb-code-box {
    background: #0f172a;
    color: #f8fafc;
    border-radius: 8px;
    padding: 12px 16px;
    font-family: monospace;
    font-size: 13px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kb-warning-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 20px 0;
    font-size: 14px;
    color: #92400e;
}

.kb-feedback-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 30px;
}

.kb-feedback-btns {
    display: flex;
    gap: 10px;
}

.kb-feedback-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    transition: all 0.2s ease;
}

.kb-feedback-btn:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #2563eb;
}

.kb-modal-bridge-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 24px;
    color: #ffffff;
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.kb-modal-bridge-text h4 {
    color: #ffffff !important;
    margin: 0 0 6px !important;
    font-size: 17px !important;
}

.kb-modal-bridge-text p {
    color: #94a3b8 !important;
    font-size: 13px !important;
    margin: 0 !important;
}

.kb-modal-bridge-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.kb-modal-bridge-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* ==========================================================================
   COMPREHENSIVE FAQ SECTION
   ========================================================================== */
.faq-section {
    position: relative;
    background: var(--iv-bg-base);
    padding: 90px 0;
}

.faq-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 48px;
}

.faq-container {
    max-width: 920px;
    margin: 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1.5px solid var(--iv-line);
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-item.active {
    border-color: var(--iv-teal);
    box-shadow: 0 8px 24px rgba(39, 139, 125, 0.10);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 26px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 17px;
    font-weight: 800;
    color: var(--iv-ink);
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s ease;
}

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

.faq-chevron {
    width: 22px;
    height: 22px;
    color: #64748b;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--iv-teal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 26px;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    padding: 0 26px 26px 26px;
}

.faq-answer-inner {
    font-size: 15px;
    line-height: 1.7;
    color: var(--iv-body);
    border-top: 1px solid var(--iv-line);
    padding-top: 16px;
}

.faq-answer-inner strong {
    color: #1e293b;
}

.faq-answer-inner ul {
    margin: 10px 0 10px 20px;
    padding: 0;
}

.faq-answer-inner li {
    margin-bottom: 6px;
}

.faq-bottom-card {
    margin-top: 48px;
    background: #ffffff;
    border: 1.5px solid var(--iv-line);
    border-radius: 18px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: var(--iv-shadow);
}

.faq-bottom-card-text h4 {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 6px;
}

.faq-bottom-card-text p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.faq-bottom-cta {
    background: linear-gradient(135deg, #278b7d 0%, #1e6d62 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(39, 139, 125, 0.25);
}

.faq-bottom-cta:hover {
    background: #1e6d62;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(39, 139, 125, 0.3);
}

@media (max-width: 768px) {
    .kb-grid {
        grid-template-columns: 1fr;
    }
    .kb-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .kb-modal-card {
        padding: 24px;
    }
    .kb-modal-bridge-card {
        flex-direction: column;
        text-align: center;
    }
    .faq-bottom-card {
        flex-direction: column;
        text-align: center;
    }
    .faq-question {
        font-size: 16px;
        padding: 18px 20px;
    }
}

/* ==========================================================================
   HIGH-CONTRAST ILLYVOIP FOOTER RULES (WCAG AAA VISIBILITY)
   ========================================================================== */
.site-footer {
    background: #123e35 !important;
    color: #ffffff !important;
    padding: 60px 0 36px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    width: 100% !important;
}

.site-footer .footer-logo .logo-name {
    color: #ffffff !important;
}

.site-footer .footer-logo .logo-name-accent {
    color: #5eead4 !important;
}

.site-footer .footer-desc {
    color: #cbe3db !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
}

.site-footer .footer-col h4 {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    margin-bottom: 14px !important;
    letter-spacing: 0.3px !important;
}

.site-footer .footer-col ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

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

.site-footer .footer-col ul li a {
    color: #dcefe7 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}

.site-footer .footer-col ul li a:hover {
    color: #5eead4 !important;
    transform: translateX(3px) !important;
}

.site-footer .footer-guarantees {
    background: #ffffff !important;
    border: 1.5px solid #dce7df !important;
    border-radius: 18px !important;
    padding: 22px 28px !important;
    margin: 32px 0 28px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18) !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

.site-footer .footer-guarantee-item strong {
    color: #123e35 !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    display: block !important;
    margin-bottom: 3px !important;
}

.site-footer .footer-guarantee-item p {
    color: #475a52 !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

.site-footer .brand-disclaimer {
    border-top: none !important;
    padding: 0 0 8px 0 !important;
    margin: 0 !important;
}

.site-footer .footer-bottom > p {
    color: #8bb0a4 !important;
    font-size: 11.5px !important;
    margin-top: 8px !important;
}

.site-footer .footer-bottom .brand-disclaimer p {
    color: #9ec3b7 !important;
    font-size: 10.5px !important;
    line-height: 1.48 !important;
    margin: 0 !important;
}


/* ===== RESPONSIVE FOOTER GUARANTEES UNIFIED ===== */
.site-footer .footer-guarantees {
    background: #ffffff !important;
    border: 1.5px solid #dce7df !important;
    border-radius: 18px !important;
    padding: 22px 28px !important;
    margin: 32px 0 28px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18) !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
}

.site-footer .footer-guarantee-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
}

.site-footer .guarantee-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.site-footer .guarantee-text {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.site-footer .footer-guarantee-item strong {
    color: #123e35 !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    display: block !important;
    margin-bottom: 3px !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.site-footer .footer-guarantee-item p {
    color: #475a52 !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
}

@media (max-width: 1024px) {
    .site-footer .footer-guarantees {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px 20px !important;
        padding: 20px 22px !important;
    }
}

@media (max-width: 600px) {
    .site-footer .footer-guarantees {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 16px !important;
    }
}

/* Top-bar responsiveness is managed centrally in mobile-nav.css */

/* Gemini Priority Action Styles */
.call-option-priority {
    border: 2px solid #278b7d !important;
    background: rgba(39, 139, 125, 0.08) !important;
}

.option-pro-content {
    min-width: 0;
}

.option-pro-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.badge-recommended {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #278b7d;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.avatar-container {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.expert-avatar-face {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.75);
    transform-origin: 50% 20%;
}

.chat-system-notice {
    font-size: 12px;
    color: #475569;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 7px 12px;
    margin: 8px auto;
    text-align: center;
    width: 90%;
    animation: fadeInUp 0.3s ease;
}

.chat-system-joined {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #065f46;
}

.online-dot-mini {
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 5px;
}

/* ==========================================================================
   FINAL AUTHORITATIVE RESPONSIVE POLISH FOR SUPPORT PAGE (Mobile/Tablet/Desktop)
   ========================================================================== */
.site-footer .guarantee-icon-wrap img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    object-fit: contain !important;
    display: block !important;
}

.chat-message {
    animation: fadeInUp 0.22s ease;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .stat-item:nth-child(2n)::after {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .chat-panel {
        height: auto !important;
        min-height: 520px !important;
        max-height: none !important;
    }

    .chat-header {
        padding: 15px 16px !important;
    }

    .chat-header-title {
        font-size: 16.5px !important;
        margin-bottom: 10px !important;
    }

    .chat-body {
        flex: 1 1 280px !important;
        min-height: 280px !important;
        max-height: 60dvh !important;
        padding: 14px 12px 10px !important;
    }

    .chat-input-area {
        padding: 8px 14px 16px !important;
        gap: 8px !important;
    }

    .chat-input {
        font-size: 16px !important;
        padding: 12px 14px !important;
    }

    .chat-medical-advisory {
        font-size: 11px !important;
        line-height: 1.4 !important;
        margin-top: 6px !important;
        padding-bottom: 2px !important;
    }

    .stats-rounded-card {
        padding: 28px 18px !important;
        border-radius: 22px !important;
    }

    .stat-number {
        font-size: 34px !important;
    }

    .stat-label {
        font-size: 13px !important;
    }

    .cta-section {
        padding: 36px 0 !important;
    }

    .cta-banner-card-s .cta-s-image-layer {
        height: 230px !important;
    }

    .cta-banner-card-s .cta-content-pocket {
        padding: 24px 18px 30px !important;
    }

    .cta-banner-card-s .cta-content-pocket h2 {
        font-size: 24px !important;
    }

    .cta-banner-card-s .cta-content-pocket .cta-btn {
        width: 100% !important;
        max-width: 320px !important;
        text-align: center !important;
        padding: 14px 20px !important;
    }

    .site-footer {
        padding: 42px 0 34px 0 !important;
    }

    .site-footer .section-container {
        padding: 0 18px !important;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }
}

@media (max-width: 540px) {
    /* Mobile-first Call & Chat option cards: prevents narrow-column text crushing & badge collisions */
    .connect-option-pro {
        display: grid !important;
        grid-template-columns: 38px minmax(0, 1fr) 18px !important;
        align-items: center !important;
        column-gap: 10px !important;
        row-gap: 8px !important;
        padding: 12px 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .connect-option-pro .option-pro-icon {
        width: 38px !important;
        height: 38px !important;
        grid-column: 1 !important;
    }

    .connect-option-pro .option-pro-content {
        grid-column: 2 !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .connect-option-pro > .option-pro-arrow {
        grid-column: 3 !important;
        justify-self: end !important;
    }

    /* Priority Call Card: place RECOMMENDED badge neatly across top row so title & desc get full width */
    .call-option-priority .option-pro-right {
        display: contents !important;
    }

    .call-option-priority .badge-recommended {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        justify-self: start !important;
        font-size: 10px !important;
        padding: 3px 9px !important;
        margin: 0 !important;
    }

    .call-option-priority .option-pro-icon {
        grid-row: 2 !important;
    }

    .call-option-priority .option-pro-content {
        grid-row: 2 !important;
    }

    .call-option-priority .option-pro-arrow {
        grid-column: 3 !important;
        grid-row: 2 !important;
        justify-self: end !important;
    }

    .option-pro-title {
        font-size: 14px !important;
        line-height: 1.3 !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    .option-pro-desc {
        font-size: 12px !important;
        line-height: 1.35 !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    .call-details-panel,
    .call-panel {
        padding: 22px 18px 22px !important;
    }

    .call-panel-title {
        font-size: 17px !important;
        margin-bottom: 14px !important;
        padding-right: 26px !important;
    }

    .call-panel-expert {
        padding: 12px !important;
        margin-bottom: 14px !important;
    }

    .call-panel-number,
    #callPanelPhoneNumberVisible {
        font-size: 18px !important;
    }

    .call-panel-number {
        padding: 12px 14px !important;
    }

    .call-panel-trust {
        flex-wrap: wrap !important;
        gap: 10px 14px !important;
        margin-bottom: 0 !important;
    }

    .expert-popup-card {
        padding: 26px 18px 22px !important;
    }

    .expert-popup-badge {
        font-size: 11px !important;
        padding: 5px 14px !important;
        margin-bottom: 18px !important;
    }

    .expert-popup-cta {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
    }

    .stats-rounded-card {
        padding: 22px 14px !important;
    }

    .stat-item {
        padding: 8px 6px !important;
    }

    .stat-item:not(:last-child)::after {
        display: none !important;
    }

    .stat-number {
        font-size: 28px !important;
    }

    .cta-top-badge {
        font-size: 9.5px !important;
        padding: 5px 10px !important;
    }
}

/* Also ensure compact desktop chat panel (440px) gives Call option comfortable horizontal space */
@media (min-width: 541px) {
    .connect-option-pro {
        padding: 12px 14px;
        gap: 12px;
    }

    .connect-option-pro .option-pro-content {
        min-width: 0;
        flex: 1 1 auto;
    }

    .connect-option-pro .badge-recommended {
        font-size: 10px;
        padding: 3px 7px;
    }
}

/* ===== CONSULTATIVE SUMMARY QUICK-REPLY CHIPS ===== */
.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0 8px 42px;
    max-width: 100%;
    box-sizing: border-box;
    animation: fadeIn 0.25s ease;
}

.quick-reply-chip {
    background: #ffffff;
    border: 1.5px solid #278b7d;
    color: #123e35;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 2px 6px rgba(18, 62, 53, 0.08);
    max-width: 100%;
    white-space: normal;
    text-align: left;
}

.quick-reply-chip:hover {
    background: #278b7d;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 139, 125, 0.25);
}

@media (max-width: 600px) {
    .chat-quick-replies {
        padding-left: 0;
    }
    .quick-reply-chip {
        font-size: 12.5px;
        padding: 7px 12px;
    }
}

/* ===== SUPPORT LANDING PAGE (ASKTECH-STYLE CHAT-FIRST FOCUS) ===== */
body.support-page .site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(18, 62, 53, 0.08);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

body.support-page .header-inner {
    height: 60px;
}

body.support-page .hero {
    min-height: calc(100vh - 60px);
    padding: 28px 0;
    align-items: center;
}

body.support-page .hero-inner {
    align-items: center;
    gap: 48px;
}

body.support-page .hero-subtext {
    margin-bottom: 24px;
}

body.support-page .support-steps-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 26px;
}

body.support-page .support-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 14.5px;
    font-weight: 600;
}

body.support-page .support-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(94, 234, 212, 0.22);
    border: 1.5px solid #5eead4;
    color: #5eead4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 800;
    flex-shrink: 0;
}

body.support-page .chat-panel {
    height: 600px;
    max-height: calc(100vh - 96px);
}

body.support-page .chat-header {
    padding: 18px 20px 16px;
}

body.support-page .chat-header-title {
    margin-bottom: 11px;
}

body.support-page .chat-body {
    background: #ffffff;
    padding: 16px 18px 10px;
}

body.support-page .chat-input-area {
    background: #f4f7f5;
    padding: 12px 18px 14px;
    gap: 8px;
    border-top: 1px solid #e2ebe5;
}

body.support-page .start-chat-btn {
    padding: 13px;
}

body.support-page .support-trust-strip {
    background: var(--iv-bg-base);
    border-top: 1px solid var(--iv-line);
    padding: 28px 0;
}

body.support-page .support-trust-grid {
    margin: 0;
    border-top: none;
    padding: 0;
}

body.support-page .support-trust-strip .footer-guarantee-item strong {
    color: var(--iv-ink);
}

body.support-page .support-trust-strip .footer-guarantee-item p {
    color: var(--iv-body);
}

body.support-page .site-footer.support-minimal-footer {
    padding: 24px 0 20px;
}

body.support-page .support-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
}

body.support-page .site-footer.support-minimal-footer .footer-bottom {
    margin-top: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

body.support-page .site-footer.support-minimal-footer .brand-disclaimer p {
    margin-top: 0 !important;
}

body.support-page .support-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
}

body.support-page .support-footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: color 0.2s ease;
}

body.support-page .support-footer-links a:hover {
    color: #5eead4;
}

@media (max-width: 1024px) {
    body.support-page .hero {
        padding: 18px 0 28px;
        min-height: auto;
    }

    body.support-page .hero-inner {
        gap: 18px;
    }

    body.support-page .support-steps-strip {
        justify-content: center;
    }

    body.support-page .support-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile-First AskTech-Style Landing Page: Full Chat + Input + CTA 100% Above the Fold */
@media (max-width: 768px) {
    body.support-page .header-inner {
        min-height: 50px !important;
        height: 50px !important;
        padding: 6px 14px !important;
    }

    body.support-page .logo-icon {
        width: 28px !important;
        height: 28px !important;
    }

    body.support-page .logo-name {
        font-size: 17px !important;
    }

    body.support-page .logo-sub {
        font-size: 8px !important;
    }

    body.support-page .mobile-menu-btn {
        width: 36px !important;
        height: 36px !important;
    }

    body.support-page .hero {
        padding: 8px 0 8px !important;
        min-height: calc(100dvh - 50px) !important;
        align-items: flex-start !important;
    }

    body.support-page .hero-inner {
        padding: 0 12px !important;
        gap: 8px !important;
        align-items: stretch !important;
    }

    body.support-page .hero-left {
        padding: 0 !important;
        gap: 0 !important;
        align-items: center !important;
    }

    body.support-page .hero-headline {
        font-size: 19px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        text-align: center !important;
    }

    body.support-page .hero-headline br {
        display: none;
    }

    body.support-page .hero-headline .highlight-word {
        color: #6ef7e0;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    body.support-page .hero-headline.category-detected {
        font-size: 17.5px !important;
        line-height: 1.22 !important;
    }

    body.support-page .hero-subtext,
    body.support-page .support-steps-strip {
        display: none !important;
    }

    body.support-page .chat-panel {
        width: 100% !important;
        max-width: 100% !important;
        height: calc(100dvh - 96px) !important;
        min-height: 260px !important;
        max-height: calc(100dvh - 96px) !important;
        border-radius: 16px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    body.support-page .chat-header {
        padding: 10px 14px !important;
        flex: 0 0 auto !important;
    }

    body.support-page .chat-header-title {
        display: none !important;
    }

    body.support-page .experts-row {
        gap: 10px !important;
    }

    body.support-page .expert-avatars {
        gap: 0 !important;
    }

    body.support-page .expert-avatar-wrap {
        margin-left: -8px !important;
    }

    body.support-page .expert-avatar-wrap:first-child {
        margin-left: 0 !important;
    }

    body.support-page .expert-avatar {
        width: 32px !important;
        height: 32px !important;
        margin-left: 0 !important;
    }

    body.support-page .expert-avatar-beacon {
        width: 10px !important;
        height: 10px !important;
        border-width: 2px !important;
    }

    body.support-page .experts-count {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }

    body.support-page .chat-body {
        flex: 1 1 auto !important;
        min-height: 170px !important;
        max-height: none !important;
        padding: 12px 12px 8px !important;
        overflow-y: auto !important;
    }

    body.support-page .chat-input-area {
        flex: 0 0 auto !important;
        padding: 10px 12px 12px !important;
        gap: 8px !important;
    }

    body.support-page .chat-input {
        font-size: 16px !important;
        padding: 11px 13px !important;
    }

    body.support-page .start-chat-btn {
        padding: 12px !important;
        font-size: 14.5px !important;
        letter-spacing: 1.2px !important;
    }

    body.support-page .online-status {
        font-size: 12px !important;
    }

    body.support-page .support-trust-strip {
        padding: 22px 0 !important;
    }

    body.support-page .support-trust-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    body.support-page .site-footer.support-minimal-footer {
        padding: 26px 0 22px !important;
    }

    body.support-page .support-footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    body.support-page .support-footer-links {
        gap: 12px 18px;
    }

    body.support-page.mobile-kb-open {
        overflow: hidden !important;
    }

    body.support-page.mobile-kb-open .site-header,
    body.support-page.mobile-kb-open .hero-left,
    body.support-page.mobile-kb-open .chat-header {
        display: none !important;
    }

    body.support-page.mobile-kb-open .chat-panel {
        position: fixed !important;
        top: var(--vvt, 0px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: var(--vvh, 100dvh) !important;
        min-height: 0 !important;
        max-height: var(--vvh, 100dvh) !important;
        border-radius: 0 !important;
        margin: 0 !important;
        z-index: 9999 !important;
        box-shadow: none !important;
    }

    body.support-page.mobile-kb-open .chat-body {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        padding: 10px 12px 6px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.support-page.mobile-kb-open .chat-input-area {
        padding: 8px 12px 10px !important;
        gap: 6px !important;
        background: #ffffff !important;
        border-top: 1px solid #e2e8f0 !important;
    }
}


/* ==========================================================================
   SUPPORT PAGE - WHAT YOU GET (below chat & trust strip)
   ========================================================================== */
body.support-page .support-what-you-get {
    background: var(--iv-bg-base);
    border-top: 1px solid var(--iv-line);
    padding: 40px 0 44px;
}

body.support-page .support-wyg-title {
    font-size: 30px;
    font-weight: 800;
    color: #123e35;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

body.support-page .support-wyg-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 24px;
}

body.support-page .support-wyg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

body.support-page .support-wyg-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.support-page .support-wyg-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

body.support-page .support-wyg-img-wrap {
    flex-shrink: 0;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #edf5f2;
    box-shadow: 0 6px 18px rgba(18, 62, 53, 0.08);
}

body.support-page .support-wyg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

body.support-page .support-wyg-text {
    min-width: 0;
}

body.support-page .support-wyg-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

body.support-page .support-wyg-text p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    body.support-page .support-what-you-get {
        padding: 30px 0 32px;
    }

    body.support-page .support-wyg-title,
    body.support-page .support-wyg-subtitle {
        text-align: center;
    }

    body.support-page .support-wyg-title {
        font-size: 24px;
    }

    body.support-page .support-wyg-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.support-page .support-wyg-card {
        flex-direction: column;
        text-align: center;
        padding: 22px 18px;
        gap: 14px;
    }

    body.support-page .support-wyg-img-wrap {
        width: 112px;
        height: 112px;
    }
}
