/* ============================================
   SCALEFORGE DIGITAL — MAIN STYLESHEET
   Part A: Foundation + Header + Hero + Services
   ============================================ */

/* ==========================================
   1. CSS RESET & BASE
   ========================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

::selection {
    background-color: var(--primary-500);
    color: #ffffff;
}

/* ==========================================
   2. CSS CUSTOM PROPERTIES (DESIGN SYSTEM)
   ========================================== */
:root {
    /* —— Primary Colors (Indigo/Purple) —— */
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;
    --primary-300: #a5b4fc;
    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --primary-800: #3730a3;
    --primary-900: #312e81;

    /* —— Secondary Colors (Cyan/Teal) —— */
    --secondary-50: #ecfeff;
    --secondary-100: #cffafe;
    --secondary-200: #a5f3fc;
    --secondary-300: #67e8f9;
    --secondary-400: #22d3ee;
    --secondary-500: #06b6d4;
    --secondary-600: #0891b2;

    /* —— Accent Colors —— */
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --accent-green: #22c55e;
    --accent-red: #ef4444;

    /* —— Neutral Colors —— */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-950: #030712;

    /* —— Semantic Colors —— */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-tertiary: #9ca3af;
    --text-light: #ffffff;
    --text-light-secondary: rgba(255, 255, 255, 0.7);

    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #0f0f1a;
    --bg-dark-secondary: #1a1a2e;
    --bg-card: #ffffff;

    --border-light: #e5e7eb;
    --border-dark: rgba(255, 255, 255, 0.1);

    /* —— Gradients —— */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
    --gradient-accent: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #a855f7 100%);
    --gradient-dark: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, hsla(228, 89%, 62%, 0.15) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 0.1) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 0.1) 0px, transparent 50%);

    /* —— Typography —— */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --fs-xs: 0.75rem;      /* 12px */
    --fs-sm: 0.875rem;     /* 14px */
    --fs-base: 1rem;       /* 16px */
    --fs-md: 1.125rem;     /* 18px */
    --fs-lg: 1.25rem;      /* 20px */
    --fs-xl: 1.5rem;       /* 24px */
    --fs-2xl: 1.875rem;    /* 30px */
    --fs-3xl: 2.25rem;     /* 36px */
    --fs-4xl: 3rem;        /* 48px */
    --fs-5xl: 3.75rem;     /* 60px */
    --fs-6xl: 4.5rem;      /* 72px */

    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --fw-black: 900;

    /* —— Spacing —— */
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    --space-24: 6rem;      /* 96px */
    --space-32: 8rem;      /* 128px */

    /* —— Border Radius —— */
    --radius-sm: 0.375rem;   /* 6px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;

    /* —— Shadows —— */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    --shadow-glow-lg: 0 0 80px rgba(99, 102, 241, 0.2);

    /* —— Transitions —— */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* —— Z-Index Scale —— */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-overlay: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-cursor: 9999;
    --z-preloader: 10000;

    /* —— Layout —— */
    --container-max: 1200px;
    --container-padding: 1.5rem;
    --header-height: 80px;
}

/* ==========================================
   3. UTILITY CLASSES
   ========================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-24) 0;
    position: relative;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section__tag {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--primary-50);
    color: var(--primary-600);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.section__tag--light {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.section__title {
    font-family: var(--font-display);
    font-size: var(--fs-4xl);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.section__title--light {
    color: var(--text-light);
}

.section__subtitle {
    font-size: var(--fs-md);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.section__cta {
    text-align: center;
    margin-top: var(--space-12);
}

/* ==========================================
   4. BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn--lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--fs-base);
    border-radius: var(--radius-xl);
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn--outline:hover {
    border-color: var(--primary-500);
    color: var(--primary-600);
    background: var(--primary-50);
}

.btn--white {
    background: #ffffff;
    color: var(--primary-600);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn--ghost-white {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn--ghost-white:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn svg {
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   5. PRELOADER
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-preloader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-inner {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-4);
    position: relative;
}

.loader-line-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: loaderSpin 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

.loader-line {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary-500);
    animation: loaderSpin 1.2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

.loader-text {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--text-light);
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================
   6. CUSTOM CURSOR
   ========================================== */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--primary-500);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: var(--z-cursor);
    transition: width 0.2s, height 0.2s, background 0.2s;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.custom-cursor-follower {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: var(--z-cursor);
    transition: width 0.3s, height 0.3s, border 0.3s;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    width: 16px;
    height: 16px;
    background: var(--accent-pink);
}

.custom-cursor-follower.hover {
    width: 50px;
    height: 50px;
    border-color: rgba(236, 72, 153, 0.3);
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
    .custom-cursor,
    .custom-cursor-follower {
        display: none !important;
    }
}

/* ==========================================
   7. HEADER & NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
    opacity: 0;
}

.header.scrolled::before {
    opacity: 1;
    border-bottom-color: var(--border-light);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    z-index: var(--z-fixed);
    position: relative;
}

.logo-icon {
    font-size: var(--fs-xl);
    display: flex;
    align-items: center;
}

.logo-text {
    color: var(--text-primary);
    transition: color var(--transition-base);
}

.logo-dot {
    color: var(--primary-500);
    font-weight: var(--fw-medium);
    font-size: var(--fs-md);
}

.header.scrolled .logo-text {
    color: var(--text-primary);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav__link {
    padding: var(--space-2) var(--space-4);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary-600);
    background: var(--primary-50);
}

.nav__link--cta {
    background: var(--gradient-primary) !important;
    color: var(--text-light) !important;
    padding: var(--space-2) var(--space-5);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.nav__link--cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4) !important;
    background: var(--gradient-primary) !important;
}

/* Mobile Navigation Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: var(--z-fixed);
    position: relative;
    padding: var(--space-2);
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav__close {
    display: none;
}

/* ==========================================
   8. HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero__bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero__gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero__gradient-orb--1 {
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.12);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.hero__gradient-orb--2 {
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.08);
    bottom: -10%;
    left: -5%;
    animation-delay: -3s;
}

.hero__gradient-orb--3 {
    width: 300px;
    height: 300px;
    background: rgba(168, 85, 247, 0.08);
    top: 40%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.02); }
}

.hero__grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 600px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--primary-700);
    margin-bottom: var(--space-6);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--fs-5xl);
    font-weight: var(--fw-extrabold);
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.hero__title-gradient {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 520px;
}

.hero__cta-group {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

.hero__trust-item svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

/* Hero Dashboard Visual */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__dashboard {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    position: relative;
}

.hero__dashboard::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 0 0 var(--radius-full) var(--radius-full);
}

.dashboard__header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border-light);
    background: var(--gray-50);
}

.dashboard__dots {
    display: flex;
    gap: var(--space-2);
}

.dashboard__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.dashboard__dots span:nth-child(1) { background: #ef4444; }
.dashboard__dots span:nth-child(2) { background: #f59e0b; }
.dashboard__dots span:nth-child(3) { background: #22c55e; }

.dashboard__title {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text-secondary);
}

.dashboard__body {
    padding: var(--space-6);
}

.dashboard__metric {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.dashboard__metric-label {
    font-size: var(--fs-xs);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: var(--fw-semibold);
    width: 100%;
    margin-bottom: var(--space-1);
}

.dashboard__metric-value {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    line-height: 1;
}

.dashboard__metric-unit {
    font-size: var(--fs-lg);
    color: var(--text-tertiary);
    font-weight: var(--fw-medium);
}

.dashboard__metric-change {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    margin-left: var(--space-2);
}

.dashboard__metric-change.positive {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green);
}

.dashboard__chart {
    margin-top: var(--space-4);
    padding: var(--space-4) 0 0;
    border-top: 1px solid var(--border-light);
}

.chart-svg {
    width: 100%;
    height: auto;
}

.chart-line {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawChart 2s ease forwards;
    animation-delay: 1s;
}

.chart-area {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 2s;
}

@keyframes drawChart {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Hero Scroll Indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    z-index: 2;
}

.hero__scroll-indicator span {
    font-size: var(--fs-xs);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: var(--fw-medium);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--border-light);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    width: 3px;
    height: 10px;
    background: var(--primary-500);
    border-radius: var(--radius-full);
    position: absolute;
    left: -1px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -10px; opacity: 0; }
    30% { opacity: 1; }
    100% { top: 40px; opacity: 0; }
}

/* ==========================================
   9. TRUST BAR
   ========================================== */
.trust-bar {
    padding: var(--space-10) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.trust-bar__label {
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: var(--fw-medium);
    margin-bottom: var(--space-6);
}

.trust-bar__logos {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.trust-bar__logo-track {
    display: flex;
    gap: var(--space-12);
    animation: marquee 30s linear infinite;
    width: max-content;
}

.trust-bar__logo {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--gray-400);
    white-space: nowrap;
    padding: var(--space-2) 0;
    transition: color var(--transition-base);
    user-select: none;
}

.trust-bar__logo:hover {
    color: var(--gray-600);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================
   10. SERVICES SECTION
   ========================================== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.service-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-xl);
    color: var(--primary-600);
    margin-bottom: var(--space-5);
    transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
    background: var(--gradient-primary);
    color: var(--text-light);
    transform: scale(1.1);
}

.service-card__number {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    font-family: var(--font-display);
    font-size: var(--fs-4xl);
    font-weight: var(--fw-black);
    color: var(--gray-100);
    line-height: 1;
    transition: color var(--transition-base);
}

.service-card:hover .service-card__number {
    color: var(--primary-50);
}

.service-card__title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.service-card__description {
    font-size: var(--fs-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.service-card__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    flex-grow: 1;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    padding: var(--space-1) 0;
}

.service-card__features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-500);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--primary-600);
    transition: all var(--transition-base);
    margin-top: auto;
}

.service-card__link:hover {
    gap: var(--space-3);
    color: var(--primary-700);
}

.service-card__link svg {
    transition: transform var(--transition-base);
}

.service-card__link:hover svg {
    transform: translateX(4px);
}
/* ==========================================
   11. RESULTS / METRICS SECTION
   ========================================== */
.results {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.results__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.results__gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.results__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.result-card {
    text-align: center;
    padding: var(--space-8) var(--space-4);
    border-radius: var(--radius-2xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 0 0 var(--radius-full) var(--radius-full);
}

.result-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
}

.result-card__value {
    font-family: var(--font-display);
    font-size: var(--fs-5xl);
    font-weight: var(--fw-extrabold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: var(--space-3);
}

.result-card__suffix {
    font-size: var(--fs-3xl);
}

.result-card__label {
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    color: var(--text-light);
    margin-bottom: var(--space-1);
}

.result-card__sublabel {
    font-size: var(--fs-sm);
    color: var(--text-light-secondary);
}

/* ==========================================
   12. CASE STUDIES SECTION
   ========================================== */
.case-studies {
    background: var(--bg-secondary);
}

.case-studies__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
    border-color: var(--primary-200);
}

.case-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.case-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: rgba(255, 255, 255, 0.9);
    transition: transform var(--transition-slow);
}

.case-card:hover .case-card__image-placeholder {
    transform: scale(1.05);
}

.case-card__category {
    position: absolute;
    bottom: var(--space-3);
    left: var(--space-3);
    padding: var(--space-1) var(--space-3);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-md);
    letter-spacing: 0.5px;
}

.case-card__content {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-card__title {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.case-card__challenge {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-5);
}

.case-card__challenge strong {
    color: var(--text-primary);
}

.case-card__results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
}

.case-card__metric {
    text-align: center;
}

.case-card__metric-value {
    display: block;
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    color: var(--primary-600);
    margin-bottom: var(--space-1);
}

.case-card__metric-label {
    font-size: var(--fs-xs);
    color: var(--text-tertiary);
    line-height: 1.3;
}

.case-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--primary-600);
    transition: all var(--transition-base);
    margin-top: auto;
}

.case-card__link:hover {
    gap: var(--space-3);
    color: var(--primary-700);
}

/* ==========================================
   13. WHY US SECTION
   ========================================== */
.why-us__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.why-card {
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    transition: all var(--transition-base);
    position: relative;
}

.why-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.why-card__icon-wrap {
    margin-bottom: var(--space-5);
}

.why-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-xl);
    color: var(--primary-600);
    transition: all var(--transition-base);
}

.why-card:hover .why-card__icon {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.why-card__title {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.why-card__description {
    font-size: var(--fs-base);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   14. PROCESS SECTION
   ========================================== */
.process {
    background: var(--bg-secondary);
}

.process__timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: var(--space-4) 0;
}

.process__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
    transform: translateX(-50%);
}

.process__line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--gradient-primary);
    transition: height 1s ease;
}

.process__step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
    position: relative;
}

.process__step:last-child {
    margin-bottom: 0;
}

.process__step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.process__step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--primary-600);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all var(--transition-base);
}

.process__step:hover .process__step-number {
    background: var(--gradient-primary);
    color: var(--text-light);
    border-color: var(--primary-500);
    transform: scale(1.1);
}

.process__step-content {
    flex: 1;
    padding: var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.process__step:hover .process__step-content {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
}

.process__step-content h3 {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.process__step-content p {
    font-size: var(--fs-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-3);
}

.process__step-duration {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--primary-50);
    color: var(--primary-600);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-full);
}

/* ==========================================
   15. TESTIMONIALS SECTION
   ========================================== */
.testimonials__slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
    min-width: 100%;
    padding: var(--space-10) var(--space-8);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    text-align: center;
    box-sizing: border-box;
}

.testimonial-card__stars {
    color: #f59e0b;
    font-size: var(--fs-xl);
    letter-spacing: 4px;
    margin-bottom: var(--space-6);
}

.testimonial-card__text {
    font-size: var(--fs-md);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-8);
    font-style: italic;
    position: relative;
}

.testimonial-card__text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 60px;
    font-family: Georgia, serif;
    color: var(--primary-200);
    line-height: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--text-light);
    font-weight: var(--fw-bold);
    font-size: var(--fs-sm);
    border-radius: 50%;
}

.testimonial-card__info {
    text-align: left;
}

.testimonial-card__name {
    display: block;
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    font-size: var(--fs-base);
}

.testimonial-card__role {
    display: block;
    font-size: var(--fs-sm);
    color: var(--text-tertiary);
}

.testimonials__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.testimonials__btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    cursor: pointer;
}

.testimonials__btn:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
    color: var(--primary-600);
}

.testimonials__dots {
    display: flex;
    gap: var(--space-2);
}

.testimonials__dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonials__dots .dot.active {
    background: var(--primary-500);
    width: 24px;
    border-radius: var(--radius-full);
}

/* ==========================================
   16. CTA SECTION
   ========================================== */
.cta-section {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-section__gradient-1 {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section__gradient-2 {
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section__content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
}

.cta-section__title {
    font-family: var(--font-display);
    font-size: var(--fs-4xl);
    font-weight: var(--fw-bold);
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.cta-section__text {
    font-size: var(--fs-lg);
    color: var(--text-light-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.cta-section__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.cta-section__guarantee {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    color: var(--text-light-secondary);
}

.cta-section__guarantee svg {
    color: var(--accent-green);
}

/* ==========================================
   17. FOOTER
   ========================================== */
.footer {
    background: var(--gray-950);
    padding: var(--space-16) 0 var(--space-8);
    color: var(--text-light);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-16);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-4);
}

.footer__logo .logo-text {
    color: var(--text-light);
}

.footer__tagline {
    font-size: var(--fs-base);
    color: var(--text-light-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    max-width: 300px;
}

.footer__social {
    display: flex;
    gap: var(--space-3);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--text-light-secondary);
    transition: all var(--transition-base);
}

.footer__social-link:hover {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: var(--text-light);
    transform: translateY(-2px);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.footer__col-title {
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-5);
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__col ul li a,
.footer__col ul li {
    font-size: var(--fs-sm);
    color: var(--text-light-secondary);
    transition: color var(--transition-base);
}

.footer__col ul li a:hover {
    color: var(--primary-400);
}

.footer__bottom {
    padding-top: var(--space-8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer__badges {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.footer__badge {
    font-size: var(--fs-xs);
    color: var(--text-light-secondary);
    padding: var(--space-1) var(--space-3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
}

.footer__copyright {
    font-size: var(--fs-sm);
    color: var(--text-light-secondary);
}

/* ==========================================
   18. WHATSAPP FLOAT BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
    animation: whatsappPulse 3s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.5); }
    100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); }
}
