/* ===================================
   CloudBankingPlatform - Premium CSS
   Modern Financial Software Design
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #8b5cf6;

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    --dark: #0f172a;
    --dark-800: #1e293b;
    --dark-700: #334155;
    --dark-600: #475569;
    --dark-lighter: #1a2332;

    --light: #f8fafc;
    --light-100: #f1f5f9;
    --light-200: #e2e8f0;
    --light-300: #cbd5e1;

    --white: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --section-padding: 120px;
    --container-max: 1280px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    /* Prevent horizontal scroll - 100% instead of 100vw to avoid scrollbar width */
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-primary);
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Use 100% not 100vw - 100vw includes scrollbar width and causes overflow */
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* ===========================================
   MOBILE FIX - Clean approach without clipping
   =========================================== */
@media (max-width: 768px) {
    /* Base - ensure proper box model */
    *, *::before, *::after {
        box-sizing: border-box;
    }

    /* Root - hide horizontal overflow at document level only */
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
        width: 100%;
        min-width: 0;
    }

    /* Container - proper padding without overflow issues */
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    /* ===== HEADER ===== */
    .header {
        width: 100%;
        max-width: 100%;
    }

    .nav-logo .logo-text {
        font-size: 16px;
    }

    /* ===== HERO SECTION ===== */
    .hero {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: visible !important;
    }

    /* FORCE HIDE decorative backgrounds and dashboard on mobile */
    .hero-bg,
    .hero-gradient,
    .hero-glow,
    .hero-grid {
        display: none !important;
    }

    /* NUCLEAR: Force hide dashboard with maximum specificity */
    .hero-visual,
    .hero-visual *,
    .hero-dashboard,
    .hero-dashboard *,
    .floating-card,
    .floating-card *,
    div.hero-visual,
    .hero .hero-visual,
    .hero-container .hero-visual {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        pointer-events: none !important;
    }

    /* Hero container - grid to block, remove overflow hidden */
    .container.hero-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px !important;
        overflow: visible !important;
        grid-template-columns: none !important;
    }

    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
        overflow: visible !important;
    }

    /* Hero badge */
    .hero-badge {
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }

    /* Hero title - responsive font */
    .hero-title {
        font-size: clamp(24px, 7vw, 36px);
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    /* Hero description */
    .hero-description {
        font-size: 15px;
        line-height: 1.6;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Hero stats bar */
    .hero-stats-bar {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        padding: 16px;
        gap: 12px;
    }

    .hero-stat {
        width: 100%;
    }

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

    .hero-stat:not(:last-child) {
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }

    /* Hero actions */
    .hero-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    /* Hero clients - ensure badges don't overflow */
    .hero-clients {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: 100%;
    }

    .clients-label {
        font-size: 13px;
        text-align: center;
    }

    .clients-logos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .client-logo {
        flex-shrink: 1;
        min-width: 0;
        padding: 6px 10px;
        font-size: 10px;
    }

    /* ===== PROBLEMS SECTION ===== */
    .problems {
        width: 100%;
        max-width: 100%;
        padding: 60px 0;
    }

    .problems > .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }

    .problems-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .problem-card {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }

    .problem-card h3 {
        font-size: 1.1rem;
    }

    .problem-cost {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Status quo box */
    .status-quo-box {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        text-align: center;
    }

    .status-quo-content {
        flex-direction: column;
        align-items: center;
        min-width: 0;
        width: 100%;
    }

    .status-quo-text {
        width: 100%;
    }

    .status-quo-box .btn {
        width: 100%;
        justify-content: center;
    }

    /* ===== SECTION HEADERS ===== */
    .section-header {
        padding: 0;
        margin-bottom: 40px;
    }

    .section-title {
        font-size: clamp(22px, 6vw, 28px);
        word-wrap: break-word;
        hyphens: auto;
    }

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

    /* ===== DISABLE AOS HORIZONTAL ANIMATIONS ===== */
    [data-aos="fade-left"],
    [data-aos="fade-right"],
    [data-aos="slide-left"],
    [data-aos="slide-right"] {
        transform: none !important;
        opacity: 1;
    }

    [data-aos].aos-animate {
        transform: none !important;
    }
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-800);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-600);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===================================
   Preloader
   =================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.preloader-logo .logo-icon {
    font-size: 48px;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-logo .logo-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: var(--dark-700);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-progress {
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    animation: loading 1.5s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

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

/* ===================================
   Custom Cursor
   =================================== */
.cursor, .cursor-follower {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor {
        display: block;
        position: fixed;
        width: 8px;
        height: 8px;
        background: var(--primary);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: transform 0.1s ease, background 0.2s ease;
    }

    .cursor-follower {
        display: block;
        position: fixed;
        width: 32px;
        height: 32px;
        border: 1px solid var(--primary);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        transform: translate(-50%, -50%);
        transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease;
    }

    .cursor.hover {
        transform: translate(-50%, -50%) scale(2);
        background: var(--accent);
    }

    .cursor-follower.hover {
        width: 48px;
        height: 48px;
        border-color: var(--accent);
    }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 1px solid var(--dark-600);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-white {
    background: white;
    color: var(--dark);
}

.btn-white:hover {
    background: var(--light-100);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

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

.btn-full {
    width: 100%;
}

/* ===================================
   Header / Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
}

.nav-logo .logo-icon {
    font-size: 28px;
}

.nav-logo .logo-accent {
    color: var(--primary-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--light-300);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--light);
    background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--light);
    border-radius: 1px;
    transition: var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 1190px) {
    .nav-menu,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--dark);
        padding: 24px;
        border-bottom: 1px solid var(--dark-700);
    }

    .nav-actions.active {
        display: flex;
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 20px;
        background: var(--dark-800);
        border-top: 1px solid var(--dark-700);
        justify-content: center;
    }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: 0;
    width: 70%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(20px); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--light-300);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-description strong {
    color: var(--light);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-clients {
    display: flex;
    align-items: center;
    gap: 24px;
}

.clients-label {
    font-size: 14px;
    color: var(--light-300);
}

.clients-logos {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-logo {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--light-300);
}

/* Hero Visual - Dashboard Mockup */
.hero-visual {
    position: relative;
    max-width: 100%;
    width: 100%;
}

.hero-dashboard {
    background: var(--dark-800);
    border-radius: var(--radius-lg);
    border: 1px solid var(--dark-700);
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--dark-700);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-dots span:nth-child(1) { background: #ef4444; }
.dashboard-dots span:nth-child(2) { background: #f59e0b; }
.dashboard-dots span:nth-child(3) { background: #10b981; }

.dashboard-title {
    font-size: 13px;
    color: var(--light-300);
}

.dashboard-content {
    display: flex;
    padding: 20px;
    gap: 20px;
}

.dashboard-sidebar {
    width: 60px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-item {
    height: 40px;
    background: var(--dark-700);
    border-radius: var(--radius-sm);
}

.sidebar-item.active {
    background: var(--gradient-primary);
}

.dashboard-main {
    flex: 1;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--dark-700);
    border-radius: var(--radius-md);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.stat-icon.green { background: rgba(16, 185, 129, 0.2); }
.stat-icon.blue { background: rgba(14, 165, 233, 0.2); }
.stat-icon.purple { background: rgba(139, 92, 246, 0.2); }

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

.stat-value {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
}

.stat-label {
    font-size: 11px;
    color: var(--light-300);
}

.chart-area {
    height: 120px;
    background: var(--dark-700);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: flex-end;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
    height: 100%;
}

.chart-bar {
    flex: 1;
    background: var(--dark-600);
    border-radius: 4px 4px 0 0;
    transition: var(--transition-normal);
}

.chart-bar.active {
    background: var(--gradient-primary);
}

.chart-bar:hover {
    background: var(--primary);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--dark-800);
    border: 1px solid var(--dark-700);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: floatCard 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: -15%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 5%;
    left: 5%;
    animation-delay: 4s;
}

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

.floating-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.floating-icon.green { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.floating-icon.blue { background: rgba(14, 165, 233, 0.2); color: var(--secondary); }
.floating-icon.purple { background: rgba(139, 92, 246, 0.2); color: var(--accent); }

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--light-300);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Hero Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-clients {
        flex-direction: column;
        gap: 16px;
    }

    /* On tablets (1024px), hide the dashboard - it doesn't fit well */
    .hero-visual,
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 40px);
    }

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

    .clients-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .client-logo {
        padding: 6px 12px;
        font-size: 11px;
    }

    /* FORCE HIDE dashboard on mobile */
    .hero-visual,
    .hero-visual *,
    .hero-dashboard,
    .hero-dashboard *,
    .floating-card,
    .floating-card *,
    div.hero-visual,
    section .hero-visual {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }
}

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

    .hero-scroll {
        display: none;
    }

    .hero-grid {
        display: none;
    }

    .hero-container {
        display: block;
    }
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--light-300);
    line-height: 1.7;
}

/* ===================================
   Solutions Section
   =================================== */
.solutions {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

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

.solution-card {
    position: relative;
    padding: 40px;
    background: var(--dark-800);
    border: 1px solid var(--dark-700);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.solution-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

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

.solution-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.solution-card.featured::before {
    opacity: 1;
}

.solution-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(120px);
    opacity: 0.1;
}

.solution-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: var(--primary-light);
}

.solution-icon svg {
    width: 32px;
    height: 32px;
}

.solution-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 12px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solution-title {
    font-size: 24px;
    margin-bottom: 16px;
}

.solution-description {
    color: var(--light-300);
    margin-bottom: 24px;
    line-height: 1.7;
}

.solution-features {
    list-style: none;
    margin-bottom: 24px;
}

.solution-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--light-300);
    font-size: 14px;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 14px;
}

.solution-link:hover {
    gap: 12px;
}

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

    .solution-card.featured {
        grid-column: span 1;
    }
}

/* ===================================
   Features Section
   =================================== */
.features {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.features-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.features-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
}

.features-showcase {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: start;
}

.features-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 120px;
}

.feature-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 26px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.7) 100%);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-tab:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.9) 0%, rgba(71, 85, 105, 0.7) 100%);
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.15);
}

.feature-tab.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2), 0 6px 20px rgba(0, 0, 0, 0.2);
}

.feature-tab.active .tab-title {
    color: var(--white);
}

.feature-tab.active .tab-icon {
    background: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.tab-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-sm);
    color: var(--primary-light);
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.tab-icon svg {
    width: 26px;
    height: 26px;
}

.tab-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tab-title {
    font-weight: 600;
    font-size: 17px;
    color: var(--light);
    letter-spacing: 0.2px;
}

.tab-desc {
    font-size: 13px;
    color: var(--light-300);
    opacity: 0.9;
}

.features-content {
    background: var(--dark-800);
    border: 1px solid var(--dark-700);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.feature-panel {
    display: none;
}

.feature-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.feature-panel h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.feature-panel > p {
    color: var(--light-300);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--dark-700);
    border-radius: var(--radius-md);
}

.feature-check {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 15px;
}

@media (max-width: 1024px) {
    .features-showcase {
        grid-template-columns: 1fr;
    }

    .features-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        position: static;
    }

    .feature-tab {
        flex: 1 1 calc(50% - 6px);
    }
}

@media (max-width: 640px) {
    .feature-tab {
        flex: 1 1 100%;
    }

    .features-content {
        padding: 32px 24px;
    }
}

/* ===================================
   Security Section
   =================================== */
.security {
    padding: var(--section-padding) 0;
    background: var(--dark-800);
    overflow: hidden;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.security-content .section-tag {
    margin-bottom: 16px;
}

.security-content .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.security-content .section-subtitle {
    text-align: left;
    margin-bottom: 48px;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.security-feature {
    display: flex;
    gap: 20px;
}

.security-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary-light);
    flex-shrink: 0;
}

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

.security-info h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.security-info p {
    color: var(--light-300);
    font-size: 14px;
}

/* Security Visual */
.security-visual {
    display: flex;
    justify-content: center;
}

.security-card {
    position: relative;
    padding: 40px;
    background: var(--dark);
    border: 1px solid var(--dark-700);
    border-radius: var(--radius-xl);
}

.security-card-inner {
    position: relative;
    z-index: 1;
}

.server-rack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.server-unit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--dark-800);
    border: 1px solid var(--dark-700);
    border-radius: var(--radius-md);
}

.server-lights {
    display: flex;
    gap: 8px;
}

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

.light.green { background: var(--success); }
.light.blue { background: var(--secondary); }

.light.blink {
    animation: blink 1s ease-in-out infinite;
}

.light.blink-slow {
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.server-slots {
    display: flex;
    gap: 6px;
}

.server-slots span {
    width: 8px;
    height: 24px;
    background: var(--dark-700);
    border-radius: 2px;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--dark-800);
    border: 1px solid var(--dark-700);
    border-radius: var(--radius-md);
}

.badge-icon {
    font-size: 24px;
}

.badge-item span:last-child {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.security-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
}

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

    .security-visual {
        max-width: 100%;
        overflow: hidden;
    }
}

@media (max-width: 1024px) {
    .security-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .security-content .section-title,
    .security-content .section-subtitle {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .security {
        padding: 60px 0;
        overflow: hidden;
    }

    .security-grid {
        gap: 40px;
    }

    .security-card {
        padding: 24px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .server-unit {
        padding: 12px 16px;
    }

    .security-badges {
        flex-wrap: wrap;
        gap: 12px;
    }

    .badge-item {
        padding: 12px 16px;
        flex: 1;
        min-width: 80px;
    }

    .security-feature {
        gap: 16px;
    }

    .security-icon {
        width: 48px;
        height: 48px;
    }

    .security-info h4 {
        font-size: 16px;
    }

    .security-info p {
        font-size: 13px;
    }
}

/* ===================================
   Stats Section
   =================================== */
.stats {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stats-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--dark-800), transparent);
}

.stats-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

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

.stat-block {
    text-align: center;
    padding: 40px 24px;
    background: var(--dark-800);
    border: 1px solid var(--dark-700);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.stat-block:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: var(--light-300);
    margin-bottom: 20px;
}

.stat-bar {
    height: 4px;
    background: var(--dark-700);
    border-radius: 2px;
    overflow: hidden;
}

.stat-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 1.5s ease;
}

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

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

    .stat-number {
        font-size: 48px;
    }
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.cta-trust {
    font-size: 14px;
    opacity: 0.8;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-info .section-subtitle {
    text-align: left;
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary-light);
    flex-shrink: 0;
}

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

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--light-300);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 16px;
    line-height: 1.6;
}

.contact-value a {
    color: var(--light);
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--dark-800);
    border: 1px solid var(--dark-700);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--light-300);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--dark);
    border: 1px solid var(--dark-700);
    border-radius: var(--radius-md);
    color: var(--light);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--dark-600);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--dark);
    color: var(--light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-disclaimer {
    font-size: 13px;
    color: var(--light-300);
    text-align: center;
}

.form-disclaimer a {
    color: var(--primary-light);
}

.form-disclaimer a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-info .section-title,
    .contact-info .section-subtitle {
        text-align: center;
    }

    .contact-details {
        max-width: 400px;
        margin: 0 auto;
    }
}

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

    .contact-form-wrapper {
        padding: 32px 24px;
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 80px 0 40px;
    background: var(--dark-800);
    border-top: 1px solid var(--dark-700);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    font-size: 28px;
}

.footer-description {
    color: var(--light-300);
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border: 1px solid var(--dark-700);
    border-radius: var(--radius-sm);
    color: var(--light-300);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 40px 80px;
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-column a {
    color: var(--light-300);
    font-size: 14px;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--dark-700);
}

.copyright {
    font-size: 14px;
    color: var(--light-300);
}

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

.footer-legal a {
    font-size: 14px;
    color: var(--light-300);
}

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

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .footer-description {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

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

@media (max-width: 640px) {
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
        justify-content: center;
        width: 100%;
    }

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

    .footer-column ul {
        align-items: center;
    }

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

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===================================
   Animations (AOS-like)
   =================================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.95);
}

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

/* Delay classes */
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }

/* ===================================
   NEW B2B SECTIONS STYLES
   =================================== */

/* Problems Section */
.problems {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-lighter) 100%);
    overflow: hidden;
    position: relative;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 0;
}

.problem-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.1);
}

.problem-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.problem-icon.red {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.problem-icon svg {
    width: 28px;
    height: 28px;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--white);
    line-height: 1.3;
}

.problem-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.problem-cost {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

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

.cost-value {
    color: #ef4444;
    font-weight: 600;
    font-size: 1.1rem;
}

.status-quo-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 48px;
}

.status-quo-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.status-quo-icon {
    width: 64px;
    height: 64px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    flex-shrink: 0;
}

.status-quo-icon svg {
    width: 32px;
    height: 32px;
}

.status-quo-text h3 {
    color: #ef4444;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.status-quo-text p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Opportunities Section */
.opportunities {
    padding: 120px 0;
    background: var(--dark-lighter);
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 0;
}

.opportunity-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.opportunity-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.opportunity-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.opportunity-card h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.opportunity-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.opportunity-cta {
    text-align: center;
    padding: 32px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(99, 102, 241, 0.2);
    margin-top: 48px;
}

.opportunity-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Case Studies Section */
.case-studies {
    padding: var(--section-padding);
    background: var(--dark);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.case-study-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.case-study-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.case-study-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-study-logo {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.case-study-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.case-study-industry {
    color: var(--white);
    font-weight: 600;
}

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

.case-study-quote {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-md);
    border-left: 3px solid var(--primary);
}

.case-study-challenge h4,
.case-study-results h4 {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study-challenge {
    margin-bottom: var(--spacing-lg);
}

.case-study-challenge p {
    color: var(--text-secondary);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.result-item {
    text-align: center;
}

.result-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.result-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.case-study-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.case-study-link:hover {
    gap: var(--spacing-md);
}

.case-studies-note {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(99, 102, 241, 0.3);
}

.case-studies-note p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Process Section */
.process {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--dark-lighter) 0%, var(--dark) 100%);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
    position: relative;
}

.process-step {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.process-step:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-md);
}

.step-duration {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.step-content h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.step-content ul {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.step-content li {
    color: var(--text-secondary);
    padding-left: var(--spacing-md);
    position: relative;
    margin-bottom: var(--spacing-sm);
}

.step-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.step-deliverable {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding);
    background: var(--dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.pricing-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    color: var(--primary);
}

.pricing-icon svg {
    width: 28px;
    height: 28px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.pricing-desc {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.pricing-features li {
    color: var(--text-secondary);
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

.pricing-ideal {
    padding: var(--spacing-md);
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.pricing-note {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--radius-lg);
}

.pricing-note p {
    color: var(--text-secondary);
}

/* Guarantees Section */
.guarantees {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-lighter) 100%);
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.guarantee-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.guarantee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
    border-color: var(--success);
}

.guarantee-icon {
    width: 70px;
    height: 70px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: var(--success);
}

.guarantee-icon svg {
    width: 32px;
    height: 32px;
}

.guarantee-card h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.guarantee-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* FAQ Section */
.faq {
    padding: var(--section-padding);
    background: var(--dark-lighter);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-xl);
}

.faq-category-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.faq-item {
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(30, 41, 59, 0.6);
    border: none;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(99, 102, 241, 0.1);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    background: rgba(15, 23, 42, 0.5);
}

/* PS Section */
.ps-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.ps-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ps-label {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.ps-text {
    margin-bottom: var(--spacing-lg);
}

.ps-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Stats Bar */
.hero-stats-bar {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding: 28px 32px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-stat {
    text-align: center;
    flex: 1;
    position: relative;
}

.hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.client-logo.placeholder {
    background: rgba(99, 102, 241, 0.1);
    border: 1px dashed rgba(99, 102, 241, 0.3);
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Responsive adjustments for new sections */
@media (max-width: 992px) {
    .problems-grid,
    .opportunities-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 100%;
    }

    .problems,
    .opportunities {
        padding: 80px 0;
        max-width: 100%;
    }

    .problem-card,
    .opportunity-card {
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .hero-stats-bar {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

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

    .hero-stat:not(:last-child) {
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    /* Problems grid - use flexbox for better mobile control */
    .problems-grid,
    .opportunities-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        max-width: 100%;
    }

    .problems,
    .opportunities {
        padding: 60px 0;
        max-width: 100%;
    }

    .problem-card,
    .opportunity-card {
        padding: 20px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .status-quo-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .status-quo-content {
        flex-direction: column;
        align-items: center;
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }

    .status-quo-text {
        max-width: 100%;
    }

    .status-quo-text p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .status-quo-box .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header {
        margin-bottom: 48px;
        max-width: 100%;
    }

    .section-title {
        font-size: clamp(24px, 6vw, 32px);
    }

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

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    padding: 120px 0;
    background: var(--dark-800);
}

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

.faq-item {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-normal);
}

.faq-item[open] {
    border-color: rgba(99, 102, 241, 0.4);
}

.faq-question {
    cursor: pointer;
    padding: 20px 56px 20px 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary, #f1f5f9);
    list-style: none;
    position: relative;
    transition: color var(--transition-fast);
}

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

.faq-question::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    color: var(--primary-light);
    transition: transform var(--transition-normal);
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

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

    .faq-question {
        font-size: 15px;
        padding: 16px 48px 16px 18px;
    }

    .faq-answer {
        padding: 0 18px 16px;
    }
}

/* ============================================
   Language switcher (EN/PL) in nav-actions
   ============================================ */
.nav-actions .lang-switch {
    gap: 8px;
    padding: 12px 16px;
    white-space: nowrap;
}

.nav-actions .lang-switch svg {
    flex-shrink: 0;
}

/* Nav: nie lam etykiet ("O nas" w dwoch liniach) + minimalny odstep miedzy logo/menu/przyciskami */
.nav {
    gap: 24px;
}

.nav-link {
    white-space: nowrap;
}

/* Ciasniejsza nawigacja na ekranach laptopowych (mobile breakpoint = 1190px) */
@media (min-width: 1191px) and (max-width: 1440px) {
    .nav-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .nav-actions {
        gap: 10px;
    }

    .nav-actions .btn {
        padding: 11px 16px;
        font-size: 14px;
    }

    .nav-actions .lang-switch {
        padding: 11px 13px;
    }
}
