/* ==============================================================================
   DROM — PRODUCT & SAAS STUDIO (2026 ULTRA MODERN DESIGN SYSTEM)
   Aesthetic: Cinematic Dark Hero · Glassmorphism · Bento Grid · Premium B2B SaaS
   Standard: Linear · Stripe · Vercel · Liveblocks level
   Guaranteed 100% Fluid & Responsive — Desktop 1440px / Tablet 1024px / Mobile 375px
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

/* ==============================================================================
   DESIGN TOKENS — ROOT VARIABLES
   ============================================================================== */
:root {
    /* ---- LIGHT SURFACE SYSTEM ---- */
    --bg-white:        #FFFFFF;
    --bg-surface:      #F7F8FC;
    --bg-subtle:       #EEF0F8;
    --bg-card:         #FFFFFF;
    --bg-border:       rgba(0,0,0,0.06);

    /* ---- DARK SYSTEM (Hero & Dark Sections) ---- */
    --dark-base:       #080A14;
    --dark-900:        #0D0F1E;
    --dark-800:        #111428;
    --dark-700:        #181B30;
    --dark-600:        #1E2238;
    --dark-surface:    rgba(255,255,255,0.04);
    --dark-border:     rgba(255,255,255,0.08);
    --dark-border-lg:  rgba(255,255,255,0.13);

    /* ---- DROM BRAND PALETTE ---- */
    --brand:           #5046E4;
    --brand-mid:       #6B5FF0;
    --brand-light:     #8B82F5;
    --brand-glow:      rgba(80, 70, 228, 0.35);
    --brand-glow-sm:   rgba(80, 70, 228, 0.18);
    --brand-bg:        rgba(80, 70, 228, 0.08);
    --brand-legacy:    #403791;

    /* ---- TEAL ACCENT ---- */
    --teal:            #0ABFA3;
    --teal-mid:        #14D4B6;
    --teal-light:      rgba(10, 191, 163, 0.15);
    --teal-glow:       rgba(10, 191, 163, 0.3);

    /* ---- GRADIENT DEFINITIONS ---- */
    --grad-brand:      linear-gradient(135deg, #5046E4 0%, #7C3AED 100%);
    --grad-brand-teal: linear-gradient(135deg, #5046E4 0%, #0ABFA3 100%);
    --grad-teal:       linear-gradient(135deg, #0ABFA3 0%, #0891B2 100%);
    --grad-hero:       linear-gradient(160deg, #080A14 0%, #0D0F20 40%, #0A1228 100%);
    --grad-text:       linear-gradient(135deg, #A78BFA 0%, #60A5FA 40%, #34D399 100%);
    --grad-surface:    linear-gradient(180deg, #F7F8FC 0%, #FFFFFF 100%);

    /* ---- TEXT SYSTEM ---- */
    --text-primary:    #0F1020;
    --text-secondary:  #4B5263;
    --text-muted:      #8B92A5;
    --text-light:      #B8BDCA;
    --text-white:      #FFFFFF;

    /* ---- STATUS COLORS ---- */
    --green:           #10B981;
    --green-light:     rgba(16,185,129,0.12);
    --amber:           #F59E0B;
    --amber-light:     rgba(245,158,11,0.12);
    --red:             #EF4444;
    --red-light:       rgba(239,68,68,0.12);
    --blue:            #3B82F6;
    --blue-light:      rgba(59,130,246,0.12);

    /* ---- PRODUCT ACCENTS ---- */
    --prod-harvix:     #22C55E;
    --prod-riego:      #06B6D4;
    --prod-cotiza:     #10B981;
    --prod-guard:      #8B5CF6;
    --prod-maq:        #F59E0B;
    --prod-civil:      #5046E4;
    --prod-bodega:     #0284C7;

    /* ---- TYPOGRAPHY ---- */
    --font-display:   'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* ---- RADIUS ---- */
    --r-xs:   6px;
    --r-sm:   10px;
    --r-md:   14px;
    --r-lg:   20px;
    --r-xl:   28px;
    --r-2xl:  36px;
    --r-full: 9999px;

    /* ---- SHADOWS ---- */
    --shadow-xs:    0 1px 3px rgba(0,0,0,0.04);
    --shadow-sm:    0 2px 10px rgba(0,0,0,0.06);
    --shadow-md:    0 8px 30px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.03);
    --shadow-lg:    0 20px 60px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-brand: 0 8px 30px rgba(80,70,228,0.25), 0 2px 6px rgba(80,70,228,0.12);
    --shadow-teal:  0 8px 25px rgba(10,191,163,0.25);
    --shadow-glass: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.08);

    /* ---- TRANSITIONS ---- */
    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in:    cubic-bezier(0.4, 0, 1, 1);
    --ease-spring:cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --t-fast:     0.15s ease;
    --t-smooth:   0.35s var(--ease-out);
    --t-spring:   0.5s var(--ease-spring);
}

/* ==============================================================================
   KEYFRAME ANIMATIONS
   ============================================================================== */
@keyframes fadeUp {
    from { opacity:0; transform:translateY(28px); }
    to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn {
    from { opacity:0; }
    to   { opacity:1; }
}
@keyframes slideInLeft {
    from { opacity:0; transform:translateX(-24px); }
    to   { opacity:1; transform:translateX(0); }
}
@keyframes slideInRight {
    from { opacity:0; transform:translateX(24px); }
    to   { opacity:1; transform:translateX(0); }
}
@keyframes scaleIn {
    from { opacity:0; transform:scale(0.92); }
    to   { opacity:1; transform:scale(1); }
}
@keyframes float {
    0%,100% { transform:translateY(0px) rotate(0deg); }
    33%      { transform:translateY(-18px) rotate(1deg); }
    66%      { transform:translateY(-8px) rotate(-1deg); }
}
@keyframes float2 {
    0%,100% { transform:translateY(0px) rotate(0deg); }
    50%      { transform:translateY(-22px) rotate(-1.5deg); }
}
@keyframes float3 {
    0%,100% { transform:translateY(0px); }
    40%      { transform:translateY(-12px); }
    70%      { transform:translateY(-20px); }
}
@keyframes orbPulse {
    0%,100% { opacity:0.35; transform:scale(1); }
    50%      { opacity:0.6;  transform:scale(1.08); }
}
@keyframes orbPulse2 {
    0%,100% { opacity:0.2; transform:scale(1); }
    50%      { opacity:0.45; transform:scale(1.12); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes ping {
    75%,100% { transform:scale(2); opacity:0; }
}
@keyframes spin {
    from { transform:rotate(0deg); }
    to   { transform:rotate(360deg); }
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes lineGrow {
    from { height:0; }
    to   { height:100%; }
}
@keyframes borderGlow {
    0%,100% { box-shadow: 0 0 20px rgba(80,70,228,0.2), 0 0 0 1px rgba(80,70,228,0.3); }
    50%      { box-shadow: 0 0 35px rgba(80,70,228,0.4), 0 0 0 1px rgba(80,70,228,0.5); }
}
@keyframes countUp {
    from { opacity:0; transform:translateY(10px); }
    to   { opacity:1; transform:translateY(0); }
}
@keyframes slideInBadge {
    from { opacity:0; transform:translateX(-12px); }
    to   { opacity:1; transform:translateX(0); }
}
@keyframes meshMove {
    0%   { background-position: 0% 0%; }
    25%  { background-position: 100% 0%; }
    50%  { background-position: 100% 100%; }
    75%  { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}
@keyframes heroReveal {
    from { opacity:0; transform:translateY(20px) scale(0.98); }
    to   { opacity:1; transform:translateY(0) scale(1); }
}
@keyframes dashboardReveal {
    from { opacity:0; transform:translateX(30px) rotateY(-5deg); }
    to   { opacity:1; transform:translateX(0) rotateY(0deg); }
}

/* ==============================================================================
   REVEAL ON SCROLL — BASE CLASSES
   ============================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-left.visible { opacity:1; transform:translateX(0); }
.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-right.visible { opacity:1; transform:translateX(0); }
.reveal-scale {
    opacity: 0;
    transform: scale(0.93);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-scale.visible { opacity:1; transform:scale(1); }
.reveal-delay-1 { transition-delay: 0.1s !important; }
.reveal-delay-2 { transition-delay: 0.2s !important; }
.reveal-delay-3 { transition-delay: 0.3s !important; }
.reveal-delay-4 { transition-delay: 0.4s !important; }
.reveal-delay-5 { transition-delay: 0.5s !important; }
.reveal-delay-6 { transition-delay: 0.6s !important; }

/* ==============================================================================
   RESET & BASE
   ============================================================================== */
*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}
body {
    background: var(--bg-white);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    word-break: break-word;
}
p { color: var(--text-secondary); word-break: break-word; }
a { color: inherit; text-decoration: none; transition: var(--t-fast); }
ul { list-style: none; }
img { max-width:100%; height:auto; display:block; }

/* ==============================================================================
   TYPOGRAPHY UTILITIES
   ============================================================================== */
.font-display  { font-family: var(--font-display); }
.font-mono     { font-family: 'SF Mono', 'Fira Code', monospace; }
.text-brand    { color: var(--brand); }
.text-teal     { color: var(--teal); }
.text-muted    { color: var(--text-muted); }
.text-white    { color: var(--text-white) !important; }
.text-gradient {
    background: var(--grad-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}
.mr-1 { margin-right: 4px; }

/* Eyebrow Badge */
.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: var(--r-full);
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--brand-bg);
    color: var(--brand);
    border: 1px solid rgba(80,70,228,0.2);
    margin-bottom: 14px;
    width: fit-content;
}
.eyebrow-badge-dark {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.15);
}

/* Ping Dot */
.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--teal);
    display: inline-block;
    flex-shrink: 0;
    position: relative;
}
.badge-dot::after {
    content:'';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--teal);
    opacity: 0.4;
    animation: ping 1.8s cubic-bezier(0,0,0.2,1) infinite;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}
.section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    letter-spacing: -0.04em;
    margin-bottom: 14px;
    color: var(--text-primary);
}
.section-title-dark {
    color: var(--text-white);
}
.section-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-secondary);
}
.section-subtitle-dark {
    color: rgba(255,255,255,0.6);
}

/* Accent Line */
.section-accent-line {
    width: 48px; height: 3px;
    background: var(--grad-brand-teal);
    border-radius: var(--r-full);
    margin: 0 auto 20px;
}

/* ==============================================================================
   BUTTONS
   ============================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--r-md);
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--t-smooth);
    border: 1px solid transparent;
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
    touch-action: manipulation;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.12), transparent);
    opacity: 0;
    transition: opacity var(--t-fast);
    border-radius: inherit;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
    background: var(--grad-brand);
    color: var(--text-white) !important;
    box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(80,70,228,0.38), 0 3px 8px rgba(80,70,228,0.15);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--bg-border);
    box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: rgba(80,70,228,0.25);
    color: var(--brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-glass {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    color: var(--text-white) !important;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-glass:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-teal {
    background: var(--grad-teal);
    color: var(--text-white) !important;
    box-shadow: var(--shadow-teal);
}
.btn-teal:hover { transform:translateY(-2px); box-shadow: 0 12px 30px rgba(10,191,163,0.4); }

.btn-shimmer {
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-mid) 25%, #A78BFA 50%, var(--brand-mid) 75%, var(--brand) 100%);
    background-size: 200% auto;
    color: var(--text-white) !important;
    animation: shimmer 3s linear infinite;
    box-shadow: var(--shadow-brand);
}
.btn-shimmer:hover { transform:translateY(-2px); box-shadow: 0 12px 35px rgba(80,70,228,0.4); }

.btn-sm  { padding: 9px 18px; font-size: 0.875rem; border-radius: var(--r-sm); }
.btn-lg  { padding: 16px 32px; font-size: 1.0625rem; border-radius: var(--r-lg); }
.btn-xl  { padding: 18px 40px; font-size: 1.125rem; border-radius: var(--r-lg); }
.btn-full { width: 100%; }

/* ==============================================================================
   NAVBAR
   ============================================================================== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
    background: rgba(8, 10, 20, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all var(--t-smooth);
}
.navbar.scrolled {
    height: 62px;
    background: rgba(8,10,20,0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.navbar.light-nav {
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid var(--bg-border);
}
.navbar.light-nav.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-sm);
}
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-logo-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--grad-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    box-shadow: var(--shadow-brand);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.brand-logo-icon::after {
    content:'';
    position:absolute;
    inset:0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
}
.brand-logo-text { display:flex; flex-direction:column; }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-white);
    line-height: 1;
}
.brand-tagline {
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 1px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav-item { position: relative; }
.nav-link {
    padding: 8px 12px;
    border-radius: var(--r-sm);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    transition: var(--t-fast);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    color: var(--text-white);
    background: rgba(255,255,255,0.08);
}
.nav-link.active { color: var(--teal); }

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 310px;
    background: rgba(13,15,30,0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r-lg);
    padding: 10px;
    box-shadow: var(--shadow-glass);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.97);
    transform-origin: top left;
    transition: all 0.22s var(--ease-out);
    z-index: 100;
}
.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.dropdown-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    transition: var(--t-fast);
    cursor: pointer;
}
.dropdown-link-item:hover { background: rgba(255,255,255,0.07); }
.dropdown-icon-box {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}
.dropdown-item-title { font-size:0.875rem; font-weight:700; color:#FFF; display:block; }
.dropdown-item-desc  { font-size:0.75rem; color:rgba(255,255,255,0.45); }

.nav-actions { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.mobile-menu-toggle {
    display: none;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 12px;
    border-radius: var(--r-sm);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
}

/* ==============================================================================
   HERO SECTION — DARK CINEMATIC
   ============================================================================== */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: var(--dark-base);
    overflow: hidden;
    padding: clamp(60px, 8vw, 120px) 0 clamp(60px, 8vw, 110px);
}

/* Mesh gradient background */
.hero-mesh-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(80,70,228,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(10,191,163,0.10) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 90% 10%, rgba(124,58,237,0.12) 0%, transparent 60%),
        var(--grad-hero);
    background-size: 200% 200%;
    animation: meshMove 18s ease infinite;
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(80,70,228,0.35), transparent 70%);
    top: -100px; right: 10%;
    animation: orbPulse 8s ease-in-out infinite;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(10,191,163,0.25), transparent 70%);
    bottom: -80px; left: 5%;
    animation: orbPulse2 10s ease-in-out infinite;
}
.hero-orb-3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 70%);
    top: 30%; left: 40%;
    animation: orbPulse 12s ease-in-out infinite 3s;
}

/* Noise texture overlay */
.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

/* Grid lines subtle */
.hero-grid-lines {
    position: absolute;
    inset: 0;
    z-index: 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: 72px 72px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    animation: heroReveal 0.9s var(--ease-out) both;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--r-full);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.75);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: fit-content;
    animation: slideInBadge 0.6s var(--ease-out) 0.2s both;
}

.hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.045em;
    color: var(--text-white);
}
.hero-title-line2 {
    display: block;
    background: var(--grad-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 5s linear infinite;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    max-width: 480px;
}

.hero-feature-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.hero-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}
.hero-feature-tag i { color: var(--teal); }

.hero-cta-box { display:flex; flex-direction:column; gap:14px; }
.hero-buttons-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.hero-microcopy {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    gap: 7px;
}
.hero-microcopy i { color: var(--teal); }

/* Hero Dashboard Mockup */
.hero-dashboard-wrap {
    position: relative;
    animation: dashboardReveal 1s var(--ease-out) 0.25s both;
}
.hero-dashboard-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; height: 90%;
    background: radial-gradient(circle, rgba(80,70,228,0.25) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    animation: orbPulse 6s ease-in-out infinite;
}
.saas-dashboard-mockup {
    position: relative;
    z-index: 1;
    background: rgba(13,15,28,0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-glass), 0 0 0 1px rgba(80,70,228,0.2);
    overflow: hidden;
    backdrop-filter: blur(20px);
}
.dashboard-window-header {
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.window-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.window-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: block;
}
.window-dot.red    { background: #FF5F57; }
.window-dot.yellow { background: #FEBC2E; }
.window-dot.green  { background: #28C840; }
.dashboard-product-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    flex:1;
    overflow: hidden;
    min-width: 0;
}
.dash-tab-btn {
    padding: 4px 10px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--t-fast);
    white-space: nowrap;
    font-family: var(--font-display);
}
.dash-tab-btn.active, .dash-tab-btn:hover {
    background: rgba(80,70,228,0.25);
    color: rgba(255,255,255,0.9);
}
.dashboard-body-content { padding: 16px; }
.dash-kpis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.dash-kpi-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.kpi-title { font-size:0.65rem; color:rgba(255,255,255,0.4); font-weight:600; text-transform:uppercase; letter-spacing:0.05em; }
.kpi-value { font-size:1rem; font-weight:800; color:#FFF; font-family: var(--font-display); letter-spacing:-0.02em; }
.kpi-trend { font-size:0.65rem; font-weight:700; }
.kpi-trend.up { color: var(--teal); }
.kpi-trend.down { color: #F87171; }

.dash-table-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    overflow: hidden;
}
.table-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
}
.mock-table { width:100%; border-collapse:collapse; }
.mock-table thead tr { background: rgba(255,255,255,0.03); }
.mock-table th { padding:8px 14px; font-size:0.65rem; font-weight:700; color:rgba(255,255,255,0.35); text-transform:uppercase; letter-spacing:0.06em; text-align:left; }
.mock-table td { padding:8px 14px; font-size:0.75rem; color:rgba(255,255,255,0.7); border-top:1px solid rgba(255,255,255,0.04); }
.mock-table tr:hover td { background:rgba(255,255,255,0.03); }

.status-chip {
    display:inline-flex; align-items:center; gap:5px;
    padding: 3px 9px; border-radius:var(--r-full);
    font-size:0.65rem; font-weight:700;
}
.status-chip.success { background:rgba(16,185,129,0.15); color:#34D399; }
.status-chip.brand   { background:rgba(80,70,228,0.2); color:#A78BFA; }
.status-chip.amber   { background:rgba(245,158,11,0.15); color:#FCD34D; }

/* Floating badges on hero */
.floating-badge-cloud {
    position:absolute;
    top: -16px; left: 16px;
    background: rgba(13,15,28,0.9);
    backdrop-filter:blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius:var(--r-full);
    padding: 7px 14px;
    font-size:0.7rem;
    font-weight:700;
    color:rgba(255,255,255,0.8);
    display:flex; align-items:center; gap:7px;
    z-index:2;
    animation: float 5s ease-in-out infinite;
}
.floating-badge-cloud i { color:var(--teal); }

.mobile-app-overlay {
    position:absolute;
    bottom: -20px; right: -20px;
    width: 130px;
    background: rgba(13,15,28,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    overflow:hidden;
    box-shadow: var(--shadow-glass);
    z-index:2;
    animation: float2 7s ease-in-out infinite;
}
.mobile-notch {
    width:40px; height:8px;
    background:rgba(255,255,255,0.08);
    border-radius:0 0 8px 8px;
    margin:0 auto 10px;
}
.mobile-content-preview { padding:0 12px 14px; }
.mobile-header-text { font-size:0.6rem; font-weight:800; color:#FFF; display:block; margin-bottom:8px; letter-spacing:-0.01em; }
.mobile-action-card {
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:8px;
    padding:8px 10px;
    margin-bottom:6px;
    display:flex; flex-direction:column; gap:3px;
}
.mobile-action-card span { font-size:0.58rem; color:rgba(255,255,255,0.7); }
.mobile-action-card span:first-child { font-weight:800; color:#FFF; }

/* ==============================================================================
   SOCIAL PROOF / METRICS
   ============================================================================== */
.social-proof-section {
    background: var(--dark-base);
    padding: 0 0 60px 0;
}
.social-proof-inner {
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 50px 0;
}
.social-proof-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.proof-headline {
    display: none;
}
.metrics-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    width:100%;
}
.metric-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 40px;
    border-right: 1px solid rgba(255,255,255,0.07);
    text-align: center;
}
.metric-stat-box:last-child { border-right:none; }
.stat-number {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    font-family: var(--font-display);
    letter-spacing: -0.04em;
    background: var(--grad-text);
    background-size:200%;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    animation: shimmer 5s linear infinite;
    display: block;
}
.stat-label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.45);
    font-weight: 600;
    white-space: nowrap;
}

/* ==============================================================================
   PRODUCTS SECTION — BENTO GRID
   ============================================================================== */
.products-section {
    padding: clamp(60px, 8vw, 110px) 0;
    background: var(--bg-white);
    position: relative;
}
.products-section::before {
    content:'';
    position:absolute;
    top:0; left:0; right:0;
    height:1px;
    background: linear-gradient(90deg, transparent, rgba(80,70,228,0.3), transparent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
/* Featured card: full width */
.product-showcase-card.featured-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.product-showcase-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--r-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    transition: all var(--t-smooth);
    position: relative;
    overflow: hidden;
}
.product-showcase-card::before {
    content:'';
    position:absolute;
    inset:0;
    border-radius:inherit;
    background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.015) 100%);
    pointer-events:none;
}
.product-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(80,70,228,0.15);
}

/* Product color accents per product */
.product-showcase-card[data-product="harvix"]:hover   { border-color:rgba(34,197,94,0.3); box-shadow: 0 20px 60px rgba(34,197,94,0.08); }
.product-showcase-card[data-product="riego"]:hover    { border-color:rgba(6,182,212,0.3);  box-shadow: 0 20px 60px rgba(6,182,212,0.08); }
.product-showcase-card[data-product="cotiza"]:hover   { border-color:rgba(16,185,129,0.3); box-shadow: 0 20px 60px rgba(16,185,129,0.08); }
.product-showcase-card[data-product="guard"]:hover    { border-color:rgba(139,92,246,0.3); box-shadow: 0 20px 60px rgba(139,92,246,0.08); }
.product-showcase-card[data-product="maq"]:hover      { border-color:rgba(245,158,11,0.3); box-shadow: 0 20px 60px rgba(245,158,11,0.08); }
.product-showcase-card[data-product="civil"]:hover    { border-color:rgba(80,70,228,0.3);  box-shadow: 0 20px 60px rgba(80,70,228,0.08); }
.product-showcase-card[data-product="bodega"]:hover   { border-color:rgba(2,132,199,0.3);  box-shadow: 0 20px 60px rgba(2,132,199,0.08); }
.product-showcase-card[data-product="campoflow"]:hover { border-color:rgba(234,179,8,0.3);  box-shadow: 0 20px 60px rgba(234,179,8,0.08); }

.product-meta-top {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    flex-wrap:wrap;
    margin-bottom:6px;
}
.product-category-tag {
    display:inline-flex; align-items:center;
    padding:4px 10px; border-radius:var(--r-full);
    font-size:0.7rem; font-weight:700;
    white-space:nowrap;
}
.product-name-title {
    font-size:clamp(1.5rem, 3vw, 2.1rem);
    font-weight:900;
    letter-spacing:-0.04em;
    margin-bottom:6px;
    color:var(--text-primary);
}
.product-headline {
    font-size:0.9375rem;
    color:var(--text-secondary);
    line-height:1.6;
    font-style:italic;
    margin-bottom:10px;
}
.product-features-pills {
    display:flex; flex-wrap:wrap; gap:7px; margin-bottom:14px;
}
.feature-pill {
    display:inline-flex; align-items:center; gap:5px;
    padding:4px 11px; border-radius:var(--r-full);
    background:var(--bg-surface);
    border:1px solid var(--bg-border);
    font-size:0.75rem; font-weight:600;
    color:var(--text-secondary);
    transition:var(--t-fast);
}
.feature-pill i { color:var(--teal); font-size:0.625rem; }
.feature-pill:hover { background:var(--brand-bg); color:var(--brand); border-color:rgba(80,70,228,0.2); }

.product-card-preview {
    background:var(--bg-surface);
    border:1px solid var(--bg-border);
    border-radius:var(--r-lg);
    padding:18px;
}

/* Live badge */
.live-badge {
    display:inline-flex; align-items:center; gap:5px;
    padding:3px 9px; border-radius:var(--r-full);
    background:rgba(16,185,129,0.1); border:1px solid rgba(16,185,129,0.2);
    font-size:0.65rem; font-weight:800;
    color:var(--green);
    letter-spacing:0.08em;
    text-transform:uppercase;
}
.live-badge .live-dot {
    width:5px; height:5px; border-radius:50%;
    background:var(--green);
    display:block;
    animation: ping 1.4s ease infinite;
}

/* ==============================================================================
   BEFORE / AFTER SECTION
   ============================================================================== */
.problems-section {
    padding: clamp(70px, 8vw, 120px) 0;
    background: var(--bg-surface);
    position:relative;
    overflow:hidden;
}
.problems-section::before {
    content:'';
    position:absolute;
    top:0; left:0; right:0; bottom:0;
    background:
        radial-gradient(ellipse 50% 60% at 10% 50%, rgba(80,70,228,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 90% 50%, rgba(10,191,163,0.04) 0%, transparent 70%);
    pointer-events:none;
}
.before-after-card {
    display:grid;
    grid-template-columns:1fr auto 1fr;
    gap:24px;
    align-items:stretch;
    position:relative;
}
.transition-col {
    border-radius:var(--r-xl);
    padding:32px;
}
.transition-col.before {
    background: linear-gradient(135deg, rgba(254,242,242,0.9), rgba(255,237,213,0.5));
    border:1px solid rgba(239,68,68,0.15);
}
.transition-col.after {
    background: linear-gradient(135deg, rgba(240,253,244,0.9), rgba(236,253,245,0.8));
    border:1px solid rgba(16,185,129,0.2);
}
.col-header { margin-bottom:22px; }
.col-badge {
    display:inline-block;
    padding:3px 10px; border-radius:var(--r-full);
    font-size:0.65rem; font-weight:800;
    letter-spacing:0.1em; text-transform:uppercase;
    margin-bottom:8px;
}
.col-badge.red   { background:rgba(239,68,68,0.12); color:#DC2626; }
.col-badge.green { background:rgba(16,185,129,0.12); color:#059669; }
.problem-list { display:flex; flex-direction:column; gap:12px; margin-bottom:20px; }
.problem-item {
    display:flex; align-items:center; gap:12px;
    padding:10px 14px;
    border-radius:var(--r-sm);
    font-size:0.9rem;
    font-weight:600;
}
.problem-item.bad  { background:rgba(254,202,202,0.4); color:#991B1B; }
.problem-item.bad i  { color:#EF4444; }
.problem-item.good { background:rgba(167,243,208,0.4); color:#065F46; }
.problem-item.good i { color:#10B981; }

.transition-arrow-center {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:12px;
}
.transition-arrow-center i {
    width:48px; height:48px;
    background:var(--grad-brand);
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-size:1.1rem;
    box-shadow:var(--shadow-brand);
    animation:float3 4s ease-in-out infinite;
}

/* ==============================================================================
   HOW IT WORKS — TIMELINE
   ============================================================================== */
.how-it-works-section {
    padding: clamp(70px, 8vw, 120px) 0;
    background:var(--bg-white);
}
.steps-timeline-grid {
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
    position:relative;
}
.steps-timeline-grid::before {
    content:'';
    position:absolute;
    top:36px;
    left:calc(12.5% + 20px);
    right:calc(12.5% + 20px);
    height:2px;
    background:linear-gradient(90deg, var(--brand) 0%, var(--teal) 100%);
    z-index:0;
    opacity:0.3;
}
.step-box-card {
    background:var(--bg-card);
    border:1px solid var(--bg-border);
    border-radius:var(--r-xl);
    padding:28px 22px;
    position:relative;
    z-index:1;
    text-align:center;
    transition:all var(--t-smooth);
}
.step-box-card:hover {
    transform:translateY(-4px);
    box-shadow:var(--shadow-md);
    border-color:rgba(80,70,228,0.2);
}
.step-num-pill {
    width:56px; height:56px;
    border-radius:50%;
    background:var(--grad-brand);
    color:#fff;
    font-family:var(--font-display);
    font-size:1.125rem;
    font-weight:900;
    display:flex; align-items:center; justify-content:center;
    margin:0 auto 18px;
    box-shadow:var(--shadow-brand);
    letter-spacing:-0.02em;
}
.step-title {
    font-size:1rem;
    font-weight:800;
    margin-bottom:10px;
    letter-spacing:-0.02em;
}
.step-desc {
    font-size:0.875rem;
    line-height:1.6;
    color:var(--text-secondary);
}

/* ==============================================================================
   BENEFITS — BENTO GRID
   ============================================================================== */
.benefits-section {
    padding: clamp(70px, 8vw, 120px) 0;
    background: var(--bg-surface);
    position:relative;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}
/* Bento sizing */
.benefit-card:nth-child(1) { grid-column: span 2; }
.benefit-card:nth-child(5) { grid-column: span 2; }

.benefit-card {
    background:var(--bg-card);
    border:1px solid var(--bg-border);
    border-radius:var(--r-xl);
    padding:28px;
    transition:all var(--t-smooth);
    position:relative;
    overflow:hidden;
}
.benefit-card::after {
    content:'';
    position:absolute;
    top:0; right:0;
    width:80px; height:80px;
    background:radial-gradient(circle at top right, rgba(80,70,228,0.06), transparent 70%);
    pointer-events:none;
}
.benefit-card:hover {
    transform:translateY(-3px);
    box-shadow:var(--shadow-md);
    border-color:rgba(80,70,228,0.15);
}
.benefit-icon {
    width:48px; height:48px;
    border-radius:14px;
    background:var(--grad-brand);
    display:flex; align-items:center; justify-content:center;
    color:#fff;
    font-size:1.2rem;
    margin-bottom:16px;
    box-shadow:var(--shadow-brand);
    transition:var(--t-smooth);
}
.benefit-card:hover .benefit-icon {
    transform:scale(1.1) rotate(-3deg);
}
.benefit-title {
    font-size:1.0625rem;
    font-weight:800;
    margin-bottom:8px;
    letter-spacing:-0.02em;
}
.benefit-desc {
    font-size:0.875rem;
    line-height:1.65;
    color:var(--text-secondary);
}

/* Architecture Box */
.architecture-box {
    margin-top:24px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
    background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius:var(--r-2xl);
    padding:40px;
    position:relative;
    overflow:hidden;
}
.architecture-box::before {
    content:'';
    position:absolute;
    top:-80px; right:-80px;
    width:300px; height:300px;
    background:radial-gradient(circle, rgba(80,70,228,0.2), transparent 70%);
    border-radius:50%;
    pointer-events:none;
}
.arch-info .eyebrow-badge {
    background:rgba(255,255,255,0.08);
    color:var(--teal);
    border-color:rgba(10,191,163,0.25);
}
.arch-info h3 { color:#fff; font-size:1.5rem; margin-bottom:10px; }
.arch-badges-list { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.arch-badge-item {
    padding:5px 12px;
    background:rgba(255,255,255,0.07);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:var(--r-full);
    font-size:0.75rem;
    font-weight:700;
    color:rgba(255,255,255,0.6);
}

.arch-diagram-flow { display:flex; flex-direction:column; gap:10px; }
.flow-node-row {
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:10px;
    padding:12px 16px;
    display:flex; justify-content:space-between; align-items:center;
    font-size:0.8125rem; font-weight:700; color:rgba(255,255,255,0.8);
}

/* ==============================================================================
   INDUSTRIES
   ============================================================================== */
.industries-section {
    padding: clamp(70px, 8vw, 120px) 0;
    background:var(--bg-white);
}
.industries-cards-grid {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
}
.industry-card-item {
    background:var(--bg-card);
    border:1px solid var(--bg-border);
    border-radius:var(--r-xl);
    padding:28px;
    transition:all var(--t-smooth);
    position:relative;
    overflow:hidden;
}
.industry-card-item::before {
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(135deg, transparent, rgba(80,70,228,0.025));
    opacity:0;
    transition:opacity var(--t-smooth);
}
.industry-card-item:hover {
    transform:translateY(-4px);
    box-shadow:var(--shadow-md);
    border-color:rgba(80,70,228,0.15);
}
.industry-card-item:hover::before { opacity:1; }
.industry-card-item .benefit-icon { margin-bottom:16px; }
.industry-card-item h3 { font-size:1.125rem; margin-bottom:8px; }
.industry-card-item p  { font-size:0.875rem; line-height:1.65; }

/* ==============================================================================
   UX/UI SECTION
   ============================================================================== */
.ux-ui-section {
    padding: clamp(70px, 8vw, 120px) 0;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-white) 100%);
}
.ux-ui-grid-2col {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:clamp(32px, 5vw, 70px);
    align-items:center;
}
.ux-services-left { display:flex; flex-direction:column; gap:24px; }
.ux-services-matrix {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}
.ux-service-item {
    padding:18px;
    background:var(--bg-card);
    border:1px solid var(--bg-border);
    border-radius:var(--r-lg);
    transition:all var(--t-smooth);
}
.ux-service-item:hover {
    transform:translateY(-2px);
    box-shadow:var(--shadow-sm);
    border-color:rgba(80,70,228,0.2);
}
.ux-service-title {
    font-size:0.9rem;
    font-weight:800;
    color:var(--text-primary);
    display:flex; align-items:center; gap:8px;
    margin-bottom:6px;
}
.ux-service-title i { color:var(--brand); }
.ux-service-desc { font-size:0.8125rem; line-height:1.6; color:var(--text-muted); }
.ux-visual-composition { display:flex; flex-direction:column; gap:12px; }
.ux-showcase-mosaic {
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-rows:180px 180px;
    gap:12px;
}
.mosaic-card { border-radius:var(--r-lg); overflow:hidden; position:relative; background:var(--bg-subtle); }
.mosaic-card.large-mosaic { grid-row:span 2; }
.mosaic-card img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s var(--ease-out); }
.mosaic-card:hover img { transform:scale(1.04); }
.ux-callout-tag {
    position:absolute;
    padding:5px 11px;
    background:rgba(8,10,20,0.85);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.12);
    border-radius:var(--r-full);
    font-size:0.65rem;
    font-weight:700;
    color:rgba(255,255,255,0.85);
    display:flex; align-items:center; gap:5px;
    z-index:2;
}
.tag-top-right    { top:10px; right:10px; }
.tag-bottom-left  { bottom:10px; left:10px; }

/* ==============================================================================
   PORTFOLIO
   ============================================================================== */
.portfolio-section {
    padding: clamp(70px, 8vw, 120px) 0;
    background:var(--bg-surface);
}
.portfolio-filter-tabs {
    display:flex; align-items:center; gap:8px;
    flex-wrap:wrap;
    margin-bottom:40px;
    background:var(--bg-card);
    border:1px solid var(--bg-border);
    border-radius:var(--r-full);
    padding:6px;
    width:fit-content;
    margin-left:auto; margin-right:auto;
}
.portfolio-filter-btn {
    padding:8px 18px;
    border:none; background:transparent;
    border-radius:var(--r-full);
    font-size:0.875rem; font-weight:700;
    color:var(--text-muted);
    cursor:pointer; transition:all var(--t-smooth);
    font-family:var(--font-display);
    white-space:nowrap;
}
.portfolio-filter-btn.active, .portfolio-filter-btn:hover {
    background:var(--grad-brand);
    color:#fff;
    box-shadow:var(--shadow-brand);
}
.portfolio-grid {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
}
.case-study-card {
    background:var(--bg-card);
    border:1px solid var(--bg-border);
    border-radius:var(--r-xl);
    overflow:hidden;
    transition:all var(--t-smooth);
    display:flex;
    flex-direction:column;
}
.case-study-card:hover {
    transform:translateY(-4px);
    box-shadow:var(--shadow-lg);
    border-color:rgba(80,70,228,0.15);
}
.case-study-card.hidden-portfolio { display:none; }
.case-card-img-wrap {
    position:relative;
    height:180px;
    overflow:hidden;
    background:var(--bg-subtle);
}
.case-card-img-wrap img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s var(--ease-out); }
.case-study-card:hover .case-card-img-wrap img { transform:scale(1.05); }
.case-category-badge {
    position:absolute;
    top:12px; left:12px;
    padding:4px 12px;
    background:rgba(8,10,20,0.85);
    backdrop-filter:blur(8px);
    border:1px solid rgba(255,255,255,0.12);
    border-radius:var(--r-full);
    font-size:0.65rem; font-weight:800;
    color:rgba(255,255,255,0.9);
    letter-spacing:0.06em;
}
.case-card-body { padding:20px; display:flex; flex-direction:column; gap:12px; flex-grow:1; }
.case-card-body > div:first-child { flex-grow:1; display:flex; flex-direction:column; gap:8px; }
.case-service-type { font-size:0.7rem; font-weight:700; color:var(--brand); text-transform:uppercase; letter-spacing:0.08em; }
.case-title { font-size:1.125rem; font-weight:800; letter-spacing:-0.02em; }
.case-problem-solution { display:flex; flex-direction:column; gap:6px; margin-top:8px; }
.case-problem-solution p { font-size:0.8125rem; line-height:1.55; color:var(--text-secondary); margin:0; }
.case-impact-box {
    padding:10px 14px;
    background:var(--bg-surface);
    border:1px solid var(--bg-border);
    border-radius:var(--r-sm);
    font-size:0.8125rem; color:var(--text-secondary);
    margin-top:auto;
}

/* ==============================================================================
   PRICING SECTION
   ============================================================================== */
.pricing-section {
    padding: clamp(70px, 8vw, 120px) 0;
    background: var(--bg-white);
    position:relative;
    overflow:hidden;
}
.pricing-section::before {
    content:'';
    position:absolute;
    top:0; left:50%; transform:translateX(-50%);
    width:800px; height:800px;
    background:radial-gradient(circle, rgba(80,70,228,0.04) 0%, transparent 70%);
    pointer-events:none;
}
.pricing-grid {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
    align-items:stretch;
}
.pricing-card {
    background:var(--bg-card);
    border:1px solid var(--bg-border);
    border-radius:var(--r-xl);
    padding:32px;
    display:flex; flex-direction:column;
    justify-content:space-between;
    gap:24px;
    position:relative;
    transition:all var(--t-smooth);
}
.pricing-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.featured-pricing {
    background: linear-gradient(135deg, var(--dark-900), var(--dark-800));
    border:1px solid rgba(80,70,228,0.4);
    box-shadow: 0 0 0 1px rgba(80,70,228,0.2), var(--shadow-brand), 0 30px 60px rgba(0,0,0,0.15);
    animation: borderGlow 3s ease-in-out infinite;
}
.featured-pricing:hover { transform:translateY(-6px); }
.pricing-badge-ribbon {
    position:absolute;
    top:-1px; right:24px;
    padding:5px 14px;
    background:var(--grad-brand-teal);
    border-radius:0 0 12px 12px;
    font-size:0.65rem; font-weight:800;
    color:#fff; letter-spacing:0.1em;
    text-transform:uppercase;
    box-shadow:var(--shadow-brand);
}
.pricing-name {
    font-size:1.5rem;
    font-weight:900;
    letter-spacing:-0.03em;
    margin-bottom:6px;
}
.featured-pricing .pricing-name { color:#fff; }
.pricing-target { font-size:0.875rem; color:var(--text-secondary); line-height:1.55; }
.featured-pricing .pricing-target { color:rgba(255,255,255,0.5); }
.pricing-price-box { padding:16px 0; border-top:1px solid var(--bg-border); }
.featured-pricing .pricing-price-box { border-color:rgba(255,255,255,0.1); }
.price-sub { font-size:0.75rem; color:var(--text-muted); font-weight:600; display:block; margin-bottom:4px; }
.featured-pricing .price-sub { color:rgba(255,255,255,0.4); }
.price-val {
    font-size:1.25rem; font-weight:900;
    font-family:var(--font-display);
    letter-spacing:-0.02em;
    color:var(--text-primary);
}
.featured-pricing .price-val { color:var(--teal); }
.pricing-features-list { display:flex; flex-direction:column; gap:12px; }
.pricing-feature-item {
    display:flex; align-items:center; gap:10px;
    font-size:0.875rem; color:var(--text-secondary);
}
.pricing-feature-item i { color:var(--green); font-size:0.875rem; flex-shrink:0; }
.featured-pricing .pricing-feature-item { color:rgba(255,255,255,0.7); }
.featured-pricing .pricing-feature-item i { color:var(--teal); }

/* ==============================================================================
   DEMO CTA SECTION
   ============================================================================== */
.demo-cta-section {
    padding: clamp(80px, 10vw, 140px) 0;
    background: var(--dark-base);
    position:relative;
    overflow:hidden;
}
.demo-cta-section::before {
    content:'';
    position:absolute;
    inset:0;
    background:
        radial-gradient(ellipse 70% 80% at 20% 50%, rgba(80,70,228,0.2) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 80% 50%, rgba(10,191,163,0.12) 0%, transparent 60%);
    pointer-events:none;
}
.demo-cta-container {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:clamp(40px, 6vw, 80px);
    align-items:center;
    position:relative;
    z-index:1;
}
.demo-title {
    font-size:clamp(2rem, 4.5vw, 3rem);
    font-weight:900;
    color:#fff;
    letter-spacing:-0.04em;
    margin-bottom:16px;
    line-height:1.1;
}
.demo-text { font-size:1.0625rem; color:rgba(255,255,255,0.55); line-height:1.7; margin-bottom:20px; }
.demo-form-card {
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,0.12);
    border-radius:var(--r-2xl);
    padding:36px;
    box-shadow:var(--shadow-glass);
}
.form-group { margin-bottom:16px; }
.form-label {
    display:block;
    font-size:0.8125rem; font-weight:700;
    color:rgba(255,255,255,0.7);
    margin-bottom:7px;
    font-family:var(--font-display);
}
.form-input, .form-select {
    width:100%;
    padding:12px 16px;
    background:rgba(255,255,255,0.07);
    border:1px solid rgba(255,255,255,0.12);
    border-radius:var(--r-md);
    font-size:0.9375rem;
    color:#fff;
    font-family:var(--font-body);
    transition:all var(--t-fast);
    outline:none;
}
.form-input::placeholder { color:rgba(255,255,255,0.25); }
.form-input:focus, .form-select:focus {
    border-color:var(--brand);
    background:rgba(80,70,228,0.1);
    box-shadow:0 0 0 3px rgba(80,70,228,0.15);
}
.form-select { cursor:pointer; }
.form-select option { background:var(--dark-800); color:#fff; }
.form-row-2col {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

/* Inline form (light version) */
.demo-form-card.light {
    background:var(--bg-card);
    border:1px solid var(--bg-border);
    box-shadow:var(--shadow-lg);
}
.demo-form-card.light .form-label { color:var(--text-secondary); }
.demo-form-card.light .form-input,
.demo-form-card.light .form-select {
    background:var(--bg-surface);
    border:1px solid var(--bg-border);
    color:var(--text-primary);
}
.demo-form-card.light .form-input::placeholder { color:var(--text-light); }
.demo-form-card.light .form-input:focus,
.demo-form-card.light .form-select:focus {
    background:var(--bg-white);
    border-color:var(--brand);
    box-shadow:0 0 0 3px var(--brand-bg);
}
.demo-form-card.light .form-select option { background:#fff; color:var(--text-primary); }

/* ==============================================================================
   CUSTOM DEV BANNER
   ============================================================================== */
.custom-dev-banner {
    display:grid;
    grid-template-columns:1fr auto;
    gap:40px;
    align-items:center;
    background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(80,70,228,0.04) 100%);
    border:1px solid rgba(80,70,228,0.15);
    border-radius:var(--r-2xl);
    padding:44px 48px;
    margin:60px 0 0;
    position:relative;
    overflow:hidden;
}
.custom-dev-banner::before {
    content:'';
    position:absolute;
    right:-40px; top:-40px;
    width:200px; height:200px;
    background:radial-gradient(circle, rgba(80,70,228,0.08), transparent 70%);
    border-radius:50%;
    pointer-events:none;
}
.custom-dev-banner h3 { font-size:clamp(1.5rem, 3vw, 2rem); color:var(--text-primary); margin-bottom:10px; }
.custom-dev-banner p  { color:var(--text-secondary); font-size:1rem; line-height:1.6; max-width:500px; }

/* ==============================================================================
   FOOTER
   ============================================================================== */
.site-footer {
    background: var(--dark-900);
    border-top:1px solid rgba(255,255,255,0.06);
    padding: clamp(60px, 8vw, 100px) 0 0;
    position:relative;
    overflow:hidden;
}
.site-footer::before {
    content:'';
    position:absolute;
    top:0; left:0; right:0;
    height:1px;
    background:linear-gradient(90deg, transparent, rgba(80,70,228,0.5) 50%, transparent);
}
.footer-grid {
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;
    gap:40px;
    margin-bottom:60px;
}
.footer-col h4 {
    font-size:0.875rem;
    font-weight:800;
    color:rgba(255,255,255,0.75);
    text-transform:uppercase;
    letter-spacing:0.08em;
    margin-bottom:16px;
    font-family:var(--font-display);
}
.footer-links { display:flex; flex-direction:column; gap:10px; }
.footer-links a {
    font-size:0.875rem;
    color:rgba(255,255,255,0.4);
    transition:var(--t-fast);
}
.footer-links a:hover { color:rgba(255,255,255,0.85); padding-left:4px; }
.footer-brand-desc {
    font-size:0.875rem;
    color:rgba(255,255,255,0.35);
    line-height:1.7;
    max-width:260px;
    margin-top:14px;
}
.footer-bottom-bar {
    border-top:1px solid rgba(255,255,255,0.06);
    padding:20px 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:0.8125rem;
    color:rgba(255,255,255,0.25);
    letter-spacing:0.04em;
    flex-wrap:wrap;
    gap:10px;
}

/* ==============================================================================
   DEMO MODAL
   ============================================================================== */
.demo-modal-backdrop {
    display:none;
    position:fixed; inset:0;
    background:rgba(8,10,20,0.85);
    backdrop-filter:blur(12px);
    z-index:2000;
    align-items:center;
    justify-content:center;
    padding:20px;
    animation:fadeIn 0.2s ease;
}
.demo-modal-backdrop.active { display:flex; }
.demo-modal-box {
    background: rgba(13,15,28,0.98);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:var(--r-2xl);
    padding:clamp(28px, 4vw, 44px);
    width:100%;
    max-width:560px;
    max-height:90vh;
    overflow-y:auto;
    position:relative;
    box-shadow:var(--shadow-glass);
    animation:scaleIn 0.3s var(--ease-out);
}
.modal-close-btn {
    position:absolute; top:16px; right:16px;
    width:34px; height:34px;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.1);
    color:rgba(255,255,255,0.6);
    font-size:1rem; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    transition:var(--t-fast);
}
.modal-close-btn:hover { background:rgba(239,68,68,0.2); color:#F87171; border-color:rgba(239,68,68,0.3); }

/* ==============================================================================
   WHATSAPP FAB
   ============================================================================== */
.whatsapp-float-btn {
    position:fixed;
    bottom:24px; right:24px;
    width:58px; height:58px;
    border-radius:50%;
    background:linear-gradient(135deg, #25D366, #128C7E);
    color:#fff;
    font-size:1.5rem;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 4px 20px rgba(37,211,102,0.4), 0 2px 8px rgba(0,0,0,0.2);
    z-index:900;
    transition:all var(--t-smooth);
    animation:float 4s ease-in-out infinite;
}
.whatsapp-float-btn:hover {
    transform:scale(1.12) translateY(-3px);
    box-shadow:0 8px 30px rgba(37,211,102,0.5);
    color:#fff;
}

/* ==============================================================================
   MOBILE MENU (SLIDE-DOWN)
   ============================================================================== */
.mobile-nav-menu {
    display:none;
    position:fixed;
    top:70px; left:0; right:0;
    background:rgba(8,10,20,0.98);
    backdrop-filter:blur(24px);
    border-bottom:1px solid rgba(255,255,255,0.08);
    padding:16px 24px 24px;
    z-index:999;
    flex-direction:column;
    gap:6px;
    max-height:calc(100vh - 70px);
    overflow-y:auto;
    animation:fadeUp 0.25s var(--ease-out);
}
.mobile-nav-menu.open { display:flex; }
.mobile-nav-link {
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 14px;
    border-radius:var(--r-sm);
    color:rgba(255,255,255,0.7);
    font-size:0.9375rem;
    font-weight:700;
    transition:var(--t-fast);
}
.mobile-nav-link:hover { background:rgba(255,255,255,0.06); color:#fff; }
.mobile-nav-divider { height:1px; background:rgba(255,255,255,0.07); margin:6px 0; }
.mobile-nav-cta { margin-top:10px; display:flex; flex-direction:column; gap:10px; }

/* ==============================================================================
   SCROLL PROGRESS BAR
   ============================================================================== */
.scroll-progress {
    position:fixed;
    top:0; left:0;
    height:2px;
    background: var(--grad-brand-teal);
    z-index:9999;
    width:0%;
    transition:width 0.1s linear;
    box-shadow: 0 0 10px rgba(80,70,228,0.5);
}

/* ==============================================================================
   TOAST NOTIFICATIONS
   ============================================================================== */
#toast-container {
    position:fixed;
    bottom:24px; left:50%;
    transform:translateX(-50%);
    z-index:9998;
    display:flex;
    flex-direction:column;
    gap:10px;
    pointer-events:none;
    min-width:320px;
    max-width:480px;
}
.toast-msg {
    background:rgba(13,15,28,0.96);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:12px;
    padding:14px 20px;
    font-size:0.875rem;
    font-weight:600;
    color:#fff;
    display:flex; align-items:center; gap:10px;
    box-shadow:var(--shadow-glass);
    animation:fadeUp 0.3s var(--ease-out);
    pointer-events:auto;
}
.toast-success i { color:var(--teal); }
.toast-error i   { color:#F87171; }

/* ==============================================================================
   RESPONSIVE — TABLET (1024px)
   ============================================================================== */
@media (max-width: 1100px) {
    .products-grid { grid-template-columns:repeat(2, 1fr); }
    .product-showcase-card.featured-card { grid-column: 1 / -1; grid-template-columns:1fr; }
    .benefits-grid { grid-template-columns:repeat(2, 1fr); }
    .benefit-card:nth-child(1), .benefit-card:nth-child(5) { grid-column:span 1; }
    .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
    .steps-timeline-grid { grid-template-columns:repeat(2, 1fr); }
    .steps-timeline-grid::before { display:none; }
    .ux-ui-grid-2col { gap:40px; }
    .portfolio-grid { grid-template-columns:repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns:1fr; gap: 40px; }
    .hero-dashboard-wrap { max-width:580px; margin:0 auto; width: 100%; }
    .demo-cta-container { grid-template-columns:1fr; gap: 40px; }
    .custom-dev-banner { grid-template-columns:1fr; gap: 30px; padding: 32px; }
    .custom-dev-banner::before { display: none; }
    .architecture-box { grid-template-columns:1fr; padding: 30px; }
    .before-after-card { grid-template-columns:1fr; }
    .transition-arrow-center { transform:rotate(90deg); margin: -10px 0; }
    .ux-ui-grid-2col { grid-template-columns:1fr; }
    .industries-cards-grid { grid-template-columns:repeat(2, 1fr); }
    .pricing-grid { grid-template-columns:1fr; max-width:480px; margin:0 auto; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-secondary, .nav-actions .btn-shimmer { display:none; }
    .mobile-menu-toggle { display:flex; align-items:center; justify-content:center; }
    
    .section-title { font-size: 2.2rem; }
    .section-subtitle { font-size: 1rem; }
    
    .products-grid { grid-template-columns:1fr; }
    .portfolio-grid { grid-template-columns:1fr; }
    .industries-cards-grid { grid-template-columns:1fr; }
    .benefits-grid { grid-template-columns:1fr; }
    .benefit-card:nth-child(1), .benefit-card:nth-child(5) { grid-column:span 1; }
    .ux-services-matrix { grid-template-columns:1fr; }
    .ux-showcase-mosaic { grid-template-rows:160px 160px; }
    .mosaic-card.large-mosaic { grid-row:span 1; }
    
    .footer-grid { grid-template-columns:1fr 1fr; }
    .footer-bottom-bar { flex-direction:column; text-align:center; }
    
    .demo-form-card { padding:24px; }
    .form-row-2col { grid-template-columns:1fr; }
    
    .metrics-row { flex-wrap:wrap; }
    .metric-stat-box { border-right:none; border-bottom:1px solid rgba(255,255,255,0.07); width:50%; padding: 20px 10px; }
    .metric-stat-box:nth-child(odd) { border-right:1px solid rgba(255,255,255,0.07); }
    .metric-stat-box:last-child, .metric-stat-box:nth-last-child(2) { border-bottom:none; }
    
    .mobile-app-overlay { display:none; }
    .hero-dashboard-wrap { order:1; }
    .hero-content { order:2; text-align: center; align-items: center; }
    .hero-subtitle { text-align: center; margin: 0 auto; }
    .hero-feature-tags { justify-content: center; }
    .hero-cta-box { align-items: center; }
    
    .custom-dev-banner { padding:28px 24px; text-align: center; }
    .custom-dev-banner .btn { margin: 0 auto; }
}

@media (max-width: 480px) {
    .container { padding:0 20px; }
    .hero-section { padding: 90px 0 60px; }
    .hero-title { font-size: 2.2rem; }
    .hero-content { gap: 16px; }
    
    .btn-lg { padding:14px 24px; font-size:1rem; }
    .btn-xl { padding:16px 28px; font-size:1rem; }
    
    .hero-buttons-row { flex-direction:column; align-items:stretch; width: 100%; }
    .hero-buttons-row .btn { justify-content:center; width: 100%; }
    
    .metric-stat-box { width:100%; border-right:none !important; border-bottom:1px solid rgba(255,255,255,0.07); }
    .metric-stat-box:last-child { border-bottom: none; }
    .stat-number { font-size: 2.2rem; }
    
    .portfolio-filter-tabs { width:100%; justify-content:center; background:transparent; border:none; padding:0; gap:6px; flex-wrap:wrap; }
    .portfolio-filter-btn { border:1px solid var(--bg-border); border-radius:var(--r-full); background:var(--bg-card); padding: 8px 14px; font-size: 0.8rem; }
    
    .footer-grid { grid-template-columns:1fr; text-align: center; }
    .footer-col h4 { margin-bottom: 10px; }
    .footer-links { align-items: center; }
    
    .product-showcase-card { padding: 20px; }
    .product-card-preview { padding: 14px; }
    
    .pricing-card { padding: 24px; }
    .architecture-box { padding: 20px; gap: 24px; }
    .arch-diagram-flow { display: none; } /* Hide complex diagram on very small screens */
    
    .toast-msg { min-width: 280px; width: 90%; }
}

/* ==============================================================================
   PRINT
   ============================================================================== */
@media print {
    .navbar, .whatsapp-float-btn, .demo-modal-backdrop, .scroll-progress { display:none !important; }
    body { background:#fff; color:#000; }
}
