/* ============================================
   🚀 Valtyk Solutions — Design System
   Dark Premium Theme
   ============================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* === CSS VARIABLES === */
:root {
    /* Brand Colors — Dark Premium */
    --color-primary: #6C5CE7;
    --color-primary-light: #8B7BF0;
    --color-primary-dark: #5A4BD6;
    --color-accent: #00D2FF;
    --color-accent-light: #33DCFF;
    --color-gradient: linear-gradient(135deg, #6C5CE7, #00D2FF);
    --color-gradient-hover: linear-gradient(135deg, #8B7BF0, #33DCFF);
    --color-gradient-text: linear-gradient(135deg, #6C5CE7, #00D2FF, #6C5CE7);

    /* Backgrounds */
    --color-bg-dark: #0A0A0F;
    --color-bg-card: #12121A;
    --color-bg-card-hover: #1A1A25;
    --color-bg-glass: rgba(255, 255, 255, 0.04);
    --color-bg-glass-hover: rgba(255, 255, 255, 0.08);
    --color-bg-section-alt: #0E0E15;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(108, 92, 231, 0.4);

    /* Text */
    --color-text: #E8E8ED;
    --color-text-muted: #7A7A8E;
    --color-text-dim: #50505E;
    --color-white: #FFFFFF;

    /* Status */
    --color-success: #00E676;
    --color-whatsapp: #25D366;
    --color-popular: #FFD700;

    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-accent: 'Space Grotesk', monospace;

    /* Type Scale — Fluid with clamp() per premium-frontend-ui skill */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: clamp(1.5rem, 2vw + 0.75rem, 1.875rem);
    --text-4xl: clamp(1.75rem, 3vw + 0.5rem, 2.25rem);
    --text-5xl: clamp(2rem, 4vw + 0.5rem, 3rem);
    --text-6xl: clamp(2.25rem, 5vw + 0.5rem, 3.75rem);
    --text-7xl: clamp(2.75rem, 6vw + 0.5rem, 4.5rem);

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Border Radius (Apple-inspired: larger = more premium) */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 40px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.2);
    --shadow-glow-accent: 0 0 40px rgba(0, 210, 255, 0.15);
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);

    /* Transitions (slow = premium, per elevated-design skill) */
    --transition-fast: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --navbar-height: 80px;
}

/* === RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: var(--navbar-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg-dark);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    letter-spacing: -0.04em;
}

h1 {
    font-size: var(--text-6xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

p {
    margin-bottom: var(--space-4);
}

/* === UTILITY === */
.gradient-text {
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    font-family: var(--font-accent);
    font-size: 0.6875rem; /* 11px — Apple keynote style */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--color-gradient);
    border-radius: 2px;
}

.section-title {
    margin-bottom: var(--space-6);
    max-width: 700px;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.7;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container--narrow {
    max-width: var(--container-narrow);
}

section {
    padding: var(--space-24) 0;
    position: relative;
}

/* === PAGE LOADER === */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader__logo {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.page-loader__bar {
    width: 200px;
    height: 3px;
    background: var(--color-bg-card);
    border-radius: 3px;
    overflow: hidden;
}

.page-loader__bar-fill {
    width: 0%;
    height: 100%;
    background: var(--color-gradient);
    border-radius: 3px;
    animation: loadBar 1.5s ease forwards;
}

@keyframes loadBar {
    0% {
        width: 0%;
    }

    60% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn--primary {
    background: var(--color-gradient);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.35);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

.btn--secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
}

.btn--secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    background: rgba(108, 92, 231, 0.1);
}

.btn--whatsapp {
    background: var(--color-whatsapp);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

.btn--lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
}

.btn--sm {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid transparent;
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-white);
}

.navbar__logo-icon {
    width: 36px;
    height: 36px;
    background: var(--color-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.navbar__links {
    display: flex;
    list-style: none;
    gap: var(--space-8);
    align-items: center;
}

.navbar__link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
    position: relative;
}

.navbar__link:hover,
.navbar__link.active {
    color: var(--color-white);
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gradient);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.navbar__link:hover::after,
.navbar__link.active::after {
    width: 100%;
}

.navbar__cta {
    margin-left: var(--space-4);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 1001;
}

.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--navbar-height);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero__bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero__bg-orb--1 {
    width: 600px;
    height: 600px;
    background: var(--color-primary);
    top: -200px;
    right: -100px;
    opacity: 0.15;
}

.hero__bg-orb--2 {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    bottom: -100px;
    left: -100px;
    opacity: 0.1;
}

.hero__bg-orb--3 {
    width: 300px;
    height: 300px;
    background: var(--color-primary-light);
    top: 40%;
    left: 50%;
    opacity: 0.08;
}

.hero__grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
    width: fit-content;
    opacity: 0;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero__title {
    font-size: var(--text-7xl);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: var(--space-6);
    letter-spacing: -0.03em;
    opacity: 0;
}

.hero__subtitle {
    font-size: var(--text-xl);
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
    max-width: 520px;
    line-height: 1.7;
    opacity: 0;
}

.hero__ctas {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    opacity: 0;
}

.hero__stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
    opacity: 0;
}

.hero__stat-number {
    font-family: var(--font-accent);
    font-size: var(--text-3xl);
    font-weight: 700;
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-1);
}

.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.hero__mockup {
    width: 100%;
    max-width: 560px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
}

.hero__mockup img {
    width: 100%;
    height: auto;
    display: block;
}

.hero__mockup-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--color-bg-dark), transparent);
    pointer-events: none;
}

.hero__floating-badge {
    position: absolute;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    font-weight: 500;
}

.hero__floating-badge--top {
    top: 10%;
    right: -20px;
    animation: floatUp 3s ease-in-out infinite;
}

.hero__floating-badge--bottom {
    bottom: 15%;
    left: -20px;
    animation: floatUp 3s ease-in-out infinite 1.5s;
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero__floating-badge .badge-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.badge-icon--purple {
    background: rgba(108, 92, 231, 0.15);
}

.badge-icon--cyan {
    background: rgba(0, 210, 255, 0.15);
}

.badge-icon--green {
    background: rgba(0, 230, 118, 0.15);
}

/* === PROOF BAR === */
.proof-bar {
    padding: var(--space-8) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-section-alt);
}

.proof-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    flex-wrap: wrap;
}

.proof-bar__item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-weight: 500;
}

.proof-bar__item strong {
    color: var(--color-text);
}

.proof-bar__item .icon {
    font-size: 1.2rem;
}

/* === PAIN POINTS === */
.pain {
    background: var(--color-bg-section-alt);
}

.pain__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.pain__card {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.pain__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ffa500);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.pain__card:hover::before {
    opacity: 1;
}

.pain__card:hover {
    border-color: rgba(255, 107, 107, 0.2);
    transform: translateY(-4px);
}

.pain__icon {
    font-size: 2rem;
    margin-bottom: var(--space-4);
}

.pain__card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.pain__card p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* === SERVICES / SOLUTION === */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.service-card {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    border-color: rgba(108, 92, 231, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-5);
}

.service-card__title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.service-card__description {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: 0;
}

/* === PRICING === */
.pricing {
    background: var(--color-bg-section-alt);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
    align-items: stretch;
}

.pricing-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-10) var(--space-8);
    position: relative;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.pricing-card.popular {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.08), var(--color-bg-card));
    box-shadow: var(--shadow-glow);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-8px);
}

.pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gradient);
    color: var(--color-white);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.pricing-card__icon {
    font-size: 2rem;
    margin-bottom: var(--space-4);
}

.pricing-card__name {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.pricing-card__price {
    font-family: var(--font-accent);
    font-size: var(--text-5xl);
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.pricing-card__price span {
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--color-text-muted);
}

.pricing-card__period {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
}

.pricing-card__setup {
    font-size: var(--text-xs);
    color: var(--color-text-dim);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-border);
}

.pricing-card__features {
    list-style: none;
    margin-bottom: var(--space-8);
    flex-grow: 1;
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.pricing-card__features li .check {
    color: var(--color-success);
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-card__features li .cross {
    color: var(--color-text-dim);
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-card__features li.disabled {
    opacity: 0.4;
    text-decoration: line-through;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* === PROCESS === */
.process__timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
    position: relative;
}

.process__timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: var(--color-border);
}

.process__step {
    text-align: center;
    position: relative;
}

.process__step-number {
    width: 56px;
    height: 56px;
    background: var(--color-bg-card);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 auto var(--space-6);
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.process__step:hover .process__step-number {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-glow);
}

.process__step-icon {
    font-size: 1.5rem;
    margin-bottom: var(--space-3);
}

.process__step h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.process__step p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    max-width: 220px;
    margin: 0 auto;
}

/* === TESTIMONIALS === */
.testimonials {
    background: var(--color-bg-section-alt);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-hover);
}

.testimonial-card__stars {
    color: var(--color-popular);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    letter-spacing: 2px;
}

.testimonial-card__quote {
    font-size: var(--text-base);
    font-style: italic;
    color: var(--color-text);
    margin-bottom: var(--space-6);
    line-height: 1.7;
    position: relative;
}

.testimonial-card__quote::before {
    content: '"';
    font-size: var(--text-5xl);
    color: var(--color-primary);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -5px;
    font-family: serif;
    line-height: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-border);
}

.testimonial-card__name {
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-white);
}

.testimonial-card__role {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* === FAQ === */
.faq__list {
    max-width: 760px;
    margin: var(--space-12) auto 0;
}

.faq__item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
    overflow: hidden;
    transition: all var(--transition-base);
    background: var(--color-bg-card);
}

.faq__item:hover {
    border-color: var(--color-border-hover);
}

.faq__item.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text);
    transition: color var(--transition-fast);
    user-select: none;
}

.faq__question:hover {
    color: var(--color-white);
}

.faq__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    transition: all var(--transition-base);
    flex-shrink: 0;
    color: var(--color-text-muted);
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq__answer-inner {
    padding: 0 var(--space-6) var(--space-6);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.8;
}

/* === CTA FINAL === */
.cta-final {
    text-align: center;
    padding: var(--space-32) 0;
    position: relative;
    overflow: hidden;
}

.cta-final__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(108, 92, 231, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-final .section-title {
    margin: 0 auto var(--space-4);
    text-align: center;
    max-width: 600px;
}

.cta-final .section-subtitle {
    margin: 0 auto var(--space-10);
    text-align: center;
}

.cta-final__buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* === FOOTER === */
.footer {
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid var(--color-border);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.footer__logo-icon {
    width: 32px;
    height: 32px;
    background: var(--color-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.footer__desc {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
}

.footer__social {
    display: flex;
    gap: var(--space-3);
}

.footer__social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.footer__social a:hover {
    border-color: var(--color-primary);
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-2px);
}

.footer__col-title {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-5);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: var(--space-3);
}

.footer__links a {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
}

.footer__copy {
    font-size: var(--text-xs);
    color: var(--color-text-dim);
}

.footer__made-with {
    font-size: var(--text-xs);
    color: var(--color-text-dim);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-whatsapp);
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__subtitle {
        max-width: 100%;
        margin: 0 auto var(--space-8);
    }

    .hero__ctas {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        margin-top: var(--space-12);
    }

    .hero__badge {
        margin: 0 auto var(--space-6);
    }

    .hero__floating-badge--top {
        right: 10px;
    }

    .hero__floating-badge--bottom {
        left: 10px;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }

    .process__timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-10);
    }

    .process__timeline::before {
        display: none;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --text-6xl: 2.5rem;
        --text-7xl: 3rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
    }

    .navbar__links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-8);
    }

    .navbar__links.active {
        display: flex;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__cta {
        margin-left: 0;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .pain__grid {
        grid-template-columns: 1fr;
    }

    .process__timeline {
        grid-template-columns: 1fr;
    }

    .hero__title {
        font-size: var(--text-5xl);
    }

    .hero__floating-badge {
        display: none;
    }

    section {
        padding: var(--space-16) 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

/* === NAVBAR LOGO IMAGE === */
.navbar__logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

/* === PORTFOLIO === */
.portfolio {
    background: var(--color-bg-section-alt);
}

.portfolio__showcase {
    margin-top: var(--space-12);
}

.portfolio__case {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.portfolio__case::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-gradient);
}

.portfolio__case:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-glow);
}

.portfolio__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-popular);
    margin-bottom: var(--space-8);
}

.portfolio__screens {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.portfolio__screen {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.portfolio__screen:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border-hover);
}

.mac-window {
    background: rgba(10, 10, 15, 0.9);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mac-window__header {
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mac-window__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mac-window__dot--red {
    background: #ff5f56;
}

.mac-window__dot--yellow {
    background: #ffbd2e;
}

.mac-window__dot--green {
    background: #27c93f;
}

.mac-window__content {
    flex: 1;
    overflow: hidden;
    background: #fff;
    /* Ensure bright screenshots don't look weird */
}

.mac-window__content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.portfolio__screen--main {
    grid-column: 1 / 3;
}

.portfolio__info h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.portfolio__role {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
    font-weight: 500;
}

.portfolio__results {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.portfolio__results li {
    font-size: var(--text-sm);
    color: var(--color-text);
    line-height: 1.5;
}

@media (max-width: 480px) {
    :root {
        --text-7xl: 2.5rem;
        --text-6xl: 2rem;
        --text-5xl: 1.75rem;
    }

    .hero__ctas {
        flex-direction: column;
    }

    .hero__stats {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .cta-final__buttons {
        flex-direction: column;
        align-items: center;
    }

    .portfolio__screens {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .portfolio__screen--main {
        grid-column: auto;
    }

    .portfolio__results {
        grid-template-columns: 1fr;
    }

    .portfolio__case {
        padding: var(--space-6);
    }
}

/* ============================================
   NOISE / GRAIN OVERLAY — Organic film texture
   per premium-frontend-ui & supanova skills
   ============================================ */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ============================================
   ACCESSIBILITY — prefers-reduced-motion
   per awwwards-animations & elevated-design skills
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   HOVER-ONLY EFFECTS — Disable on touch devices
   per premium-frontend-ui skill
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none !important;
    }
    
    .pricing-card:hover {
        transform: none !important;
    }
}

/* ============================================
   TECH STACK MARQUEE — Auto-scrolling logo cloud
   ============================================ */
.tech-marquee {
    padding: var(--space-12) 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.tech-marquee__label {
    text-align: center;
    font-family: var(--font-accent);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-dim);
    margin-bottom: var(--space-8);
}

.tech-marquee__track {
    display: flex;
    gap: var(--space-16);
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.tech-marquee__item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    white-space: nowrap;
    opacity: 0.5;
    transition: opacity var(--transition-base);
}

.tech-marquee__item:hover { opacity: 1; }

.tech-marquee__item svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    max-width: 24px;
    min-height: 24px;
    max-height: 24px;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tech-marquee::before,
.tech-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.tech-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-dark), transparent);
}
.tech-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-dark), transparent);
}

/* ============================================
   METRICS BAR — Animated counting numbers
   ============================================ */
.metrics-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-8) 0;
}
.metrics-bar__item { text-align: center; }
.metrics-bar__number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: var(--color-gradient-text);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.metrics-bar__label {
    font-size: var(--text-sm);
    color: var(--color-text-dim);
    margin-top: var(--space-1);
}

/* ============================================
   EPIC CTA FINAL — Full-bleed gradient mesh
   ============================================ */
.cta-epic {
    position: relative;
    padding: var(--space-32) 0;
    overflow: hidden;
    text-align: center;
}
.cta-epic__mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(108, 92, 231, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(0, 210, 255, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 80% 40% at 50% 100%, rgba(108, 92, 231, 0.08) 0%, transparent 60%);
}
.cta-epic__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}
.cta-epic__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw + 0.5rem, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--color-white);
    margin-bottom: var(--space-6);
}
.cta-epic__subtitle {
    font-size: var(--text-xl);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-10);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-epic__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-white);
    background: var(--color-gradient);
    border: none;
    border-radius: var(--radius-full);
    text-decoration: none;
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 0 30px rgba(108,92,231,0.3), 0 0 60px rgba(108,92,231,0.15);
}
.cta-epic__btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 40px rgba(108,92,231,0.5), 0 0 80px rgba(108,92,231,0.25);
}
.cta-epic__btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--color-gradient);
    z-index: -1;
    animation: ctaGlow 3s ease-in-out infinite;
}
@keyframes ctaGlow {
    0%, 100% { opacity: 0.5; filter: blur(10px); }
    50% { opacity: 1; filter: blur(20px); }
}
.cta-epic__trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-6);
    margin-top: var(--space-10);
}
.cta-epic__trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-dim);
}
.cta-epic__trust-item i { color: var(--color-success); }

/* ============================================
   CUSTOM CURSOR — Desktop only
   per awwwards-animations & frontend-design skills
   ============================================ */
@media (hover: hover) and (pointer: fine) {
    * { cursor: none !important; }

    .custom-cursor {
        position: fixed;
        width: 40px;
        height: 40px;
        border: 1.5px solid rgba(108, 92, 231, 0.5);
        border-radius: 50%;
        pointer-events: none;
        z-index: 10000;
        transform: translate(-50%, -50%);
        transition: width 0.3s cubic-bezier(0.16,1,0.3,1),
                    height 0.3s cubic-bezier(0.16,1,0.3,1),
                    border-color 0.3s ease;
        mix-blend-mode: difference;
    }

    .custom-cursor--hover {
        width: 60px;
        height: 60px;
        border-color: rgba(0, 210, 255, 0.7);
        background: rgba(108, 92, 231, 0.06);
    }

    .custom-cursor__dot {
        position: fixed;
        width: 6px;
        height: 6px;
        background: var(--color-accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: 10001;
        transform: translate(-50%, -50%);
    }
}

/* ============================================
   PRICING CARD 3D TILT — Perspective support
   per awwwards-animations skill
   ============================================ */
.pricing-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* ============================================
   PORTFOLIO IMAGE CLIP-PATH — Initial state
   per awwwards-animations skill
   ============================================ */
.portfolio__screen img,
.mac-window__content img {
    will-change: clip-path;
}