/* Public enterprise surface. Identity stays separate from the SaaS Operate shell. */
html { overflow-x: clip; }

.nx-public-enterprise .nx-public-divider {
    color: var(--border-dim);
}

.nx-public-enterprise .nx-public-discord-link {
    color: var(--text);
    margin-right: 8px;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.2);
    transition: background 0.2s;
}

.nx-public-enterprise .nx-public-discord-link:hover {
    background: rgba(88, 101, 242, 0.25);
}

.nx-public-enterprise .nx-public-discord-icon {
    fill: #5865F2;
    vertical-align: middle;
}

.nx-public-enterprise .nx-enterprise-bot-name { color: var(--accent); }
.nx-public-enterprise .nx-enterprise-command-alert {
    color: var(--pink);
    border-color: var(--pink);
    background: rgba(190, 18, 60, 0.1);
}
.nx-public-enterprise .nx-reveal-delay-0 { transition-delay: 0s; }
.nx-public-enterprise .nx-reveal-delay-1 { transition-delay: 0.1s; }
.nx-public-enterprise .nx-reveal-delay-2 { transition-delay: 0.2s; }

/* ========== CSS VARIABLES — CORPORATE LUXURY ========== */
        :root {
            --bg:          #08090b;
            --bg-deep:     #030405;
            --bg-mid:      #0f1115;
            --panel:       rgba(15, 17, 21, 0.85);
            --panel-solid: #12141a;
            --accent:      #d4af37; /* Lux Gold */
            --accent-dark: #a88a2a;
            --accent-deep: #7a631c;
            --indigo:      #1e3a8a; /* Corporate Navy */
            --indigo-glow: rgba(30, 58, 138, 0.25);
            --cyan:        #0ea5e9; /* Tech Blue */
            --cyan-dim:    rgba(14, 165, 233, 0.15);
            --pink:        #be123c; /* Crimson / Alert */
            --green:       #059669; /* Success */
            --text:        #f8fafc;
            --text-muted:  #94a3b8;
            --border:      rgba(212, 175, 55, 0.25);
            --border-dim:  rgba(255, 255, 255, 0.06);
            --discord:     #5865F2; /* Mantendo o Blurple do Discord corporativo */
        }

        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            background-color: var(--bg);
            background-image:
                repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 5px),
                radial-gradient(ellipse 80% 60% at 50% 0%, #101217 0%, #030405 70%);
            color: var(--text);
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
            line-height: 1.6;
        }

        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: var(--bg-deep); }
        ::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 3px; }

        /* ========== NAVBAR ========== */
        .navbar {
            position: fixed; top: 0; left: 0; right: 0; z-index: 100;
            display: flex; align-items: center; justify-content: space-between;
            padding: 0 40px; height: 60px;
            background: rgba(3, 4, 5, 0.85); backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border-dim);
        }
        .navbar-brand {
            font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 700; color: #fff;
            text-decoration: none; display: flex; align-items: center; gap: 10px; letter-spacing: 0.05em;
        }
        .navbar-brand .logo-icon {
            width: 32px; height: 32px; background: linear-gradient(135deg, var(--accent-dark), var(--accent-deep));
            border-radius: 4px; display: flex; align-items: center; justify-content: center;
            font-size: 16px; box-shadow: 0 0 16px rgba(212, 175, 55, 0.3);
        }
        .navbar-actions { display: flex; align-items: center; gap: 12px; }

        .lang-toggle {
            background: rgba(255,255,255,0.04); border: 1px solid var(--border-dim); border-radius: 20px;
            padding: 4px 12px; font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
            cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 6px;
        }
        .lang-toggle:hover { background: rgba(255,255,255,0.08); color: var(--text); }
        .lang-toggle .lang-opt.active { color: var(--accent); }

        .btn-nav-login {
            text-decoration: none; background: rgba(212, 175, 55, 0.05);
            border: 1px solid rgba(212, 175, 55, 0.4); color: var(--accent);
            padding: 7px 18px; border-radius: 4px; font-size: 0.85rem; font-weight: 600; transition: all 0.2s;
        }
        .btn-nav-login:hover {
            background: var(--accent-dark); border-color: var(--accent-dark); color: #fff;
            box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
        }
        .btn-nav-secondary {
            text-decoration: none; background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border-dim); color: var(--text);
            padding: 7px 18px; border-radius: 4px; font-size: 0.85rem; font-weight: 600; transition: all 0.2s;
        }
        .btn-nav-secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--text-muted); }

        /* ========== HERO ========== */
        .hero {
            min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
            text-align: center; padding: 100px 24px 60px; position: relative; overflow: hidden;
        }
        .orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: 0.35; }
        .orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, var(--accent-deep) 0%, transparent 70%); top: -100px; left: -100px; }
        .orb-2 { width: 450px; height: 450px; background: radial-gradient(circle, var(--indigo) 0%, transparent 70%); top: 0; right: -100px; }

        .hero-badge {
            display: inline-flex; align-items: center; gap: 8px; background: rgba(212, 175, 55, 0.08);
            border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 2px; padding: 6px 16px;
            font-size: 0.75rem; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 28px;
        }
        .hero-badge .dot { width: 6px; height: 6px; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse-dot 2s infinite; }

        .hero-title {
            font-family: 'Cinzel', serif; font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.15;
            letter-spacing: -0.01em; margin-bottom: 24px;
        }
        .hero-title .line-plain { color: #fff; display: block; }
        .hero-title .line-gradient {
            display: block; background: linear-gradient(90deg, var(--accent) 0%, #fef08a 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
        }
        .hero-subtitle {
            font-size: clamp(1rem, 2vw, 1.15rem); color: var(--text-muted); max-width: 680px;
            margin: 0 auto 40px; font-weight: 400; line-height: 1.7;
        }
        .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }

        .btn-primary-hero {
            display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
            background: linear-gradient(135deg, var(--accent-dark), var(--accent-deep));
            border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; padding: 14px 32px; border-radius: 4px;
            font-size: 1rem; font-weight: 700; transition: all 0.25s; box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
        }
        .btn-primary-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(212, 175, 55, 0.35); }
        
        .btn-discord-hero {
            display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: var(--discord);
            border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; padding: 14px 28px; border-radius: 4px; font-size: 1rem; font-weight: 600;
        }
        .btn-discord-hero:hover { background: #4752c4; transform: translateY(-2px); }

        .hero-proof { margin-top: 52px; display: flex; align-items: center; gap: 20px; justify-content: center; flex-wrap: wrap; }
        .proof-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
        .proof-item .dot-gold { width: 7px; height: 7px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
        .proof-sep { color: var(--border); }

        /* ========== MOCKUP BOARDS ========== */
        .mockups-container { display: flex; flex-direction: column; gap: 32px; margin-top: 60px; max-width: 760px; width: 100%; }
        .mockup-window {
            background: var(--panel-solid); border: 1px solid var(--border); border-radius: 8px;
            overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(212,175,55,0.05); text-align: left;
        }
        .mockup-bar {
            background: #0a0c10; padding: 12px 16px; display: flex; align-items: center; gap: 8px;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
        .mockup-dot.red { background: #ff5f57; } .mockup-dot.yellow { background: #febc2e; } .mockup-dot.green { background: #28c840; }
        .mockup-title { margin-left: 8px; font-size: 0.75rem; color: var(--text-muted); font-family: monospace; }
        
        .mockup-body { padding: 24px; font-size: 0.9rem; }
        .chat-msg { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
        .chat-avatar {
            width: 44px; height: 44px; border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
            font-weight: bold; background: #1e293b; color: #fff; border: 1px solid rgba(255, 255, 255, 0.1); font-size: 1.2rem;
        }
        .avatar-bot {
            background: linear-gradient(135deg, var(--accent-deep), var(--accent-dark));
            box-shadow: 0 0 12px rgba(212, 175, 55, 0.2); border-color: var(--accent);
        }
        .avatar-client { background: linear-gradient(135deg, #10b981, #047857); }
        .chat-content { flex: 1; }
        .chat-name { font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; color: #cbd5e1; }
        .chat-name .bot-tag { font-size: 0.65rem; background: var(--accent); color: #000; padding: 1px 5px; border-radius: 2px; font-weight: 700; }
        .chat-bubble {
            background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
            border-radius: 2px 12px 12px 12px; padding: 12px 16px; color: var(--text); line-height: 1.6;
        }
        .bot-bubble { border-color: rgba(212,175,55,0.15); background: rgba(212,175,55,0.03); }

        /* ========== SECTION STRUCTURE ========== */
        section { padding: 100px 24px; }
        .container { max-width: 1080px; margin: 0 auto; }
        .section-tag {
            text-align: center; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
            letter-spacing: 0.15em; color: var(--accent); margin-bottom: 12px;
        }
        .section-title {
            text-align: center; font-family: 'Cinzel', serif; font-size: clamp(1.8rem, 4vw, 2.8rem);
            font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.2;
        }
        .section-subtitle {
            text-align: center; font-size: 1.05rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 60px; line-height: 1.7;
        }

        /* ========== FEATURES GRID ========== */
        .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
        .feat-card {
            background: var(--panel); border: 1px solid var(--border-dim); border-radius: 4px; padding: 28px; transition: all 0.2s;
        }
        .feat-card:hover { border-color: rgba(212,175,55,0.3); background: #12151c; transform: translateY(-3px); }
        .feat-icon-wrap {
            width: 44px; height: 44px; border-radius: 4px; display: flex; align-items: center; justify-content: center;
            font-size: 20px; margin-bottom: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
        }
        .icon-gold { background: rgba(212,175,55,0.1); border-color: rgba(212,175,55,0.2); color: var(--accent); }
        .icon-blue { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.2); color: #60a5fa; }
        .icon-green { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); color: #34d399; }
        .icon-red { background: rgba(220,38,38,0.1); border-color: rgba(220,38,38,0.2); color: #f87171; }
        .feat-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
        .feat-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
        .feat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
        .feat-tag {
            font-size: 0.72rem; padding: 2px 8px; border-radius: 2px; font-weight: 600;
            background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #cbd5e1;
        }
        .feat-tag.gold { background: rgba(212,175,55,0.1); border-color: rgba(212,175,55,0.25); color: var(--accent); }
        .feat-tag.blue { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.25); color: #93c5fd; }
        .feat-tag.green { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.25); color: #34d399; }
        .feat-tag.red { background: rgba(220,38,38,0.1); border-color: rgba(220,38,38,0.25); color: #f87171; }

        .feat-command {
            font-family: monospace; font-size: 0.95rem; font-weight: 700; color: var(--accent);
            background: rgba(212,175,55,0.1); padding: 4px 8px; border-radius: 3px;
            display: inline-block; margin-bottom: 12px; border: 1px solid rgba(212,175,55,0.2);
        }

        /* ========== COMMANDS SECTION ========== */
        .commands-section { background: var(--bg); }
        .category-title {
            font-family: 'Cinzel', serif; font-size: 1.6rem; font-weight: 700; color: #fff;
            margin: 60px 0 24px; border-bottom: 1px solid var(--border-dim); padding-bottom: 10px;
        }

        /* ========== CTA FINAL ========== */
        .cta-section {
            text-align: center;
            padding: 120px 24px;
            position: relative; overflow: hidden;
        }
        .cta-section .orb { opacity: 0.3; }
        .cta-glow {
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
            width: 600px; height: 300px;
            background: radial-gradient(ellipse, rgba(212,175,55,0.2) 0%, transparent 70%);
            pointer-events: none;
        }
        .cta-title {
            font-family: 'Cinzel', serif;
            font-size: clamp(2rem, 5vw, 3.6rem);
            font-weight: 900; color: #fff; line-height: 1.1;
            margin-bottom: 20px;
        }
        .cta-sub {
            font-size: 1.05rem; color: var(--text-muted);
            max-width: 480px; margin: 0 auto 40px;
            line-height: 1.7;
        }
        .cta-buttons {
            display: flex; flex-wrap: wrap;
            gap: 14px; justify-content: center;
        }

        /* ========== FOOTER ========== */
        footer {
            border-top: 1px solid var(--border-dim);
            padding: 40px 24px 30px;
            text-align: center;
            background: #030405;
        }
        .footer-brand {
            font-family: 'Cinzel', serif;
            font-size: 1rem; font-weight: 700;
            color: var(--accent); margin-bottom: 10px;
        }
        .footer-sub { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; }
        .footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
        .footer-links a { font-size: 0.82rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
        .footer-links a:hover { color: var(--accent); }
        .footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

        /* ========== SCROLL REVEAL ========== */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 768px) {
            .navbar { padding: 0 20px; }
            .features-grid { grid-template-columns: 1fr; }
            .navbar-actions .btn-nav-secondary { display: none; }
        }

        @media (max-width: 520px) {
            .navbar { padding: 0 12px; }
            .navbar-brand { font-size: 0.95rem; gap: 6px; }
            .navbar-brand .logo-icon { width: 28px; height: 28px; font-size: 14px; }
            .navbar-actions { gap: 6px; min-width: 0; }
            .navbar-actions .btn-nav-discord,
            .navbar-actions .btn-nav-enterprise,
            .navbar-actions .btn-nav-secondary { display: none; }
            .lang-toggle { padding: 3px 8px; }
        }

        /* ========== LANGUAGE HIDDEN ========== */
        [data-lang="en"] .pt-text { display: none; }
        [data-lang="pt"] .en-text { display: none; }
