/* ============================================================
   OVRRIDE — Ultra-Optimized Stylesheet
   Performance-first: only transform/opacity animations
   ============================================================ */

:root {
    --bg-color: #f7fbff;
    --text-navy: #051622;
    --accent-orange: #d97d26;
    --accent-blue: #1ca3ec;
    --border-gray: #e6eaf0;
    --font-main: 'Outfit', sans-serif;
    --glow-orange: rgba(217, 125, 38, 0.5);
    --glow-blue: rgba(28, 163, 236, 0.5);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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


body, html {
    background-color: var(--bg-color);
    color: var(--text-navy);
    font-family: var(--font-main);
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== CANVAS BACKGROUND ========== */
#particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    contain: strict;
}

/* ========== UTILITIES ========== */
.text-orange { color: var(--accent-orange); }
.text-blue { color: var(--accent-blue); }
.text-center { text-align: center; }

.section-label {
    font-weight: 900; letter-spacing: 3px; font-size: 1rem; margin-bottom: 20px;
    position: relative; display: inline-block;
}
.section-label::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0;
    width: 0; height: 3px;
    border-radius: 2px;
    transition: width 0.8s var(--ease-out-expo);
}
.section-label.text-orange::after { background: var(--accent-orange); }
.section-label.text-blue::after { background: var(--accent-blue); }
.section-label.is-visible::after { width: 60px; }

.massive-text {
    font-size: clamp(3rem, 6vw, 6rem); line-height: 1.05; text-transform: uppercase;
    letter-spacing: -2px; font-weight: 900;
    background: linear-gradient(135deg, var(--text-navy) 0%, #1a3a5c 50%, var(--text-navy) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll-driven reveals */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    will-change: opacity, transform;
}
.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 12px 5%; display: flex;
    justify-content: space-between; align-items: center; z-index: 100;
    background: rgba(247, 251, 255, 0.88);
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease-out-expo);
    will-change: transform;
    contain: layout style;
}
.navbar.is-visible {
    transform: translateY(0);
}

.nav-logo-container { display: flex; align-items: center; }
.nav-logo {
    height: 70px; object-fit: contain; mix-blend-mode: multiply;
    transition: transform 0.4s var(--ease-bounce);
    filter: drop-shadow(0 2px 8px rgba(5, 22, 34, 0.1));
}
.nav-logo:hover {
    transform: scale(1.06);
}

.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links a {
    color: var(--text-navy); font-weight: 700; font-size: 0.9rem; text-transform: uppercase;
    letter-spacing: 1px; transition: color 0.3s ease;
    position: relative; text-decoration: none;
}
.nav-links a::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent-orange); }

.btn-nav {
    background: linear-gradient(135deg, var(--accent-orange), #e8932f);
    color: white !important;
    padding: 11px 26px !important;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(217, 125, 38, 0.3);
    transition: all 0.3s ease !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 125, 38, 0.4) !important;
}

/* ========== HAMBURGER MENU ========== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 200;
    padding: 8px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 28px; height: 3px;
    background: var(--text-navy);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
}
.hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(5, 22, 34, 0.97);
    backdrop-filter: blur(30px);
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.mobile-menu.is-open {
    display: flex;
    opacity: 1;
    pointer-events: all;
}
.mobile-menu a {
    color: white;
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}
.mobile-menu.is-open a {
    transform: translateY(0);
    opacity: 1;
}
.mobile-menu a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu a:hover {
    color: var(--accent-orange);
    transform: translateX(8px);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 160px 5% 60px; position: relative;
    z-index: 1;
}
.hero-container { max-width: 1200px; width: 100%; position: relative; }

.country-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-orange), #e89830, var(--accent-blue));
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    color: white; padding: 12px 28px; border-radius: 40px; font-size: 1.1rem;
    font-weight: 900; margin-bottom: 35px; letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(217, 125, 38, 0.25);
    position: relative; overflow: hidden;
    opacity: 0; transform: scale(0.85);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-bounce);
}
.country-tag.is-visible {
    opacity: 1; transform: scale(1);
}
.country-tag::before {
    content: '';
    position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.hero-title {
    font-size: clamp(3.8rem, 8vw, 8rem); line-height: 0.95;
    text-transform: uppercase; letter-spacing: -3px; font-weight: 900;
}
.line { display: block; overflow: hidden; padding-top: 12px; margin-top: -12px; padding-bottom: 4px; }
.word {
    display: inline-block;
    transform: translateY(120%);
    will-change: transform;
}
.highlight {
    color: var(--accent-orange);
    position: relative;
    text-shadow: 0 0 30px rgba(217, 125, 38, 0.12);
}

.hero-sub {
    margin: 45px 0; font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    line-height: 1.65; font-weight: 400; color: #3a3a3a; max-width: 850px;
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo) 0.6s, transform 0.8s var(--ease-out-expo) 0.6s;
}
.hero-sub.is-visible { opacity: 1; transform: translateY(0); }

.btn-group {
    display: flex; gap: 18px;
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out-expo) 0.9s, transform 0.8s var(--ease-out-expo) 0.9s;
}
.btn-group.is-visible { opacity: 1; transform: translateY(0); }

a { text-decoration: none; }

.btn {
    display: inline-block; padding: 20px 50px; font-weight: 800; font-size: 1.05rem;
    text-transform: uppercase; border-radius: 50px; border: none; letter-spacing: 1px;
    transition: all 0.4s var(--ease-bounce);
    position: relative; overflow: hidden; text-decoration: none; cursor: pointer;
}
.btn::before {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn:hover::before { left: 100%; }

.btn.primary {
    background: linear-gradient(135deg, var(--accent-orange), #e89830);
    color: white;
    box-shadow: 0 8px 25px rgba(217, 125, 38, 0.3);
}
.btn.primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(217, 125, 38, 0.4);
}
.btn.secondary {
    background: transparent; color: var(--text-navy); border: 2px solid var(--text-navy);
}
.btn.secondary:hover {
    background: var(--text-navy); color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 22, 34, 0.2);
}

/* ========== INFO SECTIONS ========== */
.info-section { padding: 130px 5%; position: relative; z-index: 1; }
.info-container { max-width: 1200px; margin: 0 auto; }
.info-text-block { margin-top: 50px; columns: 2; column-gap: 50px; }
.info-text-block p {
    font-size: 1.25rem; line-height: 1.75; color: #444;
    margin-bottom: 25px; font-weight: 300;
}

/* ========== TECH STACK GRID ========== */
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 35px; margin-top: 70px; }
.tech-box {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 45px; border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.5s var(--ease-bounce), box-shadow 0.5s ease;
    position: relative; overflow: hidden;
    contain: content;
}
.tech-box::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-blue));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s ease;
}
.tech-box:hover::before { transform: scaleX(1); }
.tech-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.07);
}
.tech-box h3 { font-size: 2rem; margin-bottom: 18px; font-weight: 900; }
.tech-box p { font-size: 1.1rem; color: #555; line-height: 1.6; }

/* ========== PROCESS SECTION ========== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 70px; }
.process-step {
    background: white; padding: 35px 25px; border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    border-top: 4px solid var(--bg-color);
    transition: transform 0.5s var(--ease-bounce), box-shadow 0.5s ease;
    position: relative; overflow: hidden;
    contain: content;
}
.process-step::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 100%; height: 0;
    background: linear-gradient(to top, rgba(217, 125, 38, 0.03), transparent);
    transition: height 0.5s ease;
}
.process-step:hover::after { height: 100%; }
.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.07);
}
.process-step:nth-child(even) { border-top-color: var(--accent-orange); margin-top: 35px; }
.process-step:nth-child(odd) { border-top-color: var(--accent-blue); }
.step-num {
    font-size: 3.5rem; font-weight: 900; opacity: 0.15; margin-bottom: 12px; line-height: 1;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-blue));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.process-step h4 { font-size: 1.5rem; font-weight: 800; margin-bottom: 18px; color: var(--text-navy); }
.process-step p { font-size: 1.05rem; color: #666; line-height: 1.55; position: relative; z-index: 1; }

/* ========== COMPARISON SECTION ========== */
.comparison-section { padding: 100px 5%; position: relative; z-index: 1; }
.comparison-container { display: flex; gap: 35px; justify-content: center; flex-wrap: wrap; }

.comp-card {
    flex: 1; min-width: 380px; max-width: 580px;
    background: #ffffff; border-radius: 20px; padding: 55px 45px;
    position: relative;
    transition: transform 0.5s var(--ease-bounce), box-shadow 0.5s ease;
}
.wp-card {
    border: 2px solid var(--border-gray);
    box-shadow: 0 8px 30px rgba(0,0,0,0.03);
}
.wp-card:hover {
    box-shadow: 0 18px 45px rgba(0,0,0,0.06);
    transform: translateY(-5px);
}
.wp-card h3 { color: var(--text-navy); font-size: 2.6rem; font-weight: 900; margin-bottom: 5px; }
.wp-card .card-sub { color: #888; font-size: 1.05rem; margin-bottom: 35px; font-weight: 300; }

.custom-card {
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, var(--accent-orange), var(--accent-blue), var(--accent-orange));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 20px 50px rgba(217, 125, 38, 0.12);
}
.custom-card:hover {
    box-shadow: 0 28px 60px rgba(217, 125, 38, 0.2);
    transform: translateY(-8px);
}
.custom-card h3 { color: var(--text-navy); font-size: 2.6rem; font-weight: 900; margin-bottom: 5px; }
.custom-card .card-sub { color: #888; font-size: 1.05rem; margin-bottom: 35px; font-weight: 300; }

.elite-badge {
    position: absolute; top: -14px; right: 40px;
    background: linear-gradient(135deg, var(--accent-orange), #e89830);
    color: white;
    padding: 7px 22px; border-radius: 20px; font-weight: 800; font-size: 0.82rem;
    box-shadow: 0 4px 15px rgba(217, 125, 38, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(217, 125, 38, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(217, 125, 38, 0.5); }
}

.comp-card ul { list-style: none; }
.comp-card li {
    display: flex; align-items: flex-start; gap: 14px;
    margin-bottom: 22px; font-size: 1.1rem; line-height: 1.5; color: #444;
}
.comp-card li strong { font-weight: 800; color: var(--text-navy); display: inline; margin-right: 5px; }
.comp-card li div { display: block; }

.cross { display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.check { display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }

/* ========== STACKING CARDS ========== */
.services-section { padding: 100px 5% 140px; position: relative; z-index: 1; }
.cards-container { display: flex; flex-direction: column; align-items: center; gap: 35px; }
.stack-card {
    width: 100%; max-width: 1000px; min-height: 48vh; border-radius: 30px;
    position: sticky; top: 15vh; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 -15px 50px rgba(0,0,0,0.04); padding: 45px;
    background: white; border: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow 0.4s ease;
    contain: content;
}
.stack-card:hover { box-shadow: 0 -15px 70px rgba(0,0,0,0.08); }
#card-1 { border-top: 5px solid var(--text-navy); }
#card-2 { border-top: 5px solid var(--accent-orange); top: 18vh; }
#card-3 { border-top: 5px solid var(--accent-blue); top: 21vh; }

.card-inner { max-width: 750px; position: relative; text-align: center; pointer-events: none; }
.service-number {
    font-size: clamp(5rem, 14vw, 9rem); font-weight: 900; opacity: 0.06;
    position: absolute; top: -55px; left: 50%; transform: translateX(-50%); letter-spacing: -5px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-blue));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.card-inner h3 {
    font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 25px; color: var(--text-navy);
    position: relative; z-index: 1; font-weight: 900;
}
.card-inner p {
    font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.6; font-weight: 400;
    color: #555; position: relative; z-index: 1;
}

/* ========== IDEAS SECTION ========== */
.ideas-section {
    padding: 130px 5%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.ideas-section .info-container {
    max-width: 1300px;
}

.ideas-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 400;
    margin-top: 25px;
    max-width: 700px;
    line-height: 1.6;
}

.ideas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 70px;
}

a.idea-card {
    display: block;
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.03);
    transition: transform 0.5s var(--ease-bounce), box-shadow 0.5s ease;
    cursor: pointer;
    contain: content;
    text-decoration: none;
    color: inherit;
}

a.idea-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 24px;
    z-index: 0;
}

a.idea-card:hover::before {
    opacity: 1;
}

a.idea-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}
a.idea-card:hover .idea-cta {
    color: var(--accent-orange);
    transform: translateX(5px);
}

/* Gradient overlays per category */
.idea-card.turismo::before { background: linear-gradient(135deg, rgba(28,163,236,0.04), rgba(34,193,195,0.06)); }
.idea-card.ecommerce::before { background: linear-gradient(135deg, rgba(217,125,38,0.04), rgba(255,154,0,0.06)); }
.idea-card.marketplace::before { background: linear-gradient(135deg, rgba(46,213,115,0.04), rgba(0,184,148,0.06)); }
.idea-card.erp::before { background: linear-gradient(135deg, rgba(108,92,231,0.04), rgba(162,155,254,0.06)); }
.idea-card.restaurant::before { background: linear-gradient(135deg, rgba(255,71,87,0.04), rgba(255,107,107,0.06)); }
.idea-card.legal::before { background: linear-gradient(135deg, rgba(45,52,54,0.04), rgba(99,110,114,0.06)); }
.idea-card.clinic::before { background: linear-gradient(135deg, rgba(0,206,209,0.04), rgba(72,219,251,0.06)); }
.idea-card.gym::before { background: linear-gradient(135deg, rgba(255,165,2,0.04), rgba(255,99,72,0.06)); }

.idea-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.turismo .idea-icon { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.ecommerce .idea-icon { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.marketplace .idea-icon { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.erp .idea-icon { background: linear-gradient(135deg, #ede7f6, #d1c4e9); }
.restaurant .idea-icon { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.legal .idea-icon { background: linear-gradient(135deg, #eceff1, #cfd8dc); }
.clinic .idea-icon { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }
.gym .idea-icon { background: linear-gradient(135deg, #fff8e1, #ffecb3); }

.idea-card h4 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.idea-card p {
    font-size: 0.98rem;
    color: #666;
    line-height: 1.55;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.idea-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.idea-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.turismo .idea-tag { background: #e3f2fd; color: #1565c0; }
.ecommerce .idea-tag { background: #fff3e0; color: #e65100; }
.marketplace .idea-tag { background: #e8f5e9; color: #2e7d32; }
.erp .idea-tag { background: #ede7f6; color: #4527a0; }
.restaurant .idea-tag { background: #fce4ec; color: #c62828; }
.legal .idea-tag { background: #eceff1; color: #37474f; }
.clinic .idea-tag { background: #e0f7fa; color: #00838f; }
.gym .idea-tag { background: #fff8e1; color: #e65100; }

.idea-cta {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 800;
    color: #999;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* ========== CONTACT CTA ========== */
.contact-section { padding: 50px 5% 130px; position: relative; z-index: 1; }
.contact-card {
    background: white; border-radius: 40px; padding: 90px 5%;
    max-width: 1100px; margin: 0 auto;
    box-shadow: 0 35px 80px rgba(0,0,0,0.06);
    border-top: 12px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, var(--text-navy), var(--accent-orange));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative; overflow: hidden;
}
.contact-card::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(217, 125, 38, 0.05), transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.contact-card .massive-text {
    background: linear-gradient(135deg, var(--text-navy), #1a3a5c);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.premium-form {
    display: flex; flex-direction: column; gap: 35px;
    margin-top: 50px; align-items: center;
}

/* WhatsApp CTA Button */
.whatsapp-cta {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    padding: 22px 55px !important;
    font-size: 1.25rem !important;
    gap: 0;
}
.whatsapp-cta:hover {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.4) !important;
}

/* ========== FOOTER ========== */
footer {
    text-align: center; padding: 50px;
    color: #5c6b7a; font-weight: bold;
    position: relative; z-index: 10;
    background: linear-gradient(to top, rgba(247, 251, 255, 1), transparent);
    font-size: 0.95rem;
}

/* ========== FLOATING WHATSAPP BUTTON ========== */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px;
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s ease;
    animation: whatsappPulse 2s ease-in-out infinite;
    opacity: 0; transform: scale(0);
    text-decoration: none;
}
.whatsapp-float.is-visible {
    opacity: 1; transform: scale(1);
}
.whatsapp-float:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1; transform: translateX(-110%) translateY(-50%) scale(1);
}
.whatsapp-tooltip {
    position: absolute; right: 100%; top: 50%;
    transform: translateX(-90%) translateY(-50%) scale(0.8);
    background: #051622; color: white;
    padding: 7px 14px; border-radius: 8px;
    font-size: 0.82rem; font-weight: 700; white-space: nowrap;
    opacity: 0; transition: all 0.3s ease; pointer-events: none; margin-right: 10px;
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute; right: -6px; top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent; border-left-color: #051622;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 5px 30px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.08); }
}

/* ========== SMOOTH SCROLL SELECTION ========== */
::selection {
    background: var(--accent-orange);
    color: white;
}

/* ========== PRELOADER (inline critical + extended) ========== */
.preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #051622; z-index: 99999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    overflow: hidden;
}
.preloader-content {
    display: flex; flex-direction: column; align-items: center; gap: 30px;
}
.preloader-logo-wrap {
    position: relative; display: flex; align-items: center; justify-content: center;
}
.preloader-logo {
    width: 180px; height: auto; position: relative; z-index: 3;
    filter: brightness(0) invert(1);
    opacity: 0; transform: scale(0.7);
}
.preloader-ring {
    position: absolute; border-radius: 50%; border: 2px solid transparent;
}
.preloader-ring-1 {
    width: 250px; height: 250px;
    border-top-color: #d97d26; border-bottom-color: #d97d26;
    opacity: 0;
}
.preloader-ring-2 {
    width: 300px; height: 300px;
    border-left-color: #1ca3ec; border-right-color: #1ca3ec;
    opacity: 0;
}
.preloader-glow {
    position: absolute; width: 160px; height: 160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 125, 38, 0.35), transparent 70%);
    opacity: 0; z-index: 1;
}
.preloader-progress {
    width: 180px; height: 2px;
    background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden;
}
.preloader-progress-bar {
    width: 0%; height: 100%; border-radius: 2px;
    background: linear-gradient(90deg, #d97d26, #1ca3ec);
}
.preloader-text {
    color: rgba(255,255,255,0.3);
    font-family: 'Outfit', sans-serif; font-size: 0.75rem; letter-spacing: 4px;
    text-transform: uppercase; opacity: 0;
}
.page-hidden { opacity: 0; }

/* ========== RESPONSIVE: LARGE TABLET / SMALL DESKTOP ========== */
@media (max-width: 1200px) {
    .info-text-block { columns: 1; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-step:nth-child(even) { margin-top: 0; }
    .ideas-grid { grid-template-columns: repeat(2, 1fr); }
    .comp-card { min-width: 340px; max-width: 520px; padding: 45px 35px; }
}

/* ========== RESPONSIVE: TABLET ========== */
@media (max-width: 1024px) {
    .nav-links, .btn-nav { display: none; }
    .hamburger { display: flex; }
    .nav-logo { height: 60px; }
    .tech-grid { grid-template-columns: 1fr; }
    .ideas-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .comp-card { min-width: 300px; }
    .comp-card h3 { font-size: 2.2rem; }
}

/* ========== RESPONSIVE: SMALL TABLET ========== */
@media (max-width: 900px) {
    .comparison-container { flex-direction: column; align-items: center; gap: 35px; }
    .comp-card { min-width: auto; max-width: 600px; width: 100%; padding: 45px 35px; }
    .custom-card { margin-top: 10px; }
    .elite-badge { right: 30px; top: -14px; transform: none; left: auto; }
}

/* ========== RESPONSIVE: MOBILE ========== */
@media (max-width: 768px) {
    .nav-links, .btn-nav { display: none; }
    .hamburger { display: flex; }
    .nav-logo { height: 55px; }

    .hero { padding: 120px 5% 50px; min-height: auto; }
    .country-tag { font-size: 0.85rem; padding: 8px 16px; margin-bottom: 22px; letter-spacing: 1px; }
    .hero-title { font-size: clamp(2.8rem, 11vw, 3.8rem); letter-spacing: -1px; }
    .hero-sub { margin: 25px 0; font-size: 1.05rem; }

    .btn-group { flex-direction: column; width: 100%; gap: 10px; }
    .btn { width: 100%; text-align: center; padding: 16px 20px; font-size: 0.95rem; }

    .info-section { padding: 70px 5%; }
    .massive-text { font-size: clamp(2.2rem, 8vw, 2.8rem); letter-spacing: -1px; }
    .info-text-block { margin-top: 30px; }
    .info-text-block p { font-size: 1.05rem; line-height: 1.6; }

    .process-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 35px; }
    .process-step { padding: 25px 20px; border-radius: 18px; }

    .comparison-section { padding: 50px 5%; }
    .comparison-container { flex-direction: column; align-items: center; gap: 30px; }
    .comp-card { min-width: auto; width: 100%; padding: 35px 22px; border-radius: 18px; }
    .comp-card h3 { font-size: 1.9rem; }
    .comp-card li { font-size: 1rem; gap: 10px; }
    .custom-card { margin-top: 10px; }
    .elite-badge { right: auto; left: 50%; top: -14px; transform: translateX(-50%); width: max-content; font-size: 0.72rem; }

    .services-section { padding: 50px 5% 70px; }
    .stack-card { padding: 28px 18px; min-height: 42vh; border-radius: 22px; }
    .service-number { font-size: 4.5rem; top: -25px; }
    .card-inner h3 { font-size: 1.8rem; }
    .card-inner p { font-size: 0.95rem; }

    .ideas-section { padding: 70px 5%; }
    .ideas-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
    .idea-card { padding: 30px 22px; }
    .ideas-subtitle { font-size: 1.1rem; }

    .contact-section { padding: 40px 5%; }
    .contact-card { padding: 45px 20px; border-radius: 24px; }
    .premium-form { margin-top: 30px; gap: 25px; }

    .whatsapp-cta {
        padding: 18px 28px !important;
        font-size: 1.05rem !important;
        width: 100%;
    }

    .whatsapp-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
}

/* ========== RESPONSIVE: SMALL MOBILE ========== */
@media (max-width: 480px) {
    .hero-title { font-size: clamp(2.3rem, 10vw, 3rem); }
    .country-tag { font-size: 0.75rem; padding: 7px 14px; }
    .massive-text { font-size: clamp(1.9rem, 7vw, 2.3rem); }
    .comp-card h3 { font-size: 1.6rem; }
    .comp-card { padding: 30px 18px; }
    .idea-card { padding: 25px 18px; }
    .idea-icon { width: 50px; height: 50px; }
    .idea-icon svg { width: 24px; height: 24px; }
    .idea-card h4 { font-size: 1.2rem; }
    .idea-card p { font-size: 0.9rem; }
    .tech-box { padding: 30px 22px; }
    .tech-box h3 { font-size: 1.6rem; }
    .section-label { font-size: 0.85rem; letter-spacing: 2px; }
    .stack-card { min-height: 35vh; }
}

/* ========== RESPONSIVE: ULTRA SMALL / 360px ========== */
@media (max-width: 360px) {
    .hero { padding: 100px 4% 40px; }
    .hero-title { font-size: 2rem; }
    .hero-sub { font-size: 0.95rem; }
    .massive-text { font-size: 1.7rem; }
    .comp-card h3 { font-size: 1.4rem; }
    .comp-card li { font-size: 0.92rem; }
    .contact-card { padding: 35px 15px; }
    .idea-card { padding: 22px 15px; }
    .stack-card { padding: 22px 14px; min-height: 30vh; }
    .card-inner h3 { font-size: 1.5rem; }
    .whatsapp-float { width: 46px; height: 46px; bottom: 14px; right: 14px; }
}

