/* ========================================
   VectOs — Marko-Faithful Redesign v2
   
   Font: Inter only (matching Vectorial)
   Accent: #7c3aed (VectOs Purple)
   Lime: #befd2c (VectOs Lime)
   BG: #0B0B0C
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700;1,800;1,900&display=swap');

:root {
    --bg: #0B0B0C;
    --bg-card: #0E0E0E;
    --bg-card-hover: #141414;
    --border: #1F1F1F;
    --border-light: rgba(255, 255, 255, 0.06);
    --text-primary: #D1D1D1;
    --text-white: #FFFFFF;
    --text-muted: #8B8B8B;
    --text-dim: rgba(255, 255, 255, 0.35);
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --accent-glow: rgba(124, 58, 237, 0.44);
    --lime: #befd2c;
    --lime-glow: rgba(190, 253, 44, 0.3);
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --radius: 25px;
    --radius-sm: 16px;
    --radius-pill: 100px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.4s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

::-webkit-scrollbar {
    width: 4px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
}

::selection {
    background: rgba(124, 58, 237, 0.2);
    color: #fff;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font-sans);
}

/* Typography — Inter clean with proper line-height */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

h1 {
    font-size: clamp(42px, 7vw, 86px);
    line-height: clamp(48px, 8vw, 96px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: clamp(40px, 6vw, 68px);
    font-weight: 700;
    letter-spacing: -0.015em;
}

h3 {
    font-size: clamp(22px, 3vw, 36px);
    line-height: clamp(30px, 4vw, 46px);
}

h4 {
    font-size: clamp(18px, 2vw, 24px);
    line-height: clamp(26px, 3vw, 34px);
    font-weight: 600;
}

h5 {
    font-size: 14px;
    line-height: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

p {
    font-size: 16px;
    line-height: 28px;
    color: var(--text-muted);
    margin: 0;
}

/* Accent text matching original VectOs styles */
.accent-text {
    color: var(--accent);
}

.accent-italic {
    color: var(--accent);
    font-family: var(--font-serif);
    font-style: italic;
}

.style-2 {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent);
    -webkit-text-stroke: 1px var(--accent);
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section {
    padding: 120px 24px;
}


/* ═══════════════════════════════════════════
   BACKGROUND GRID LINES (Marko Signature)
   ═══════════════════════════════════════════ */
.bg-grid-lines {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: repeating-linear-gradient(90deg,
            transparent,
            transparent calc(20% - 1px),
            rgba(31, 31, 31, 0.35) calc(20% - 1px),
            rgba(31, 31, 31, 0.35) 20%);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}


/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS — Bidirectional (expand/collapse)
   Elements animate IN when scrolling down,
   animate OUT when scrolling back up.
   ═══════════════════════════════════════════ */
.anim-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.anim-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card expand/collapse: grows when entering, shrinks when leaving */
.card-expand {
    opacity: 0;
    transform: scale(0.92) translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.card-expand.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Slide from left/right */
.slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger-children>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0s;
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 0.15s;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(5) {
    transition-delay: 0.25s;
}

.stagger-children.visible>*:nth-child(6) {
    transition-delay: 0.3s;
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0);
}


/* ═══════════════════════════════════════════
   BADGE PILL (Marko Signature)
   ═══════════════════════════════════════════ */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, transparent 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
}

.badge-pill svg {
    color: var(--lime);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    position: relative;
}

.badge-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

.section-desc {
    max-width: 600px;
    margin: 16px auto 0;
    text-align: center;
    font-size: 17px;
    line-height: 30px;
}

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


/* ═══════════════════════════════════════════
   BUTTONS (Marko: pill-shaped)
   ═══════════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent);
    color: var(--text-white);
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: -3px -3px 10px 0px var(--accent-glow), 3px 3px 10px 0px var(--accent-glow);
    color: var(--text-white);
}

.btn-primary.btn-sm {
    padding: 12px 24px;
    font-size: 14px;
}

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

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.play-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: var(--transition);
}

.btn-ghost:hover .play-icon {
    border-color: var(--accent);
    background: rgba(124, 58, 237, 0.1);
}


/* ═══════════════════════════════════════════
   NAVBAR (Marko: pill-shaped, glassmorphism)
   ═══════════════════════════════════════════ */
.navbar-wrap {
    position: fixed;
    width: 100%;
    padding: 20px 30px;
    z-index: 100;
    transition: padding 0.4s ease;
}

.navbar-wrap.scrolled {
    padding: 12px 30px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 28px;
    background: rgba(14, 14, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--text-white);
}

.logo-img {
    height: 28px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: 12px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

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

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-white);
    border-radius: 1px;
    transition: all 0.3s;
}


/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 30px 80px;
    position: relative;
    z-index: 1;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

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

.hero-content h1 {
    margin-bottom: 28px;
}

.hero-desc {
    font-size: 18px;
    line-height: 32px;
    max-width: 640px;
    margin: 0 auto 40px;
    color: var(--text-muted);
}

.accent-underline {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.accent-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    animation: underlineGrow 0.8s ease-out forwards;
}

@keyframes underlineGrow {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-reviews {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.review-avatars {
    display: flex;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    border: 2px solid var(--bg);
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

.review-text {
    text-align: left;
}

.review-text strong {
    color: var(--text-white);
    font-size: 15px;
    display: block;
    line-height: 1.2;
}

.review-text span {
    font-size: 13px;
    color: var(--text-muted);
}


/* ═══════════════════════════════════════════
   SPLIT LAYOUT (Expertise section)
   ═══════════════════════════════════════════ */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.expertise-visual {
    position: relative;
}

.expertise-graphic {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.vector-graphic {
    width: 100%;
    height: auto;
    display: block;
}

.expertise-card-overlay {
    position: absolute;
    bottom: -20px;
    left: -20px;
    max-width: 320px;
    background: rgba(14, 14, 14, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 28px;
}

.expertise-card-overlay h3 {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 10px;
}

.expertise-card-overlay p {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 16px;
}

.expertise-right h2 {
    margin-bottom: 24px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.check-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}


/* ═══════════════════════════════════════════
   BRANDS (Marko: glassmorphism card logos)
   ═══════════════════════════════════════════ */
.brands-header {
    background: radial-gradient(ellipse at top center, rgba(124, 58, 237, 0.08), transparent 70%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 60px 40px 50px;
    margin-bottom: 40px;
}

.brands-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.brands-header-inner h2 {
    max-width: 480px;
    font-size: clamp(24px, 3vw, 38px);
    line-height: clamp(32px, 4vw, 48px);
}

.brands-header-inner p {
    max-width: 400px;
    font-size: 16px;
    line-height: 28px;
}

.brands-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.brands-track::-webkit-scrollbar {
    display: none;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--text-muted);
}

.brand-item:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.brand-item span {
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
}


/* ═══════════════════════════════════════════
   MISSION / WHY-US SECTION (3-card grid)
   ═══════════════════════════════════════════ */
.mission-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.mission-card {
    background: radial-gradient(at bottom center, var(--border), var(--bg-card) 60%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    transition: var(--transition);
}

.mission-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: -3px -3px 10px 0px rgba(124, 58, 237, 0.15), 3px 3px 10px 0px rgba(124, 58, 237, 0.15);
}

.mission-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
    transition: var(--transition);
}

.mission-card:hover .mission-icon {
    background: rgba(124, 58, 237, 0.2);
}

.mission-card h4 {
    margin-bottom: 14px;
}

.mission-card p {
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 20px;
}

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

.card-link:hover {
    color: var(--lime);
    gap: 12px;
}


/* ═══════════════════════════════════════════
   SHOWCASE (replaces video)
   ═══════════════════════════════════════════ */
.showcase-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.showcase-bg {
    position: relative;
}

.showcase-svg {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 11, 12, 0.95) 100%);
    text-align: center;
}

.showcase-overlay h3 {
    margin-bottom: 8px;
}

.showcase-overlay p {
    font-size: 16px;
    line-height: 28px;
}


/* ═══════════════════════════════════════════
   SERVICES GRID (3x2 glow icon cards)
   ═══════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.08);
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
}

.service-card h4 {
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 24px;
    flex: 1;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto;
}

.service-btn .arrow-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.service-card:hover .service-btn {
    border-color: var(--accent);
    color: var(--accent);
}

.service-card:hover .arrow-circle {
    box-shadow: 0 0 10px var(--accent-glow);
}


/* ═══════════════════════════════════════════
   PROCESS / HOW IT WORKS (4-step horizontal)
   ═══════════════════════════════════════════ */
.process-wrapper {
    background: radial-gradient(at bottom center, var(--border), var(--bg-card) 60%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 60px 40px;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 20px;
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: rgba(124, 58, 237, 0.12);
}

.process-step h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.process-step p {
    font-size: 14px;
    line-height: 24px;
}

.process-connector {
    width: 60px;
    min-width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(124, 58, 237, 0.2));
    margin-top: 28px;
    border-radius: 1px;
}


/* ═══════════════════════════════════════════
   PRICING (gradient border, featured glow)
   ═══════════════════════════════════════════ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: -3px -3px 10px 0px rgba(124, 58, 237, 0.25), 3px 3px 10px 0px rgba(124, 58, 237, 0.25);
}

.popular-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 18px;
    background: var(--accent);
    color: var(--text-white);
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-card h4 {
    font-size: 20px;
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.price h2 {
    font-size: 48px;
    line-height: 56px;
    font-weight: 900;
}

.price span {
    font-size: 16px;
    color: var(--text-muted);
}

.pricing-card>p {
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 24px;
}

.pricing-card ul {
    margin-bottom: 32px;
}

.pricing-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    line-height: 24px;
    color: var(--text-muted);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card li svg {
    color: var(--accent);
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════
   CONTACT FORM (gradient border wrapper)
   ═══════════════════════════════════════════ */
.form-glow-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    padding: 2px;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.form-glow-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
    opacity: 0.4;
    z-index: -1;
}

.form-inner {
    background: radial-gradient(at bottom center, var(--border), var(--bg-card) 50%);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
    padding: 50px 40px;
}

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

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

.contact-form input,
.contact-form textarea {
    background: var(--bg);
    border: none;
    border-radius: var(--radius-pill);
    color: var(--text-white);
    padding: 18px 28px;
    font-size: 15px;
    line-height: 18px;
    font-family: var(--font-sans);
    outline: none;
    width: 100%;
    transition: box-shadow 0.3s;
}

.contact-form textarea {
    border-radius: var(--radius-sm);
    resize: vertical;
    min-height: 100px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 0 1px var(--accent);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-dim);
}

.form-actions {
    display: flex;
}


/* ═══════════════════════════════════════════
   MARQUEE (Marko: scrolling text)
   ═══════════════════════════════════════════ */
.cta-marquee {
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-item {
    padding: 0 36px;
    font-family: var(--font-sans);
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    white-space: nowrap;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* ═══════════════════════════════════════════
   ACCORDION SERVICES (collapsible numbered items)
   ═══════════════════════════════════════════ */
.accordion-services {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 0;
    width: 100%;
    cursor: pointer;
    font-family: var(--font-sans);
    color: var(--text-white);
    text-align: left;
    transition: var(--transition);
}

.accordion-head:hover {
    color: var(--accent);
}

.accordion-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    min-width: 32px;
}

.accordion-head h4 {
    flex: 1;
    font-size: 20px;
    line-height: 28px;
}

.accordion-icon {
    font-size: 22px;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.accordion-item.open .accordion-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), padding 0.3s;
    padding: 0 0 0 52px;
}

.accordion-item.open .accordion-body {
    max-height: 200px;
    padding: 0 0 24px 52px;
}

.accordion-body p {
    font-size: 15px;
    line-height: 26px;
    color: var(--text-muted);
}


/* ═══════════════════════════════════════════
   HIGHLIGHT SECTION (split with mockup)
   ═══════════════════════════════════════════ */
.highlight-section {
    background: radial-gradient(at bottom left, rgba(124, 58, 237, 0.06), var(--bg-card) 60%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 50px;
    overflow: hidden;
}

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

.highlight-grid h2 {
    margin-bottom: 16px;
}

.highlight-grid p {
    font-size: 16px;
    line-height: 28px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.highlight-mockup {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    overflow: hidden;
}


/* ═══════════════════════════════════════════
   TAG PILLS (niche tags)
   ═══════════════════════════════════════════ */
.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tag-pill {
    padding: 10px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.tag-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer-section {
    padding: 80px 24px 30px;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 24px;
    margin-top: 16px;
    max-width: 280px;
}

.footer-brand .nav-logo {
    margin-bottom: 4px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-newsletter p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 14px;
}

.newsletter-input {
    display: flex;
    gap: 8px;
}

.newsletter-input input {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 12px 20px;
    color: var(--text-white);
    font-size: 14px;
    font-family: var(--font-sans);
    outline: none;
}

.newsletter-input input:focus {
    border-color: var(--accent);
}

.newsletter-input input::placeholder {
    color: var(--text-dim);
}

.newsletter-input .btn-primary {
    padding: 12px 16px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}


/* ═══════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--accent-glow);
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 991px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-connector {
        width: 2px;
        height: 40px;
        min-width: 2px;
        background: linear-gradient(180deg, var(--accent), rgba(124, 58, 237, 0.2));
        margin-top: 0;
    }

    .brands-header-inner {
        flex-direction: column;
        text-align: center;
    }

    .brands-header-inner h2 {
        max-width: 100%;
    }

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

@media (max-width: 767px) {
    .nav-menu {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(11, 11, 12, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        z-index: 100;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .navbar-wrap {
        padding: 12px 15px;
    }

    .section {
        padding: 80px 15px;
    }

    .hero-section {
        padding: 120px 15px 60px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-inner {
        padding: 32px 20px;
    }

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

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

    .expertise-card-overlay {
        position: relative;
        bottom: 0;
        left: 0;
        max-width: 100%;
        margin-top: -20px;
    }

    .cta-row {
        flex-direction: column;
    }

    .process-wrapper {
        padding: 40px 20px;
    }

    .showcase-overlay {
        padding: 30px 20px;
    }

    .highlight-section {
        padding: 30px 20px;
    }
}

/* ═══════════════════════════════════════════
   3D CARD TILT (Marko hover interaction)
   ═══════════════════════════════════════════ */
.tilt-card {
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.tilt-card:hover {
    box-shadow: -3px -3px 15px 0px rgba(124, 58, 237, 0.2), 3px 3px 15px 0px rgba(124, 58, 237, 0.2);
}

.card-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.tilt-card>*:not(.card-glow) {
    position: relative;
    z-index: 1;
}


/* ═══════════════════════════════════════════
   SVG LINE DRAW ON SCROLL
   ═══════════════════════════════════════════ */
.svg-draw path,
.svg-draw line,
.svg-draw circle,
.svg-draw rect {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 1.5s ease-in-out;
}


/* ═══════════════════════════════════════════
   FLOATING PARALLAX ELEMENTS
   ═══════════════════════════════════════════ */
.float-element {
    position: absolute;
    pointer-events: none;
    will-change: transform;
    animation: floatBob 6s ease-in-out infinite;
}

@keyframes floatBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

.float-element.float-slow {
    animation-duration: 8s;
}

.float-element.float-fast {
    animation-duration: 4s;
}

.float-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.4);
}

.float-ring {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.float-cross {
    width: 14px;
    height: 14px;
    position: relative;
}

.float-cross::before,
.float-cross::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(190, 253, 44, 0.3);
}

.float-cross::before {
    width: 14px;
    height: 1px;
}

.float-cross::after {
    width: 1px;
    height: 14px;
}


/* ═══════════════════════════════════════════
   TYPING CURSOR
   ═══════════════════════════════════════════ */
.typing-text {
    color: var(--accent);
    border-right: 2px solid var(--accent);
    animation: blink 1s step-end infinite;
    padding-right: 4px;
}

@keyframes blink {

    0%,
    100% {
        border-color: var(--accent);
    }

    50% {
        border-color: transparent;
    }
}


/* ═══════════════════════════════════════════
   AUTO-BUILD ANIMATION (blocks assembling)
   ═══════════════════════════════════════════ */
.auto-build-demo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

.build-block {
    opacity: 0;
    transform: translateX(-40px) scale(0.9);
    transition: all 0.6s var(--ease);
    padding: 14px 20px;
    border: 1px dashed rgba(124, 58, 237, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.build-block.built {
    opacity: 1;
    transform: translateX(0) scale(1);
    border-color: rgba(124, 58, 237, 0.3);
    border-style: solid;
}

.build-block.built:nth-child(2) {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}

.build-block-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.build-block-bar {
    height: 20px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
}

.build-block-bar.accent {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.15), rgba(190, 253, 44, 0.08));
}


/* ═══════════════════════════════════════════
   DRAG & DROP INTERACTIVE DEMO
   ═══════════════════════════════════════════ */
.drag-demo-zone {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    min-height: 240px;
}

.drag-palette {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drag-block {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-card);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: grab;
    transition: var(--transition);
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.drag-block:active {
    cursor: grabbing;
}

.drag-block:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.03);
}

.drag-block.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}

.drag-block-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.drop-zone {
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 200px;
    transition: var(--transition);
    position: relative;
}

.drop-zone::before {
    content: 'Arrastra bloques aquí →';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: var(--text-dim);
    pointer-events: none;
    transition: opacity 0.3s;
}

.drop-zone:has(.dropped-block)::before {
    opacity: 0;
}

.drop-zone.drag-over {
    border-color: var(--accent);
    background: rgba(124, 58, 237, 0.04);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.1) inset;
}

.dropped-block {
    padding: 10px 16px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    background: rgba(124, 58, 237, 0.08);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

@keyframes dropBounce {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* ═══════════════════════════════════════════
   RESPONSIVE (continued)
   ═══════════════════════════════════════════ */
@media (max-width: 480px) {
    h1 {
        font-size: clamp(32px, 8vw, 48px);
        line-height: clamp(38px, 9vw, 56px);
    }

    .drag-demo-zone {
        grid-template-columns: 1fr;
    }

    .drag-palette {
        flex-direction: row;
        flex-wrap: wrap;
    }
}


/* ═══════════════════════════════════════════
   1. BENTO HOVER REVEAL (vectos.html)
   ═══════════════════════════════════════════ */
.bento-reveal {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 420px;
}

.bento-sidebar {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
}

.bento-nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 28px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.bento-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.bento-nav-item:hover,
.bento-nav-item.active {
    background: rgba(124, 58, 237, 0.06);
}

.bento-nav-item:hover::before,
.bento-nav-item.active::before {
    transform: scaleY(1);
}

.bento-nav-item:last-child {
    border-bottom: none;
}

.bento-num {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    min-width: 24px;
}

.bento-nav-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.bento-nav-item:hover h4,
.bento-nav-item.active h4 {
    color: var(--text-white);
}

.bento-canvas {
    position: relative;
    padding: 48px 40px;
}

.bento-panel {
    position: absolute;
    inset: 0;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s var(--ease);
    pointer-events: none;
}

.bento-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.bento-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 14px;
    color: var(--accent-light);
}

.bento-panel h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-white);
    margin-top: 4px;
}

.bento-panel p {
    font-size: 15px;
    line-height: 26px;
    color: var(--text-muted);
    max-width: 440px;
}

.bento-graphic {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.b-card {
    width: 100px;
    height: 60px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    transition: all 0.6s var(--ease);
}

.bento-panel.active .b-card {
    animation: bentoPop 0.6s var(--ease) both;
}

.bento-panel.active .b-card:nth-child(2) {
    animation-delay: 0.1s;
}

.bento-panel.active .b-card:nth-child(3) {
    animation-delay: 0.2s;
}

.b-card.accent {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
}

.bento-graphic.chat {
    flex-direction: column;
    gap: 8px;
    max-width: 280px;
}

.b-chat {
    height: 28px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.b-chat.left {
    width: 70%;
}

.b-chat.right {
    width: 55%;
    align-self: flex-end;
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.2);
}

.bento-panel.active .b-chat {
    animation: bentoSlide 0.5s var(--ease) both;
}

.bento-panel.active .b-chat:nth-child(2) {
    animation-delay: 0.15s;
}

.bento-panel.active .b-chat:nth-child(3) {
    animation-delay: 0.3s;
}

.bento-graphic.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 220px;
}

.b-box {
    height: 50px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}

.b-box.w-full {
    grid-column: span 2;
    height: 30px;
}

.bento-panel.active .b-box {
    animation: bentoPop 0.5s var(--ease) both;
}

.bento-panel.active .b-box:nth-child(2) {
    animation-delay: 0.1s;
}

.bento-panel.active .b-box:nth-child(3) {
    animation-delay: 0.2s;
}

.bento-graphic.float {
    align-items: center;
    gap: 0;
}

.b-node {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.b-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--lime));
}

.bento-graphic.funnel {
    flex-direction: column;
    gap: 6px;
    max-width: 200px;
}

.b-bar {
    height: 14px;
    border-radius: 7px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.b-bar.l1 {
    width: 100%;
}

.b-bar.l2 {
    width: 70%;
}

.b-bar.l3 {
    width: 40%;
    background: rgba(190, 253, 44, 0.15);
    border-color: rgba(190, 253, 44, 0.25);
}

.bento-graphic.chart {
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.b-chart {
    width: 28px;
    border-radius: 6px 6px 0 0;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-bottom: none;
}

.b-chart:nth-child(1) {
    height: 40%;
}

.b-chart:nth-child(2) {
    height: 60%;
}

.b-chart:nth-child(3) {
    height: 90%;
}

.b-chart:nth-child(4) {
    height: 70%;
}

.b-chart.accent {
    background: rgba(190, 253, 44, 0.15);
    border-color: rgba(190, 253, 44, 0.25);
}

.bento-panel.active .b-chart {
    animation: bentoGrow 0.6s var(--ease) both;
}

.bento-panel.active .b-chart:nth-child(2) {
    animation-delay: 0.1s;
}

.bento-panel.active .b-chart:nth-child(3) {
    animation-delay: 0.2s;
}

.bento-panel.active .b-chart:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes bentoPop {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bentoSlide {
    0% {
        opacity: 0;
        transform: translateX(-16px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bentoGrow {
    0% {
        transform: scaleY(0);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

@media (max-width: 768px) {
    .bento-reveal {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .bento-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .bento-nav-item {
        padding: 14px 18px;
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    .bento-nav-item::before {
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        width: auto;
        height: 3px;
        transform: scaleX(0);
    }

    .bento-nav-item:hover::before,
    .bento-nav-item.active::before {
        transform: scaleX(1);
    }

    .bento-canvas {
        position: relative;
        min-height: 340px;
    }

    .bento-panel {
        padding: 32px 24px;
    }
}


/* ═══════════════════════════════════════════
   2. CHAT SIMULATOR (agentes.html)
   ═══════════════════════════════════════════ */
.chat-sim {
    display: grid;
    grid-template-columns: 1fr 280px 1fr;
    gap: 24px;
    align-items: start;
}

.chat-sim-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-feat {
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.chat-feat::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(190, 253, 44, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.chat-feat:hover,
.chat-feat.active {
    border-color: rgba(124, 58, 237, 0.4);
    background: rgba(124, 58, 237, 0.06);
}

.chat-feat:hover::after,
.chat-feat.active::after {
    opacity: 1;
}

.chat-feat h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 4px;
}

.chat-feat p {
    font-size: 12px;
    line-height: 18px;
    color: var(--text-muted);
}

.chat-feat .feat-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
}

.chat-phone {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 8px;
    min-height: 440px;
    display: flex;
    flex-direction: column;
}

.chat-phone-header {
    text-align: center;
    padding: 14px 16px 10px;
    border-bottom: 1px solid var(--border);
}

.chat-phone-header h6 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
}

.chat-phone-header span {
    font-size: 10px;
    color: var(--lime);
}

.chat-messages {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.chat-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 18px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s var(--ease);
}

.chat-msg.visible {
    opacity: 1;
    transform: translateY(0);
}

.chat-msg.user {
    align-self: flex-end;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--text-white);
    border-radius: 14px 14px 4px 14px;
}

.chat-msg.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 14px 14px 14px 4px;
}

.chat-msg.typing {
    color: var(--accent-light);
    font-style: italic;
}

.chat-phone-input {
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-phone-input span {
    flex: 1;
    padding: 8px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    font-size: 11px;
    color: var(--text-muted);
}

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

    .chat-sim-features {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .chat-feat {
        flex: 1;
        min-width: 140px;
    }

    .chat-phone {
        max-width: 320px;
        margin: 0 auto;
    }

    .chat-sim-features.right {
        order: 3;
    }
}


/* ═══════════════════════════════════════════
   3. WIREFRAME MAGIC GRID (constructor.html)
   ═══════════════════════════════════════════ */
.magic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.magic-card {
    position: relative;
    padding: 36px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    overflow: hidden;
    transition: all 0.5s var(--ease);
    cursor: default;
}

.magic-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(190, 253, 44, 0.04));
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.magic-card:hover {
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.12);
}

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

.magic-card-wireframe {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    transition: all 0.5s var(--ease);
}

.wire-bar {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.5s var(--ease);
}

.wire-bar:nth-child(1) {
    width: 80%;
}

.wire-bar:nth-child(2) {
    width: 60%;
}

.wire-bar:nth-child(3) {
    width: 45%;
}

.magic-card:hover .wire-bar:nth-child(1) {
    background: rgba(124, 58, 237, 0.3);
    width: 100%;
}

.magic-card:hover .wire-bar:nth-child(2) {
    background: rgba(190, 253, 44, 0.2);
    width: 75%;
}

.magic-card:hover .wire-bar:nth-child(3) {
    background: rgba(124, 58, 237, 0.2);
    width: 55%;
}

.magic-card-icon {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
    color: var(--accent-light);
    margin-bottom: 14px;
    transition: all 0.5s var(--ease);
}

.magic-card:hover .magic-card-icon {
    background: rgba(124, 58, 237, 0.18);
    border-color: rgba(124, 58, 237, 0.4);
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--accent-glow);
}

.magic-card h4 {
    position: relative;
    z-index: 1;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.magic-card p {
    position: relative;
    z-index: 1;
    font-size: 14px;
    line-height: 22px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(10px);
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s var(--ease);
}

.magic-card:hover p {
    opacity: 1;
    transform: translateY(0);
    max-height: 120px;
    margin-top: 4px;
}

.magic-card.wide {
    grid-column: span 2;
}

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

    .magic-card.wide {
        grid-column: span 1;
    }

    .magic-card p {
        opacity: 1;
        transform: none;
        max-height: none;
    }
}


/* ═══════════════════════════════════════════
   4. GLOWING PIPELINE (automatizacion.html)
   ═══════════════════════════════════════════ */
.pipeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pipeline-line {
    position: absolute;
    left: 28px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: var(--border);
    overflow: hidden;
}

.pipeline-line::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(180deg, transparent, var(--accent), var(--lime), transparent);
    animation: pipelinePulse 3s linear infinite;
}

@keyframes pipelinePulse {
    0% {
        top: -30%;
    }

    100% {
        top: 100%;
    }
}

.pipeline-node {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    position: relative;
    z-index: 1;
    cursor: default;
}

.pipeline-dot-wrap {
    width: 56px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
    flex-shrink: 0;
}

.pipeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    transition: all 0.4s var(--ease);
    position: relative;
}

.pipeline-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.4s ease;
}

.pipeline-node:hover .pipeline-dot {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
    transform: scale(1.3);
}

.pipeline-node:hover .pipeline-dot::after {
    border-color: rgba(124, 58, 237, 0.3);
}

.pipeline-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
    transition: all 0.4s var(--ease);
}

.pipeline-node:hover .pipeline-content {
    border-color: rgba(124, 58, 237, 0.35);
    background: rgba(124, 58, 237, 0.04);
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.08);
    transform: translateX(6px);
}

.pipeline-content .pipe-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.pipeline-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.pipeline-content p {
    font-size: 14px;
    line-height: 22px;
    color: var(--text-muted);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.pipeline-node:hover .pipeline-content p {
    max-height: 80px;
    opacity: 1;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .pipeline-node {
        gap: 16px;
    }

    .pipeline-content p {
        max-height: none;
        opacity: 1;
    }
}