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

:root {
    /* Dark Theme Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a27;

    /* Accent Colors */
    --accent-cyan: #00f5ff;
    --accent-purple: #b045ff;
    --accent-pink: #ff0080;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00f5ff 0%, #b045ff 100%);
    --gradient-secondary: linear-gradient(135deg, #b045ff 0%, #ff0080 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 245, 255, 0.1) 0%, rgba(176, 69, 255, 0.1) 100%);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8b8d1;
    --text-muted: #6b6b8f;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Spacing */
    --section-padding: 120px;
    --container-padding: 80px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Shadows */
    --shadow-glow: 0 0 40px rgba(0, 245, 255, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    line-height: 1.6;
    overflow-x: hidden;
    /* CRITICAL: Prevent horizontal scroll */
    width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
    /* Double safety */
    width: 100%;
}

/* Particle Canvas Background */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 245, 255, 0.6);
}

.btn-hero-cta {
    padding: 18px 48px;
    font-size: 20px;
    font-weight: 700;
}

.btn-hero-cta:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 245, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-cyan);
}

.btn-outline:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.4);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
}

.logo-icon {
    font-size: 32px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */
/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: auto;
    /* Remove forced full height for compactness */
    display: flex;
    align-items: center;
    padding-top: 100px;
    /* Reduced from 120px */
    padding-bottom: 80px;
    /* Explicit bottom padding */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    /* Using the spacer layout logic if applicable? No, reverted to original */
    /* Wait, the reverted version uses 1fr 1.2fr */
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    /* Reduced from 80px */
    align-items: center;
}

.hero-text {
    z-index: 1;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    /* Reduced from 40-72px */
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 20px;
    /* Reduced from 24px */
}

.typing-effect {
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    /* Reduced from 20px */
    flex-wrap: wrap;
    align-items: center;
    margin-top: 32px;
    /* Add margin top explicit here if needed, or was it on subtitle? */
    /* Original file didn't have margin-top on hero-cta, it relied on subtitle margin-bottom: 40px */
    /* Since subtitle is removed in HTML, we might need margin-top here or on hero-text? */
    /* User removed subtitle. So gap is between Title and CTA directly? */
    /* Before: Title (mb 30) -> Subtitle (mb 40) -> CTA */
    /* Now: Title (mb 24) -> [Subtitle/Removed] -> CTA */
    /* If subtitle is gone, we might need more margin if title margin is only 24px? */
    /* But we want compact. 24px might be enough. Let's start with just gap adjustment */
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 245, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    /* Reduced from 24px */
    letter-spacing: 0.5px;
}

.hero-micro,
.cta-micro {
    display: block;
    width: 100%;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

.cta-micro {
    text-align: center;
    margin-top: 16px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resume-card,
.report-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
}

.resume-card {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    z-index: 1;
}

.resume-card:hover {
    transform: translateY(-50%) scale(1.05);
}

.resume-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.resume-icon {
    font-size: 32px;
}

.resume-title {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.resume-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resume-line {
    height: 8px;
    background: linear-gradient(90deg, var(--glass-border) 0%, transparent 100%);
    border-radius: 4px;
    animation: pulse 2s ease-in-out infinite;
}

.resume-line.short {
    width: 60%;
}

.resume-line.medium {
    width: 80%;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Data Flow Animation */
.data-flow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 120px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: flow 2s ease-in-out infinite;
}

.flow-particle:nth-child(2) {
    animation-delay: 0.5s;
}

.flow-particle:nth-child(3) {
    animation-delay: 1s;
}

@keyframes flow {
    0% {
        left: -20px;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 120px;
        opacity: 0;
    }
}

.ai-icon {
    font-size: 32px;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Report Card */
.report-card {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    z-index: 1;
}

.report-card:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 245, 255, 0.3);
}

.report-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.report-tab {
    padding: 6px 12px;
    font-size: 11px;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    border: 1px solid transparent;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.report-tab.active {
    background: var(--gradient-primary);
    color: var(--text-primary);
}

.report-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.report-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.report-badge.success {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.report-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.report-text.short {
    width: 80%;
}

.report-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 136, 0, 0.1);
    border-left: 3px solid #ff8800;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: #ff8800;
}

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

/* ===================================
   FRAMEWORK SECTION (6 STEPS)
   =================================== */
.framework {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

/* Old global step line removed */

.step {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Connecting line via pseudo-element */
.step::after {
    content: '';
    position: absolute;
    top: 40px;
    /* Aligns with icon center roughly */
    right: -25px;
    /* Pulls out to the right */
    width: 25px;
    /* Half gap */
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), transparent);
    z-index: 0;
    opacity: 0.6;
    display: none;
    /* Default hidden */
}

/* Show lines on desktop for steps that are not the last in a known row */
@media (min-width: 1025px) {
    .steps-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
        /* Increased gap for visual space */
    }

    .step::after {
        display: block;
        width: 50px;
        /* Full gap width */
        right: -50px;
        background: linear-gradient(90deg, rgba(0, 245, 255, 0.5), rgba(0, 245, 255, 0.2));
    }

    /* Remove line from every 3rd item (end of row) and the very last item */
    .step:nth-child(3n)::after,
    .step:last-child::after {
        display: none;
    }
}

.step:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 12px 40px rgba(0, 245, 255, 0.2);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.step-icon svg {
    display: block;
    /* Removes bottom spacing */
    margin: auto;
    /* Ensures center if flex fails */
}

.step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.step-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   BENEFITS SECTION
   =================================== */
.benefits {
    background: var(--bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    justify-content: center;
    /* Center the last odd item */
}

.benefit-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(176, 69, 255, 0.4);
}

.benefit-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.benefit-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.benefit-highlight {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.benefit-badge {
    padding: 6px 14px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-cyan);
}

/* ===================================
   COMPARISON SECTION (BEFORE/AFTER)
   =================================== */
.comparison {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.comparison::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(176, 69, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.comparison-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.comparison-side {
    text-align: center;
}

.comparison-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.comparison-visual {
    width: 100%;
    height: 400px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.comparison-visual:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-card);
}

/* Chaos Visual */
.chaos {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-note {
    position: absolute;
    width: 120px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 8px;
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(var(--initial-rotation, 0deg));
    }

    50% {
        transform: rotate(calc(var(--initial-rotation, 0deg) + 5deg));
    }
}

.sticky-header {
    height: 20px;
    margin: -8px -8px 8px;
    border-radius: 4px 4px 0 0;
}

.sticky-header.yellow {
    background: #ffd700;
}

.sticky-header.pink {
    background: #ff69b4;
}

.sticky-header.blue {
    background: #4169e1;
}

.sticky-content {
    font-size: 11px;
    color: #333;
    font-weight: 600;
}

.document-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    padding: 20px;
    opacity: 0.3;
}

.doc-line {
    height: 6px;
    background: var(--glass-border);
    margin-bottom: 8px;
    border-radius: 3px;
}

.doc-line.short {
    width: 60%;
}

.doc-line.medium {
    width: 80%;
}

/* Structured Visual */
.structured {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.structured-report {
    width: 100%;
}

.report-header-line {
    height: 12px;
    background: var(--gradient-primary);
    border-radius: 6px;
    margin-bottom: 24px;
    width: 70%;
}

.report-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-cyan);
    border-radius: 50%;
}

.section-text {
    height: 10px;
    background: var(--glass-border);
    flex: 1;
    border-radius: 5px;
}

.report-bullet {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.bullet-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    flex-shrink: 0;
}

.bullet-line {
    height: 8px;
    background: var(--glass-border);
    flex: 1;
    border-radius: 4px;
}

.bullet-line.short {
    flex: 0.6;
}

.report-status {
    margin-top: 24px;
    padding: 16px;
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid rgba(0, 255, 136, 0.5);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.status-icon {
    font-size: 20px;
}

.status-text {
    font-weight: 700;
    color: #00ff88;
    font-size: 14px;
}

.comparison-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* VS Divider */
.vs-divider {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 245, 255, 0.8);
        transform: scale(1.1);
    }
}

/* Time Comparison */
.time-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.time-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.time-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.time-value {
    font-size: 36px;
    font-weight: 900;
}

.time-value.old {
    color: #ff4444;
}

.time-value.new {
    color: #00ff88;
}

.time-arrow {
    font-size: 48px;
    color: var(--accent-cyan);
    animation: slide-arrow 2s ease-in-out infinite;
}

@keyframes slide-arrow {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

/* ===================================
   AUDIENCE SECTION
   =================================== */
.audience {
    background: var(--bg-secondary);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.audience-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.audience-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width 0.4s ease;
}

.audience-card:hover::after {
    width: 100%;
}

.audience-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.audience-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.audience-card:hover .audience-icon {
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(176, 69, 255, 0.5);
}

.audience-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.audience-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.audience-benefits {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.audience-benefits li {
    font-size: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* ===================================
   DEMO SECTION (INTERACTIVE)
   =================================== */
.demo {
    background: var(--bg-primary);
    position: relative;
}

.demo-wrapper {
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.demo-interface {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.demo-dots {
    display: flex;
    gap: 8px;
}

.demo-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
}

.demo-dots span:nth-child(1) {
    background: #ff5f56;
}

.demo-dots span:nth-child(2) {
    background: #ffbd2e;
}

.demo-dots span:nth-child(3) {
    background: #27c93f;
}

.demo-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

.demo-tabs {
    display: flex;
    gap: 4px;
    padding: 20px 30px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--glass-border);
    overflow-x: auto;
}

.demo-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.demo-tab:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.demo-tab.active {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border-color: transparent;
}

.tab-icon {
    font-size: 18px;
}

/* Responsive Tab Text */
.tab-text-mobile {
    display: none;
}

.tab-text-desktop {
    display: inline;
}

.demo-content {
    padding: 40px;
    min-height: 500px;
}

.demo-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.demo-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-section {
    margin-bottom: 32px;
}

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

.hero-description {
    font-size: clamp(20px, 3.5vw, 36px);
    /* Further reduced for 2-line fit */
    font-weight: 700;
    /* Reduced weight slightly for better hierarchy */
    color: var(--text-primary);
    margin-bottom: 24px;
    max-width: 800px;
    /* Reduced max-width to encourage 3-line shape if needed */
    line-height: 1.3;
}

.panel-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.panel-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.panel-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.panel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.list-icon {
    color: var(--accent-cyan);
    font-weight: 700;
    flex-shrink: 0;
}

.panel-badge-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.panel-badge {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
}

.panel-badge.success {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.panel-badge.info {
    background: rgba(0, 245, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 245, 255, 0.3);
}

.panel-badge.warning {
    background: rgba(255, 136, 0, 0.1);
    color: #ff8800;
    border: 1px solid rgba(255, 136, 0, 0.3);
}

/* Risk Items */
.risk-item {
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    border-left: 4px solid;
}

.risk-item.high {
    background: rgba(255, 68, 68, 0.1);
    border-left-color: #ff4444;
}

.risk-item.medium {
    background: rgba(255, 204, 0, 0.1);
    border-left-color: #ffcc00;
}

.risk-item.low {
    background: rgba(0, 255, 136, 0.1);
    border-left-color: #00ff88;
}

.risk-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.risk-level {
    font-weight: 700;
    font-size: 14px;
}

.risk-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Question Items */
.question-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.question-item:hover {
    border-color: var(--accent-cyan);
    transform: translateX(4px);
}

.question-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.question-content {
    flex: 1;
}

.question-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.question-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Conclusion Status */
.conclusion-status {
    text-align: center;
    padding: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

.conclusion-status.partial {
    border-color: rgba(255, 204, 0, 0.5);
    background: rgba(255, 204, 0, 0.05);
}

.status-icon-large {
    font-size: 64px;
    margin-bottom: 20px;
}

.status-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.status-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Action Steps */
.action-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.action-step {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.action-step:hover {
    border-color: var(--accent-cyan);
    transform: translateX(4px);
}

.action-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    border-radius: 50%;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}

.action-content h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.action-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.panel-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-note {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
}

/* ===================================
   PRICING SECTION
   =================================== */
.pricing {
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
}



.pricing-card.featured {
    border-color: var(--accent-cyan);
    box-shadow: 0 12px 40px rgba(0, 245, 255, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 24px;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pricing-description {
    font-size: 15px;
    color: var(--text-secondary);
}

.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 24px;
}

.price-container {
    display: flex;
    align-items: center;
    /* Changed from baseline to center for better match of large fonts */
    gap: 16px;
}

.old-price {
    font-size: 64px;
    /* Larger than price-value (56px) */
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    /* Make strikethrough thicker */
    opacity: 0.6;
    font-weight: 700;
}

.price-value {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-left: 4px;
}

.price-period {
    font-size: 18px;
    color: var(--text-muted);
    margin-left: 8px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-icon {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq {
    background: var(--bg-primary);
}

.faq-list {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 30px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 24px;
}

.faq-answer p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   FINAL CTA SECTION
   =================================== */
.final-cta {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.05) 0%, transparent 60%);
    animation: rotate-slow 30s linear infinite;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
    margin-bottom: 50px;
}

.cta-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.cta-telegram {
    position: relative;
}

.telegram-card {
    text-align: center;
    padding: 50px 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
}

.telegram-card:hover {
    border-color: #37aee2;
    box-shadow: 0 12px 40px rgba(55, 174, 226, 0.2);
}

.telegram-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.telegram-icon svg {
    filter: drop-shadow(0 4px 20px rgba(55, 174, 226, 0.4));
}

.telegram-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.telegram-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.telegram-description strong {
    color: #37aee2;
    font-weight: 700;
}

.telegram-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.telegram-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    text-align: left;
    transition: all 0.3s ease;
}

.telegram-step:hover {
    border-color: #37aee2;
    transform: translateX(8px);
}

.step-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #37aee2 0%, #1e96c8 100%);
    border-radius: 50%;
    font-weight: 800;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.step-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-text strong {
    color: #37aee2;
    font-weight: 700;
}

.telegram-btn {
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

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

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

.telegram-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.telegram-note svg {
    color: #37aee2;
    flex-shrink: 0;
}


/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--bg-secondary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 300px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    font-size: 14px;
    color: var(--text-muted);
}

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

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */
[data-scroll-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

[data-scroll-animate][data-delay="100"].animated {
    transition-delay: 0.1s;
}

[data-scroll-animate][data-delay="200"].animated {
    transition-delay: 0.2s;
}

[data-scroll-animate][data-delay="300"].animated {
    transition-delay: 0.3s;
}

[data-scroll-animate][data-delay="400"].animated {
    transition-delay: 0.4s;
}

[data-scroll-animate][data-delay="500"].animated {
    transition-delay: 0.5s;
}

[data-scroll-animate][data-delay="600"].animated {
    transition-delay: 0.6s;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
        /* More vertical space */
        --container-padding: 24px;
        /* Safe side padding */
    }

    body {
        line-height: 1.6;
        /* Better readability */
    }

    section {
        margin-bottom: 80px;
        /* Increased rhythm */
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        /* Reduced from 60px */
    }

    .hero-visual {
        height: auto;
        min-height: 400px;
    }

    .resume-card,
    .report-card {
        position: relative;
        transform: none !important;
        margin: 20px auto;
    }

    .data-flow {
        display: none;
    }

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

    .vs-divider {
        transform: rotate(90deg);
        margin: 0 auto;
        /* Center the VS circle */
    }

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

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

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 40px;
        gap: 24px;
        align-items: flex-start;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

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

    .hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        /* Safety */
    }

    .section-title,
    .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .pricing-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .pricing-card {
        width: 100%;
        max-width: 380px;
        /* Optimal reading width */
        margin: 0 auto;
        /* Center the card */
    }

    /* Disable hover transforms on mobile to prevent stickiness/jumps */
    .pricing-card:hover {
        transform: none;
        box-shadow: var(--shadow-card);
        /* Keep static shadow */
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        min-height: 52px;
        /* Touch target */
    }

    /* FIX: Functionality & Layers */
    /* FIX: Functionality & Layers */
    .hero {
        min-height: auto;
        height: auto;
        padding-top: 80px;
        /* Reduced mobile top padding */
        padding-bottom: 30px;
        /* Reduced mobile bottom padding */
        overflow: visible;
        /* Prevent cutting off shadows/content */
    }

    .hero-text {
        position: relative;
        z-index: 10;
        /* Text above visuals */
    }

    .hero-cta {
        position: relative;
        z-index: 11;
        /* Buttons highest priority */
    }

    /* FIX: Visual Flow - Stop Absolute Positioning Madness on Mobile */
    /* FIX: Visual Flow - Stop Absolute Positioning Madness on Mobile */
    /* USER REQUEST: "Remove completely demo of candidate report (both blocks)" on mobile */
    .hero-visual {
        display: none;
    }

    .resume-card,
    .report-card {
        display: none;
        /* Double insurance */
    }

    .resume-card,
    .report-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 340px;
        margin: 0 auto;
    }

    .resume-card:hover {
        transform: none !important;
    }

    /* Hide complex data flow on mobile if it interferes, or center it */
    .data-flow {
        display: none;
    }

    /* Reduce new hero button size on mobile */
    .btn-hero-cta {
        padding: 14px 24px;
        font-size: 16px;
    }

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

    /* Ensure connecting lines are gone on mobile */
    .step::after {
        display: none;
    }

    .step {
        /* Align content efficiently */
        padding: 24px 20px;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Strict center */
    }

    /* Increase generic card padding for "breathing room" */
    .audience-card,
    .benefits-card,
    .pricing-card {
        padding: 24px;
        margin-bottom: 16px;
    }

    .benefits-grid,
    .audience-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .demo-tabs {
        padding: 16px 20px;
        /* Mobile Segmented Control */
        flex-wrap: wrap;
        justify-content: stretch;
        gap: 8px;
        overflow-x: visible;
        /* No scroll */
    }

    .demo-tab {
        padding: 10px 12px;
        font-size: 13px;
        flex: 1 1 45%;
        /* 2 per row */
        justify-content: center;
        text-align: center;
    }

    /* Make the last odd item full width if specific counting needed, 
       but 45% flex allows auto-fit nicely. 
       With 4 items, 2x2 is perfect. */

    .tab-text-desktop {
        display: none;
    }

    .tab-text-mobile {
        display: inline;
    }

    .demo-content {
        padding: 24px 20px;
    }

    /* FIX: Pricing Badge Mobile Stability */
    .pricing-badge {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto 16px auto;
        display: table;
        /* Fit content */
        max-width: 100%;
        white-space: normal;
        text-align: center;
        pointer-events: none;
        /* No clicking badge */
    }

    .cta-wrapper {
        padding: 40px 24px;
    }

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

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

    .time-comparison {
        flex-direction: column;
        gap: 24px;
    }

    .time-arrow {
        transform: rotate(90deg);
    }

    .telegram-card {
        padding: 30px 20px;
    }

    .telegram-title {
        font-size: 24px;
    }

    .telegram-description {
        font-size: 16px;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {

    /* FIX: Ensure badge clears header on small screens */
    .hero {
        padding-top: 180px;
        /* Increased to 180px */
        align-items: flex-start;
        /* Force content to start from top padding, disable centering */
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .hero-title {
        font-size: 24px;
        /* Reduced from 30px */
        line-height: 1.2;
        word-wrap: break-word;
        padding: 0 10px;
        margin-bottom: 16px;
        /* Reduced margin */
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.5;
        margin-top: 16px;
    }

    .hero-content {
        gap: 20px;
        /* Reduced from 30px */
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 10px;
        white-space: normal;
        /* Allow wrap */
        line-height: 1.4;
        text-align: center;
        max-width: 100%;
        display: inline-block;
    }

    .hero-description {
        font-size: 16px;
        /* Reduced from 18px */
        line-height: 1.4;
        margin-bottom: 16px;
    }


    /* Force visual below text always */
    /* Force visual below text always */
    .hero-visual {
        order: 2;
        margin-top: 20px;
        /* Remove max-height limit to fit stacked cards */
        max-height: none;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 16px;
    }
}

/* ===================================
   MODAL
   =================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-secondary);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(18, 18, 26, 0.95);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-title-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--accent-cyan);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Privacy Policy Content Overrides */
.policy-root {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: var(--text-secondary);
}

.policy-title {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 24px;
}

.policy-subtitle,
.policy-meta,
.operator-block {
    color: var(--text-muted);
}

.policy-root h2 {
    color: var(--text-primary);
    margin-top: 30px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
    font-size: 18px;
}

.policy-root h3 {
    color: var(--text-primary);
    margin-top: 20px;
    font-size: 16px;
}

.policy-root strong,
.policy-root .accent {
    color: var(--accent-cyan);
}

.policy-root p {
    margin-bottom: 12px;
}

/* Custom scrollbar for modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ===================================
   CONTACTS MODAL
   =================================== */
.contacts-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-company {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-label {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-bottom: 4px;
}

.contact-value {
    color: var(--text-secondary);
}

.contact-value a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: var(--text-primary);
}

/* ===================================
   ABOUT US MODAL
   =================================== */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.about-company-intro {
    font-size: 1.1em;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.about-section-title {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 8px;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-mission-text {
    font-style: italic;
    border-left: 3px solid var(--accent-cyan);
    padding-left: 15px;
    background: rgba(0, 240, 255, 0.05);
    padding: 10px 15px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

/* ===================================
   MOBILE STICKY CTA
   =================================== */
.mobile-sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(18, 18, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
}

.sticky-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.sticky-btn {
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
}

@media (min-width: 769px) {
    .mobile-sticky-cta {
        display: none !important;
    }
}

.about-list li::before {
    content: "•";
    color: var(--accent-cyan);
    position: absolute;
    left: 0;
    font-weight: bold;
}