/* Modern SaaS Landing Page Styles - 2025 Redesign (Applied to Original Layout) */
:root {
    /* Color Palette - Deep Blue & Neon */
    --bg-dark: #020617;
    /* Slate 950 */
    --bg-card: rgba(30, 41, 59, 0.5);
    /* Slate 800 with opacity */
    --bg-card-hover: rgba(51, 65, 85, 0.6);
    /* Slate 700 with opacity */

    --text-primary: #F8FAFC;
    /* Slate 50 */
    --text-secondary: #94A3B8;
    /* Slate 400 */
    --text-muted: #64748B;
    /* Slate 500 */

    --primary: #3B82F6;
    /* Blue 500 */
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #0EA5E9;
    /* Sky 500 */
    --accent: #8B5CF6;
    /* Violet 500 */
    --success: #10B981;
    /* Emerald 500 */
    --warning: #F59E0B;
    /* Amber 500 */
    --danger: #EF4444;
    /* Red 500 */

    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --gradient-text: linear-gradient(135deg, #60A5FA 0%, #A78BFA 100%);
    --gradient-dark: linear-gradient(to bottom, #020617, #0F172A);

    /* Spacing & Layout */
    --container-width: 1280px;
    --header-height: 80px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Effects */
    --backdrop-blur: blur(12px);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --border-light: 1px solid rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

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

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

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

.btn-telegram {
    background: transparent;
    color: #0088cc;
    border: 1px solid rgba(0, 136, 204, 0.4);
    transition: all 0.2s ease;
}

.btn-telegram:hover {
    background: rgba(0, 136, 204, 0.1);
    border-color: #0088cc;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: var(--border-light);
}

.nav-content {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

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

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

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    /* var(--space-16) */
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    color: #60A5FA;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #60A5FA;
    border-radius: 50%;
    box-shadow: 0 0 8px #60A5FA;
}

.hero-headline {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 600px;
}

.hero-buttons .btn-large {
    padding: 14px 20px;
    /* Reduced padding to prevent wrapping */
    font-size: 1rem;
    /* Slightly smaller font */
    white-space: nowrap;
    height: 54px;
    /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp {
    background: rgba(37, 211, 102, 0.15);
    /* Slightly more visible background */
    color: #25D366;
    border: 1px solid #25D366;
    position: relative;
    transition: all 0.2s ease;
}

.btn-telegram {
    justify-content: center;
}

.btn.disabled {
    opacity: 0.7;
    /* More visible */
    cursor: not-allowed;
    filter: grayscale(0.2);
    /* Less grayscale */
    pointer-events: none;
}

.coming-soon-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #EF4444;
    color: white;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    z-index: 10;
    line-height: 1.2;
}

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

.cta-subtext {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.hero-trust {
    display: flex;
    gap: 40px;
    border-top: var(--border-light);
    padding-top: 32px;
}

.trust-metric .metric-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.trust-metric .metric-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Live System Animation */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.live-system-container {
    display: flex;
    gap: 60px;
    /* Increased from 40px */
    align-items: center;
    width: 100%;
    max-width: 900px;
}

/* Left: Terminal */
.system-terminal {
    flex: 1;
    background: #0F172A;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    min-width: 320px;
    height: 360px;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: rgba(2, 6, 23, 0.8);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-controls {
    display: flex;
    gap: 6px;
}

.control {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.control.red {
    background: #EF4444;
}

.control.yellow {
    background: #F59E0B;
}

.control.green {
    background: #10B981;
}

.terminal-title {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-window {
    padding: 0;
    /* Padding moved to log-group */
    font-family: 'Inter', sans-serif;
    /* Switch to friendly sans-serif */
    font-size: 0.9rem;
    /* Slightly larger text */
    color: #94A3B8;
    position: relative;
    /* For absolute groups */
    height: 100%;
    overflow: hidden;
    line-height: 1.6;
}

.log-group {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #0F172A;
    /* Match terminal background to hide underlying text */
}

.log-line {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInLog 0.5s forwards;
}

.prompt {
    color: #3B82F6;
    font-size: 0.6rem;
    /* Smaller dot */
}

.highlight {
    color: #F59E0B;
    font-weight: 600;
}

.status-ok {
    color: #10B981;
    font-weight: 700;
    margin-left: auto;
}

.success {
    color: #10B981;
    font-weight: 600;
}

.cursor {
    animation: blink 1s infinite;
}

/* Group Animations - 24s Cycle */
.group-1 {
    animation: cycleGroup 24s infinite;
    animation-delay: 0s;
}

.group-2 {
    animation: cycleGroup 24s infinite;
    animation-delay: 12s;
}

@keyframes cycleGroup {
    0% {
        opacity: 0;
        z-index: 1;
        visibility: hidden;
    }

    1% {
        opacity: 0;
        z-index: 10;
        visibility: visible;
    }

    5% {
        opacity: 1;
        z-index: 10;
        visibility: visible;
    }

    45% {
        opacity: 1;
        z-index: 10;
        visibility: visible;
    }

    49% {
        opacity: 0;
        z-index: 10;
        visibility: visible;
    }

    50% {
        opacity: 0;
        z-index: 1;
        visibility: hidden;
    }

    100% {
        opacity: 0;
        z-index: 1;
        visibility: hidden;
    }
}

/* Line Delays within Group */
.delay-0 {
    animation-delay: 0.2s;
}

.delay-1 {
    animation-delay: 1.2s;
}

.delay-2 {
    animation-delay: 3.5s;
}

/* Match 1 - Syncs with Top Card */
.delay-3 {
    animation-delay: 7.0s;
}

/* Match 2 - Syncs with Bottom Card */
.delay-4 {
    animation-delay: 9.0s;
}

.delay-5 {
    animation-delay: 10.0s;
}

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

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Right: Results */
.system-results {
    flex: 1;
    position: relative;
    /* Removed fixed height to allow auto-sizing */
    display: grid;
    grid-template-rows: repeat(2, auto);
    /* Auto-size rows */
    grid-template-columns: 1fr;
    gap: 16px;
    perspective: 1000px;
}

.result-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    gap: 10px;
    opacity: 0;
    transform: translateX(50px) rotateY(-10deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform-origin: left center;
    grid-column: 1;
    /* All cards in first column */
    width: 100%;
    height: 100%;
    /* Fill the grid slot */
}

.result-card:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    cursor: pointer;
    transform: translateX(0) scale(1.02) rotateY(0deg) !important;
    z-index: 10;
}

/* Card Positioning */
.card-1,
.card-3 {
    grid-row: 1;
}

/* Top Slot */
.card-2,
.card-4 {
    grid-row: 2;
}

/* Bottom Slot */

/* Card Animations - 24s Cycle (2 loops of 12s) */
/* Loop 1: Cards 1 & 2 */
.card-1 {
    animation: cycleFirstHalf 24s infinite;
    animation-delay: 3.7s;
}

.card-2 {
    animation: cycleFirstHalf 24s infinite;
    animation-delay: 7.2s;
}

/* Loop 2: Cards 3 & 4 (Delayed by 12s) */
.card-3 {
    animation: cycleSecondHalf 24s infinite;
    animation-delay: 3.7s;
}

.card-4 {
    animation: cycleSecondHalf 24s infinite;
    animation-delay: 7.2s;
}

@keyframes cycleFirstHalf {
    0% {
        opacity: 0;
        transform: translateX(50px) rotateY(-10deg);
        z-index: 1;
    }

    5% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
        z-index: 5;
    }

    45% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
        z-index: 5;
    }

    50% {
        opacity: 0;
        transform: translateX(0) scale(0.95);
        z-index: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes cycleSecondHalf {
    0% {
        opacity: 0;
        transform: translateX(50px) rotateY(-10deg);
        z-index: 1;
    }

    50% {
        opacity: 0;
        transform: translateX(50px) rotateY(-10deg);
        z-index: 1;
    }

    55% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
        z-index: 5;
    }

    95% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
        z-index: 5;
    }

    100% {
        opacity: 0;
        transform: translateX(0) scale(0.95);
        z-index: 1;
    }
}

.card-header {
    display: flex;
    gap: 12px;
    align-items: center;
}

.company-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.job-info {
    display: flex;
    flex-direction: column;
}

.job-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.company-name {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.card-badges {
    display: flex;
    gap: 8px;
}

.badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.badge-visa {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-loc {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.card-salary {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 600;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.connection-lines {
    position: absolute;
    top: 0;
    left: -40px;
    /* Gap width */
    width: 40px;
    height: 100%;
    pointer-events: none;
    opacity: 1;
}

.conn-path {
    fill: none;
    stroke: #3B82F6;
    stroke-width: 1.5;
    /* Thinner lines */
    stroke-dasharray: 8 8;
    /* Smaller dashes */
    opacity: 0;
    animation: flowLine 12s infinite;
}

.path-1 {
    animation-delay: 3.7s;
}

.path-2 {
    animation-delay: 7.2s;
}

@keyframes flowLine {
    0% {
        opacity: 0;
        stroke-dashoffset: 100;
    }

    5% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    90% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        stroke-dashoffset: -200;
    }
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .live-system-container {
        flex-direction: column;
        max-width: 400px;
    }

    .system-results {
        width: 100%;
        height: auto;
    }

    .connection-lines {
        display: none;
    }

    .result-card {
        transform: translateY(20px);
    }

    @keyframes cycleCard {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }

        5%,
        90% {
            opacity: 1;
            transform: translateY(0);
        }

        95%,
        100% {
            opacity: 0;
            transform: scale(0.95);
        }
    }
}

/* Features Section */
.features {
    background: #020617;
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    border: var(--border-light);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Override inline styles for feature icons */
.feature-icon[style] {
    background-color: rgba(59, 130, 246, 0.1) !important;
    color: #60A5FA !important;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* How It Works */
.how-it-works {
    background: linear-gradient(to bottom, #020617, #0F172A);
    padding: 100px 0;
}

.steps-timeline {
    position: relative;
    max-width: 550px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-progress {
    position: absolute;
    left: 38px;
    /* Center of icon (40px) - half width (2px) */
    top: 80px;
    bottom: 80px;
    width: 4px;
    background: rgba(59, 130, 246, 0.2);
    overflow: hidden;
    border-radius: 4px;
}

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

.timeline-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    transition: height 0.1s linear;
    border-radius: 4px;
}

.step-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
    opacity: 0.3;
    transform: translateX(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(2px);
}

.step-item.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-dark);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    z-index: 2;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
}

.step-item.active .step-icon {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    background: rgba(15, 23, 42, 0.9);
    transform: scale(1.1);
}

@keyframes icon-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.step-item.active .step-icon {
    animation: icon-pulse 2s infinite;
}

.step-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.4s ease;
}

.step-item.active .step-content {
    transform: translateX(10px);
}

.step-content {
    padding-top: 10px;
}

.step-time {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.step-description {
    color: var(--text-secondary);
}

.how-it-works-cta {
    text-align: center;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .how-it-works-cta .btn-large {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 14px 12px;
        white-space: nowrap;
    }
}

/* Testimonials - Wall of Love */
.testimonials {
    background: #020617;
    padding: 100px 0;
}

.testimonials-wall {
    column-count: 3;
    column-gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    border: var(--border-light);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    break-inside: avoid;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

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

.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.testimonial-highlight {
    background: rgba(253, 224, 71, 0.9);
    /* Yellow-300 */
    color: #020617;
    /* Dark text */
    padding: 0 4px;
    border-radius: 2px;
    font-weight: 600;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.testimonial-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 12px;
}

@media (max-width: 900px) {
    .testimonials-wall {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .testimonials-wall {
        column-count: 1;
    }
}

/* Comparison Section */
.comparison-section {
    background: #0F172A;
    padding: 100px 0;
}

.comparison-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-column {
    background: var(--bg-card);
    border: var(--border-light);
    border-radius: 24px;
    padding: 40px;
}

.comparison-column.new-way {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
}

.comparison-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: var(--border-light);
}

.comparison-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.comparison-title {
    font-size: 1.75rem;
}

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

.comparison-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.comparison-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.comparison-item.negative .comparison-icon {
    color: var(--danger);
}

.comparison-item.positive .comparison-icon {
    color: var(--success);
}

.comparison-text strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.comparison-text small {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.comparison-cta {
    text-align: center;
    margin-top: 60px;
}

.comparison-cta-text {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* Pricing */
.pricing {
    background: #020617;
    padding: 100px 0;
}

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

.pricing-card {
    background: var(--bg-card);
    border: var(--border-light);
    border-radius: 24px;
    padding: 32px;
    /* Reduced from 40px to give more text space */
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured {
    background: rgba(30, 41, 59, 0.6);
    /* Slightly more transparent */
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 10;
    white-space: nowrap;
    border: 2px solid #0F172A;
    /* Match background to create separation */
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
    width: 100%;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-icon-wrapper {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
    flex-shrink: 0;
}

.featured .plan-icon-wrapper {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    width: 100%;
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
    width: 100%;
}

.plan-price .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.price-badge {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 100px;
}

.plan-description {
    font-size: 0.95rem;
    color: var(--text-primary);
    /* Brighter text */
    font-weight: 600;
    /* Bold text */
    line-height: 1.4;
    min-height: 42px;
    /* Ensure alignment */
    margin-top: 8px;
}

.plan-features {
    margin-bottom: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: center;
    /* Centers the block in the flex column */
    width: fit-content;
    /* Shrinks to fit content */
    min-width: 240px;
    /* Prevents it from being too narrow */
}

.plan-features li {
    margin-bottom: 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.plan-features .feature-icon {
    color: var(--success);
    flex-shrink: 0;
    width: auto;
    height: auto;
    margin: 0;
    background: none;
    border-radius: 0;
    font-size: 1rem;
}

.plan-footer {
    text-align: center;
}

.pricing-card .btn {
    width: 100%;
}

.plan-users {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Success Section */
.success-section {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
    border: var(--border-light);
    border-radius: 24px;
    padding: 48px;
    margin-top: 100px;
    text-align: center;
    backdrop-filter: blur(12px);
}

.success-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* Legal Page Content Styling */
.legal-content ul,
.legal-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.legal-content li {
    color: var(--text-secondary) !important;
    /* Force color override */
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

/* Footer Compact Fix */
.footer-bottom {
    border-top: var(--border-light);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    flex-wrap: wrap;
    /* Allow wrapping */
    gap: 20px;
}

/* Group company info and copyright tightly */
.footer-left-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* Tight vertical spacing */
}

.footer-company-text {
    opacity: 0.6;
    font-size: 0.8rem;
}

/* Group social and contact */
.footer-right-group {
    display: flex;
    align-items: center;
    gap: 24px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

    .footer-left-group,
    .footer-right-group {
        align-items: center;
    }

    .footer-right-group {
        flex-direction: column;
        gap: 16px;
    }
}

.success-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.success-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.success-stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #60A5FA;
    display: block;
    margin-bottom: 4px;
}

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

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-badge svg {
    color: var(--success);
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Testimonials - Wall of Love */
.testimonials {
    background: #020617;
    padding: 100px 0 40px;
}

/* Video Reviews */
.video-reviews {
    background: #020617;
    padding: 20px 0 100px;
    overflow: hidden;
    /* Hide scrollbar from main page if it leaks */
}

.video-scroller {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 24px 4px 40px 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-dark);
}

.video-item {
    flex: 0 0 280px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-card {
    width: 100%;
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
    z-index: 2;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-card.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.video-card:hover .play-button {
    transform: scale(1.1);
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 20px 20px;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.5) 70%, transparent 100%);
    color: white;
    z-index: 2;
    pointer-events: none;
    text-align: left;
}

.reviewer-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.reviewer-location {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.reviewer-location i {
    color: var(--primary);
    font-size: 0.8rem;
}

.reviewer-outcome {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(30, 41, 59, 0.5);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease;
}

.video-item:hover .reviewer-outcome {
    transform: translateY(-4px);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.reviewer-outcome i {
    color: #4ade80;
    margin-top: 3px;
    flex-shrink: 0;
}

/* FAQ */
.faq {
    background: #0F172A;
    padding: 100px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: var(--border-light);
    border-radius: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    display: none;
    line-height: 1.6;
}

.faq-question[aria-expanded="true"]+.faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Footer */
.footer {
    background: #020617;
    border-top: var(--border-light);
    padding: 60px 0 20px;
}

.footer-compact {
    max-width: 900px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.nav-divider {
    color: var(--text-muted);
}

.footer-telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #0088cc;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(0, 136, 204, 0.4);
    transition: all 0.2s ease;
}

.footer-telegram-btn:hover {
    background: rgba(0, 136, 204, 0.1);
    border-color: #0088cc;
}

.footer-bottom {
    border-top: var(--border-light);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: var(--text-muted);
    font-size: 0.875rem;
    gap: 24px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

.footer-contact {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

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

    .process-demo {
        flex-direction: column;
        gap: 40px;
    }

    .nav-links {
        display: none;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        padding: 24px;
        border-bottom: var(--border-light);
        gap: 24px;
    }

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

    /* Mobile Header Improvements */
    .nav-content {
        position: relative;
        justify-content: space-between;
    }

    .logo-icon {
        height: 40px;
        /* Larger logo for mobile */
        width: auto;
    }

    /* Center the CTA on mobile */
    .nav-actions .btn-telegram {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
        padding: 8px 16px;
        font-size: 0.85rem;
        height: 36px;
        display: flex;
        align-items: center;
    }

    /* Ensure hamburger menu stays on the right */
    .nav-actions {
        position: static;
        /* Allow button to position relative to nav-content */
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
        /* Push to right if needed, though flex parent handles it */
    }

    /* Hide logo text on mobile, show only icon */
    .nav-logo span,
    .nav-logo .logo-text {
        display: none;
    }

    /* Mobile nav layout - keep everything on one line */
    /* .nav-content { flex-wrap: nowrap; } - Already inherited or default */

    /* Hero badge - smaller font, single line */
    .hero-badge {
        font-size: 0.75rem;
        white-space: nowrap;
        padding: 4px 12px;
    }

    /* Hide terminal animation on mobile - takes too much space and doesn't work well */
    .hero-visual {
        display: none;
    }

    /* Comparison section CTA - full width centered */
    .comparison-cta {
        padding: 0 16px;
    }

    .comparison-cta .btn-large {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        /* Smaller font for mobile */
        padding: 14px 12px;
        white-space: nowrap;
    }

    .features-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

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

    .pricing-card.featured {
        transform: none;
    }

    .success-stats {
        grid-template-columns: 1fr;
    }

    .video-reviews {
        padding-top: 40px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav {
        flex-wrap: wrap;
    }

    .footer-telegram-btn {
        white-space: nowrap;
    }

    /* Footer - stack on two lines for mobile */
    .footer-bottom {
        font-size: 0.75rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .footer-left,
    .footer-right {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .footer-right {
        gap: 16px;
    }

    /* Reduce vertical gaps on mobile */
    .how-it-works {
        padding-bottom: 40px;
    }

    .comparison-section {
        padding-top: 40px;
    }

    .how-it-works-cta {
        margin-top: 30px;
    }

    .pricing {
        padding-bottom: 40px;
    }

    .testimonials {
        padding-top: 40px;
    }
}

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

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

/* Animated Glow Button Effect */
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.btn-glow {
    position: relative;
    background: transparent !important;
    color: white !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 1;
    overflow: visible;
}

/* Background + Gradient Border */
.btn-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    /* Border width */
    background:
        linear-gradient(#020617, #020617) content-box,
        conic-gradient(from var(--gradient-angle),
            #3B82F6,
            #8B5CF6,
            #0EA5E9,
            #3B82F6) border-box;
    z-index: -1;
    animation: glow-rotate 3s linear infinite;
}

/* Outer Glow */
.btn-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: conic-gradient(from var(--gradient-angle),
            #3B82F6,
            #8B5CF6,
            #0EA5E9,
            #3B82F6);
    filter: blur(20px);
    z-index: -2;
    animation: glow-rotate 3s linear infinite;
    opacity: 0.6;
}

@keyframes glow-rotate {
    0% {
        --gradient-angle: 0deg;
    }

    100% {
        --gradient-angle: 360deg;
    }
}

.btn-glow:hover {
    transform: translateY(-2px);
}

.btn-glow:hover::after {
    opacity: 0.8;
    filter: blur(25px);
    transition: all 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
    .btn-glow::before {
        animation: none;
        background:
            linear-gradient(#020617, #020617) content-box,
            linear-gradient(135deg, #3B82F6, #8B5CF6) border-box;
    }

    .btn-glow::after {
        animation: none;
        background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    }
}