/* ============================================================
   pilas.io — styles.css
   Color primario: #F97316 (Naranja Fuego)
   RGB: 249, 115, 22
   ============================================================ */

/* ============================================================
   CUSTOM AI CURSOR
   ============================================================ */

/* Custom cursor disabled — performance optimisation (March 2026)  */
/* All cursor elements hidden; native OS pointer restored globally. */
#cursor-dot,
#cursor-ring {
    display: none !important;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: auto;
}

:root {
    /* Brand color scale */
    --primary-50:  #fff7ed;
    --primary-100: #ffedd5;
    --primary-200: #fed7aa;
    --primary-300: #fdba74;
    --primary-400: #fb923c;
    --primary-500: #F97316;   /* BASE */
    --primary-600: #ea580c;
    --primary-700: #c2410c;
    --primary-800: #9a3412;
    --primary-900: #7c2d12;

    /* Primary RGB for rgba() */
    --primary-rgb: 249, 115, 22;

    /* Backgrounds */
    --bg-primary:   #000000;
    --bg-secondary: #09090B;
    --bg-tertiary:  #18181B;
    --bg-card:      #1c1917;

    /* Text */
    --text-primary:    #FFFFFF;
    --text-secondary:  #E4E4E7;
    --text-tertiary:   #A1A1AA;
    --text-quaternary: #71717A;

    /* Accents */
    --success: #22C55E;
    --info:    #3B82F6;
    --warning: #F59E0B;

    /* Borders */
    --border-subtle: rgba(249, 115, 22, 0.12);
    --border-strong: rgba(249, 115, 22, 0.3);

    /* Spacing */
    --section-py: 120px;
    --container: 1280px;
    --container-pad: 24px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

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

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.15;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 50%, var(--primary-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent { color: var(--primary-500); }

/* ---- LAYOUT ---- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ---- PARTICLES ---- */
.particles-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(var(--primary-rgb), 0.6);
    border-radius: 50%;
    animation: float-particle 20s infinite ease-in-out;
    will-change: transform, opacity;
}

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25%  { transform: translate(80px, -120px) scale(1.5); opacity: 0.8; }
    50%  { transform: translate(-40px, -200px) scale(0.8); opacity: 0.5; }
    75%  { transform: translate(-100px, -80px) scale(1.2); opacity: 0.7; }
}

/* ---- GLASS CARD ---- */
.glass-card {
    background: linear-gradient(
        135deg,
        rgba(var(--primary-rgb), 0.07) 0%,
        rgba(var(--primary-rgb), 0.03) 50%,
        rgba(var(--primary-rgb), 0.07) 100%
    );
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow:
        0 4px 6px -1px rgba(0,0,0,0.4),
        0 2px 4px -2px rgba(0,0,0,0.25),
        inset 0 1px 0 0 rgba(255,255,255,0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: var(--border-strong);
    box-shadow:
        0 25px 50px -12px rgba(var(--primary-rgb), 0.25),
        0 4px 6px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.06);
    transform: translateY(-4px);
}

/* ---- BUTTONS ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 40%, var(--primary-400) 70%, var(--primary-500) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow:
        0 0 0 1px rgba(var(--primary-rgb), 0.4),
        0 4px 20px rgba(var(--primary-rgb), 0.35),
        inset 0 1px 0 rgba(255,255,255,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 0 0 2px rgba(var(--primary-rgb), 0.7),
        0 8px 35px rgba(var(--primary-rgb), 0.5);
}

.btn-primary.btn-sm {
    font-size: 14px;
    padding: 10px 20px;
}

.btn-primary.btn-xl {
    font-size: 18px;
    padding: 18px 40px;
    border-radius: var(--radius-lg);
}

.btn-glow {
    animation: gradient-shift 4s ease infinite, pulse-glow 3s ease-in-out infinite;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--primary-500);
    color: var(--primary-400);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.2);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-tertiary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-ghost:hover { color: var(--primary-400); }

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(var(--primary-rgb), 0.5),
            0 4px 24px rgba(var(--primary-rgb), 0.4),
            0 0 60px rgba(var(--primary-rgb), 0.2);
    }
    50% {
        box-shadow:
            0 0 0 2px rgba(var(--primary-rgb), 0.8),
            0 8px 40px rgba(var(--primary-rgb), 0.6),
            0 0 80px rgba(var(--primary-rgb), 0.4);
    }
}

/* ---- SECTION COMMON ---- */
.section-label {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-400);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

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

.section-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

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

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
    padding: 14px 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.5));
}

.nav-brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-500);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after { width: 60%; }
.nav-link:hover { color: var(--text-primary); }

.nav-cta { flex-shrink: 0; }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

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

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.96);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
    display: flex;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu ul li a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu ul li a:hover { color: var(--primary-400); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
}

.hero-bg-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

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

.hero-content { max-width: 620px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-400);
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
}

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

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4); }
    50%       { box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0); }
}

.hero-title {
    font-size: clamp(42px, 5.5vw, 76px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-tertiary);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-400);
    line-height: 1;
}

.stat-suffix {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-400);
}

.stat-label {
    font-size: 13px;
    color: var(--text-quaternary);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.1);
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.25) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.hero-img {
    width: 100%;
    max-width: 540px;
    border-radius: var(--radius-xl);
    filter: drop-shadow(0 0 30px rgba(var(--primary-rgb), 0.3));
    position: relative;
    z-index: 1;
}

.animate-float { animation: float 7s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33%  { transform: translateY(-18px) rotate(1.5deg); }
    66%  { transform: translateY(-8px) rotate(-1deg); }
}

/* Floating badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    z-index: 2;
    animation: float-badge 4s ease-in-out infinite;
}

.badge-chatgpt { top: 10%; left: -10%; animation-delay: 0s; }
.badge-auto    { bottom: 20%; left: -5%; animation-delay: 1.5s; }
.badge-image   { top: 20%; right: -8%; animation-delay: 0.8s; }

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

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

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-quaternary);
    font-size: 12px;
    letter-spacing: 0.08em;
    animation: fade-in-up 1s 1.5s forwards;
    opacity: 0;
}

.scroll-arrow {
    animation: bounce-arrow 2s ease-in-out infinite;
    font-size: 18px;
    color: var(--primary-500);
}

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

/* ============================================================
   ANIMATIONS
   ============================================================ */
.animate-fade-up  { animation: fade-in-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.animate-scale-in { animation: scale-in 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }
.delay-4 { animation-delay: 0.7s; }

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   SOCIAL PROOF / TOOLS MARQUEE
   ============================================================ */
.social-proof {
    padding: 48px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.social-proof-label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-quaternary);
    margin-bottom: 24px;
}

.tools-marquee {
    overflow: hidden;
    position: relative;
}

.tools-marquee::before,
.tools-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
}
.tools-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}
.tools-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.tools-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.tool-badge {
    display: inline-flex;
    align-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-quaternary);
    background: var(--bg-tertiary);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 8px 20px;
    border-radius: 100px;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: default;
}

.tools-track:hover { animation-play-state: paused; }

.tool-badge:hover {
    color: var(--primary-400);
    border-color: rgba(var(--primary-rgb), 0.3);
    background: rgba(var(--primary-rgb), 0.07);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES / FLIP CARDS
   ============================================================ */
.services {
    padding: var(--section-py) 0;
    position: relative;
    z-index: 1;
}

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

/* FLIP CARD */
.service-card-flip {
    height: 380px;
    perspective: 1200px;
    cursor: pointer;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.service-card-flip:hover .service-card-inner,
.service-card-flip.flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Front */
.service-card-front {
    background: var(--bg-tertiary);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-flip:hover .service-image {
    transform: scale(1.06);
}

/* Placeholder front for services 5 & 6 */
.service-placeholder-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a0f00 0%, #0d0500 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-placeholder-2 {
    background: linear-gradient(135deg, #0a0a1a 0%, #050510 100%);
}

.placeholder-icon {
    font-size: 80px;
    filter: drop-shadow(0 0 30px rgba(var(--primary-rgb), 0.6));
    animation: float 5s ease-in-out infinite;
    z-index: 1;
}

.placeholder-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.25), transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50%       { transform: scale(1.3); opacity: 0.4; }
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 24px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-icon-front {
    font-size: 24px;
    filter: drop-shadow(0 0 12px rgba(var(--primary-rgb), 0.7));
}

.service-title-front {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Back */
.service-card-back {
    transform: rotateY(180deg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.service-back-icon {
    font-size: 36px;
    filter: drop-shadow(0 0 16px rgba(var(--primary-rgb), 0.7));
    margin-bottom: 4px;
}

.service-title-back {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.service-description {
    font-size: 15px;
    color: var(--text-tertiary);
    line-height: 1.65;
    flex: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    color: var(--primary-400);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.03em;
}

.services-cta {
    text-align: center;
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.services-cta-text {
    color: var(--text-tertiary);
    font-size: 17px;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.stats-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    padding: 36px 28px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.5));
}

.stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-400);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.counter { display: inline-block; }

.stat-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.stat-detail {
    font-size: 13px;
    color: var(--text-quaternary);
}

/* Feature Highlight */
.feature-highlight {
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    border-radius: var(--radius-xl);
    padding: 36px 48px;
    position: relative;
    z-index: 1;
}

.feature-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.fh-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fh-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.fh-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fh-item strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.fh-item span {
    font-size: 13px;
    color: var(--text-quaternary);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    padding: var(--section-py) 0;
    position: relative;
    z-index: 1;
}

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

.testimonial-card {
    padding: 36px;
}

.testimonial-stars {
    color: var(--primary-500);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.testimonial-quote {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 28px;
    font-style: italic;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -8px;
    font-size: 56px;
    color: rgba(var(--primary-rgb), 0.2);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-info strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.author-info span {
    font-size: 13px;
    color: var(--text-quaternary);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    padding: var(--section-py) 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

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

.about-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.about-logo-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(var(--primary-rgb), 0.6));
    animation: float 6s ease-in-out infinite;
}

.about-logo-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 3s ease-in-out infinite;
}

.about-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-pill {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    background: var(--bg-tertiary);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 14px;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.tech-pill:hover {
    color: var(--primary-400);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.about-text {
    font-size: 17px;
    color: var(--text-tertiary);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--primary-400);
    font-weight: 600;
}

.about-links {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    text-align: center;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.2) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.cta-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cta-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.4);
    animation: float-particle 12s infinite ease-in-out;
}

.cta-particle:nth-child(1) {
    width: 80px; height: 80px;
    top: 10%; left: 10%;
    filter: blur(40px);
    animation-delay: 0s;
}

.cta-particle:nth-child(2) {
    width: 120px; height: 120px;
    top: 60%; right: 10%;
    filter: blur(60px);
    animation-delay: 4s;
}

.cta-particle:nth-child(3) {
    width: 60px; height: 60px;
    bottom: 10%; left: 40%;
    filter: blur(30px);
    animation-delay: 8s;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-400);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 32px;
    animation: pulse-glow 3s ease-in-out infinite;
}

.cta-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 19px;
    color: var(--text-tertiary);
    margin-bottom: 44px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.cta-subtext {
    font-size: 14px;
    color: var(--text-quaternary);
}

.cta-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
    background: var(--bg-tertiary);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    color: var(--primary-400);
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 80px 0 40px;
    position: relative;
    z-index: 1;
}

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

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo {
    height: 36px;
    width: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.4));
}

.footer-brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-400);
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-quaternary);
    line-height: 1.75;
}

.footer-links h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.footer-links ul li a {
    font-size: 14px;
    color: var(--text-quaternary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links ul li a:hover { color: var(--primary-400); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-quaternary);
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-quaternary);
    background: var(--bg-tertiary);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-400);
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    :root { --section-py: 80px; }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content { max-width: 100%; }
    .hero-stats { justify-content: center; }
    .hero-actions { justify-content: center; }
    .hero-subtitle { margin: 0 auto 36px; }
    .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
    .hero-title { font-size: clamp(38px, 6vw, 60px); }

    .badge-chatgpt,
    .badge-auto,
    .badge-image { display: none; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .about-visual { order: -1; }
    .about-links { justify-content: center; }

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

@media (max-width: 768px) {
    :root {
        --section-py: 64px;
        --container-pad: 20px;
    }

    .nav-links, .nav-cta { display: none; }
    .mobile-menu-toggle { display: flex; }

    .hero { padding: 110px 0 60px; }
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-stats { gap: 20px; flex-direction: column; align-items: center; }
    .stat-divider { width: 60px; height: 1px; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card-flip { height: 320px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-highlight { padding: 24px; }
    .feature-highlight-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

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

    .cta-title { font-size: 2rem; }
    .btn-primary.btn-xl { font-size: 16px; padding: 16px 28px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* Mobile flip on tap */
    .service-card-flip:hover .service-card-inner { transform: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .stat-value { font-size: 36px; }
    .feature-highlight-grid { grid-template-columns: 1fr; }

    /* Reduce particles on mobile */
    .particle:nth-child(n+20) { display: none; }
}

/* ════════════════════════════════════════════════════════ */
/* IMAGE MODAL LIGHTBOX — Erika                            */
/* ════════════════════════════════════════════════════════ */
.ek-img-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.ek-img-modal.show {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.ek-img-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ek-img-modal-content img {
  width: 100%;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
}

.ek-img-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 24px;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10000;
}

.ek-img-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
