/* ══════════════════════════════════════════════════════════════════
   KORE SYSTEMS — DESIGN SYSTEM v3.0 (ReactBits-Inspired)
   Premium Industrial Tech — Dark Mode First
   ══════════════════════════════════════════════════════════════════ */

:root {
    /* ─── DARK TECH COLOR PALETTE ─── */
    --bg-main: #030408;
    /* Very deep tech black */
    --bg-surface: #0a0e17;
    /* Slightly lighter for sections */
    --bg-card: rgba(15, 23, 42, 0.4);
    /* Glassmorphism dark cards */
    --bg-card-hover: rgba(30, 41, 59, 0.6);

    --text-primary: #f8fafc;
    /* Crisp white for headings */
    --text-secondary: #94a3b8;
    /* Slate gray for paragraphs */
    --text-muted: #475569;
    /* Muted element text */

    --accent-blue: #0ea5e9;
    /* Bright SaaW cyan */
    --accent-blue-hover: #38bdf8;
    --accent-blue-glow: rgba(14, 165, 233, 0.2);
    --accent-blue-soft: rgba(14, 165, 233, 0.08);

    --accent-green: #10b981;
    --accent-green-soft: rgba(16, 185, 129, 0.08);
    --accent-red: #ef4444;
    --accent-purple: #a855f7;
    --accent-amber: #f59e0b;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 99px;

    /* Shadows (Adjusted for dark mode) */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.8), 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 1), 0 8px 16px rgba(0, 0, 0, 0.4);
    --shadow-glow-blue: 0 0 30px rgba(14, 165, 233, 0.2);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
    line-height: 1.15;
}

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

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

::selection {
    background: var(--accent-blue);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.2);
}

/* ═══════════════════════════════════════════
   REACTBITS ANIMATIONS
   ═══════════════════════════════════════════ */

/* Terminal Typing Animation */
.typing-animation-container p,
.typing-animation-container pre {
    opacity: 0;
    animation: terminal-show 0.1s forwards;
}

.typing-animation-container .line-1 {
    animation-delay: 0.5s;
}

.typing-animation-container .line-2 {
    animation-delay: 1.5s;
}

.typing-animation-container .line-3 {
    animation-delay: 2.3s;
}

.typing-animation-container .line-4 {
    animation-delay: 3.5s;
}

.typing-animation-container .line-5 {
    animation-delay: 4.5s;
}

.typing-animation-container .line-6 {
    animation-delay: 5.5s;
}

@keyframes terminal-show {
    to {
        opacity: 1;
    }
}

/* Blur Fade In */
.blur-fade-in {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, filter 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, filter, transform;
}

.blur-fade-in.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.blur-fade-in[data-delay="1"] {
    transition-delay: 0.1s;
}

.blur-fade-in[data-delay="2"] {
    transition-delay: 0.2s;
}

.blur-fade-in[data-delay="3"] {
    transition-delay: 0.3s;
}

.blur-fade-in[data-delay="4"] {
    transition-delay: 0.4s;
}

.blur-fade-in[data-delay="5"] {
    transition-delay: 0.5s;
}

/* Fade Directions */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.is-visible,
.fade-left.is-visible,
.fade-right.is-visible,
.fade-scale.is-visible {
    opacity: 1;
    transform: none;
}

/* Split Text Reveal */
.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotateX(-40deg);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.split-text.is-visible .char {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* Text Shimmer */
@keyframes textShimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.text-shimmer {
    background: linear-gradient(90deg, #f8fafc 0%, #60a5fa 25%, #2563eb 50%, #60a5fa 75%, #f8fafc 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s linear infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #2563eb, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-green {
    background: linear-gradient(135deg, #34d399, #10b981, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Aurora Background */
.aurora-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.aurora-bg .aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: auroraFloat 15s ease-in-out infinite alternate;
}

.aurora-bg .aurora-blob:nth-child(1) {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent 70%);
    /* indigo */
    top: -250px;
    left: -150px;
}

.aurora-bg .aurora-blob:nth-child(2) {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3), transparent 70%);
    /* pink */
    bottom: -200px;
    right: -100px;
    animation-delay: -7s;
    animation-direction: alternate-reverse;
}

.aurora-bg .aurora-blob:nth-child(3) {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
    /* blue */
    top: 40%;
    right: 20%;
    animation-delay: -3s;
}

@keyframes auroraFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(80px, -60px) scale(1.15);
    }

    66% {
        transform: translate(-50px, 40px) scale(0.9);
    }

    100% {
        transform: translate(70px, 20px) scale(1.05);
    }
}

/* Particle Canvas */
#particleCanvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

/* Pulse */
@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* Status Dot */
.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

/* Float */
@keyframes float {

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

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

.float-anim {
    animation: float 6s ease-in-out infinite;
}

/* Marquee */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

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

.marquee-wrap {
    overflow: hidden;
}

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

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 48px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.marquee-item svg {
    flex-shrink: 0;
}

/* Spotlight Card Effect */
.spotlight-card {
    --spotlight-x: 50%;
    --spotlight-y: 50%;
    position: relative;
    overflow: hidden;
}

.spotlight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(500px circle at var(--spotlight-x) var(--spotlight-y), rgba(37, 99, 235, 0.08), transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.spotlight-card:hover::after {
    opacity: 1;
}

/* Gradient Border Spin */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes borderSpin {
    to {
        --angle: 360deg;
    }
}

.gradient-border {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: conic-gradient(from var(--angle), transparent 30%, var(--accent-blue) 50%, transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderSpin 4s linear infinite;
}

/* Typing Cursor */
.typing-cursor::after {
    content: '|';
    animation: blink 0.7s step-end infinite;
    color: var(--accent-blue);
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Number Counter */
.counter-value {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1;
}

/* Horizontal Scroll Reveal */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ═══════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════ */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

.container-tight {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

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

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.section-padding {
    padding: 140px 0;
    position: relative;
}

.section-padding-sm {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 72px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header.left {
    text-align: left;
    margin-left: 0;
}

.section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.section-sub {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.7;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-blue);
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(3, 4, 8, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-base);
}

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

.nav-menu {
    display: flex;
    gap: 36px;
    font-size: 14px;
    font-weight: 500;
}

.nav-menu a {
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-btn {
    font-size: 13px;
    font-weight: 600;
    padding: 10px 24px;
    background: white;
    color: #020617;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    letter-spacing: 0.01em;
}

.client-btn:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow-blue);
}

.btn-glow-cyan {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #0284c7 100%);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    color: white !important;
    transition: all 0.3s ease;
}

.btn-glow-cyan:hover {
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
    transform: translateY(-2px);
}


/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(3, 4, 8, 0.97);
    backdrop-filter: blur(30px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.mobile-nav a:hover {
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════
   HERO MODERN (B2B SaaS High-End)
   ═══════════════════════════════════════════ */
.hero-modern {
    position: relative;
    overflow: hidden;
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-title-modern {
    font-size: clamp(80px, 12vw, 160px);
    line-height: 0.85;
    letter-spacing: -0.05em;
    background: linear-gradient(180deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 60px rgba(15, 23, 42, 0.1);
    position: relative;
}

.hero-title-modern::after {
    content: 'KORE';
    position: absolute;
    left: 0;
    right: 0;
    background: transparent;
    -webkit-text-stroke: 1px rgba(15, 23, 42, 0.05);
    -webkit-text-fill-color: transparent;
    z-index: -1;
    filter: blur(8px);
    transform: translateZ(0);
}

.hero-subtitle-modern {
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    font-size: 13px;
}

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

.btn-glow-modern span.absolute {
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.btn-glow-modern:hover span.absolute {
    filter: blur(16px);
}

.glass-card-modern {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn-primary {
    background: var(--accent-blue);
    color: white;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-blue-hover);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.4), 0 8px 24px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 16px 36px;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.btn-ghost {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-blue);
    padding: 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
}

.btn-ghost:hover {
    gap: 12px;
}

.btn-ghost svg {
    transition: transform 0.3s ease;
}

.btn-ghost:hover svg {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════ */
.trust-strip {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* ═══════════════════════════════════════════
   SERVICE CARDS
   ═══════════════════════════════════════════ */
.premium-service-card {
    background: rgba(10, 15, 25, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    --spotlight-x: 50%;
    --spotlight-y: 50%;
}

.premium-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(500px circle at var(--spotlight-x) var(--spotlight-y), rgba(37, 99, 235, 0.07), transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.premium-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.15);
    box-shadow: var(--shadow-lg);
    background: rgba(15, 22, 40, 0.6);
}

.premium-service-card:hover::before {
    opacity: 1;
}

.premium-service-card:hover::after {
    opacity: 1;
}

.premium-service-card>* {
    position: relative;
    z-index: 1;
}

.premium-service-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    background: var(--accent-blue-soft);
    color: var(--accent-blue);
    transition: var(--transition-base);
}

.premium-service-card:hover .card-icon {
    background: rgba(37, 99, 235, 0.2);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
}

.premium-service-card .card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.premium-service-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   GLASS CARDS
   ═══════════════════════════════════════════ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: var(--shadow-md);
}

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

/* ═══════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat-item {
    background: var(--bg-surface);
    padding: 48px 32px;
    text-align: center;
    transition: var(--transition-base);
}

.stat-item:hover {
    background: rgba(15, 23, 42, 0.8);
}

.stat-number {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════
   PROCESS TIMELINE
   ═══════════════════════════════════════════ */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-green));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 16px;
}

.process-step-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 18px;
    color: var(--accent-blue);
    transition: var(--transition-smooth);
}

.process-step:hover .process-step-num {
    background: var(--accent-blue);
    color: white;
    box-shadow: var(--shadow-glow-blue);
    transform: scale(1.1);
}

.process-step h4 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.process-step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px;
    position: relative;
}

.testimonial-card .quote-mark {
    font-size: 64px;
    line-height: 1;
    color: var(--accent-blue);
    opacity: 0.3;
    font-family: Georgia, serif;
    position: absolute;
    top: 24px;
    left: 40px;
}

.testimonial-card blockquote {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 32px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-card .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-blue-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 18px;
}

.testimonial-card .author-info span {
    display: block;
}

.testimonial-card .author-info .author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.testimonial-card .author-info .author-role {
    color: var(--text-muted);
    font-size: 13px;
}

/* ═══════════════════════════════════════════
   PREMIUM IMAGE
   ═══════════════════════════════════════════ */
.premium-img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease;
}

.premium-img:hover {
    transform: scale(1.02);
}

/* Immersive Banner */
.immersive-banner {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-xl);
}

.immersive-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.immersive-banner:hover img {
    transform: scale(1.05);
}

.immersive-banner .banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 80px 48px 48px;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95), transparent);
}

.immersive-banner .banner-overlay h2 {
    font-size: clamp(24px, 3vw, 40px);
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════ */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.pricing-card.featured {
    border-color: var(--accent-blue);
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.1);
    position: relative;
}

.pricing-card.featured::before {
    content: 'RECOMENDADO';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
}

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

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card .features {
    flex-grow: 1;
    margin-bottom: 32px;
}

.pricing-card .features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 10px 0;
}

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

/* Billing Toggle */
.billing-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-base);
    padding: 0;
}

.billing-toggle.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.billing-toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.billing-toggle.active .billing-toggle-knob {
    transform: translateX(24px);
}

.billing-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.billing-label.active {
    color: var(--text-primary);
}

.annual-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-green);
    background: var(--accent-green-soft);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-base);
    outline: none;
}

.contact-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.contact-input::placeholder {
    color: var(--text-muted);
}

textarea.contact-input {
    resize: vertical;
    min-height: 120px;
}

/* ═══════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    z-index: 9999;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 620px;
    width: calc(100% - 40px);
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-banner p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
}

.cookie-banner p a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.cookie-btn {
    padding: 10px 24px;
    background: var(--accent-blue);
    color: white;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.cookie-btn:hover {
    background: var(--accent-blue-hover);
}

/* ═══════════════════════════════════════════
   WHATSAPP
   ═══════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 998;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: var(--transition-base);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
footer {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    font-size: 14px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.brand-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 20px 0;
    max-width: 320px;
    font-size: 14px;
}

.f-head {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 14px;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    display: inline-block;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--accent-blue);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 13px;
}

.social-link {
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-link:hover {
    color: var(--accent-blue);
    border-color: rgba(37, 99, 235, 0.3);
    background: var(--accent-blue-soft);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   LEGAL
   ═══════════════════════════════════════════ */
.legal-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 80px;
    padding: 140px 0 80px;
    min-height: 80vh;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 4%;
    padding-right: 4%;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.legal-nav-title {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 20px;
    display: block;
    letter-spacing: 1.5px;
}

.legal-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    margin-bottom: 4px;
}

.legal-menu a:hover,
.legal-menu a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.legal-nav-link {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    margin-bottom: 4px;
    border-left: 2px solid transparent;
}

.legal-nav-link:hover,
.legal-nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--accent-blue);
}

.tech-badge {
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-family: var(--font-mono);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.tech-badge:hover {
    background: var(--accent-blue-soft);
    border-color: rgba(37, 99, 235, 0.3);
    color: #60a5fa;
}

.legal-content h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.legal-content p.lead-text {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 56px;
    line-height: 1.7;
}

.legal-section {
    margin-bottom: 72px;
}

.legal-section h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 28px 0 12px;
}

.legal-section p,
.legal-section li {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 14px;
    line-height: 1.7;
}

.legal-section ul {
    margin-left: 24px;
    margin-bottom: 20px;
    list-style-type: square;
    color: var(--accent-blue);
}

.legal-section ul li span {
    color: var(--text-secondary);
}

.legal-section a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section a:hover {
    color: #60a5fa;
}

.legal-section strong {
    color: var(--text-primary);
}

.legal-section table {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.6);
    width: 100%;
}

.legal-section table th {
    background: rgba(255, 255, 255, 0.03);
}

.legal-section table td {
    color: var(--text-secondary);
}

.legal-section .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ═══════════════════════════════════════════
   SOFTWARE SHOWCASE (Browser Frame Mockup)
   ═══════════════════════════════════════════ */
.software-showcase .section-header {
    margin-bottom: 48px;
}

.showcase-browser {
    background: rgba(10, 15, 30, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 60px rgba(37, 99, 235, 0.06);
    max-width: 1100px;
    margin: 0 auto;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid var(--border-color);
}

.browser-dots {
    display: flex;
    gap: 7px;
}

.browser-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) {
    background: #ef4444;
}

.browser-dots span:nth-child(2) {
    background: #f59e0b;
}

.browser-dots span:nth-child(3) {
    background: #10b981;
}

.browser-url {
    flex: 1;
    margin-left: 12px;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.browser-content {
    padding: 0;
}

.dashboard-mockup {
    display: flex;
    min-height: 420px;
}

/* Sidebar */
.mockup-sidebar {
    width: 56px;
    flex-shrink: 0;
    background: rgba(8, 12, 24, 0.8);
    border-right: 1px solid var(--border-color);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sidebar-item {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-fast);
    cursor: default;
}

.sidebar-item:first-child {
    background: rgba(37, 99, 235, 0.15);
    color: var(--accent-blue);
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Main area */
.mockup-main {
    flex: 1;
    padding: 20px 24px;
    overflow: hidden;
}

.mockup-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mockup-search-bar {
    flex: 1;
    max-width: 360px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.typing-demo {
    min-width: 0;
}

.typing-demo::after {
    content: '|';
    animation: blink 0.7s step-end infinite;
    color: var(--accent-blue);
}

.mockup-badge {
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-mono);
}

.mockup-badge[style*="green"] {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

/* Stats row */
.mockup-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mockup-stat-card {
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition-fast);
}

.mockup-stat-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
}

.mstat-label {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.mstat-value {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-mono);
    display: block;
}

.mstat-change {
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Table */
.mockup-table {
    width: 100%;
}

.mtable-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 80px;
    padding: 8px 12px;
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.mtable-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 80px;
    align-items: center;
    padding: 10px 12px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease;
}

.mtable-row:hover {
    background: rgba(37, 99, 235, 0.04);
}

.animate-row {
    opacity: 0;
    transform: translateX(-12px);
    animation: rowSlideIn 0.5s ease forwards;
}

@keyframes rowSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.status-ok {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.status-pending {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-amber);
}

/* ═══════════════════════════════════════════
   FEATURE TABS (Auto-cycling)
   ═══════════════════════════════════════════ */
.feature-tabs {
    max-width: 1100px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    gap: 4px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 6px;
    margin-bottom: 40px;
    overflow-x: auto;
}

.tab-btn {
    position: relative;
    flex: 1;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border-radius: 10px;
    transition: color 0.3s ease, background 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
}

.tab-btn.active {
    color: var(--text-primary);
    background: rgba(37, 99, 235, 0.1);
}

.tab-btn:hover:not(.active) {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
}

.tab-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--accent-blue);
    border-radius: 1px;
    transition: none;
}

.tab-btn.active .tab-progress {
    animation: tabProgress var(--tab-duration, 5s) linear forwards;
}

@keyframes tabProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.tabs-content {
    position: relative;
    min-height: 300px;
}

.tab-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    animation: tabFadeIn 0.4s ease;
}

.tab-panel.active {
    display: grid;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-info h3 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

.tab-info p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.tab-features-list {
    list-style: none;
    padding: 0;
}

.tab-features-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.tab-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.tab-visual .glass-card {
    border: 1px solid var(--border-color);
}

@keyframes progress-fill {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════
   TESTIMONIALS CAROUSEL v2
   ═══════════════════════════════════════════ */
.testimonials-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.carousel-track {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
}

.testimonial-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 0 4px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-card-v2 {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px;
    position: relative;
}

.tc-quote {
    margin-bottom: 32px;
}

.tc-quote .quote-mark {
    font-size: 72px;
    line-height: 1;
    color: var(--accent-blue);
    opacity: 0.25;
    font-family: Georgia, serif;
    position: absolute;
    top: 20px;
    left: 40px;
}

.tc-quote blockquote {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.8;
    font-style: italic;
    padding-top: 24px;
}

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

.tc-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tc-author .author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-blue-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 16px;
}

.tc-author .author-info {
    display: flex;
    flex-direction: column;
}

.tc-author .author-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.tc-author .author-role {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.tc-metrics {
    display: flex;
    gap: 24px;
}

.tc-metric {
    text-align: center;
}

.tc-metric-value {
    font-size: 22px;
    font-weight: 800;
    display: block;
    font-family: var(--font-mono);
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tc-metric-label {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    cursor: pointer;
}

.carousel-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.08);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: var(--transition-base);
    cursor: pointer;
}

.carousel-dots .dot.active {
    background: var(--accent-blue);
    width: 24px;
    border-radius: 4px;
}

/* ═══════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.open {
    border-color: rgba(37, 99, 235, 0.2);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.faq-trigger:hover {
    color: var(--accent-blue);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-blue);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    padding: 0 24px;
}

.faq-item.open .faq-content {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════
   SMART HEADER
   ═══════════════════════════════════════════ */
header.header-hidden {
    transform: translateY(-100%);
}

header {
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════
   MARQUEE MASK-FADE (Edge fade gradient)
   ═══════════════════════════════════════════ */
.trust-strip .marquee-wrap {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

@media (max-width: 768px) {

    .nav-menu,
    .nav-actions .client-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .hero {
        min-height: 85vh;
        padding-top: 140px;
    }

    .section-padding {
        padding: 80px 0;
    }

    .section-padding-sm {
        padding: 60px 0;
    }

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

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

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

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

    .immersive-banner {
        height: 350px;
    }

    .immersive-banner .banner-overlay {
        padding: 40px 24px 24px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        bottom: 90px;
    }

    h1 {
        font-size: clamp(32px, 8vw, 48px);
    }

    .section-title {
        font-size: clamp(26px, 5vw, 40px);
    }

    /* Comparison cards — full width on mobile */
    .comparison-legacy,
    .comparison-kore {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .comparison-arrow-mobile {
        margin-left: 50% !important;
        transform: translateX(-50%);
    }

    /* Contact form — single column */
    #contactForm {
        grid-template-columns: 1fr !important;
    }

    /* Image cards — adaptive height */
    .image-card {
        height: 220px !important;
    }

    /* Hero desc left alignment on subpages */
    .hero-content {
        text-align: center !important;
    }

    .hero-content .hero-desc {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-content .hero-label {
        display: inline-block;
    }

    /* Marquee — smaller on mobile */
    .marquee-item {
        padding: 0 28px;
        font-size: 11px;
    }

    /* Testimonial card padding */
    .testimonial-card {
        padding: 32px 24px;
    }

    .testimonial-card .quote-mark {
        top: 12px;
        left: 20px;
        font-size: 48px;
    }

    /* Pricing — extra top space for badge */
    .pricing-card.featured {
        margin-top: 16px;
    }

    /* WhatsApp avoids cookie banner overlap */
    .whatsapp-float {
        bottom: 24px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    /* Search demo results — stack on mobile */
    #demoResults [style*="justify-content: space-between"] {
        flex-direction: column;
        gap: 8px;
    }

    /* Software Showcase */
    .dashboard-mockup {
        flex-direction: column;
        min-height: auto;
    }

    .mockup-sidebar {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 10px 16px;
    }

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

    .mtable-header,
    .mtable-row {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }

    .mtable-header>*:nth-child(3),
    .mtable-header>*:nth-child(4),
    .mtable-row>*:nth-child(3),
    .mtable-row>*:nth-child(4) {
        display: none;
    }

    /* Feature Tabs */
    .tab-panel {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    /* Testimonials */
    .testimonial-card-v2 {
        padding: 32px 24px;
    }

    .tc-quote blockquote {
        font-size: 16px;
    }

    .tc-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .tc-metrics {
        gap: 16px;
    }

    /* FAQ */
    .faq-trigger {
        padding: 16px 20px;
        font-size: 14px;
    }

    .faq-content {
        padding: 0 20px;
    }

    .faq-item.open .faq-content {
        padding: 0 20px 16px;
    }
}

@media (max-width: 900px) {
    .legal-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 100px 0 60px;
    }

    .legal-sidebar {
        position: relative;
        top: 0;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 640px) {

    /* Mid-range polish: tighter spacing for medium phones */
    .section-header {
        margin-bottom: 48px;
    }

    .premium-service-card .card-image {
        height: 140px;
    }

    .glass-card {
        backdrop-filter: blur(10px);
    }

    /* Plataforma search demo */
    #demoSearchInput {
        font-size: 15px;
        padding: 16px 52px 16px 18px;
    }

    /* Ensure subpage hero text wraps elegantly */
    .hero h1 br {
        display: none;
    }

    /* Process step text overflow */
    .process-step p {
        font-size: 13px;
    }

    .process-step h4 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 6%;
    }

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

    .premium-service-card {
        padding: 32px 24px;
    }

    .glass-card {
        padding: 28px 20px;
    }

    .image-card {
        height: 180px !important;
    }

    /* Showcase — tighter on small screens */
    .mockup-main {
        padding: 16px;
    }

    .mstat-value {
        font-size: 16px;
    }

    .showcase-browser {
        border-radius: var(--radius-md);
    }

    .hero {
        min-height: 75vh;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-padding-sm {
        padding: 40px 0;
    }

    /* Case study inline 3-col stats → 1col */
    .case-stats-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 360px) {

    /* Very small devices */
    h1 {
        font-size: clamp(26px, 8vw, 36px);
    }

    .hero-label {
        font-size: 10px;
        padding: 6px 14px;
    }

    .hero-desc {
        font-size: 15px !important;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 14px;
    }

    .stat-number {
        font-size: clamp(28px, 7vw, 36px);
    }

    .footer-bottom {
        font-size: 12px;
    }
}

/* ═══════════════════════════════════════════
   REACTBITS v2 — PREMIUM INNOVATION EFFECTS
   ═══════════════════════════════════════════ */

/* Scroll Progress Bar — Apple / Linear style */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-green));
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--accent-blue-glow);
}

/* Film Grain Overlay — Adds cinematic texture */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.018;
    mix-blend-mode: overlay;
}

/* Stagger Reveal — Children animate in sequence */
.stagger-reveal>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-reveal.is-visible>*:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger-reveal.is-visible>*:nth-child(2) {
    transition-delay: 0.12s;
}

.stagger-reveal.is-visible>*:nth-child(3) {
    transition-delay: 0.19s;
}

.stagger-reveal.is-visible>*:nth-child(4) {
    transition-delay: 0.26s;
}

.stagger-reveal.is-visible>*:nth-child(5) {
    transition-delay: 0.33s;
}

.stagger-reveal.is-visible>*:nth-child(6) {
    transition-delay: 0.40s;
}

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

/* Glow Pulse — Subtle breathing glow for key elements */
@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
    }

    50% {
        box-shadow: 0 0 40px rgba(37, 99, 235, 0.3), 0 0 60px rgba(37, 99, 235, 0.1);
    }
}

.glow-pulse {
    animation: glowPulse 3s ease-in-out infinite;
}

/* Text Reveal Mask — Characters slide up from behind a mask */
.text-reveal-mask {
    overflow: hidden;
    display: inline-block;
}

.text-reveal-mask>span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal-mask.is-visible>span {
    transform: translateY(0);
}

/* Morphing Blob — Organic shape for hero backgrounds */
@keyframes morphBlob {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    50% {
        border-radius: 50% 60% 30% 60% / 30% 50% 70% 50%;
    }

    75% {
        border-radius: 60% 30% 60% 40% / 70% 50% 40% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.morph-blob {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(168, 85, 247, 0.15));
    animation: morphBlob 12s ease-in-out infinite;
    filter: blur(60px);
    position: absolute;
    pointer-events: none;
}

/* Line Draw — SVG line animation */
@keyframes drawLine {
    from {
        stroke-dashoffset: 1000;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.line-draw path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.line-draw.is-visible path {
    animation: drawLine 2s ease-out forwards;
}

/* Shimmer Loading — Premium skeleton effect */
@keyframes shimmerSlide {
    0% {
        transform: translateX(-100%);
    }

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

.shimmer-block {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.shimmer-block::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    animation: shimmerSlide 2s infinite;
}

/* Hover Lift — Premium card micro-interaction */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(37, 99, 235, 0.1);
}

/* Focus Ring — Modern focus state for accessibility */
:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Badge Glow — For floating badges */
.badge-glow {
    position: relative;
}

.badge-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    opacity: 0.5;
    filter: blur(8px);
    z-index: -1;
}

/* Smooth Image Zoom on Scroll */
.zoom-on-scroll {
    transition: transform 0.8s ease-out;
    will-change: transform;
}

/* Grid Dot Pattern — Innovation aesthetic */
.dot-pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Comparison Cards Upgrade */
.comparison-legacy {
    border: 1px solid rgba(239, 68, 68, 0.15);
    background: rgba(239, 68, 68, 0.02);
    transition: var(--transition-smooth);
}

.comparison-kore {
    border: 1px solid rgba(37, 99, 235, 0.25);
    background: rgba(37, 99, 235, 0.04);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.08);
    transition: var(--transition-smooth);
}

/* Timeline Vertical Line */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple), var(--accent-green), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 24px;
    height: 24px;
    background: var(--bg-main);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-base);
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-blue);
    box-shadow: 0 0 16px var(--accent-blue-glow);
}

.timeline-content {
    padding-left: 8px;
}

/* Unsplash-style image cards */
.image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-card:hover img {
    transform: scale(1.08);
}

.image-card .image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.8) 0%, transparent 60%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Innovation Score Badge */
.score-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-blue) var(--score, 85%), transparent 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-ring::before {
    content: '';
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-main);
}

.score-ring span {
    position: relative;
    z-index: 1;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 16px;
    color: var(--accent-blue);
}


/* ═══════════════════════════════════════════
   PLATFORM DASHBOARD MOCKUP
   ═══════════════════════════════════════════ */

.platform-dashboard {
    background: rgba(8, 12, 30, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 120px rgba(37, 99, 235, 0.06);
}

.platform-dashboard-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.platform-dashboard-dots {
    display: flex;
    gap: 6px;
}

.platform-dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.platform-dashboard-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 5px 16px;
    border-radius: 6px;
    max-width: 320px;
    margin: 0 auto;
}

.platform-dashboard-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent-green);
    letter-spacing: 0.5px;
}

.platform-dashboard-body {
    display: flex;
    min-height: 520px;
}

/* Sidebar */
.platform-sidebar {
    width: 200px;
    border-right: 1px solid var(--border-color);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.01);
    flex-shrink: 0;
}

.platform-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-primary);
}

.platform-sidebar-logo svg {
    color: var(--accent-blue);
}

.platform-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 8px;
    flex: 1;
}

.platform-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: default;
    transition: background 0.2s, color 0.2s;
}

.platform-sidebar-item.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-blue);
}

.platform-sidebar-item svg {
    flex-shrink: 0;
}

.platform-sidebar-client {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.platform-sidebar-avatar {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

/* Main Area */
.platform-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    overflow: hidden;
}

/* KPI Row */
.platform-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.platform-kpi-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 16px;
}

.platform-kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.platform-kpi-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 6px;
}

.platform-kpi-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
}

.platform-kpi-change.positive {
    color: var(--accent-green);
}

.platform-kpi-change.warning {
    color: var(--accent-amber);
}

/* Charts Row */
.platform-charts-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 12px;
    flex: 1;
}

.platform-chart-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.platform-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.platform-chart-header h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.platform-chart-header span {
    font-size: 10px;
    color: var(--text-muted);
}

.platform-chart-tabs {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 2px;
}

.platform-chart-tabs button {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.2s;
}

.platform-chart-tabs button.active {
    background: rgba(37, 99, 235, 0.2);
    color: var(--accent-blue);
}

.platform-chart-body {
    padding: 16px;
}

.platform-forecast-svg {
    width: 100%;
    height: 140px;
}

.platform-main-line {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: platformDrawLine 2.5s ease-out forwards;
    animation-delay: 0.5s;
}

.platform-area-path {
    opacity: 0;
    animation: platformFadeArea 1s ease-out forwards;
    animation-delay: 2s;
}

.platform-confidence-band {
    opacity: 0;
    animation: platformFadeArea 1s ease-out forwards;
    animation-delay: 2.2s;
}

@keyframes platformDrawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes platformFadeArea {
    to {
        opacity: 1;
    }
}

.platform-chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 9px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    opacity: 0.5;
}

/* Alerts List */
.platform-alerts-list {
    display: flex;
    flex-direction: column;
}

.platform-alert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.2s;
}

.platform-alert-item:last-child {
    border-bottom: none;
}

.platform-alert-badge {
    font-size: 8px;
    font-weight: 800;
    font-family: var(--font-mono);
    padding: 3px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    width: 56px;
    text-align: center;
}

.platform-alert-badge.critical {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.platform-alert-badge.high {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.platform-alert-badge.medium {
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.platform-alert-badge.low {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.platform-alert-info {
    flex: 1;
    min-width: 0;
}

.platform-alert-ref {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.platform-alert-detail {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
    font-family: var(--font-mono);
}

.platform-alert-detail strong {
    color: var(--accent-green);
}

.platform-alert-days {
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-muted);
    flex-shrink: 0;
    opacity: 0.6;
}

/* Bottom Row */
.platform-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Search List */
.platform-search-list {
    display: flex;
    flex-direction: column;
}

.platform-search-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    gap: 12px;
}

.platform-search-item:last-child {
    border-bottom: none;
}

.platform-search-query {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    min-width: 0;
}

.platform-search-query span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.platform-search-query svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.platform-search-meta {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.platform-search-time {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.platform-search-results {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
}

/* Model Performance */
.platform-model-list {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.platform-model-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.platform-model-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    width: 80px;
    flex-shrink: 0;
}

.platform-model-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.platform-model-bar-wrap {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    overflow: hidden;
}

.platform-model-bar {
    height: 100%;
    width: 0;
    background: var(--bar-color);
    border-radius: 3px;
    animation: platformBarGrow 1.5s ease-out forwards;
    animation-delay: 1s;
}

@keyframes platformBarGrow {
    to {
        width: var(--bar-width);
    }
}

.platform-model-pct {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    width: 42px;
    text-align: right;
    flex-shrink: 0;
}

/* ─── RESPONSIVE: Platform Dashboard ─── */

@media (max-width: 1024px) {
    .platform-kpi-row {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .platform-sidebar {
        display: none;
    }

    .platform-kpi-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .platform-kpi-value {
        font-size: 20px;
    }

    .platform-kpi-card {
        padding: 12px;
    }

    .platform-main {
        padding: 14px;
        gap: 12px;
    }

    .platform-dashboard-body {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .platform-kpi-row {
        grid-template-columns: 1fr;
    }

    .platform-dashboard-url {
        display: none;
    }
}

/* ─── PHASE 6: NEO-SAAS DARK TECH HERO ─── */

.hero-dark-tech {
    background-color: #030408;
    /* Extremely dark, almost black */
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

/* Data Wave Glow Effect */
.neon-wave-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 195, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(0, 255, 170, 0.05) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
    filter: blur(50px);
}

.wave-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
}

/* Metallic 3D Text (SaaW Replica) */
.hero-title-metal {
    font-family: var(--font-heading);
    font-size: clamp(80px, 16vw, 180px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.05em;
    text-align: center;
    margin: 0;

    /* Chrome/Silver Glossy Gradient */
    background: linear-gradient(to bottom,
            #f4f6fa 0%,
            /* Bright top edge */
            #d1d8e1 25%,
            /* Light silver */
            #8291a1 48%,
            /* Darker mid-top */
            #0f141a 50%,
            /* The deep horizon reflection line */
            #6e8093 52%,
            /* Bright horizon bounce */
            #b8c5d1 75%,
            /* Light silver bottom */
            #e3eaf1 100%
            /* Bright bottom edge */
        );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* Crisp drop shadow to separate from background */
    filter: drop-shadow(0px 10px 25px rgba(0, 0, 0, 0.9)) drop-shadow(0px 0px 40px rgba(0, 195, 255, 0.1));
    position: relative;
    z-index: 10;
}

/* Tracked Subtitle */
.subtitle-tracked {
    font-family: var(--font-mono);
    font-size: clamp(10px, 2vw, 14px);
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #94a3b8;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
}

/* Glowing Cyan Button (SaaW Replica) */
.btn-glow-cyan {
    position: relative;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: #f8fafc;
    border: 1px solid rgba(0, 195, 255, 0.4);
    border-top: 1px solid rgba(0, 195, 255, 0.9);
    /* Strong top reflective highlight */
    box-shadow:
        0 10px 30px rgba(0, 195, 255, 0.2),
        /* Ambient glow */
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        /* Inner soft highlight */
        inset 0 10px 20px rgba(0, 195, 255, 0.1);
    /* Inner subtle cyan */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 195, 255, 0.5);
    /* Text glow */
    transition: all 0.3s ease;
    z-index: 10;
    overflow: hidden;
}

/* Moving shine effect */
.btn-glow-cyan::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.4),
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.8s ease;
}

.btn-glow-cyan:hover {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    box-shadow:
        0 10px 40px rgba(0, 195, 255, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        inset 0 10px 20px rgba(0, 195, 255, 0.2);
    transform: translateY(-2px);
    border-top: 1px solid rgba(0, 195, 255, 1);
}

.btn-glow-cyan::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-glow-cyan:hover {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
    box-shadow:
        0 0 30px rgba(14, 165, 233, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-glow-cyan:hover::before {
    transform: translateX(100%);
}

/* ==========================================================================
   DYNAMIC FEATURE SCROLL & NATIVE AI (PHASE 11)
   ========================================================================== */

.feature-scroll-block {
    opacity: 0.3;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-15px);
    will-change: opacity, transform;
}

.feature-scroll-block.opacity-100 {
    transform: translateX(0);
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(600%);
    }
}

.OCR-scanner-line {
    animation: scanline 2.5s linear infinite;
}

@keyframes scanner-pulse {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
    }
}

.scanner-pulse {
    animation: scanner-pulse 1.5s ease-in-out infinite;
}

@keyframes typing_fast {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: rgba(0, 195, 255, 1);
    }
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}