/* ==========================================================================
   NexoTaller ERP — Commercial SaaS Master Stylesheet
   Theme: Midnight Cyber-Industrial (Official Brand DNA v2.0)
   ========================================================================== */

/* ==========================================================================
   Self-Hosted Brand Font Stack (Zero External CDN / Air-Gapped Resilience)
   ========================================================================== */

/* ===== Sora — Headlines & Display ===== */
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url('../assets/fonts/sora-variable.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1D7F, U+1DC0-1DFF, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url('../assets/fonts/sora-variable-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Inter — UI & Body Text ===== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../assets/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== DM Sans — Alternative Body ===== */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url('../assets/fonts/dm-sans-variable.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1D7F, U+1DC0-1DFF, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url('../assets/fonts/dm-sans-variable-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== JetBrains Mono — Data Display (VIN, Pricing, Codes) ===== */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../assets/fonts/jetbrains-mono.woff2') format('woff2');
}

:root {
    /* --- Official Brand DNA: Color Hierarchy --- */
    /* Level 1: Structural Grays (70-80% of visual UI) */
    --nexo-bg-abyssal: #0B0E14;        /* Deepest carbon substrate */
    --nexo-bg-surface: #161B22;        /* Layer 1 cards & surfaces */
    --nexo-bg-elevated: #1F242D;       /* Layer 2 floating panels */
    --nexo-bg-glass: rgba(22, 27, 34, 0.78);
    --nexo-bg-glass-card: rgba(31, 36, 45, 0.65);
    
    /* Text Grays */
    --nexo-text-main: #E1E5E9;         /* High-contrast bone white */
    --nexo-text-muted: #8B949E;        /* Structural steel gray */
    --nexo-text-dim: #606873;          /* Low-contrast metadata */
    
    /* Level 1: Brand Primary Identity / AI (15%) */
    --nexo-violet: #A020F0;
    --nexo-violet-bright: #C040FF;
    --nexo-violet-neon: #C040FF;
    --nexo-violet-glow: rgba(160, 32, 240, 0.28);
    --nexo-violet-subtle: rgba(160, 32, 240, 0.12);
    
    /* Level 2: Action & Support CTAs (10%) */
    --nexo-blue: #0078D4;
    --nexo-blue-hover: #2090FF;
    --nexo-blue-glow: rgba(0, 120, 212, 0.32);
    --nexo-blue-subtle: rgba(0, 120, 212, 0.12);
    
    /* Level 3: Laser Precision Accent (5% - 1-2px focus & micro-badges) */
    --nexo-cyan: #00E5FF;
    --nexo-cyan-glow: rgba(0, 229, 255, 0.35);
    
    /* Semantic Colors */
    --nexo-success: #00C853;
    --nexo-success-glow: rgba(0, 200, 83, 0.25);
    --nexo-warning: #FFAB00;
    --nexo-warning-glow: rgba(255, 171, 0, 0.25);
    --nexo-danger: #FF3D71;
    --nexo-danger-glow: rgba(255, 61, 113, 0.25);
    
    /* Borders & Dividers */
    --nexo-border-subtle: rgba(255, 255, 255, 0.08);
    --nexo-border-card: rgba(255, 255, 255, 0.12);
    --nexo-border-active: rgba(160, 32, 240, 0.45);
    --nexo-border-cyan: rgba(0, 229, 255, 0.5);
    
    /* Typography */
    --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Radii */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --trans-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --trans-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    background-color: var(--nexo-bg-abyssal);
}

body {
    background-color: var(--nexo-bg-abyssal);
    color: var(--nexo-text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Radial Mesh Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    background: 
        radial-gradient(circle at 85% 15%, rgba(160, 32, 240, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 15% 45%, rgba(0, 120, 212, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 50% 85%, rgba(0, 229, 255, 0.04) 0%, transparent 50%),
        linear-gradient(to bottom, #0B0E14, #080A0E);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.18;
    color: var(--nexo-text-main);
    letter-spacing: -0.025em;
}

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

ul {
    list-style: none;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: transparent;
}

/* ==========================================================================
   Utility Classes & Design Tokens
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--nexo-violet-bright) 0%, var(--nexo-blue-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, var(--nexo-blue-hover) 0%, var(--nexo-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mono {
    font-family: var(--font-mono);
}

.glass-card {
    background: var(--nexo-bg-glass-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--nexo-border-card);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: var(--trans-smooth);
}

.glass-card:hover {
    border-color: rgba(160, 32, 240, 0.3);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(160, 32, 240, 0.08);
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(160, 32, 240, 0.1);
    border: 1px solid rgba(160, 32, 240, 0.3);
    color: var(--nexo-violet-bright);
}

.badge-cyan {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--nexo-cyan);
}

.badge-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3.5rem auto;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--nexo-text-muted);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--trans-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--nexo-violet) 0%, var(--nexo-blue) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px var(--nexo-violet-glow);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B030FF 0%, #1085F0 100%);
    box-shadow: 0 6px 28px rgba(160, 32, 240, 0.45);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(31, 36, 45, 0.6);
    color: var(--nexo-text-main);
    border: 1px solid var(--nexo-border-card);
    backdrop-filter: blur(12px);
}

.btn-outline:hover {
    background: rgba(45, 52, 65, 0.8);
    border-color: var(--nexo-blue);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-cyan {
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid var(--nexo-border-cyan);
    color: var(--nexo-cyan);
}

.btn-cyan:hover {
    background: rgba(0, 229, 255, 0.22);
    box-shadow: 0 0 20px var(--nexo-cyan-glow);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   1. Announcement Bar
   ========================================================================== */
.announcement-bar {
    background: linear-gradient(90deg, rgba(160, 32, 240, 0.2) 0%, rgba(0, 120, 212, 0.2) 50%, rgba(160, 32, 240, 0.2) 100%);
    border-bottom: 1px solid rgba(160, 32, 240, 0.3);
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.825rem;
    font-weight: 600;
    position: relative;
    z-index: 50;
}

.announcement-bar a {
    color: var(--nexo-cyan);
    text-decoration: underline;
    margin-left: 0.4rem;
    font-weight: 700;
}

/* ==========================================================================
   2. Floating Glass Navbar
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 40;
    padding: 0.85rem 0;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--nexo-border-subtle);
    transition: var(--trans-smooth);
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background: rgba(11, 14, 20, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1280px;
}

/* Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    text-decoration: none;
}

.navbar-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px var(--nexo-violet-glow));
    transition: var(--trans-fast);
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

.navbar-brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
}

/* Official Brand DNA Typography:
   Nexo = Electric Violet AI Neural Gradient
   Taller = Brushed Titanium / Industrial Steel Mechanical Gradient */
.brand-nexo {
    background: linear-gradient(135deg, #E066FF 0%, #C040FF 30%, #A020F0 70%, #7928CA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -0.03em;
    filter: drop-shadow(0 0 10px rgba(160, 32, 240, 0.45));
    display: inline-block;
}

.brand-taller {
    background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 25%, #CBD5E1 55%, #94A3B8 80%, #64748B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -0.03em;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
    display: inline-block;
}

.navbar-badge {
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    background: rgba(0, 120, 212, 0.12);
    border: 1px solid rgba(0, 120, 212, 0.35);
    color: var(--nexo-blue-hover);
    border-radius: var(--radius-full);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Floating Nav Island */
.nav-island {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-full);
    padding: 0.3rem 0.6rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nexo-text-muted);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    transition: var(--trans-fast);
    text-decoration: none;
    white-space: nowrap;
}

.nav-link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-login-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.95rem;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--nexo-text-main);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    transition: var(--trans-fast);
    text-decoration: none;
    white-space: nowrap;
}

.btn-login-nav:hover {
    color: #FFFFFF;
    background: rgba(160, 32, 240, 0.15);
    border-color: var(--nexo-violet-neon);
    box-shadow: 0 0 16px var(--nexo-violet-glow);
    transform: translateY(-1px);
}

.login-icon {
    stroke: var(--nexo-cyan);
    transition: var(--trans-fast);
}

.btn-login-nav:hover .login-icon {
    stroke: var(--nexo-violet-neon);
    transform: scale(1.1);
}

.btn-ghost-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--nexo-text-main);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transition: var(--trans-fast);
    text-decoration: none;
}

.btn-ghost-demo:hover {
    background: rgba(0, 229, 255, 0.08);
    border-color: var(--nexo-cyan);
    color: var(--nexo-cyan);
    box-shadow: 0 0 15px var(--nexo-cyan-glow);
}

.demo-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--nexo-cyan);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.btn-nav-cta {
    padding: 0.52rem 1.15rem;
    font-size: 0.825rem;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 14px var(--nexo-violet-glow);
}

.hamburger-btn {
    display: none;
    background: none;
    color: var(--nexo-text-main);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: var(--radius-sm);
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 290px;
    height: 100vh;
    background: var(--nexo-bg-surface);
    border-left: 1px solid var(--nexo-border-card);
    z-index: 100;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transform: translateX(100%);
    transition: var(--trans-smooth);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: var(--trans-smooth);
}

.mobile-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 4.5rem 0 5.5rem 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: clamp(2.35rem, 4.2vw, 3.75rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 1.25rem 0 1.25rem 0;
    letter-spacing: -0.035em;
}

.hero-lead {
    font-size: clamp(1.05rem, 1.2vw, 1.2rem);
    color: var(--nexo-text-muted);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 620px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    margin-bottom: 2.2rem;
}

/* Hero Tech & Certification Block (Structured 2x2) */
.hero-tech-block {
    width: 100%;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--nexo-border-subtle);
}

.hero-tech-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.hero-tech-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--nexo-text-dim);
    text-transform: uppercase;
}

.hero-tech-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    width: 100%;
}

.tech-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    background: rgba(22, 27, 34, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    transition: var(--trans-smooth);
}

.tech-chip:hover {
    background: rgba(22, 27, 34, 0.9);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.tech-chip-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chip-gcp {
    background: rgba(160, 32, 240, 0.12);
    border-color: rgba(160, 32, 240, 0.3);
}

.chip-sat {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.25);
}

.chip-ai {
    background: rgba(0, 120, 212, 0.15);
    border-color: rgba(0, 120, 212, 0.3);
}

.chip-db {
    background: rgba(32, 201, 151, 0.12);
    border-color: rgba(32, 201, 151, 0.3);
}

.tech-chip-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.tech-chip-title {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--nexo-text-main);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tech-chip-sub {
    font-size: 0.65rem;
    color: var(--nexo-text-muted);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hero Visual: 3D Perspective Glass Cockpit */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-cockpit {
    width: 100%;
    max-width: 540px;
    background: rgba(22, 27, 34, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(160, 32, 240, 0.15);
    overflow: hidden;
    position: relative;
}

.cockpit-header {
    background: #11141B;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--nexo-border-subtle);
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.cockpit-url {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--nexo-text-dim);
    margin-left: 0.5rem;
}

.cockpit-live-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--nexo-success);
    background: rgba(0, 200, 83, 0.12);
    border: 1px solid rgba(0, 200, 83, 0.3);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
}

.cockpit-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cockpit-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.cockpit-kpi-card {
    background: rgba(31, 36, 45, 0.7);
    border: 1px solid var(--nexo-border-card);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
}

.kpi-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nexo-text-muted);
}

.kpi-value {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-top: 0.2rem;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.kpi-pill {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--nexo-success);
}

.cockpit-chart-card {
    background: rgba(31, 36, 45, 0.5);
    border: 1px solid var(--nexo-border-card);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--nexo-text-muted);
    margin-bottom: 0.75rem;
}

/* Floating Nexi IA Pill */
.cockpit-nexi-pill {
    background: linear-gradient(135deg, rgba(31, 36, 45, 0.95), rgba(22, 27, 34, 0.95));
    border: 1px solid rgba(160, 32, 240, 0.5);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--nexo-violet-glow);
    animation: pulse-glow 3s infinite ease-in-out;
}

.nexi-avatar-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--nexo-violet), var(--nexo-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.nexi-text-wrap {
    display: flex;
    flex-direction: column;
}

.nexi-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--nexo-cyan);
    letter-spacing: 0.05em;
}

.nexi-msg {
    font-size: 0.8rem;
    color: #FFFFFF;
    font-weight: 500;
    line-height: 1.35;
}

/* ==========================================================================
   4. Telemetry & Social Proof Ticker
   ========================================================================== */
.ticker-section {
    background: rgba(14, 17, 23, 0.6);
    border-top: 1px solid var(--nexo-border-subtle);
    border-bottom: 1px solid var(--nexo-border-subtle);
    padding: 2.2rem 0;
}

.ticker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ticker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.ticker-num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.03em;
    line-height: 1;
}

.ticker-label {
    font-size: 0.825rem;
    color: var(--nexo-text-muted);
    font-weight: 600;
    margin-top: 0.4rem;
}

/* ==========================================================================
   5. The Contrast: Taller Tradicional vs Taller Nexo
   ========================================================================== */
.comparison-section {
    padding: 6.5rem 0;
    position: relative;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comparison-card {
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
}

.card-traditional {
    background: rgba(26, 18, 22, 0.45);
    border: 1px solid rgba(255, 61, 113, 0.25);
}

.card-nexo {
    background: rgba(22, 27, 34, 0.85);
    border: 1px solid rgba(0, 229, 255, 0.35);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.08);
}

.comparison-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.badge-bad {
    background: rgba(255, 61, 113, 0.12);
    border: 1px solid rgba(255, 61, 113, 0.3);
    color: var(--nexo-danger);
}

.badge-good {
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: var(--nexo-cyan);
}

.comparison-title {
    font-size: 1.45rem;
    margin-bottom: 1.5rem;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.item-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.item-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.item-text p {
    font-size: 0.875rem;
    color: var(--nexo-text-muted);
    line-height: 1.45;
}

/* ==========================================================================
   6. The 6 Superpowers (Feature Showcase)
   ========================================================================== */
.features-section {
    padding: 6rem 0;
    background: rgba(14, 17, 23, 0.4);
    border-top: 1px solid var(--nexo-border-subtle);
    border-bottom: 1px solid var(--nexo-border-subtle);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--nexo-bg-glass-card);
    border: 1px solid var(--nexo-border-card);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    transition: var(--trans-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--nexo-violet), transparent);
    opacity: 0;
    transition: var(--trans-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(160, 32, 240, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(160, 32, 240, 0.1);
}

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

.feature-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(160, 32, 240, 0.12);
    border: 1px solid rgba(160, 32, 240, 0.3);
    color: var(--nexo-violet-bright);
}

.icon-blue {
    background: rgba(0, 120, 212, 0.12);
    border-color: rgba(0, 120, 212, 0.3);
    color: var(--nexo-blue-hover);
}

.icon-cyan {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.3);
    color: var(--nexo-cyan);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.885rem;
    color: var(--nexo-text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.feature-pill-list {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.feature-micro-pill {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nexo-border-subtle);
    color: var(--nexo-text-muted);
}

/* ==========================================================================
   7. Live ERP Simulator
   ========================================================================== */
.simulator-section {
    padding: 6.5rem 0;
    position: relative;
}

.simulator-toggles {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.sim-toggle-btn {
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-md);
    background: var(--nexo-bg-surface);
    border: 1px solid var(--nexo-border-card);
    color: var(--nexo-text-muted);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--trans-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sim-toggle-btn.active {
    background: rgba(0, 120, 212, 0.15);
    border-color: var(--nexo-blue-hover);
    color: #FFFFFF;
    box-shadow: 0 0 20px var(--nexo-blue-glow);
}

.simulator-window {
    max-width: 1040px;
    margin: 0 auto;
    background: #080A0E;
    border: 1px solid var(--nexo-border-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.5);
}

.sim-browser-bar {
    background: #12161F;
    padding: 0.8rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--nexo-border-subtle);
}

.sim-url-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--nexo-text-dim);
    margin-left: 0.5rem;
}

.sim-viewport {
    position: relative;
    aspect-ratio: 1024 / 514;
    background: #0B0E14;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sim-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.35s ease;
}

.sim-spinner {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 3px solid rgba(0, 120, 212, 0.2);
    border-top-color: var(--nexo-blue-hover);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

/* ==========================================================================
   8. Interactive ROI & Profit Recovery Calculator
   ========================================================================== */
.roi-section {
    padding: 6rem 0;
    background: rgba(14, 17, 23, 0.6);
    border-top: 1px solid var(--nexo-border-subtle);
    border-bottom: 1px solid var(--nexo-border-subtle);
}

.roi-container {
    background: var(--nexo-bg-glass-card);
    border: 1px solid var(--nexo-border-card);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.roi-controls {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.885rem;
    font-weight: 600;
}

.slider-val {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--nexo-cyan);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: #252D3B;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--nexo-blue-hover);
    border: 2px solid #FFFFFF;
    cursor: pointer;
    box-shadow: 0 0 10px var(--nexo-blue-glow);
    transition: var(--trans-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--nexo-violet-bright);
}

/* ROI Result Display Box */
.roi-results-box {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.95), rgba(31, 36, 45, 0.95));
    border: 1px solid rgba(160, 32, 240, 0.4);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--nexo-violet-glow);
}

.roi-main-stat {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--nexo-border-subtle);
    margin-bottom: 1.5rem;
}

.roi-main-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nexo-text-muted);
}

.roi-main-number {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 900;
    color: var(--nexo-success);
    margin-top: 0.4rem;
}

.roi-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.8rem;
    font-size: 0.875rem;
}

.roi-row {
    display: flex;
    justify-content: space-between;
    color: var(--nexo-text-muted);
}

.roi-row strong {
    color: var(--nexo-text-main);
    font-family: var(--font-mono);
}

/* ==========================================================================
   9. Pricing Matrix & Subscription Tiers
   ========================================================================== */
.pricing-section {
    padding: 6.5rem 0;
    position: relative;
}

.pricing-billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    font-size: 0.925rem;
    font-weight: 700;
}

.toggle-switch {
    position: relative;
    width: 54px;
    height: 28px;
    background: #252D3B;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--trans-fast);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FFFFFF;
    transition: var(--trans-fast);
}

.toggle-switch.annual {
    background: var(--nexo-violet);
}

.toggle-switch.annual::after {
    left: 28px;
}

.discount-badge-pill {
    background: rgba(0, 200, 83, 0.15);
    border: 1px solid rgba(0, 200, 83, 0.4);
    color: var(--nexo-success);
    font-size: 0.725rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

/* Pricing Grid (5 Columns) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.price-card {
    background: var(--nexo-bg-glass-card);
    border: 1px solid var(--nexo-border-card);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--trans-smooth);
}

.price-card:hover {
    transform: translateY(-6px);
    border-color: rgba(160, 32, 240, 0.45);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(160, 32, 240, 0.1);
}

.price-card.popular {
    background: linear-gradient(180deg, rgba(0, 120, 212, 0.12) 0%, rgba(22, 27, 34, 0.9) 100%);
    border: 2px solid var(--nexo-blue-hover);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 30px var(--nexo-blue-glow);
    transform: scale(1.03);
    z-index: 10;
}

.popular-badge-tag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--nexo-blue);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px var(--nexo-blue-glow);
}

.tier-header {
    margin-bottom: 1.2rem;
}

.tier-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.tier-desc {
    font-size: 0.775rem;
    color: var(--nexo-text-muted);
    line-height: 1.4;
    min-height: 2.4rem;
}

.tier-pricing-wrap {
    margin: 1.2rem 0;
}

.price-strike {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--nexo-text-dim);
    text-decoration: line-through;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-top: 0.1rem;
}

.price-amount {
    font-family: var(--font-mono);
    font-size: 1.85rem;
    font-weight: 900;
    color: #FFFFFF;
}

.price-period {
    font-size: 0.75rem;
    color: var(--nexo-text-muted);
}

.tier-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--nexo-text-muted);
    border-top: 1px solid var(--nexo-border-subtle);
    padding-top: 1.2rem;
    margin-bottom: 1.5rem;
}

.tier-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.35;
}

.check-icon {
    color: var(--nexo-violet-bright);
    flex-shrink: 0;
    font-weight: 800;
}

.check-blue {
    color: var(--nexo-blue-hover);
}

/* ==========================================================================
   10. Social Proof & Testimonials
   ========================================================================== */
.testimonials-section {
    padding: 6rem 0;
    background: rgba(14, 17, 23, 0.4);
    border-top: 1px solid var(--nexo-border-subtle);
    border-bottom: 1px solid var(--nexo-border-subtle);
}

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

.testimonial-card {
    background: var(--nexo-bg-glass-card);
    border: 1px solid var(--nexo-border-card);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.test-stars {
    color: var(--nexo-warning);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.15em;
}

.test-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--nexo-text-main);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.author-avatar-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nexo-violet), var(--nexo-blue));
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    font-size: 0.9rem;
    color: #FFFFFF;
}

.author-info span {
    font-size: 0.775rem;
    color: var(--nexo-text-muted);
}

/* ==========================================================================
   11. Security & Compliance
   ========================================================================== */
.security-section {
    padding: 6rem 0;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.security-card {
    background: var(--nexo-bg-glass-card);
    border: 1px solid var(--nexo-border-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.sec-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.security-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.security-card p {
    font-size: 0.85rem;
    color: var(--nexo-text-muted);
    line-height: 1.55;
}

/* ==========================================================================
   12. FAQ Accordion
   ========================================================================== */
.faq-section {
    padding: 6rem 0;
    max-width: 860px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--nexo-bg-glass-card);
    border: 1px solid var(--nexo-border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--trans-fast);
}

.faq-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--nexo-text-main);
    cursor: pointer;
}

.faq-chevron {
    font-size: 1.1rem;
    color: var(--nexo-text-muted);
    transition: var(--trans-smooth);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--nexo-violet-bright);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    background: rgba(14, 17, 23, 0.4);
}

.faq-body {
    padding: 0 1.5rem 1.4rem 1.5rem;
    font-size: 0.9rem;
    color: var(--nexo-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   13. Final CTA & Urgency Countdown
   ========================================================================== */
.final-cta-section {
    padding: 7rem 0;
    background: radial-gradient(circle at 50% 30%, rgba(160, 32, 240, 0.15) 0%, rgba(11, 14, 20, 0.98) 70%);
    border-top: 1px solid rgba(160, 32, 240, 0.3);
    text-align: center;
    position: relative;
}

.final-cta-box {
    max-width: 780px;
    margin: 0 auto;
}

.countdown-wrap {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 2.5rem 0;
}

.countdown-card {
    background: rgba(22, 27, 34, 0.85);
    border: 1px solid var(--nexo-border-card);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    min-width: 80px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.count-digit {
    font-family: var(--font-mono);
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--nexo-cyan);
    display: block;
}

.count-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nexo-text-dim);
}

/* ==========================================================================
   14. SaaS Footer
   ========================================================================== */
.site-footer {
    background: #080A0E;
    border-top: 1px solid var(--nexo-border-subtle);
    padding: 5rem 0 2rem 0;
    color: var(--nexo-text-muted);
    font-size: 0.875rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 1rem 0 1.5rem 0;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.95rem;
    color: #FFFFFF;
    margin-bottom: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--nexo-border-subtle);
    font-size: 0.8rem;
    color: var(--nexo-text-dim);
}

/* ==========================================================================
   15. 3-Step Wizard Lead Capture Modal
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--trans-smooth);
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    width: 100%;
    max-width: 580px;
    background: #13161F;
    border: 1px solid rgba(160, 32, 240, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px var(--nexo-violet-glow);
    padding: 2.2rem;
    position: relative;
    transform: scale(0.95);
    transition: var(--trans-smooth);
}

.modal-backdrop.active .modal-window {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--nexo-text-muted);
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

/* Step Progress Indicator */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #252D3B;
    z-index: 1;
    transform: translateY(-50%);
}

.progress-active-line {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background: var(--nexo-violet);
    z-index: 2;
    transform: translateY(-50%);
    width: 0%;
    transition: width 0.35s ease;
}

.progress-step-node {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1A1E2A;
    border: 2px solid #252D3B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--nexo-text-dim);
    position: relative;
    z-index: 3;
    transition: var(--trans-fast);
}

.progress-step-node.active {
    background: var(--nexo-violet);
    border-color: #FFFFFF;
    color: #FFFFFF;
    box-shadow: 0 0 15px var(--nexo-violet-glow);
}

.progress-step-node.completed {
    background: var(--nexo-blue);
    border-color: var(--nexo-blue-hover);
    color: #FFFFFF;
}

/* Wizard Form Elements */
.wizard-step-panel {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
}

.wizard-step-panel.active {
    display: flex;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--nexo-text-main);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #0B0E14;
    border: 1px solid var(--nexo-border-card);
    border-radius: var(--radius-sm);
    color: #FFFFFF;
    font-size: 0.9rem;
    transition: var(--trans-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--nexo-cyan);
    box-shadow: 0 0 10px var(--nexo-cyan-glow);
}

.form-error-msg {
    font-size: 0.75rem;
    color: var(--nexo-danger);
    display: none;
}

.form-input.is-invalid {
    border-color: var(--nexo-danger);
}

.form-input.is-valid {
    border-color: var(--nexo-success);
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

/* Success Ticket Card */
.success-card {
    text-align: center;
    padding: 1rem 0;
}

.ticket-pill-display {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--nexo-violet-bright);
    background: rgba(160, 32, 240, 0.12);
    border: 1px dashed var(--nexo-violet);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-md);
    margin: 1.2rem auto;
    display: inline-block;
}
/* ==========================================================================
   ERP 360° Operational Flow Section
   ========================================================================== */
.erp-flow-section {
    padding: var(--space-3xl) 0;
    background: radial-gradient(circle at 50% 20%, rgba(160, 32, 240, 0.08) 0%, transparent 60%),
                var(--nexo-bg-dark);
    position: relative;
    overflow: hidden;
}

.erp-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.flow-card {
    background: rgba(18, 18, 28, 0.75);
    border: 1px solid rgba(160, 32, 240, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    position: relative;
    transition: all var(--transition-normal);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.flow-card:hover {
    transform: translateY(-6px);
    border-color: rgba(160, 32, 240, 0.55);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(160, 32, 240, 0.3);
}

.flow-step-num {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(160, 32, 240, 0.15);
    line-height: 1;
    pointer-events: none;
    transition: color var(--transition-fast);
}

.flow-card:hover .flow-step-num {
    color: rgba(160, 32, 240, 0.35);
}

.flow-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(160, 32, 240, 0.12);
    border: 1px solid rgba(160, 32, 240, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.flow-phase {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--nexo-purple-light);
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.flow-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.flow-desc {
    color: var(--nexo-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.flow-badge {
    align-self: flex-start;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--nexo-cyan);
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

/* ==========================================================================
   Animations & Keyframes
   ========================================================================== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(160, 32, 240, 0.25);
    }
    50% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 35px rgba(160, 32, 240, 0.55);
    }
}

/* ==========================================================================
   Fluid & Mobile-First Responsive Breakpoints (320px - 1920px)
   ========================================================================== */
@media (max-width: 1380px) {
    .navbar-badge {
        display: none;
    }
    .nav-link {
        padding: 0.3rem 0.55rem;
        font-size: 0.8rem;
    }
    .nav-island {
        gap: 0.15rem;
        padding: 0.25rem 0.45rem;
    }
    .navbar-container {
        gap: 0.75rem;
    }
    .btn-nav-cta {
        padding: 0.52rem 0.95rem;
        font-size: 0.825rem;
    }
    .btn-login-nav {
        padding: 0.45rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 1180px) {
    .nav-island {
        display: none;
    }
    .hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .price-card.popular {
        transform: none;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-visual {
        order: -1;
    }
    .erp-flow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    .roi-container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    .ticker-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .security-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .simulator-window {
        grid-template-columns: 1fr;
    }
    .simulator-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        border-right: none;
        border-bottom: 1px solid rgba(160, 32, 240, 0.2);
        scrollbar-width: none;
    }
    .simulator-sidebar::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        white-space: nowrap;
        padding: 0.6rem 1rem;
        min-height: 44px;
    }
}

@media (max-width: 768px) {
    .btn-nav-cta, .btn-login-nav {
        display: none;
    }
    .navbar-container {
        padding: 0 1rem;
    }
    .nav-actions {
        gap: 0.5rem;
    }
    .erp-flow-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .ticker-grid {
        grid-template-columns: 1fr;
    }
    .hero-tech-grid {
        grid-template-columns: 1fr;
    }
    .roi-slider-container {
        margin: 1.5rem 0;
    }
    .roi-slider {
        height: 10px;
    }
    .roi-slider::-webkit-slider-thumb {
        width: 32px;
        height: 32px;
    }
    .roi-results-box .btn {
        white-space: normal;
        text-align: center;
        line-height: 1.35;
        padding: 0.85rem 1rem;
    }
    .roi-container, .roi-controls, .roi-results-box, .comparison-card, .price-card, .feature-card, .flow-card {
        min-width: 0;
    }
    .roi-controls h2 {
        font-size: clamp(1.35rem, 4.5vw, 1.85rem);
        line-height: 1.25;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.25rem;
    }
    .hero {
        padding-top: 6.5rem;
        padding-bottom: 3.5rem;
    }
    .hero-copy h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 50px;
    }
    .announcement-bar {
        font-size: 0.76rem;
        padding: 0.5rem 1rem;
        flex-direction: column;
        gap: 0.35rem;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .countdown-wrap {
        gap: 0.5rem;
    }
    .countdown-card {
        min-width: 65px;
        padding: 0.75rem 0.5rem;
    }
    .count-digit {
        font-size: 1.4rem;
    }
    
    /* Lead Wizard Modal Mobile Bottom Sheet */
    .modal-backdrop {
        align-items: flex-end;
        padding: 0;
    }
    .modal-window {
        border-radius: 24px 24px 0 0;
        max-height: 90vh;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 1.75rem 1.25rem 2.25rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-bottom: none;
    }
}