/* ══════════════════════════════════════════════════════════════
   Pyxely — Landing Page  |  Modern Animated Design
   ══════════════════════════════════════════════════════════════ */

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

/* Hide the native Chrome cursor — custom-cursor.js draws our own. */
body, body *, body a, body button, body input, body textarea, body select { cursor: none !important; }

body, html {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1f2937; background: #050a18;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ── Variables ── */
:root {
    --blue: #3b82f6;
    --green: #10b981;
    --cyan: #06b6d4;
    --purple: #8b5cf6;
    --yellow: #eab308;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --gradient: linear-gradient(135deg, #3b82f6, #10b981);
    --gradient-blue-cyan: linear-gradient(135deg, #3b82f6, #06b6d4);
    --gradient-dark: linear-gradient(135deg, #0f172a, #1e293b);
    --radius: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
    --shadow-glow-blue: 0 0 40px rgba(59,130,246,.15);
    --shadow-glow-green: 0 0 40px rgba(16,185,129,.15);
}

/* ══════════════════════════════════════════
   PARTICLE CANVAS
   ══════════════════════════════════════════ */
#erpParticleCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    pointer-events: none;
}

/* ══════════════════════════════════════════
   SCROLL ANIMATION CLASSES
   ══════════════════════════════════════════ */
[data-anim] {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(.16,1,.3,1),
                transform 0.8s cubic-bezier(.16,1,.3,1);
    will-change: opacity, transform;
}
[data-anim="fade-up"] { transform: translateY(50px); }
[data-anim="fade-down"] { transform: translateY(-50px); }
[data-anim="fade-left"] { transform: translateX(60px); }
[data-anim="fade-right"] { transform: translateX(-60px); }
[data-anim="scale-up"] { transform: scale(0.85); }
[data-anim="zoom-in"] { transform: scale(0.9); }

[data-anim].anim-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.erp-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 48px; height: 72px;
    background: rgba(5,10,24,.6);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: all .4s cubic-bezier(.16,1,.3,1);
}
.erp-nav.scrolled {
    background: rgba(5,10,24,.92);
    box-shadow: 0 4px 30px rgba(0,0,0,.3);
    height: 64px;
}
.erp-nav__logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 18px; font-weight: 800; color: #fff;
}
.erp-nav__logo img { width: 32px; height: 32px; }
.erp-nav__links { display: flex; align-items: center; gap: 6px; }
.erp-nav__link {
    padding: 8px 16px; font-size: 14px; font-weight: 500;
    color: rgba(255,255,255,.6); border-radius: 10px; transition: all .25s;
    position: relative;
}
.erp-nav__link::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px;
    background: var(--gradient); border-radius: 2px;
    transition: all .3s cubic-bezier(.16,1,.3,1);
    transform: translateX(-50%);
}
.erp-nav__link:hover { color: #fff; }
.erp-nav__link:hover::after { width: 24px; }
.erp-nav__btn {
    padding: 9px 22px; font-size: 13px; font-weight: 700;
    border-radius: 10px; border: none; cursor: pointer;
    transition: all .3s cubic-bezier(.16,1,.3,1);
    display: inline-flex; align-items: center; gap: 6px;
}
.erp-nav__btn--outline {
    background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12); color: #fff;
}
.erp-nav__btn--outline:hover {
    border-color: var(--blue); color: var(--blue);
    background: rgba(59,130,246,.08);
}
.erp-nav__btn--primary {
    background: var(--gradient); color: #fff;
    box-shadow: 0 2px 16px rgba(59,130,246,.3);
}
.erp-nav__btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(59,130,246,.45);
}

/* Mobile menu button */
.erp-nav__mobile-btn {
    display: none; background: none; border: none; cursor: pointer;
    width: 32px; height: 24px; position: relative;
    flex-direction: column; justify-content: space-between;
}
.erp-nav__mobile-btn span {
    display: block; width: 100%; height: 2px;
    background: #fff; border-radius: 2px; transition: all .3s;
}

/* ══════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════ */
.erp-hero {
    padding: 160px 48px 100px;
    background: #050a18;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Gradient mesh orbs */
.erp-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.5;
}
.erp-hero__orb--1 {
    width: 600px; height: 600px;
    top: -200px; left: -150px;
    background: radial-gradient(circle, rgba(59,130,246,.3), transparent 70%);
    animation: orbFloat1 12s ease-in-out infinite;
}
.erp-hero__orb--2 {
    width: 500px; height: 500px;
    bottom: -100px; right: -100px;
    background: radial-gradient(circle, rgba(16,185,129,.25), transparent 70%);
    animation: orbFloat2 15s ease-in-out infinite;
}
.erp-hero__orb--3 {
    width: 350px; height: 350px;
    top: 30%; right: 10%;
    background: radial-gradient(circle, rgba(6,182,212,.2), transparent 70%);
    animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, 30px) scale(1.05); }
    66% { transform: translate(-20px, -20px) scale(0.95); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, -40px) scale(1.08); }
    66% { transform: translate(20px, 20px) scale(0.92); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 30px) scale(1.1); }
}

/* Floating decorative shapes */
.erp-float {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: floatAppear 1s ease forwards;
}
.erp-float--1 {
    width: 8px; height: 8px;
    top: 20%; left: 15%;
    background: var(--blue);
    box-shadow: 0 0 20px rgba(59,130,246,.4);
    animation: floatShape1 8s ease-in-out infinite, floatAppear 1s ease forwards;
    animation-delay: 0.2s, 0s;
}
.erp-float--2 {
    width: 6px; height: 6px;
    top: 35%; right: 20%;
    background: var(--green);
    box-shadow: 0 0 20px rgba(16,185,129,.4);
    animation: floatShape2 10s ease-in-out infinite, floatAppear 1s ease forwards;
    animation-delay: 0.4s, 0.2s;
}
.erp-float--3 {
    width: 10px; height: 10px;
    bottom: 30%; left: 10%;
    background: var(--cyan);
    box-shadow: 0 0 20px rgba(6,182,212,.4);
    animation: floatShape3 7s ease-in-out infinite, floatAppear 1s ease forwards;
    animation-delay: 0.6s, 0.4s;
    border-radius: 3px;
    transform: rotate(45deg);
}
.erp-float--4 {
    width: 5px; height: 5px;
    top: 60%; right: 12%;
    background: var(--yellow);
    box-shadow: 0 0 20px rgba(234,179,8,.4);
    animation: floatShape1 9s ease-in-out infinite, floatAppear 1s ease forwards;
    animation-delay: 0.8s, 0.6s;
}
.erp-float--5 {
    width: 12px; height: 12px;
    top: 15%; right: 30%;
    background: transparent;
    border: 2px solid rgba(139,92,246,.3);
    animation: floatShape2 11s ease-in-out infinite, floatAppear 1s ease forwards;
    animation-delay: 1s, 0.8s;
}
.erp-float--6 {
    width: 7px; height: 7px;
    bottom: 25%; right: 35%;
    background: var(--purple);
    box-shadow: 0 0 20px rgba(139,92,246,.4);
    animation: floatShape3 8s ease-in-out infinite, floatAppear 1s ease forwards;
    animation-delay: 1.2s, 1s;
}

@keyframes floatAppear {
    from { opacity: 0; } to { opacity: 1; }
}
@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(15px, -20px); }
    50% { transform: translate(-10px, 15px); }
    75% { transform: translate(20px, 10px); }
}
@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-20px, 10px); }
    50% { transform: translate(15px, -15px); }
    75% { transform: translate(-10px, -20px); }
}
@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0) rotate(45deg); }
    25% { transform: translate(10px, 20px) rotate(90deg); }
    50% { transform: translate(-15px, -10px) rotate(135deg); }
    75% { transform: translate(20px, -15px) rotate(180deg); }
}

.erp-hero__content { position: relative; z-index: 2; }

.erp-hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 999px; font-size: 13px; font-weight: 600;
    background: rgba(59,130,246,.1);
    color: var(--blue);
    border: 1px solid rgba(59,130,246,.2);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,.2); }
    50% { box-shadow: 0 0 0 12px rgba(59,130,246,0); }
}
.erp-hero__badge i { font-size: 12px; }

.erp-hero__title {
    font-size: 64px; font-weight: 900; line-height: 1.08;
    color: #fff; max-width: 820px; margin: 0 auto 24px;
    letter-spacing: -2px;
}
.erp-hero__title span {
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}
.erp-hero__title span::after {
    content: '';
    position: absolute; bottom: -4px; left: 0; right: 0;
    height: 4px; border-radius: 2px;
    background: var(--gradient);
    opacity: 0.4;
}

.erp-hero__sub {
    font-size: 18px; color: rgba(255,255,255,.5); max-width: 620px;
    margin: 0 auto 40px; line-height: 1.8;
}

.erp-hero__actions {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin-bottom: 64px;
}

.erp-hero__btn {
    padding: 16px 36px; font-size: 15px; font-weight: 700;
    border-radius: 14px; border: none; cursor: pointer;
    transition: all .3s cubic-bezier(.16,1,.3,1);
    display: inline-flex; align-items: center; gap: 10px;
    position: relative; overflow: hidden;
}
.erp-hero__btn--primary {
    background: var(--gradient); color: #fff;
    box-shadow: 0 4px 24px rgba(59,130,246,.35);
}
.erp-hero__btn--primary::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transition: left .6s;
}
.erp-hero__btn--primary:hover::before { left: 100%; }
.erp-hero__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(59,130,246,.5);
}

.erp-hero__btn--secondary {
    background: rgba(255,255,255,.06);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
}
.erp-hero__btn--secondary:hover {
    border-color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.1);
    transform: translateY(-2px);
}

/* Hero Stats */
.erp-hero__stats {
    display: flex; justify-content: center; gap: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,.08);
    position: relative; z-index: 2;
}
.erp-hero__stat { text-align: center; }
.erp-hero__stat-value {
    font-size: 36px; font-weight: 900; color: #fff;
    font-variant-numeric: tabular-nums;
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.erp-hero__stat-label {
    font-size: 13px; color: rgba(255,255,255,.4); margin-top: 4px; font-weight: 500;
}

/* Scroll indicator */
.erp-hero__scroll-indicator {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    color: rgba(255,255,255,.3);
    font-size: 11px; font-weight: 500;
    letter-spacing: .05em;
}
.erp-hero__scroll-mouse {
    width: 24px; height: 38px;
    border: 2px solid rgba(255,255,255,.2);
    border-radius: 12px;
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: 6px;
}
.erp-hero__scroll-wheel {
    width: 3px; height: 8px;
    background: rgba(255,255,255,.4);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   FEATURES SECTION
   ══════════════════════════════════════════ */
.erp-features {
    padding: 120px 48px;
    background: #080e22;
    position: relative;
}
.erp-features::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,.2), rgba(16,185,129,.2), transparent);
}

.erp-section-header {
    text-align: center; max-width: 600px; margin: 0 auto 56px;
}
.erp-section-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 16px; border-radius: 999px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px;
}
.erp-section-tag--blue { background: rgba(59,130,246,.12); color: var(--blue); border: 1px solid rgba(59,130,246,.2); }
.erp-section-tag--green { background: rgba(16,185,129,.12); color: var(--green); border: 1px solid rgba(16,185,129,.2); }
.erp-section-tag--purple { background: rgba(139,92,246,.12); color: var(--purple); border: 1px solid rgba(139,92,246,.2); }
.erp-section-tag--cyan { background: rgba(6,182,212,.12); color: var(--cyan); border: 1px solid rgba(6,182,212,.2); }

.erp-section-title {
    font-size: 42px; font-weight: 800; color: #fff;
    margin-bottom: 14px; letter-spacing: -.8px;
}
.erp-section-sub { font-size: 16px; color: rgba(255,255,255,.45); line-height: 1.7; }

.erp-features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; max-width: 1100px; margin: 0 auto;
}

.erp-feature-card {
    background: rgba(255,255,255,.03);
    border-radius: var(--radius); padding: 32px;
    border: 1px solid rgba(255,255,255,.06);
    transition: all .4s cubic-bezier(.16,1,.3,1);
    position: relative; overflow: hidden;
    transform-style: preserve-3d;
    perspective: 800px;
}
.erp-feature-card__glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,.08), transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0; transition: opacity .4s;
    pointer-events: none;
}
.erp-feature-card:hover .erp-feature-card__glow { opacity: 1; }
.erp-feature-card:hover {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    box-shadow: 0 8px 40px rgba(0,0,0,.2);
}
.erp-feature-card__icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 20px;
    transition: transform .3s;
}
.erp-feature-card:hover .erp-feature-card__icon {
    transform: scale(1.1) rotate(-3deg);
}
.erp-feature-card__title {
    font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px;
}
.erp-feature-card__desc {
    font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.7;
}

/* ══════════════════════════════════════════
   AI SECTION
   ══════════════════════════════════════════ */
.erp-ai {
    padding: 120px 48px;
    background: linear-gradient(180deg, #0a1128 0%, #0d1a3a 50%, #0a1128 100%);
    color: #fff;
    position: relative; overflow: hidden;
}
.erp-ai__neural-canvas {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none; opacity: 0.4;
}
.erp-ai__orb {
    position: absolute; border-radius: 50%; pointer-events: none;
    filter: blur(60px);
}
.erp-ai__orb--1 {
    width: 400px; height: 400px;
    top: -100px; right: -100px;
    background: radial-gradient(circle, rgba(139,92,246,.2), transparent 70%);
    animation: orbFloat1 14s ease-in-out infinite;
}
.erp-ai__orb--2 {
    width: 300px; height: 300px;
    bottom: -80px; left: -80px;
    background: radial-gradient(circle, rgba(59,130,246,.15), transparent 70%);
    animation: orbFloat2 12s ease-in-out infinite;
}

.erp-ai-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; max-width: 1100px; margin: 0 auto; align-items: center;
    position: relative; z-index: 2;
}
.erp-ai__title {
    font-size: 42px; font-weight: 800; margin-bottom: 16px; letter-spacing: -.8px;
}
.erp-ai__sub {
    font-size: 16px; color: rgba(255,255,255,.5); line-height: 1.8; margin-bottom: 28px;
}
.erp-ai-features { display: flex; flex-direction: column; gap: 14px; }
.erp-ai-feature {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 18px; border-radius: 14px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
    transition: all .3s cubic-bezier(.16,1,.3,1);
}
.erp-ai-feature:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.1);
    transform: translateX(6px);
}
.erp-ai-feature__icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; flex-shrink: 0;
}
.erp-ai-feature__text { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; }
.erp-ai-feature__text b { color: #fff; }

/* AI Visual — Animated Rings */
.erp-ai__visual {
    display: flex; align-items: center; justify-content: center;
    position: relative; width: 100%; aspect-ratio: 1;
    max-width: 400px; margin: 0 auto;
}
.erp-ai__visual-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.06);
}
.erp-ai__visual-ring--1 {
    width: 100%; height: 100%;
    animation: ringPulse 4s ease-in-out infinite;
}
.erp-ai__visual-ring--2 {
    width: 72%; height: 72%;
    border-color: rgba(59,130,246,.15);
    animation: ringPulse 4s ease-in-out infinite 0.5s;
}
.erp-ai__visual-ring--3 {
    width: 44%; height: 44%;
    border-color: rgba(16,185,129,.15);
    animation: ringPulse 4s ease-in-out infinite 1s;
}
@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 1; }
}

.erp-ai__visual-core {
    width: 80px; height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(139,92,246,.2));
    border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: rgba(255,255,255,.6);
    animation: corePulse 3s ease-in-out infinite;
    backdrop-filter: blur(16px);
    z-index: 2;
}
@keyframes corePulse {
    0%, 100% { box-shadow: 0 0 30px rgba(59,130,246,.15); }
    50% { box-shadow: 0 0 60px rgba(59,130,246,.3); }
}

/* Orbiting dots */
.erp-ai__orbit {
    position: absolute; border-radius: 50%;
    border: 1px dashed rgba(255,255,255,.05);
}
.erp-ai__orbit--1 {
    width: 88%; height: 88%;
    animation: orbitSpin 20s linear infinite;
}
.erp-ai__orbit--2 {
    width: 62%; height: 62%;
    animation: orbitSpin 15s linear infinite reverse;
}
.erp-ai__orbit--3 {
    width: 36%; height: 36%;
    animation: orbitSpin 10s linear infinite;
}
@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.erp-ai__orbit-dot {
    position: absolute; top: 0; left: 50%;
    width: 6px; height: 6px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.erp-ai__orbit--1 .erp-ai__orbit-dot { background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.erp-ai__orbit--2 .erp-ai__orbit-dot { background: var(--green); box-shadow: 0 0 12px var(--green); }
.erp-ai__orbit--3 .erp-ai__orbit-dot { background: var(--yellow); box-shadow: 0 0 12px var(--yellow); }

/* ══════════════════════════════════════════
   COMMUNICATION SECTION
   ══════════════════════════════════════════ */
.erp-comm {
    padding: 120px 48px;
    background: #080e22;
    position: relative;
}
.erp-comm::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16,185,129,.2), rgba(6,182,212,.2), transparent);
}

.erp-comm-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px; max-width: 1100px; margin: 0 auto;
}
.erp-comm-card {
    border-radius: var(--radius); padding: 36px;
    border: 1px solid rgba(255,255,255,.06);
    position: relative; overflow: hidden;
    transition: all .4s cubic-bezier(.16,1,.3,1);
    transform-style: preserve-3d;
}
.erp-comm-card__shimmer {
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.03), transparent);
    transition: left .8s;
    pointer-events: none;
}
.erp-comm-card:hover .erp-comm-card__shimmer { left: 100%; }
.erp-comm-card:hover {
    border-color: rgba(255,255,255,.1);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0,0,0,.2);
}

.erp-comm-card--telegram { background: linear-gradient(135deg, rgba(0,136,204,.06), rgba(0,136,204,.02)); }
.erp-comm-card--whatsapp { background: linear-gradient(135deg, rgba(37,211,102,.06), rgba(37,211,102,.02)); }
.erp-comm-card--chat { background: linear-gradient(135deg, rgba(139,92,246,.06), rgba(139,92,246,.02)); }
.erp-comm-card--ai { background: linear-gradient(135deg, rgba(234,179,8,.06), rgba(234,179,8,.02)); }

.erp-comm-card__icon { font-size: 36px; margin-bottom: 18px; }
.erp-comm-card__title { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.erp-comm-card__desc { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.7; }

.erp-comm-card__badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; border-radius: 999px;
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em; margin-top: 16px;
}
.erp-comm-card__badge--soon {
    background: rgba(234,179,8,.1); color: var(--yellow);
    border: 1px solid rgba(234,179,8,.2);
}
.erp-comm-card__badge--live {
    background: rgba(16,185,129,.1); color: var(--green);
    border: 1px solid rgba(16,185,129,.2);
}

/* Live pulse dot */
.erp-pulse {
    display: inline-block; width: 6px; height: 6px;
    border-radius: 50%; background: var(--green);
    position: relative;
}
.erp-pulse::before {
    content: ''; position: absolute;
    top: -3px; left: -3px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--green);
    opacity: 0;
    animation: liveRing 1.5s ease-out infinite;
}
@keyframes liveRing {
    0% { transform: scale(0.5); opacity: 0.6; }
    100% { transform: scale(2); opacity: 0; }
}

/* ══════════════════════════════════════════
   MODULES SECTION
   ══════════════════════════════════════════ */
.erp-modules {
    padding: 120px 48px;
    background: linear-gradient(180deg, #0a1128, #080e22);
    position: relative;
}
.erp-modules::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6,182,212,.2), rgba(59,130,246,.2), transparent);
}

.erp-modules-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; max-width: 1100px; margin: 0 auto;
}
.erp-module {
    background: rgba(255,255,255,.03);
    border-radius: 16px; padding: 28px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.05);
    transition: all .35s cubic-bezier(.16,1,.3,1);
    cursor: default;
}
.erp-module:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.1);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.erp-module__icon {
    width: 52px; height: 52px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin: 0 auto 14px;
    transition: transform .3s;
}
.erp-module:hover .erp-module__icon {
    transform: scale(1.15) rotate(-5deg);
}
.erp-module__name { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.erp-module__desc { font-size: 12px; color: rgba(255,255,255,.4); }

/* ══════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════ */
.erp-cta {
    padding: 120px 48px;
    background: linear-gradient(135deg, #0d1a3a, #0a1128);
    text-align: center;
    color: #fff;
    position: relative; overflow: hidden;
}
.erp-cta::before {
    content: ''; position: absolute;
    top: 50%; left: 50%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,.12), transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.erp-cta__particles {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
}
.erp-cta__title {
    font-size: 44px; font-weight: 800; margin-bottom: 16px;
    letter-spacing: -.8px; position: relative; z-index: 2;
}
.erp-cta__sub {
    font-size: 17px; color: rgba(255,255,255,.5);
    margin-bottom: 36px; max-width: 500px;
    margin-left: auto; margin-right: auto;
    line-height: 1.7; position: relative; z-index: 2;
}
.erp-cta__btn {
    padding: 16px 40px; font-size: 16px; font-weight: 700;
    border-radius: 14px; border: none; cursor: pointer;
    background: var(--gradient); color: #fff;
    box-shadow: 0 4px 24px rgba(59,130,246,.3);
    transition: all .3s cubic-bezier(.16,1,.3,1);
    display: inline-flex; align-items: center; gap: 10px;
    position: relative; z-index: 2; overflow: hidden;
}
.erp-cta__btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transition: left .6s;
}
.erp-cta__btn:hover::before { left: 100%; }
.erp-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(59,130,246,.5);
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.erp-footer {
    padding: 48px; background: #050a18;
    color: rgba(255,255,255,.35);
    text-align: center; font-size: 13px;
    border-top: 1px solid rgba(255,255,255,.05);
}
.erp-footer a {
    color: rgba(255,255,255,.5);
    transition: color .25s;
}
.erp-footer a:hover { color: var(--blue); }
.erp-footer__links {
    display: flex; justify-content: center; gap: 24px; margin-bottom: 16px;
}

/* ══════════════════════════════════════════
   PARALLAX UTILITY
   ══════════════════════════════════════════ */
[data-parallax] {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .erp-features-grid { grid-template-columns: repeat(2, 1fr); }
    .erp-modules-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .erp-nav { padding: 0 20px; }
    .erp-nav__links { display: none; }
    .erp-nav__mobile-btn { display: flex; }

    .erp-hero { padding: 120px 20px 80px; min-height: auto; }
    .erp-hero__title { font-size: 36px; letter-spacing: -1px; }
    .erp-hero__sub { font-size: 15px; }
    .erp-hero__stats { flex-direction: column; gap: 20px; }
    .erp-hero__stat-value { font-size: 28px; }
    .erp-hero__actions { flex-direction: column; }
    .erp-hero__btn { width: 100%; justify-content: center; }
    .erp-hero__scroll-indicator { display: none; }

    .erp-features-grid { grid-template-columns: 1fr; }
    .erp-ai-grid { grid-template-columns: 1fr; }
    .erp-ai__visual { max-width: 280px; margin-top: 40px; }
    .erp-comm-grid { grid-template-columns: 1fr; }
    .erp-modules-grid { grid-template-columns: repeat(2, 1fr); }

    section { padding: 80px 20px !important; }

    .erp-section-title { font-size: 30px; }
    .erp-cta__title { font-size: 30px; }

    .erp-float { display: none; }
}

@media (max-width: 480px) {
    .erp-hero__title { font-size: 30px; }
    .erp-modules-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .erp-module { padding: 20px; }
}

/* ══════════════════════════════════════════
   HERO SHOWCASE MOCKUP
   ══════════════════════════════════════════ */
.erp-hero__showcase {
    position: relative; z-index: 2;
    width: 100%; max-width: 1000px; margin: 56px auto 64px;
}
.erp-hero__mockup {
    border-radius: 18px; overflow: hidden;
    background: linear-gradient(135deg, #0a1128, #0d1a3a);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 30px 100px rgba(59,130,246,.25), 0 10px 40px rgba(0,0,0,.5);
    transform: perspective(1500px) rotateX(6deg);
    transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.erp-hero__mockup:hover { transform: perspective(1500px) rotateX(2deg) translateY(-4px); }
.erp-hero__mockup-bar {
    display: flex; gap: 6px; padding: 12px 16px;
    background: rgba(0,0,0,.3);
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.erp-hero__mockup-bar span {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,.15);
}
.erp-hero__mockup-bar span:nth-child(1) { background: #ff5f57; }
.erp-hero__mockup-bar span:nth-child(2) { background: #febc2e; }
.erp-hero__mockup-bar span:nth-child(3) { background: #28c840; }
.erp-hero__mockup img {
    display: block; width: 100%; height: auto;
}

/* CSS-generated dashboard mockup */
.erp-hero__mockup-url {
    margin-left: auto;
    padding: 4px 14px; border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.5);
    font-size: 11px; font-weight: 500;
    display: inline-flex; align-items: center; gap: 6px;
}
.erp-hero__mockup-url i { font-size: 10px; color: #10b981; }
.erp-hero__mockup-body {
    padding: 22px;
    background: linear-gradient(180deg, #0a1128, #050a18);
}
.mock-kpis {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 10px; margin-bottom: 16px;
}
.mock-kpi {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px; padding: 14px 16px;
    text-align: left;
}
.mock-kpi__label { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.mock-kpi__value { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.mock-kpi__delta { font-size: 11px; font-weight: 700; }
.mock-up { color: #10b981; }
.mock-down { color: #ef4444; }

.mock-grid {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px;
}
.mock-chart, .mock-side {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px; padding: 14px 16px;
}
.mock-chart__title, .mock-side__title {
    font-size: 11px; font-weight: 700; color: rgba(255,255,255,.55);
    text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px;
}
.mock-chart__bars {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 4px; height: 80px;
}
.mock-chart__bars span {
    flex: 1;
    height: var(--h);
    background: linear-gradient(180deg, #3b82f6, #06b6d4);
    border-radius: 4px 4px 2px 2px;
    opacity: .8;
    animation: barRise 1.2s cubic-bezier(.16,1,.3,1) backwards;
}
.mock-chart__bars span:nth-child(odd) { background: linear-gradient(180deg, #10b981, #06b6d4); }
.mock-chart__bars span:nth-child(1) { animation-delay: .05s; }
.mock-chart__bars span:nth-child(2) { animation-delay: .1s; }
.mock-chart__bars span:nth-child(3) { animation-delay: .15s; }
.mock-chart__bars span:nth-child(4) { animation-delay: .2s; }
.mock-chart__bars span:nth-child(5) { animation-delay: .25s; }
.mock-chart__bars span:nth-child(6) { animation-delay: .3s; }
.mock-chart__bars span:nth-child(7) { animation-delay: .35s; }
.mock-chart__bars span:nth-child(8) { animation-delay: .4s; }
.mock-chart__bars span:nth-child(9) { animation-delay: .45s; }
.mock-chart__bars span:nth-child(10) { animation-delay: .5s; }
.mock-chart__bars span:nth-child(11) { animation-delay: .55s; }
.mock-chart__bars span:nth-child(12) { animation-delay: .6s; }
.mock-chart__bars span:nth-child(13) { animation-delay: .65s; }
.mock-chart__bars span:nth-child(14) { animation-delay: .7s; }
@keyframes barRise { from { height: 0; opacity: 0; } }

.mock-side__row {
    display: flex; align-items: center; gap: 8px;
    font-size: 11.5px; color: rgba(255,255,255,.7);
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255,255,255,.05);
}
.mock-side__row:last-child { border-bottom: none; }
.mock-side__row i { width: 14px; flex-shrink: 0; font-size: 11px; }

/* Light theme — mockup */
[data-theme="light"] .erp-hero__mockup-url {
    background: rgba(15,23,42,.05);
    color: rgba(15,23,42,.6);
}
[data-theme="light"] .erp-hero__mockup-body {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}
[data-theme="light"] .mock-kpi,
[data-theme="light"] .mock-chart,
[data-theme="light"] .mock-side {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
    box-shadow: 0 1px 2px rgba(15,23,42,.03);
}
[data-theme="light"] .mock-kpi__label,
[data-theme="light"] .mock-chart__title,
[data-theme="light"] .mock-side__title {
    color: rgba(15,23,42,.5);
}
[data-theme="light"] .mock-kpi__value { color: #0f172a; }
[data-theme="light"] .mock-side__row {
    color: rgba(15,23,42,.7);
    border-bottom-color: rgba(15,23,42,.06);
}

/* Brand icon */
.erp-brand__icon {
    position: absolute; top: 16px; right: 16px;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(5,10,24,.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    transition: all .3s;
}
.erp-brand:hover .erp-brand__icon {
    background: var(--gradient);
    transform: scale(1.1) rotate(-5deg);
    border-color: transparent;
}
[data-theme="light"] .erp-brand__icon {
    background: rgba(255,255,255,.95);
    color: #0f172a;
    border-color: rgba(15,23,42,.08);
}

/* Marketplace small text */
.erp-market small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,.45);
    margin-top: 4px;
    letter-spacing: .02em;
}
[data-theme="light"] .erp-market small { color: rgba(15,23,42,.5); }

@media (max-width: 768px) {
    .mock-kpis { grid-template-columns: repeat(2, 1fr); }
    .mock-grid { grid-template-columns: 1fr; }
    .mock-chart__bars { height: 60px; }
    .erp-hero__mockup-url { display: none; }
}
.erp-hero__chip {
    position: absolute; padding: 10px 16px;
    background: rgba(15,23,42,.85); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px; color: #fff;
    font-size: 13px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    animation: chipFloat 5s ease-in-out infinite;
}
.erp-hero__chip--1 { top: 12%; left: -2%; animation-delay: 0s; }
.erp-hero__chip--2 { top: 38%; right: -3%; animation-delay: 1.5s; }
.erp-hero__chip--3 { bottom: 18%; left: -1%; animation-delay: 3s; }
@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ══════════════════════════════════════════
   BRANDS SECTION
   ══════════════════════════════════════════ */
.erp-brands {
    padding: 100px 48px;
    background: #080e22;
    position: relative;
}
.erp-brands::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6,182,212,.2), rgba(139,92,246,.2), transparent);
}
.erp-brands-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 18px; max-width: 1200px; margin: 0 auto;
}
.erp-brand {
    position: relative; border-radius: 20px; overflow: hidden;
    aspect-ratio: 4/5;
    border: 1px solid rgba(255,255,255,.06);
    background: #0a1128;
    transition: all .4s cubic-bezier(.16,1,.3,1);
    display: block;
}
.erp-brand:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,.15);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.erp-brand__img { width: 100%; height: 100%; }
.erp-brand__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.erp-brand:hover .erp-brand__img img { transform: scale(1.08); }
.erp-brand__overlay {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 20px 22px;
    background: linear-gradient(180deg, transparent, rgba(5,10,24,.92) 50%);
    color: #fff;
}
.erp-brand__name {
    font-size: 18px; font-weight: 800; margin-bottom: 4px;
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.erp-brand__tag { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 500; }

/* ══════════════════════════════════════════
   SCREENS / GALLERY
   ══════════════════════════════════════════ */
.erp-screens {
    padding: 120px 48px;
    background: linear-gradient(180deg, #0a1128, #080e22);
    position: relative;
}
.erp-screens::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,.3), rgba(59,130,246,.3), transparent);
}
.erp-screens-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 14px; max-width: 1200px; margin: 0 auto;
}
.erp-screen {
    position: relative; border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    background: #0a1128;
    transition: all .4s cubic-bezier(.16,1,.3,1);
}
.erp-screen--big { grid-column: span 2; grid-row: span 2; }
.erp-screen img {
    width: 100%; height: 100%; object-fit: cover;
    filter: saturate(.9) brightness(.85);
    transition: all .8s cubic-bezier(.16,1,.3,1);
}
.erp-screen:hover {
    border-color: rgba(59,130,246,.35);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(59,130,246,.2);
}
.erp-screen:hover img { filter: saturate(1.1) brightness(1); transform: scale(1.05); }
.erp-screen__label {
    position: absolute; bottom: 12px; left: 12px;
    padding: 8px 14px; border-radius: 999px;
    background: rgba(5,10,24,.85); backdrop-filter: blur(12px);
    color: #fff; font-size: 12px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(255,255,255,.08);
}
.erp-screen__label i { color: var(--blue); }

/* ══════════════════════════════════════════
   AI TEAM
   ══════════════════════════════════════════ */
.erp-ai-team {
    padding: 120px 48px;
    background: linear-gradient(180deg, #080e22 0%, #0d1a3a 50%, #080e22 100%);
    position: relative; overflow: hidden;
}
.erp-team-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 18px; max-width: 1200px; margin: 0 auto;
    position: relative; z-index: 2;
}
.erp-agent {
    position: relative;
    background: rgba(255,255,255,.03);
    border-radius: 20px; padding: 28px 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.08);
    transition: all .4s cubic-bezier(.16,1,.3,1);
    overflow: hidden;
}
.erp-agent::before {
    content: ''; position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, var(--c1, #3b82f6), transparent 50%);
    opacity: 0; transition: opacity .4s;
    pointer-events: none;
}
.erp-agent:hover::before { opacity: 0.18; }
.erp-agent:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,.18);
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.erp-agent__avatar {
    width: 72px; height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #fff;
    background: linear-gradient(135deg, var(--c1, #3b82f6), var(--c2, #10b981));
    box-shadow: 0 8px 32px rgba(0,0,0,.4),
                0 0 0 4px rgba(255,255,255,.04);
    position: relative;
    animation: avatarPulse 4s ease-in-out infinite;
}
@keyframes avatarPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.erp-agent__name {
    font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 4px;
}
.erp-agent__role {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em;
    background: linear-gradient(135deg, var(--c1, #3b82f6), var(--c2, #10b981));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}
.erp-agent__skill {
    font-size: 12px; color: rgba(255,255,255,.5);
    padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06);
}

/* ══════════════════════════════════════════
   MARKETPLACES
   ══════════════════════════════════════════ */
.erp-markets {
    padding: 100px 48px;
    background: #080e22;
    position: relative;
}
.erp-markets::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,153,0,.25), rgba(229,50,56,.2), transparent);
}
.erp-markets-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 18px; max-width: 1100px; margin: 0 auto;
}
.erp-market {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 32px 20px;
    text-align: center;
    transition: all .35s cubic-bezier(.16,1,.3,1);
}
.erp-market:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.15);
    box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
.erp-market i {
    font-size: 44px;
    display: block;
    margin-bottom: 14px;
    transition: transform .3s;
}
.erp-market:hover i { transform: scale(1.15); }
.erp-market span {
    display: block; font-size: 14px; font-weight: 700; color: #fff;
}

/* ══════════════════════════════════════════
   CHANNELS
   ══════════════════════════════════════════ */
.erp-channels {
    padding: 100px 48px;
    background: linear-gradient(180deg, #080e22, #0a1128);
    position: relative;
}
.erp-channels::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16,185,129,.25), rgba(6,182,212,.25), transparent);
}
.erp-channels-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px; max-width: 1100px; margin: 0 auto;
}
.erp-channel {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    padding: 22px 14px;
    text-align: center;
    transition: all .3s cubic-bezier(.16,1,.3,1);
}
.erp-channel:hover {
    transform: translateY(-4px) scale(1.03);
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.15);
}
.erp-channel i {
    font-size: 30px;
    display: block;
    margin-bottom: 10px;
}
.erp-channel span {
    display: block; font-size: 12px; font-weight: 600;
    color: rgba(255,255,255,.7);
}

/* ══════════════════════════════════════════
   RESPONSIVE — NEW SECTIONS
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .erp-brands-grid { grid-template-columns: repeat(2, 1fr); }
    .erp-screens-grid { grid-template-columns: repeat(3, 1fr); }
    .erp-team-grid { grid-template-columns: repeat(3, 1fr); }
    .erp-markets-grid { grid-template-columns: repeat(3, 1fr); }
    .erp-channels-grid { grid-template-columns: repeat(4, 1fr); }
    .erp-hero__chip { display: none; }
}

@media (max-width: 768px) {
    .erp-brands-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .erp-screens-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }
    .erp-screen--big { grid-column: span 2; grid-row: span 1; }
    .erp-team-grid { grid-template-columns: repeat(2, 1fr); }
    .erp-markets-grid { grid-template-columns: repeat(2, 1fr); }
    .erp-channels-grid { grid-template-columns: repeat(3, 1fr); }
    .erp-hero__mockup { transform: none; }
    .erp-hero__showcase { margin: 32px auto; }
}

@media (max-width: 480px) {
    .erp-team-grid { grid-template-columns: 1fr 1fr; }
    .erp-channels-grid { grid-template-columns: repeat(2, 1fr); }
    .erp-markets-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════
   LIGHT THEME OVERRIDES
   ══════════════════════════════════════════════════════════════ */
[data-theme="light"] body,
[data-theme="light"] html { background: #f8fafc; color: #0f172a; }

/* Navbar */
[data-theme="light"] .erp-nav {
    background: rgba(255,255,255,.75);
    border-bottom: 1px solid rgba(15,23,42,.06);
}
[data-theme="light"] .erp-nav.scrolled {
    background: rgba(255,255,255,.95);
    box-shadow: 0 4px 20px rgba(15,23,42,.06);
}
[data-theme="light"] .erp-nav__logo { color: #0f172a; }
[data-theme="light"] .erp-nav__link { color: rgba(15,23,42,.6); }
[data-theme="light"] .erp-nav__link:hover { color: #0f172a; }
[data-theme="light"] .erp-nav__btn--outline {
    background: rgba(15,23,42,.04);
    border-color: rgba(15,23,42,.1);
    color: #0f172a;
}
[data-theme="light"] .erp-nav__mobile-btn span { background: #0f172a; }

/* Hero */
[data-theme="light"] .erp-hero { background: #f8fafc; }
[data-theme="light"] .erp-hero__orb--1 {
    background: radial-gradient(circle, rgba(59,130,246,.18), transparent 70%);
}
[data-theme="light"] .erp-hero__orb--2 {
    background: radial-gradient(circle, rgba(16,185,129,.15), transparent 70%);
}
[data-theme="light"] .erp-hero__orb--3 {
    background: radial-gradient(circle, rgba(6,182,212,.12), transparent 70%);
}
[data-theme="light"] .erp-hero__title { color: #0f172a; }
[data-theme="light"] .erp-hero__sub { color: rgba(15,23,42,.55); }
[data-theme="light"] .erp-hero__btn--secondary {
    background: rgba(15,23,42,.04);
    color: #0f172a;
    border-color: rgba(15,23,42,.1);
}
[data-theme="light"] .erp-hero__btn--secondary:hover {
    background: rgba(15,23,42,.08);
    border-color: rgba(15,23,42,.18);
}
[data-theme="light"] .erp-hero__stats { border-top-color: rgba(15,23,42,.08); }
[data-theme="light"] .erp-hero__stat-label { color: rgba(15,23,42,.5); }
[data-theme="light"] .erp-hero__scroll-indicator { color: rgba(15,23,42,.4); }
[data-theme="light"] .erp-hero__scroll-mouse { border-color: rgba(15,23,42,.2); }
[data-theme="light"] .erp-hero__scroll-wheel { background: rgba(15,23,42,.4); }

/* Hero showcase */
[data-theme="light"] .erp-hero__mockup {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-color: rgba(15,23,42,.08);
    box-shadow: 0 30px 80px rgba(59,130,246,.15), 0 10px 30px rgba(15,23,42,.08);
}
[data-theme="light"] .erp-hero__mockup-bar {
    background: rgba(15,23,42,.04);
    border-bottom-color: rgba(15,23,42,.06);
}
[data-theme="light"] .erp-hero__chip {
    background: rgba(255,255,255,.92);
    border-color: rgba(15,23,42,.08);
    color: #0f172a;
    box-shadow: 0 8px 24px rgba(15,23,42,.1);
}

/* Sections background */
[data-theme="light"] .erp-features,
[data-theme="light"] .erp-brands,
[data-theme="light"] .erp-comm,
[data-theme="light"] .erp-markets {
    background: #ffffff;
}
[data-theme="light"] .erp-screens { background: linear-gradient(180deg, #f1f5f9, #ffffff); }
[data-theme="light"] .erp-modules { background: linear-gradient(180deg, #f1f5f9, #ffffff); }
[data-theme="light"] .erp-channels { background: linear-gradient(180deg, #ffffff, #f1f5f9); }
[data-theme="light"] .erp-ai,
[data-theme="light"] .erp-ai-team {
    background: linear-gradient(180deg, #f1f5f9 0%, #e0e7ff 50%, #f1f5f9 100%);
}

/* Section headers / titles */
[data-theme="light"] .erp-section-title { color: #0f172a; }
[data-theme="light"] .erp-section-sub { color: rgba(15,23,42,.55); }

/* Feature cards */
[data-theme="light"] .erp-feature-card {
    background: #ffffff;
    border-color: rgba(15,23,42,.06);
    box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
[data-theme="light"] .erp-feature-card:hover {
    background: #ffffff;
    border-color: rgba(59,130,246,.25);
    box-shadow: 0 12px 40px rgba(15,23,42,.08);
}
[data-theme="light"] .erp-feature-card__title { color: #0f172a; }
[data-theme="light"] .erp-feature-card__desc { color: rgba(15,23,42,.55); }

/* Brands */
[data-theme="light"] .erp-brand {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}
[data-theme="light"] .erp-brand:hover {
    box-shadow: 0 20px 50px rgba(15,23,42,.12);
    border-color: rgba(59,130,246,.3);
}
[data-theme="light"] .erp-brand__overlay {
    background: linear-gradient(180deg, transparent, rgba(255,255,255,.97) 50%);
}
[data-theme="light"] .erp-brand__tag { color: rgba(15,23,42,.6); }

/* Screens */
[data-theme="light"] .erp-screen {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}
[data-theme="light"] .erp-screen img { filter: saturate(1) brightness(1); }
[data-theme="light"] .erp-screen:hover {
    border-color: rgba(59,130,246,.35);
    box-shadow: 0 20px 50px rgba(59,130,246,.18);
}
[data-theme="light"] .erp-screen__label {
    background: rgba(255,255,255,.95);
    color: #0f172a;
    border-color: rgba(15,23,42,.08);
}

/* AI Team */
[data-theme="light"] .erp-agent {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}
[data-theme="light"] .erp-agent:hover {
    border-color: rgba(15,23,42,.15);
    box-shadow: 0 20px 50px rgba(15,23,42,.12);
}
[data-theme="light"] .erp-agent__name { color: #0f172a; }
[data-theme="light"] .erp-agent__skill {
    color: rgba(15,23,42,.55);
    border-top-color: rgba(15,23,42,.08);
}

/* AI features (left column on /erp legacy AI section) */
[data-theme="light"] .erp-ai__title { color: #0f172a; }
[data-theme="light"] .erp-ai__sub { color: rgba(15,23,42,.6); }
[data-theme="light"] .erp-ai-feature {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}
[data-theme="light"] .erp-ai-feature:hover {
    background: #f8fafc;
    border-color: rgba(15,23,42,.14);
}
[data-theme="light"] .erp-ai-feature__text { color: rgba(15,23,42,.7); }
[data-theme="light"] .erp-ai-feature__text b { color: #0f172a; }
[data-theme="light"] .erp-ai__visual-ring { border-color: rgba(15,23,42,.1); }
[data-theme="light"] .erp-ai__visual-core {
    background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(139,92,246,.15));
    border-color: rgba(15,23,42,.1);
    color: #1d4ed8;
}

/* Marketplaces */
[data-theme="light"] .erp-market {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
    box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
[data-theme="light"] .erp-market:hover {
    background: #ffffff;
    border-color: rgba(15,23,42,.16);
    box-shadow: 0 12px 32px rgba(15,23,42,.08);
}
[data-theme="light"] .erp-market span { color: #0f172a; }

/* Channels */
[data-theme="light"] .erp-channel {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}
[data-theme="light"] .erp-channel:hover {
    background: #ffffff;
    border-color: rgba(15,23,42,.16);
    box-shadow: 0 8px 24px rgba(15,23,42,.08);
}
[data-theme="light"] .erp-channel span { color: rgba(15,23,42,.7); }
[data-theme="light"] .erp-channel i[style*="color:#fff"] { color: #0f172a !important; }

/* Comm cards */
[data-theme="light"] .erp-comm-card {
    border-color: rgba(15,23,42,.08);
    box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
[data-theme="light"] .erp-comm-card--telegram { background: linear-gradient(135deg, rgba(0,136,204,.05), #ffffff); }
[data-theme="light"] .erp-comm-card--whatsapp { background: linear-gradient(135deg, rgba(37,211,102,.05), #ffffff); }
[data-theme="light"] .erp-comm-card--chat { background: linear-gradient(135deg, rgba(139,92,246,.05), #ffffff); }
[data-theme="light"] .erp-comm-card--ai { background: linear-gradient(135deg, rgba(234,179,8,.06), #ffffff); }
[data-theme="light"] .erp-comm-card:hover { box-shadow: 0 12px 40px rgba(15,23,42,.1); }
[data-theme="light"] .erp-comm-card__title { color: #0f172a; }
[data-theme="light"] .erp-comm-card__desc { color: rgba(15,23,42,.55); }

/* Modules */
[data-theme="light"] .erp-module {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
    box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
[data-theme="light"] .erp-module:hover {
    background: #ffffff;
    border-color: rgba(15,23,42,.16);
    box-shadow: 0 12px 32px rgba(15,23,42,.08);
}
[data-theme="light"] .erp-module__name { color: #0f172a; }
[data-theme="light"] .erp-module__desc { color: rgba(15,23,42,.5); }

/* CTA */
[data-theme="light"] .erp-cta {
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    color: #0f172a;
}
[data-theme="light"] .erp-cta::before {
    background: radial-gradient(circle, rgba(59,130,246,.15), transparent 70%);
}
[data-theme="light"] .erp-cta__title { color: #0f172a; }
[data-theme="light"] .erp-cta__sub { color: rgba(15,23,42,.6); }

/* Footer */
[data-theme="light"] .erp-footer {
    background: #ffffff;
    color: rgba(15,23,42,.55);
    border-top-color: rgba(15,23,42,.08);
}
[data-theme="light"] .erp-footer a { color: rgba(15,23,42,.7); }

/* Particle canvas — softer in light mode */
[data-theme="light"] #erpParticleCanvas { opacity: 0.55; mix-blend-mode: multiply; }

/* ══════════════════════════════════════════════════════════════
   CLICKABLE CARDS — cursor + active feedback
   ══════════════════════════════════════════════════════════════ */
.erp-clickable {
    cursor: pointer;
}
.erp-clickable:active {
    transform: scale(0.98) !important;
    transition: transform .1s !important;
}

/* "Click to see" hint pulse on cards */
.erp-feature-card.erp-clickable::after,
.erp-agent.erp-clickable::after,
.erp-module.erp-clickable::after {
    content: '\f061'; /* arrow-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 14px; right: 14px;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.4);
    font-size: 10px;
    display: flex; align-items: center; justify-content: center;
    transition: all .35s cubic-bezier(.16,1,.3,1);
    opacity: 0;
    transform: translate(-4px, 4px);
    pointer-events: none;
    z-index: 3;
}
.erp-feature-card.erp-clickable:hover::after,
.erp-agent.erp-clickable:hover::after,
.erp-module.erp-clickable:hover::after {
    opacity: 1;
    transform: translate(0, 0);
    background: var(--gradient);
    color: #fff;
}
[data-theme="light"] .erp-feature-card.erp-clickable::after,
[data-theme="light"] .erp-agent.erp-clickable::after,
[data-theme="light"] .erp-module.erp-clickable::after {
    background: rgba(15,23,42,.05);
    color: rgba(15,23,42,.4);
}
.erp-module.erp-clickable { position: relative; }

/* ══════════════════════════════════════════════════════════════
   DETAIL MODAL
   ══════════════════════════════════════════════════════════════ */
body.erp-modal--open { overflow: hidden; }

.erp-modal {
    position: fixed; inset: 0;
    z-index: 5000;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    pointer-events: none;
    visibility: hidden;
}
.erp-modal[aria-hidden="false"] { visibility: visible; pointer-events: auto; }

.erp-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(5,10,24,.78);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transition: opacity .35s cubic-bezier(.16,1,.3,1);
}
[data-theme="light"] .erp-modal__backdrop {
    background: rgba(15,23,42,.45);
}
.erp-modal.show .erp-modal__backdrop { opacity: 1; }

.erp-modal__panel {
    position: relative; z-index: 2;
    width: min(720px, 100%); max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: linear-gradient(180deg, #0f172a, #0a1128);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    box-shadow: 0 40px 120px rgba(0,0,0,.6),
                0 0 0 1px rgba(255,255,255,.04) inset;
    padding: 36px 36px 28px;
    transform: scale(0.85);
    opacity: 0;
    transition: transform .45s cubic-bezier(.16,1,.3,1),
                opacity .35s cubic-bezier(.16,1,.3,1);
}
[data-theme="light"] .erp-modal__panel {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border-color: rgba(15,23,42,.08);
    box-shadow: 0 40px 100px rgba(15,23,42,.25);
}
.erp-modal.show .erp-modal__panel { transform: scale(1); opacity: 1; }

.erp-modal__close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .25s;
    z-index: 3;
}
.erp-modal__close:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
    transform: rotate(90deg);
}
[data-theme="light"] .erp-modal__close {
    background: rgba(15,23,42,.05);
    border-color: rgba(15,23,42,.08);
    color: rgba(15,23,42,.6);
}
[data-theme="light"] .erp-modal__close:hover {
    background: rgba(15,23,42,.1);
    color: #0f172a;
}

.erp-modal__hero {
    display: flex; align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    padding-right: 40px;
}
.erp-modal__icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
    animation: modalIconIn .6s cubic-bezier(.16,1,.3,1) backwards;
}
@keyframes modalIconIn {
    from { transform: scale(0.5) rotate(-20deg); opacity: 0; }
}
.erp-modal__eyebrow {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: rgba(255,255,255,.45);
    margin-bottom: 4px;
}
[data-theme="light"] .erp-modal__eyebrow { color: rgba(15,23,42,.5); }
.erp-modal__title {
    font-size: 26px; font-weight: 800; color: #fff;
    margin-bottom: 8px; letter-spacing: -.4px;
}
[data-theme="light"] .erp-modal__title { color: #0f172a; }
.erp-modal__desc {
    font-size: 14px; line-height: 1.65;
    color: rgba(255,255,255,.6);
}
[data-theme="light"] .erp-modal__desc { color: rgba(15,23,42,.6); }

.erp-modal__caps {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.06);
}
[data-theme="light"] .erp-modal__caps { border-top-color: rgba(15,23,42,.08); }

.erp-modal__cap {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 12px;
    opacity: 0;
    animation: capIn .4s cubic-bezier(.16,1,.3,1) forwards;
    transition: all .25s;
}
.erp-modal__cap:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
    transform: translateX(3px);
}
[data-theme="light"] .erp-modal__cap {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}
[data-theme="light"] .erp-modal__cap:hover {
    background: #f8fafc;
    border-color: rgba(15,23,42,.16);
}
@keyframes capIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.erp-modal__cap-icon {
    width: 32px; height: 32px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.erp-modal__cap-text {
    font-size: 13px; font-weight: 500;
    color: rgba(255,255,255,.85);
    line-height: 1.4;
}
[data-theme="light"] .erp-modal__cap-text { color: #1f2937; }

.erp-modal__footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.06);
    gap: 16px; flex-wrap: wrap;
}
[data-theme="light"] .erp-modal__footer { border-top-color: rgba(15,23,42,.08); }
.erp-modal__cta {
    padding: 11px 22px; border-radius: 12px;
    background: var(--gradient); color: #fff;
    font-size: 13px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all .25s;
    box-shadow: 0 4px 18px rgba(59,130,246,.3);
}
.erp-modal__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59,130,246,.5);
}
.erp-modal__hint {
    font-size: 12px; color: rgba(255,255,255,.4);
}
[data-theme="light"] .erp-modal__hint { color: rgba(15,23,42,.45); }
.erp-modal__hint kbd {
    display: inline-block;
    padding: 2px 8px; margin: 0 2px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;
    font-family: inherit; font-size: 11px; font-weight: 600;
    color: rgba(255,255,255,.7);
}
[data-theme="light"] .erp-modal__hint kbd {
    background: rgba(15,23,42,.04);
    border-color: rgba(15,23,42,.12);
    color: rgba(15,23,42,.7);
}

@media (max-width: 640px) {
    .erp-modal { padding: 12px; }
    .erp-modal__panel { padding: 24px 22px 20px; border-radius: 18px; }
    .erp-modal__hero { gap: 14px; padding-right: 30px; }
    .erp-modal__icon { width: 52px; height: 52px; font-size: 22px; }
    .erp-modal__title { font-size: 21px; }
    .erp-modal__caps { grid-template-columns: 1fr; }
    .erp-modal__footer { flex-direction: column; align-items: stretch; }
    .erp-modal__cta { justify-content: center; }
    .erp-modal__hint { text-align: center; }
}

/* Neural canvas */
[data-theme="light"] .erp-ai__neural-canvas { opacity: 0.25; }


