/* Modern CVM Landing Style System */

:root {
    --color-navy-dark: #0f172a;
    --color-navy: #1e293b;
    --color-navy-light: #334155;
    --color-yellow: #ffcc00;
    --color-yellow-hover: #e6b800;
    --color-gold: #f59e0b;
    --color-blue: #0056b3;
    --color-blue-light: #2563eb;
    --color-red: #ef4444;
    --color-white: #ffffff;
    --color-bg-light: #f7f9fc;
    --color-bg-gray: #f1f5f9;
    --color-text-dark: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.15);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-top: 0;
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
    position: relative;
}

.section-light {
    background-color: var(--color-white);
}

.section-light-gray {
    background-color: var(--color-bg-light);
}

.section-dark {
    background-color: var(--color-navy-dark);
    color: var(--color-white);
}

.section-gradient {
    background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
    color: var(--color-white);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white) !important;
}

.text-muted {
    color: var(--color-text-muted);
}

.text-green {
    color: #10b981 !important;
}

.text-blue {
    color: var(--color-blue-light) !important;
}

.hidden {
    display: none !important;
}

/* Grid & Layout Columns */
.grid {
    display: grid;
    gap: 32px;
}

.grid-3 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-yellow);
    color: var(--color-navy-dark);
}

.btn-primary:hover {
    background-color: var(--color-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-telegram {
    background-color: #229ED9;
    color: var(--color-white);
    padding: 10px 20px;
    font-size: 14px;
}

.btn-telegram:hover {
    background-color: #1b82b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 158, 217, 0.3);
}

.btn-block {
    width: 100%;
}

.btn-pulse {
    position: relative;
    overflow: hidden;
}

.btn-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
    transition: transform 0.5s, opacity 0.5s;
}

.btn-pulse:active::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    transition: 0s;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--color-yellow);
}

.nav-menu {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: inline-flex;
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 992px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 32px;
    }
    .nav-link {
        color: var(--color-text-light);
        font-weight: 500;
        font-size: 14px;
        transition: var(--transition-fast);
    }
    .nav-link:hover, .nav-link.active {
        color: var(--color-white);
    }
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Menu Expand */
@media (max-width: 991px) {
    .nav-menu.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--color-navy-dark);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-xl);
    }
    .nav-link {
        color: var(--color-white);
        font-size: 16px;
        font-weight: 600;
    }
}

/* Hero Section */
.hero-section {
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    padding: 180px 0 100px 0;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 204, 0, 0.1);
    color: var(--color-yellow);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 800;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 54px;
    }
}

.highlight {
    color: var(--color-yellow);
    background: linear-gradient(120deg, rgba(255, 204, 0, 0.15) 0%, rgba(255, 204, 0, 0) 100%);
    padding: 0 4px;
    border-radius: var(--radius-sm);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-benefits {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.icon-blue {
    color: #3b82f6;
}

.icon-yellow {
    color: var(--color-yellow);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.mockup-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.mockup-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-img {
    border-radius: var(--radius-md);
    width: 100%;
    object-fit: cover;
}

.glass-card {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 16px;
    color: var(--color-white);
}

.mockup-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    box-shadow: var(--shadow-xl);
    animation: float 4s ease-in-out infinite;
}

.overlay-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--color-yellow);
}

.mockup-overlay p {
    margin: 0;
    font-size: 12px;
    color: var(--color-text-light);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Section Header */
.section-header {
    margin-bottom: 64px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 40px;
    }
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 4px;
    background-color: var(--color-yellow);
    margin: 16px auto 0 auto;
    border-radius: var(--radius-full);
}

/* Cards */
.card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--color-bg-gray);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.problem-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.icon-bg-red {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--color-red);
}

.icon-bg-yellow {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--color-gold);
}

.icon-bg-blue {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--color-blue-light);
}

.card-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--color-navy);
}

.card-text {
    font-size: 15px;
    color: var(--color-text-muted);
    margin: 0;
}

/* Pipeline Infographic */
.pipeline-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
    margin-bottom: 64px;
}

@media (min-width: 992px) {
    .pipeline-container {
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
        align-items: center;
    }
}

.pipeline-step {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
}

.pipeline-step:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.step-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 204, 0, 0.1);
    color: var(--color-yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.step-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}

.pipeline-arrow {
    display: flex;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

@media (min-width: 992px) {
    .pipeline-arrow {
        transform: rotate(0deg);
    }
}

.integration-banner {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.integration-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.integration-banner p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 14px;
}

/* Demo Section Interactive tabs */
.demo-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 48px;
}

@media (min-width: 992px) {
    .demo-wrapper {
        grid-template-columns: 0.9fr 1.1fr;
    }
}

.demo-tabs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tab-btn {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-bg-gray);
    background-color: var(--color-white);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-normal);
}

.tab-btn i {
    font-size: 24px;
    color: var(--color-text-muted);
    flex-shrink: 0;
    margin-top: 2px;
}

.tab-btn-content {
    display: flex;
    flex-direction: column;
}

.tab-btn-content strong {
    font-size: 16px;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.tab-btn-content span {
    font-size: 13px;
    color: var(--color-text-muted);
}

.tab-btn.active {
    border-color: var(--color-blue);
    box-shadow: var(--shadow-lg);
    background-color: rgba(37, 99, 235, 0.02);
}

.tab-btn.active i {
    color: var(--color-blue-light);
}

.tab-btn:hover:not(.active) {
    transform: translateX(4px);
    border-color: var(--color-text-light);
}

.demo-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-in-out forwards;
}

.tab-pane.active {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pane-visual {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-bg-gray);
}

.pane-img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.phone-preview {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 180px;
    height: 320px;
    background: #000;
    border-radius: 24px;
    border: 6px solid #222;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-screen {
    flex: 1;
    background-color: #f1f5f9;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.phone-header {
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.phone-notification {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--color-yellow);
}

.noti-title {
    font-weight: 700;
    font-size: 11px;
    margin-bottom: 2px;
}

.noti-body {
    font-size: 10px;
    line-height: 1.3;
    color: var(--color-text-dark);
}

.chat-preview {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-bg-gray);
    overflow: hidden;
}

.chat-window {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-msg {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12px;
    max-width: 80%;
}

.chat-msg.bot {
    background-color: var(--color-bg-gray);
    align-self: flex-start;
}

.chat-msg.user {
    background-color: var(--color-blue-light);
    color: var(--color-white);
    align-self: flex-end;
}

.chart-preview-overlay {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
}

.metric-mini-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-sm);
    padding: 16px;
    box-shadow: var(--shadow-xl);
    display: inline-flex;
    flex-direction: column;
    border-left: 4px solid #10b981;
}

.metric-mini-card .label {
    font-size: 11px;
    color: var(--color-text-muted);
}

.metric-mini-card .value {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-navy);
}

.metric-mini-card .trend {
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.metric-mini-card .trend.positive {
    color: #10b981;
}

.pane-text h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--color-navy);
}

.pane-text p {
    color: var(--color-text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.styled-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.styled-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

/* Table styling */
.table-wrapper {
    overflow-x: auto;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-bg-gray);
    margin-top: 48px;
}

.cohort-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.cohort-table th {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 18px 24px;
    font-weight: 600;
    text-align: left;
    font-size: 14px;
}

.cohort-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-bg-gray);
    font-size: 14px;
    color: var(--color-text-dark);
}

.cohort-table tr:last-child td {
    border-bottom: none;
}

.td-segment {
    display: flex;
    align-items: center;
    gap: 12px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.indicator.red { background-color: var(--color-red); }
.indicator.yellow { background-color: var(--color-gold); }
.indicator.green { background-color: #10b981; }

.td-result {
    font-weight: 700;
}

.td-result .subtext {
    font-size: 11px;
    font-weight: 400;
    color: var(--color-text-muted);
}

/* Stat Cards */
.stat-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition-normal);
}

.stat-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    color: var(--color-yellow);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.stat-text {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}

.industry-box {
    margin-top: 64px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 32px;
}

.industry-box h4 {
    font-size: 18px;
    margin-bottom: 24px;
}

.industry-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.tag:hover {
    background-color: rgba(255, 204, 0, 0.1);
    border-color: var(--color-yellow);
    color: var(--color-yellow);
}

/* Capture Form Section */
.capture-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 992px) {
    .capture-wrapper {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.capture-text h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .capture-text h2 {
        font-size: 40px;
    }
}

.capture-text p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
}

.capture-form-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    color: var(--color-navy-dark);
}

.capture-form-card h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--color-navy);
}

.cvm-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-navy-light);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--color-text-muted);
    font-size: 18px;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid var(--color-bg-gray);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition-fast);
    outline: none;
}

.input-wrapper input:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Success Card details */
.success-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: scaleIn 0.3s ease-out forwards;
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-success {
    font-size: 40px;
    color: #10b981;
}

.calc-results {
    width: 100%;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.calc-label {
    font-weight: 600;
    color: var(--color-text-muted);
}

.calc-val {
    font-weight: 800;
    font-size: 18px;
}

.calc-val-desc {
    font-weight: 500;
    font-size: 12px;
    max-width: 60%;
    text-align: right;
}

.success-note {
    font-size: 13px;
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Footer styling */
.main-footer {
    background-color: var(--color-navy-dark);
    color: var(--color-text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-desc {
    font-size: 13px;
    margin-top: 8px;
    max-width: 400px;
}

.footer-copy {
    font-size: 12px;
}

/* Interactive Carrot Quest Cabinet Mockups & Modal Styles */

/* Modal Dialog overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: transform var(--transition-normal);
    color: var(--color-navy-dark);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    outline: none;
}

.modal-close:hover {
    color: var(--color-red);
}

.modal-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--color-navy);
}

.modal-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Interactive Cabinet container */
.interactive-cabinet {
    width: 100%;
    background-color: var(--color-navy-dark);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    height: 320px;
}

.cq-cabinet-theme {
    background: linear-gradient(145deg, #101726 0%, #1e293b 100%);
}

.cq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background-color: rgba(15, 23, 42, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cq-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cq-logo-dot {
    width: 10px;
    height: 10px;
    background-color: var(--color-yellow);
    border-radius: 50%;
}

.cq-logo-text {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--color-white);
}

.cq-section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* CQ User Card mockup */
.cq-user-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--color-yellow);
    color: var(--color-navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-details strong {
    font-size: 15px;
}

.user-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    display: inline-block;
    width: fit-content;
}

.user-badge.vip {
    background-color: rgba(255, 204, 0, 0.15);
    color: var(--color-yellow);
}

.user-actions-timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 16px;
}

.timeline-row {
    font-size: 12px;
    position: relative;
    display: flex;
    gap: 12px;
    color: var(--color-text-light);
}

.timeline-row .time {
    color: var(--color-yellow);
    font-weight: 600;
    min-width: 36px;
}

.timeline-row.trigger .event {
    color: var(--color-white);
    font-weight: 600;
}

.timeline-row.sent .event {
    color: #38bdf8;
}

/* Chat Widget Mockup */
.chat-widget-mock {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.chat-scroll {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    flex: 1;
    padding-bottom: 12px;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    line-height: 1.4;
    max-width: 85%;
}

.chat-bubble.bot {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    border-bottom-left-radius: 2px;
    align-self: flex-start;
}

.chat-bubble.user {
    background-color: var(--color-yellow);
    color: var(--color-navy-dark);
    border-bottom-right-radius: 2px;
    align-self: flex-end;
    font-weight: 600;
    animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.chat-actions-row {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.chat-action-btn {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    outline: none;
}

.chat-action-btn:hover {
    background-color: var(--color-yellow);
    color: var(--color-navy-dark);
    border-color: var(--color-yellow);
}

/* RFM Analytics matrix mock */
.rfm-matrix-grid {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.rfm-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rfm-metrics .m-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rfm-metrics .m-card .label {
    font-size: 10px;
    color: var(--color-text-light);
}

.rfm-metrics .m-card .val {
    font-size: 16px;
    font-weight: 800;
}

.rfm-table-mock {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: rgba(15, 23, 42, 0.4);
    padding: 12px;
    border-radius: var(--radius-sm);
}

.rfm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.02);
}

.rfm-row.vip {
    border-left: 3px solid var(--color-yellow);
}

.rfm-row.sleep {
    border-left: 3px solid var(--color-red);
}

.rfm-row.new {
    border-left: 3px solid var(--color-blue-light);
}

/* Facts Block Titles */
.fact-title-card {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.fact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fact-list li {
    font-size: 13px;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
    color: var(--color-text-light);
}

.fact-list li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--color-yellow);
    font-size: 18px;
    top: -2px;
}

.fact-stat-val {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-yellow);
    line-height: 1.1;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.fact-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
}

.fact-period {
    font-size: 11px;
    color: var(--color-text-light);
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

/* Wide Interactive Mockups for CVM / Carrot Quest Dashboard */

.pane-visual-wide {
    width: 100%;
    margin-bottom: 24px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* 1. Profile Card Mockup */
.profile-card-container {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    color: #1e293b;
    display: flex;
    flex-direction: column;
    font-size: 13px;
    height: auto;
    overflow: visible;
}

.pc-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.pc-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f59e0b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.pc-name {
    font-weight: 700;
    font-size: 15px;
    display: block;
}

.pc-status {
    font-size: 11px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.pc-status .dot-online {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
}

.pc-send-btn {
    background-color: #6366f1;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.pc-send-btn:hover {
    background-color: #4f46e5;
}

.pc-columns {
    display: grid;
    grid-template-columns: 1fr;
    flex: 1;
}

@media (min-width: 992px) {
    .pc-columns {
        grid-template-columns: 0.9fr 1.2fr 0.9fr;
        height: auto;
        overflow: visible;
    }
}

.pc-col {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 992px) {
    .pc-col {
        border-bottom: none;
        border-right: 1px solid #e2e8f0;
        height: auto;
        overflow: visible;
    }
    .pc-col:last-child {
        border-right: none;
    }
}

.pc-col h4 {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.pc-box {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pc-box h4 {
    margin-bottom: 8px;
}

.data-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.data-item .lbl {
    font-size: 11px;
    color: var(--color-text-muted);
}

.data-item a.payment-link {
    color: #3b82f6;
    text-decoration: underline;
}

.pc-box.notes {
    background-color: #fef3c7;
    border-color: #fde68a;
}

.note-content {
    font-style: italic;
    color: #b45309;
}

.note-footer {
    font-size: 10px;
    color: #d97706;
}

.segment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.seg-tag {
    background-color: #e2e8f0;
    color: #475569;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

/* Timeline Comm history */
.comm-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comm-block {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comm-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 600;
}

.comm-header i {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.comm-msg-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comm-msg {
    line-height: 1.4;
}

.comm-msg.bot {
    background-color: #f1f5f9;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border-bottom-left-radius: 2px;
    align-self: flex-start;
    max-width: 90%;
}

.comm-msg.user {
    background-color: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border-bottom-right-radius: 2px;
    align-self: flex-end;
    max-width: 90%;
    font-weight: 500;
}

/* Actions timeline list */
.actions-timeline-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 2px solid #e2e8f0;
    padding-left: 14px;
}

.act-item {
    position: relative;
    color: #64748b;
    font-size: 12px;
}

.act-item .dot {
    position: absolute;
    left: -20px;
    top: 4px;
    width: 10px;
    height: 10px;
    background-color: #cbd5e1;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

.act-item.active {
    color: #0f172a;
    font-weight: 600;
}

.act-item.active .dot {
    background-color: #6366f1;
}

.act-item .time {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    margin-top: 2px;
}


/* 2. Lead Database Mockup */
.lead-database-container {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    color: #1e293b;
    display: flex;
    font-size: 13px;
    height: 480px;
    overflow: hidden;
    position: relative;
}

.ld-sidebar {
    width: 200px;
    border-right: 1px solid #e2e8f0;
    background-color: #f8fafc;
    display: none;
    flex-direction: column;
}

@media (min-width: 768px) {
    .ld-sidebar {
        display: flex;
    }
}

.ld-sidebar .search-box {
    padding: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.ld-sidebar .search-box input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 11px;
}

.segment-list {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.seg-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
    color: #475569;
    border-left: 3px solid transparent;
}

.seg-item:hover {
    background-color: #f1f5f9;
}

.seg-item.active {
    background-color: #eff6ff;
    color: #1e40af;
    border-left-color: #3b82f6;
    font-weight: 600;
}

.ld-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
    background-color: #f8fafc;
}

.ld-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ld-header .title {
    font-weight: 800;
    font-size: 16px;
}

.ld-header .count {
    font-size: 11px;
    background-color: #e2e8f0;
    color: #475569;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.ld-header .btn-send {
    margin-left: auto;
    background-color: #6366f1;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.ld-table-wrapper {
    flex: 1;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    overflow-y: auto;
}

.ld-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 12px;
}

.ld-table th, .ld-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.ld-table th {
    background-color: #f8fafc;
    color: #64748b;
    font-weight: 600;
}

/* Floating Filter Tooltip Card */
.filter-tooltip-card {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 280px;
    background-color: #ffffff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    border-radius: var(--radius-sm);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease-out forwards;
    z-index: 10;
}

.ft-header {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 12px;
}

.ft-rule {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.ft-rule:last-child {
    margin-bottom: 0;
}

.ft-rule .label {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
}

.ft-rule .val {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 11px;
}

/* Floating Telegram Bot Card */
.tg-bot-mockup {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 280px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 10;
}

.tg-header {
    background-color: #54a9eb;
    color: #ffffff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tg-header .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tg-header strong {
    font-size: 12px;
    display: block;
}

.tg-header .subtext {
    font-size: 9px;
    opacity: 0.8;
}

.tg-chat {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: #eef2f3;
    height: 140px;
    overflow-y: auto;
}

.tg-chat .msg {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 11px;
    max-width: 85%;
    line-height: 1.3;
}

.tg-chat .msg.bot {
    background-color: #ffffff;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.tg-chat .msg.user {
    background-color: #effdcc;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    color: #0f172a;
    font-weight: 500;
}


/* 3. Automation Flowchart Builder */
.builder-flow-container {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 480px;
    overflow-y: auto;
    color: #1e293b;
}

.flow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 900px;
}

.flow-node {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 250px;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.flow-node .node-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}

.flow-node .node-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.flow-node .node-content .type {
    font-size: 9px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
}

.flow-node .node-content strong {
    font-size: 11px;
}

.flow-node .node-content .msg-preview {
    font-size: 10px;
    color: #64748b;
    margin: 2px 0 0 0;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

/* Specific Node Themes */
.node-trigger {
    border-color: #0f172a;
    background-color: #0f172a;
    color: #ffffff;
}

.node-trigger .node-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-yellow);
}

.node-trigger .type {
    color: var(--color-yellow) !important;
}

.node-condition {
    border-color: #f59e0b;
    position: relative;
}

.node-condition .node-icon {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.cond-paths {
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.cond-paths .path.yes {
    color: #10b981;
}

.cond-paths .path.no {
    color: #ef4444;
}

.telegram-icon {
    background-color: rgba(84, 169, 235, 0.1) !important;
    color: #54a9eb !important;
}

.email-icon {
    background-color: rgba(245, 158, 11, 0.1) !important;
    color: #f59e0b !important;
}

/* Connectors */
.flow-connector {
    height: 2px;
    background-color: #cbd5e1;
    flex: 1;
    min-width: 30px;
    z-index: 1;
}

.flow-connector.vertical {
    width: 2px;
    height: 30px;
    background-color: #cbd5e1;
    margin: 4px 0;
}

.flow-row-connector {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 30px;
}

.connector-line-vertical {
    width: 2px;
    height: 100%;
    background-color: #cbd5e1;
}

/* Connectors for split flow */
.flow-split-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    width: 100%;
    max-width: 900px;
    margin-top: 10px;
}

.flow-path-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Telegram Interactive Chat Actions */
.tg-actions-row {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.tg-action-btn {
    flex: 1;
    background-color: #54a9eb;
    color: #ffffff;
    border: none;
    padding: 6px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.tg-action-btn:hover {
    background-color: #3b82f6;
}

/* Mobile Smartphone Mockup Frame Styles */
.mobile-mockup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.smartphone {
    position: relative;
    width: 320px;
    height: 560px;
    background-color: #0f172a;
    border: 12px solid #0f172a;
    border-radius: 36px;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.smartphone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 18px;
    background-color: #0f172a;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.smartphone-screen {
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    color: #1e293b;
    overflow-y: auto;
    padding-top: 10px;
}

.app-header {
    background-color: #1e293b;
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-header .logo {
    font-weight: 800;
    font-size: 14px;
    color: var(--color-yellow);
}

.app-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.user-welcome h3 {
    font-size: 18px;
    margin: 0 0 2px 0;
    color: #0f172a;
}

.user-welcome p {
    font-size: 11px;
    color: #64748b;
    margin: 0;
}

.app-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 12px;
    color: #475569;
}

.app-card .badge {
    font-size: 9px;
    background-color: #d1fae5;
    color: #065f46;
    padding: 2px 8px;
    border-radius: 12px;
}

.sub-val {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

.sub-lbl {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.sub-exp {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 4px;
}

.balance-val {
    font-size: 24px;
    font-weight: 800;
    color: #10b981;
}

.balance-sub {
    font-size: 10px;
    color: #64748b;
}

.promo-val {
    font-size: 20px;
    font-weight: 800;
    color: #6366f1;
    background-color: #e0e7ff;
    padding: 6px 12px;
    border-radius: 4px;
    width: fit-content;
    letter-spacing: 1px;
}

.promo-sub {
    font-size: 10px;
    color: #64748b;
}

/* Full-Width responsive tab pane banners */
.pane-banner {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pane-banner:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

/* Premium Marketing Banner Card Styling & Interactive Smartphone Mockup */

.premium-banner-container {
    width: 100%;
    background: linear-gradient(135deg, #0b0f19 0%, #151a2d 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-xl);
    padding: 30px;
    overflow: hidden;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

.banner-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

@media (min-width: 992px) {
    .banner-layout {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .banner-promo-text {
        width: 40%;
        display: flex;
        flex-direction: column;
        gap: 16px;
        text-align: left;
    }
    .banner-visual-element, .banner-visual-phone {
        width: 55%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.banner-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-yellow);
    background-color: rgba(255, 204, 0, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 8px;
}

.banner-promo-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-white);
    margin: 0 0 12px 0;
}

.banner-promo-text p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.banner-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.banner-features li {
    font-size: 12px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.banner-features li i {
    color: var(--color-yellow);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.banner-screenshot {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Smartphone Mockup and App styles inside */
.smartphone-shell {
    position: relative;
    width: 250px;
    height: 440px;
    background-color: #0f172a;
    border: 10px solid #0f172a;
    border-radius: 28px;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.phone-speaker {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 14px;
    background-color: #0f172a;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 10;
}

.phone-screen-container {
    width: 100%;
    height: 100%;
    background-color: #f1f5f9;
    display: flex;
    flex-direction: column;
    position: relative;
}

.phone-app-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 46px); /* subtract phone-navbar height */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    display: flex;
    flex-direction: column;
}

.phone-app-screen.active {
    opacity: 1;
    pointer-events: auto;
}

.app-topbar {
    background-color: #1e293b;
    color: #ffffff;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
}

.app-topbar i {
    width: 14px;
    height: 14px;
}

.app-scroll-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #f8fafc;
    color: #1e293b;
    text-align: left;
}

/* User Card screen styles */
.app-profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4px;
}

.app-avatar-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #3b82f6;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 6px;
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-sm);
}

.app-profile-header h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.app-profile-header .app-email {
    font-size: 10px;
    color: #64748b;
    margin: 2px 0 0 0;
}

.app-card-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    box-shadow: var(--shadow-sm);
}

.card-item-title {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.card-item-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-stat {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.card-stat .num {
    font-size: 20px;
    font-weight: 800;
}

.card-stat .unit {
    font-size: 10px;
    color: #64748b;
}

.card-item-body .card-badge {
    font-size: 8px;
    font-weight: 700;
    background-color: #d1fae5;
    color: #065f46;
    padding: 2px 6px;
    border-radius: 10px;
}

.card-item-body .num.text-green {
    color: #10b981;
}

.card-item-body .subtext {
    font-size: 9px;
    color: #64748b;
}

/* Promo card screen styles */
.promo-badge-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #eff6ff;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 12px auto;
    border: 1px solid #bfdbfe;
}

.promo-badge-circle i {
    width: 20px;
    height: 20px;
}

.promo-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.promo-desc {
    font-size: 10px;
    color: #64748b;
    line-height: 1.4;
    margin: 0 0 16px 0;
}

.promo-code-box {
    border: 1px dashed #3b82f6;
    background-color: #eff6ff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 12px;
}

.promo-code-box span {
    font-size: 14px;
    letter-spacing: 1.5px;
}

.promo-code-box i {
    width: 14px;
    height: 14px;
    color: #3b82f6;
    cursor: pointer;
}

.promo-footer-text {
    font-size: 8px;
    color: #94a3b8;
    margin: 0;
}

/* Phone bottom navbar styling */
.phone-navbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 46px;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    z-index: 5;
}

.phone-nav-item {
    flex: 1;
    border: none;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #94a3b8;
    cursor: pointer;
    outline: none;
}

.phone-nav-item i {
    width: 16px;
    height: 16px;
}

.phone-nav-item span {
    font-size: 8px;
    font-weight: 600;
}

.phone-nav-item.active {
    color: #3b82f6;
}

/* Facts section alignment fixes */
#cases .stat-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

#cases .fact-list {
    width: 100%;
}

#cases .fact-list li {
    text-align: left;
}

#cases .fact-stat-val {
    justify-content: flex-start;
    width: 100%;
}

#cases .fact-period {
    width: 100%;
    text-align: left;
}
