/* ==========================================================================
   TELEGRAM AI SECRETARY LANDING PAGE DESIGN SYSTEM (VANILLA CSS)
   ========================================================================== */

/* --- CSS Variables & Custom Theme --- */
:root {
    --bg-dark: #080A10;
    --bg-dark-card: rgba(22, 27, 38, 0.65);
    --bg-dark-nav: rgba(11, 15, 25, 0.75);
    
    --primary: #24A1DE; /* Telegram Cyber Blue */
    --primary-hover: #1c8ac2;
    --secondary: #00B0FF; /* Cyber Cyan Blue */
    --secondary-hover: #0091ea;
    --accent-green: #00E676; /* Accent Green */
    --accent-purple: #7B2CBF; /* AI Purple */
    
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(36, 161, 222, 0.2);
    --border-glow-blue: rgba(0, 176, 255, 0.2);
    
    --glow-primary: rgba(36, 161, 222, 0.35);
    --glow-secondary: rgba(0, 176, 255, 0.3);
    
    --danger: #EF4444;
    --danger-glow: rgba(239, 68, 68, 0.15);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::selection {
    background: var(--primary);
    color: var(--bg-dark);
}

/* --- Typography & Text Utilities --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1.25rem;
}

.text-center { text-align: center; }
.text-blue { color: var(--primary); }
.text-green { color: var(--accent-green); }
.highlight-cyan { color: var(--secondary); font-weight: 800; }

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-gradient-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

/* --- Layout Components --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Background Glow Effects --- */
.glow-bg-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 50vw;
    height: 100vh;
    background: radial-gradient(circle at 0% 0%, rgba(36, 161, 222, 0.12) 0%, rgba(8, 10, 16, 0) 70%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.glow-bg-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50vw;
    height: 100vh;
    background: radial-gradient(circle at 100% 100%, rgba(0, 230, 118, 0.08) 0%, rgba(8, 10, 16, 0) 70%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    z-index: 1;
    pointer-events: none;
}

/* --- Language Switcher Control --- */
body.lang-ru [data-lang="en"] {
    display: none !important;
}

body.lang-en [data-lang="ru"] {
    display: none !important;
}

/* --- Buttons & CTAs --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(36, 161, 222, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(36, 161, 222, 0.5);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.btn-gradient-glow {
    background: linear-gradient(135deg, #24A1DE 0%, #00B0FF 50%, #00E676 100%);
    color: #04060A;
    box-shadow: 0 4px 25px rgba(36, 161, 222, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-gradient-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 230, 118, 0.5);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-dark-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.header-descriptor {
    display: none;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-left: 1px solid var(--border-color);
    padding-left: 1rem;
}

@media (min-width: 992px) {
    .header-descriptor {
        display: block;
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 3px;
    position: relative;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 2;
}

.lang-btn.active {
    color: var(--text-primary);
    background: var(--primary);
    box-shadow: 0 2px 10px rgba(36, 161, 222, 0.3);
}

.icon-download {
    width: 18px;
    height: 18px;
}

/* --- HERO SECTION --- */
.hero-section {
    padding-top: 8.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    background: rgba(36, 161, 222, 0.1);
    border: 1px solid var(--border-glow);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 3rem;
}

/* Telegram UI Live Mockup Frame */
.hero-preview {
    width: 100%;
    max-width: 920px;
    background: #0F1721;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(36, 161, 222, 0.15);
    overflow: hidden;
    margin-bottom: 3rem;
}

.mockup-header {
    background: #17212B;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #FF5F56; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #27C93F; }

.mockup-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mockup-body {
    display: flex;
    height: 440px;
    background: #0E1621;
}

/* Telegram Left Sidebar */
.tg-sidebar {
    width: 280px;
    background: #17212B;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
}

@media (min-width: 640px) {
    .tg-sidebar { display: flex; }
}

.tg-search-bar {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.tg-search-input {
    width: 100%;
    height: 32px;
    background: #242F3D;
    border-radius: 16px;
    border: none;
}

.tg-chat-list {
    flex: 1;
    overflow-y: auto;
}

.tg-chat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: background 0.2s ease;
}

.tg-chat-item.active {
    background: #2B5278;
}

.tg-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #FFF;
    font-size: 1rem;
    flex-shrink: 0;
}

.tg-chat-info {
    flex: 1;
    overflow: hidden;
    text-align: left;
}

.tg-chat-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tg-chat-last-msg {
    font-size: 0.78rem;
    color: #7F91A4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tg-unread-badge {
    background: #24A1DE;
    color: #FFF;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}

/* Telegram Chat Window */
.tg-chat-window {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0E1621;
}

.tg-chat-header {
    background: #17212B;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.tg-header-info .tg-chat-name {
    font-size: 0.95rem;
}

.tg-chat-status {
    font-size: 0.75rem;
    color: #24A1DE;
}

.tg-messages-area {
    flex: 1;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    background-image: radial-gradient(rgba(36, 161, 222, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

.tg-msg-row {
    display: flex;
    width: 100%;
}

.tg-msg-left {
    justify-content: flex-start;
}

.tg-msg-right {
    justify-content: flex-end;
}

.tg-msg-bubble {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.45;
    position: relative;
    text-align: left;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tg-msg-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}

.tg-msg-left .tg-msg-bubble {
    background: #182533;
    color: #F5F5F5;
    border-bottom-left-radius: 4px;
}

.tg-msg-right .tg-msg-bubble {
    background: #2B5278;
    color: #FFFFFF;
    border-bottom-right-radius: 4px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64B5F6;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ai-badge svg {
    width: 14px;
    height: 14px;
}

.tg-msg-time {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    display: block;
    text-align: right;
}

/* Typing Dots */
.typing-bubble {
    padding: 0.6rem 1rem !important;
}

.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: #24A1DE;
    border-radius: 50%;
    animation: pulse 1.2s infinite ease-in-out;
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.tg-input-bar {
    background: #17212B;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.tg-input-placeholder {
    font-size: 0.85rem;
    color: #526373;
    text-align: left;
}

/* Hero CTA Wrapper */
.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.micro-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.info-icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.scroll-hint {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: opacity 0.3s ease;
}

.scroll-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-hint svg {
    width: 18px;
    height: 18px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* --- PAIN POINTS SECTION --- */
.section-pain {
    padding-top: 2rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 3rem;
}

.card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-smooth);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.card-warning:hover {
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.icon-red { background: rgba(239, 68, 68, 0.1); color: #EF4444; }
.icon-blue { background: rgba(36, 161, 222, 0.1); color: #24A1DE; }
.icon-purple { background: rgba(123, 44, 191, 0.1); color: #7B2CBF; }
.icon-cyan { background: rgba(0, 176, 255, 0.1); color: #00B0FF; }

.card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- STATS SECTION --- */
.section-stats {
    padding: 3rem 0;
    background: linear-gradient(180deg, rgba(36, 161, 222, 0.03) 0%, rgba(8, 10, 16, 0) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    padding: 1.5rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- FEATURES SECTION --- */
.feature-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.25rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feature-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(36, 161, 222, 0.1);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.bg-blue { background: rgba(36, 161, 222, 0.15); color: #24A1DE; }
.bg-cyan { background: rgba(0, 176, 255, 0.15); color: #00B0FF; }
.bg-purple { background: rgba(123, 44, 191, 0.15); color: #7B2CBF; }
.bg-green { background: rgba(0, 230, 118, 0.15); color: #00E676; }

.feature-title {
    font-size: 1.25rem;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- STEP-BY-STEP SYSTEM --- */
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin: -2rem auto 3.5rem auto;
}

.steps-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .steps-layout {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.step-item {
    display: flex;
    gap: 1.25rem;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.step-item:hover {
    border-color: var(--border-glow-blue);
    transform: translateX(6px);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    background: rgba(36, 161, 222, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-title {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.step-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.step-tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    color: var(--text-primary);
    position: relative;
}

.icon-os {
    width: 13px;
    height: 13px;
}

/* Tooltip */
.tooltip-icon {
    width: 14px;
    height: 14px;
    background: rgba(36, 161, 222, 0.2);
    color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    margin-left: 2px;
    cursor: help;
}

.tooltip-content {
    visibility: hidden;
    width: 260px;
    background: #17212B;
    color: #FFF;
    text-align: left;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.tech-badge:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* Diagram Visualization */
.steps-diagram {
    display: flex;
    justify-content: center;
}

.steps-visualization {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.vis-box {
    width: 100%;
    background: #121A24;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.vis-box:hover {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(36, 161, 222, 0.2);
}

.vis-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vis-icon-wrapper svg {
    width: 22px;
    height: 22px;
}

.vis-desc {
    text-align: left;
}

.vis-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.vis-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.vis-fiber {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vis-fiber svg {
    width: 12px;
    height: 24px;
}

/* --- PRICING SECTION --- */
.pricing-card {
    background: linear-gradient(135deg, rgba(22, 27, 38, 0.9) 0%, rgba(15, 23, 33, 0.9) 100%);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(36, 161, 222, 0.15);
}

.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
    color: #04060A;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 1.25rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
}

.pricing-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
}

.pricing-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.pricing-alert {
    background: rgba(255, 189, 46, 0.06);
    border: 1px solid rgba(255, 189, 46, 0.2);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    margin-bottom: 2.5rem;
}

.alert-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.alert-title {
    font-size: 1rem;
    color: #FFBD2E;
    margin-bottom: 0.25rem;
}

.alert-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- FAQ SECTION --- */
.faq-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-item[open] {
    border-color: var(--border-glow);
    background: rgba(22, 27, 38, 0.85);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 1rem;
}

.faq-link {
    color: var(--primary);
    text-decoration: underline;
}

/* --- FINAL CTA CARD --- */
.section-final-cta {
    padding: 1.25rem 0 3rem 0;
    text-align: center;
}

.final-cta-card {
    background: linear-gradient(135deg, rgba(36, 161, 222, 0.15) 0%, rgba(0, 176, 255, 0.15) 100%);
    border: 1px solid var(--border-glow);
    border-radius: 50px;
    padding: 0.85rem 1.25rem 0.85rem 1.75rem;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.final-cta-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(36, 161, 222, 0.35);
    border-color: var(--primary);
}

.cta-card-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cta-slogan {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cta-action {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #04060A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.final-cta-card:hover .cta-arrow {
    transform: translateX(6px);
}

.cta-arrow svg {
    width: 20px;
    height: 20px;
}

/* --- GRID 3 --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 991px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* --- QUALITY PIPELINE SECTION --- */
.quality-pipeline {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 850px;
    margin: 2rem auto 0 auto;
    position: relative;
}

.pipeline-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    transition: var(--transition-smooth);
    position: relative;
}

.pipeline-step:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(36, 161, 222, 0.2);
    transform: translateX(4px);
}

.pipeline-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.8;
    min-width: 32px;
}

.pipeline-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.pipeline-body {
    flex-grow: 1;
}

.pipeline-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.pipeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 640px) {
    .pipeline-step {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
    }
}

/* --- INTERACTIVE DASHBOARD DEMO WIDGET --- */
.section-dashboard-demo {
    padding: 3rem 0;
}

.dashboard-widget {
    background: #0D131D;
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    margin-top: 2rem;
}

/* Topbar */
.dash-topbar {
    background: #151D2A;
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dash-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.dash-brand svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.dash-bot-select select {
    background: #0D131D;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

.dash-bot-select select:focus {
    border-color: var(--primary);
}

/* Filter Tabs */
.dash-filters {
    background: #111823;
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}

.dash-tab {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.dash-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.dash-tab.active {
    background: rgba(36, 161, 222, 0.15);
    color: var(--primary);
    border-color: rgba(36, 161, 222, 0.3);
}

/* Main Body Layout */
.dash-main-body {
    display: flex;
    min-height: 480px;
    max-height: 540px;
}

/* Sidebar */
.dash-leads-sidebar {
    width: 320px;
    border-right: 1px solid var(--border-color);
    background: #0F1724;
    overflow-y: auto;
    flex-shrink: 0;
}

.dash-lead-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dash-lead-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.dash-lead-item.active {
    background: rgba(36, 161, 222, 0.12);
    border-left: 3px solid var(--primary);
}

.dash-lead-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.dash-lead-details {
    flex-grow: 1;
    overflow: hidden;
}

.dash-lead-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.dash-lead-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-lead-sub {
    font-size: 0.78rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.dash-lead-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 3px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-converted {
    background: rgba(0, 230, 118, 0.15);
    color: #00E676;
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.badge-active {
    background: rgba(36, 161, 222, 0.15);
    color: #24A1DE;
    border: 1px solid rgba(36, 161, 222, 0.3);
}

.badge-frozen {
    background: rgba(0, 176, 255, 0.15);
    color: #00B0FF;
    border: 1px solid rgba(0, 176, 255, 0.3);
}

/* Chat Panel */
.dash-chat-panel {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #0A0F18;
}

.dash-lead-header {
    background: #111824;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-lead-header-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.dash-lead-header-tags {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dash-lead-tokens {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Messages Box */
.dash-messages-box {
    flex-grow: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dash-msg {
    max-width: 80%;
    display: flex;
    flex-direction: column;
}

.dash-msg-client {
    align-self: flex-start;
}

.dash-msg-ai, .dash-msg-operator {
    align-self: flex-end;
}

.dash-msg-bubble {
    padding: 0.65rem 0.95rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.45;
    position: relative;
}

.dash-msg-client .dash-msg-bubble {
    background: #1C2736;
    color: var(--text-primary);
    border-bottom-left-radius: 3px;
}

.dash-msg-ai .dash-msg-bubble {
    background: linear-gradient(135deg, #1E3A5F 0%, #15466B 100%);
    color: #FFFFFF;
    border-bottom-right-radius: 3px;
    border: 1px solid rgba(36, 161, 222, 0.3);
}

.dash-msg-operator .dash-msg-bubble {
    background: linear-gradient(135deg, #0A5C36 0%, #064E2B 100%);
    color: #FFFFFF;
    border-bottom-right-radius: 3px;
    border: 1px solid rgba(0, 230, 118, 0.4);
}

.dash-msg-tag {
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 3px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dash-msg-tag-ai { color: #64B5F6; }
.dash-msg-tag-operator { color: #69F0AE; }
.dash-msg-tag-client { color: var(--text-muted); }

.dash-msg-time {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 3px;
    text-align: right;
    display: block;
}

/* Outbound Queue Simulator Box */
.dash-outbound-box {
    background: #111824;
    border-top: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
}

.dash-outbound-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.dash-outbound-label svg {
    width: 14px;
    height: 14px;
}

.dash-outbound-input-group {
    display: flex;
    gap: 0.6rem;
}

.dash-outbound-input-group input {
    flex-grow: 1;
    background: #0A0F18;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
    color: var(--text-primary);
    font-size: 0.82rem;
    outline: none;
    font-family: inherit;
}

.dash-outbound-input-group input:focus {
    border-color: var(--primary);
}

@media (max-width: 850px) {
    .dash-main-body {
        flex-direction: column;
        max-height: none;
    }
    .dash-leads-sidebar {
        width: 100%;
        max-height: 200px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

/* --- FOOTER --- */
.site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- AOS Animation Fallback --- */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
