/* =========================================================
   Alter Ego — Landing
   Estética inspirada en unbrabyte.com
   ========================================================= */

:root {
    --bg: #0a0a0f;
    --bg-2: #0d0d14;
    --surface: #11121a;
    --surface-2: #161824;
    --border: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);

    --text: #f1f3f8;
    --text-mute: #a4a8b8;
    --text-dim: #6f7385;

    --primary: #3b6dff;
    --primary-hover: #5b85ff;
    --primary-glow: rgba(59, 109, 255, 0.45);

    --cyan: #7ee7ff;
    --blue: #3b6dff;
    --violet: #a89bff;
    --green: #4ade80;
    --orange: #ff9f5a;
    --pink: #ff6cb1;

    --grad-text: linear-gradient(95deg, #7ee7ff 0%, #3b6dff 45%, #a89bff 100%);
    --grad-cta: linear-gradient(135deg, #3b6dff 0%, #6d5dff 100%);
    --grad-card: linear-gradient(180deg, rgba(123, 103, 255, 0.06) 0%, rgba(123, 103, 255, 0) 100%);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 30px 60px -30px rgba(0, 0, 0, 0.6);

    --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }

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

/* =========================================================
   BACKGROUND DECOR
   ========================================================= */
.bg-grid {
    position: fixed; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 30%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    width: 600px; height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
.bg-glow-1 { background: #3b6dff; top: -200px; left: -150px; }
.bg-glow-2 { background: #a89bff; top: 30%; right: -200px; opacity: 0.25; }
.bg-glow-3 { background: #6d5dff; bottom: -200px; left: 30%; opacity: 0.2; }

/* =========================================================
   TYPOGRAPHY HELPERS
   ========================================================= */
.grad-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 18px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: rgba(59, 109, 255, 0.08);
    border: 1px solid rgba(59, 109, 255, 0.25);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: #cdd6ff;
    text-transform: uppercase;
}
.pill-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
    animation: pulse 2.5s ease-in-out infinite;
}

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

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: transform .18s ease, background .18s ease, box-shadow .25s ease, border-color .18s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 30px -8px var(--primary-glow), 0 1px 0 rgba(255,255,255,0.15) inset;
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 14px 36px -8px var(--primary-glow);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-arrow {
    transition: transform .2s ease;
    display: inline-block;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(10, 10, 15, 0.65);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled {
    border-color: var(--border);
    background: rgba(10, 10, 15, 0.85);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}
.brand-mark {
    width: 38px; height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark-sm { width: 32px; height: 18px; }

.brand-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #fff;
}
.brand-text-accent {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    margin-left: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    margin-right: 24px;
}
.nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mute);
    transition: color .15s ease;
}
.nav a:hover { color: var(--text); }
.nav-mobile-cta { display: none !important; }

/* =========================================================
   LANGUAGE SWITCHER
   ========================================================= */
.lang-switch {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: #a0aec0;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    padding: .35rem .7rem;
    border-radius: .5rem;
    cursor: pointer;
    transition: all .2s;
    text-transform: uppercase;
}
.lang-switch:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
}
.nav-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    padding: 110px 0 90px;
    z-index: 1;
}
.hero-inner {
    text-align: center;
    max-width: 880px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(40px, 6.4vw, 76px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.05;
    color: #fff;
    margin: 24px 0 24px;
}

.hero-sub {
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--text-mute);
    max-width: 640px;
    margin-bottom: 36px;
    line-height: 1.65;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 50px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    font-size: 13px;
    color: var(--text-mute);
    font-weight: 500;
}
.hero-tags li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.tag-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
}
.tag-dot-cyan { background: var(--cyan); color: var(--cyan); }
.tag-dot-blue { background: var(--blue); color: var(--blue); }
.tag-dot-violet { background: var(--violet); color: var(--violet); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
    position: relative;
    padding: 90px 0;
    z-index: 1;
}
.section-tinted {
    background:
        linear-gradient(180deg, transparent 0%, rgba(15, 15, 25, 0.6) 25%, rgba(15, 15, 25, 0.6) 75%, transparent 100%);
}

.section-head {
    max-width: 760px;
    margin-bottom: 56px;
}

.section-title {
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}

.section-sub {
    font-size: 16px;
    color: var(--text-mute);
    line-height: 1.7;
    max-width: 640px;
}

/* =========================================================
   GRID + CARDS
   ========================================================= */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-card);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.card-hover:hover {
    border-color: rgba(123, 103, 255, 0.3);
    transform: translateY(-3px);
}
.card-hover:hover::before { opacity: 1; }

.card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 18px 0 10px;
    letter-spacing: -0.2px;
}
.card p {
    font-size: 14px;
    color: var(--text-mute);
    line-height: 1.65;
}

.card-row {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 30px;
}
.card-row h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.card-row p {
    font-size: 14px;
    color: var(--text-mute);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* =========================================================
   ICON TILES
   ========================================================= */
.icon-tile {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-strong);
}
.icon-tile-lg { width: 64px; height: 64px; border-radius: 16px; }
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile-lg svg { width: 28px; height: 28px; }

.icon-tile-cyan   { background: rgba(126, 231, 255, 0.1); color: var(--cyan); border-color: rgba(126, 231, 255, 0.25); }
.icon-tile-blue   { background: rgba(59, 109, 255, 0.12);  color: #6e95ff;     border-color: rgba(59, 109, 255, 0.3); }
.icon-tile-violet { background: rgba(168, 155, 255, 0.1);  color: var(--violet); border-color: rgba(168, 155, 255, 0.28); }
.icon-tile-green  { background: rgba(74, 222, 128, 0.1);   color: var(--green);  border-color: rgba(74, 222, 128, 0.28); }
.icon-tile-orange { background: rgba(255, 159, 90, 0.1);   color: var(--orange); border-color: rgba(255, 159, 90, 0.28); }
.icon-tile-pink   { background: rgba(255, 108, 177, 0.1);  color: var(--pink);   border-color: rgba(255, 108, 177, 0.28); }

/* =========================================================
   REPLACE BOX
   ========================================================= */
.replace-box {
    margin-top: 40px;
    padding: 32px 36px;
    background: linear-gradient(160deg, rgba(255, 95, 95, 0.04) 0%, rgba(123, 103, 255, 0.04) 100%);
    border: 1px solid rgba(255, 95, 95, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}
.replace-head {
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #ff8a8a;
    font-weight: 700;
    margin-bottom: 22px;
}
.replace-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 32px;
}
.replace-grid li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text);
}
.replace-bullet {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(255, 95, 95, 0.12);
    color: #ff7a7a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

/* =========================================================
   FEATURE SPOTLIGHT
   ========================================================= */
.feature-spotlight {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 36px;
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-card);
}
.feature-spotlight h3 {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.feature-spotlight p {
    color: var(--text-mute);
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================================
   FEATURES LIST
   ========================================================= */
.features-list { margin-bottom: 36px; }

.feature {
    padding: 22px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    transition: border-color .2s ease, transform .2s ease;
}
.feature:hover {
    border-color: rgba(126, 231, 255, 0.25);
    transform: translateY(-2px);
}
.feature-bullet {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--grad-text);
    display: inline-block;
    margin-bottom: 14px;
    box-shadow: 0 0 12px rgba(59, 109, 255, 0.6);
}
.feature h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.1px;
}
.feature p {
    font-size: 13px;
    color: var(--text-mute);
    line-height: 1.6;
}

/* =========================================================
   CHIPS
   ========================================================= */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chip {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(59, 109, 255, 0.08);
    border: 1px solid rgba(59, 109, 255, 0.2);
    border-radius: var(--radius-pill);
    font-size: 12px;
    color: #cdd6ff;
    font-weight: 500;
}

/* =========================================================
   QUOTE
   ========================================================= */
.quote {
    margin-top: 40px;
    padding: 40px 44px;
    background: linear-gradient(135deg, #2533a8 0%, #3b6dff 50%, #6d5dff 100%);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.quote::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 16px;
    font-family: Georgia, serif;
    font-size: 200px;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
}
.quote blockquote {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 14px;
    position: relative;
}
.quote figcaption {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* =========================================================
   STATS
   ========================================================= */
.stats-grid { margin-bottom: 40px; }

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    top: -1px; left: 50%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(123, 103, 255, 0.5), transparent);
    transform: translateX(-50%);
}
.stat-num {
    font-size: clamp(56px, 8vw, 80px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 18px;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}
.stat-lbl {
    font-size: 14px;
    color: var(--text-mute);
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

/* =========================================================
   VIDEO CAROUSEL — Multi-card shorts style
   ========================================================= */
.video-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.video-carousel-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4px;
}

.video-carousel-track::-webkit-scrollbar { display: none; }

.video-card {
    scroll-snap-align: start;
    position: relative;
    flex: 0 0 calc((100% - 18px * 4) / 5);
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px -10px rgba(59, 109, 255, 0.25);
    border-color: var(--border-strong);
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    transition: background 0.2s, opacity 0.2s;
}

.video-card:hover .video-play-btn {
    background: rgba(0, 0, 0, 0.15);
}

/* Carousel nav arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.carousel-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-left { left: 4px; }
.carousel-nav-right { right: 4px; }

/* =========================================================
   VIDEO POPUP
   ========================================================= */
.video-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.video-popup.open {
    display: flex;
}

.video-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.video-popup-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
    max-height: 90vh;
}

.video-popup-player {
    height: 85vh;
    max-height: 720px;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-lg);
    object-fit: cover;
    background: #000;
}

.video-popup-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.video-popup-close:hover { opacity: 1; }

.video-popup-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.video-popup-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive carousel */
@media (max-width: 480px) {
    .video-carousel-wrap { padding: 0 48px; }
    .video-card { flex: 0 0 calc((100% - 18px) / 2); }
    .video-popup-nav { display: none; }
    .video-popup-player { height: 75vh; }
}

@media (min-width: 481px) and (max-width: 768px) {
    .video-card { flex: 0 0 calc((100% - 18px * 2) / 3); }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .video-card { flex: 0 0 calc((100% - 18px * 3) / 4); }
}

/* =========================================================
   ENTERPRISE FEATURES
   ========================================================= */
.enterprise-grid { gap: 18px; }
.enterprise-feat {
    display: flex;
    gap: 18px;
    padding: 26px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    align-items: flex-start;
    transition: border-color .25s ease, transform .25s ease;
}
.enterprise-feat:hover {
    border-color: rgba(123, 103, 255, 0.3);
    transform: translateY(-2px);
}
.enterprise-feat h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.1px;
}
.enterprise-feat p {
    font-size: 13px;
    color: var(--text-mute);
    line-height: 1.65;
}

/* =========================================================
   CASOS DE ÉXITO
   ========================================================= */
.casos-grid { gap: 24px; }

.caso-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 32px;
}

.caso-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.caso-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.caso-person {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.caso-person strong {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
}
.caso-person span {
    font-size: 12.5px;
    color: var(--text-dim);
}

.caso-quote {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 14px;
    letter-spacing: -0.2px;
    position: relative;
}

.caso-text {
    font-size: 13.5px;
    color: var(--text-mute);
    line-height: 1.7;
}

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
    padding: 110px 0 130px;
    position: relative;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(59, 109, 255, 0.18), transparent 70%);
    pointer-events: none;
}
.cta-title {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.08;
    color: #fff;
    margin: 24px 0 22px;
}
.cta-sub {
    font-size: 16px;
    color: var(--text-mute);
    max-width: 580px;
    margin-bottom: 36px;
    line-height: 1.7;
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-form-wrap {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.1px;
}

.form-optional {
    font-weight: 400;
    color: var(--text-dim);
    font-size: 13px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(59, 109, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(59, 109, 255, 0.12);
}

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

.form-submit {
    width: 100%;
    margin-top: 8px;
    border: none;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Form success */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    background: rgba(74, 222, 128, 0.06);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: var(--radius);
    animation: fadeIn .4s ease;
}

.form-success.is-visible {
    display: flex;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.15);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-success h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 16px;
    color: rgba(74, 222, 128, 0.8);
    line-height: 1.6;
}

/* Form error */
.form-error {
    display: none;
    padding: 16px 22px;
    background: rgba(255, 95, 95, 0.08);
    border: 1px solid rgba(255, 95, 95, 0.25);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    animation: fadeIn .3s ease;
}

.form-error.is-visible {
    display: block;
}

.form-error p {
    font-size: 14px;
    color: #ff8a8a;
    font-weight: 500;
}

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

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    position: relative;
    padding: 50px 0 40px;
    border-top: 1px solid var(--border);
    z-index: 1;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--text-dim);
}
.footer-meta {
    font-size: 13px;
    color: var(--text-mute);
}
.footer-copy {
    font-size: 12px;
    letter-spacing: 0.2px;
}
.footer-copy a {
    color: var(--violet);
    transition: color .15s ease;
}
.footer-copy a:hover { color: var(--cyan); }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 880px) {
    .nav { display: none; }
    .lang-switch { display: none; }
    .header-inner > .btn { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0; right: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(14px);
        padding: 22px 24px 28px;
        border-bottom: 1px solid var(--border);
        gap: 18px;
        margin: 0;
    }
    .nav.is-open a { font-size: 16px; }
    .nav.is-open .nav-mobile-cta { display: inline-flex !important; align-self: stretch; justify-content: center; }

    .hero { padding: 70px 0 60px; }
    .section { padding: 60px 0; }
    .cta-section { padding: 80px 0 100px; }

    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .replace-grid { grid-template-columns: 1fr; }

    .feature-spotlight,
    .card-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 26px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 520px) {
    .container { padding: 0 18px; }
    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; }
    .replace-box { padding: 26px 22px; }
    .quote { padding: 30px 26px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}
