:root {
    --jrcn-bg: #0b1320;
    --jrcn-surface: #111c2d;
    --jrcn-card: rgba(17, 28, 45, 0.86);
    --jrcn-primary: #1a2e22;
    --jrcn-emerald: #10b981;
    --jrcn-gold: #facc15;
    --jrcn-border: rgba(148, 163, 184, 0.16);
    --jrcn-text: #f8fafc;
    --jrcn-muted: #94a3b8;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    background: var(--jrcn-bg);
    color: var(--jrcn-text);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Promo Top Ribbon */
.promo-ribbon {
    background: linear-gradient(90deg, #b45309, #d97706, #b45309);
    background-size: 200% 100%;
    animation: ribbonShift 8s ease infinite;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    padding: 8px 14px;
    text-align: center;
}
@keyframes ribbonShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

/* Glass Sticky Navbar */
.jrcn-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(11, 19, 32, 0.84);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--jrcn-border);
}
.brand-logo-ring {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 2px solid var(--jrcn-gold);
    background: #fff;
    object-fit: cover;
    padding: 2px;
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.25);
}

/* Hero Section with Ambient Motion Orbs */
.hero-wrap {
    position: relative;
    padding: 72px 0 64px;
    background:
        radial-gradient(circle at 14% 20%, rgba(16, 185, 129, 0.22), transparent 40%),
        radial-gradient(circle at 86% 15%, rgba(250, 204, 21, 0.16), transparent 38%),
        linear-gradient(180deg, #0b1320 0%, #0f1b2d 100%);
    overflow: hidden;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.32;
    pointer-events: none;
    animation: orbFloat 11s ease-in-out infinite alternate;
}
.hero-orb.o1 { width: 320px; height: 320px; background: #10b981; top: -90px; left: -80px; }
.hero-orb.o2 { width: 280px; height: 280px; background: #facc15; bottom: -80px; right: -60px; animation-delay: 2.5s; }
@keyframes orbFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(26px, 22px) scale(1.08); } }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.38);
    color: #6ee7b7;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.7px;
}
.hero-title {
    font-size: clamp(2rem, 4.4vw, 3.35rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 30%, #fde047 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Floating Glass 3-App Preview Card */
.hero-mockup-card {
    background: linear-gradient(145deg, rgba(26, 46, 34, 0.85), rgba(15, 23, 42, 0.94));
    border: 1px solid rgba(250, 204, 21, 0.28);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    animation: cardHoverFloat 6s ease-in-out infinite;
}
@keyframes cardHoverFloat { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-8px); } }

/* Scroll Reveal Motion */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
body.no-motion .reveal, body.no-motion .hero-orb, body.no-motion .hero-mockup-card { opacity: 1 !important; transform: none !important; animation: none !important; }

/* Cards & Interactive Pricing Calculator */
.glass-card {
    background: var(--jrcn-card);
    border: 1px solid var(--jrcn-border);
    border-radius: 18px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(250, 204, 21, 0.42);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.calc-toggle-btn {
    border: 1.5px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.7);
    color: #cbd5e1;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    transition: all 0.18s ease;
    text-align: left;
}
.calc-toggle-btn.active {
    background: rgba(16, 185, 129, 0.16);
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}
.calc-toggle-btn.vps-active {
    background: rgba(250, 204, 21, 0.14);
    border-color: #facc15;
    color: #fef08a;
}
.calc-summary-box {
    background: linear-gradient(160deg, #1a2e22 0%, #0f172a 100%);
    border: 2px solid #facc15;
    border-radius: 20px;
}

/* Showcase Media Cards */
.media-card {
    background: #111c2d;
    border: 1px solid var(--jrcn-border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.media-card:hover { transform: translateY(-4px); border-color: var(--jrcn-gold); }
.media-thumb { width: 100%; height: 210px; object-fit: cover; background: #020617; display: block; }

/* Anti-Bot Human Verification Box */
.human-verify-box {
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.human-verify-box.verified {
    background: rgba(21, 128, 61, 0.18);
    border-color: #22c55e;
}
.human-verify-box.scanning {
    border-color: #facc15;
}
.hv-check-circle {
    width: 26px; height: 26px;
    border-radius: 7px;
    border: 2px solid #94a3b8;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
    color: #fff;
}
.human-verify-box.verified .hv-check-circle {
    background: #16a34a; border-color: #16a34a;
}

/* Floating Live Chat Widget */
#jrcn-chat-fab {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 1050;
    background: linear-gradient(135deg, #16a34a, #0f766e);
    color: #fff;
    border: 2px solid #facc15;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
}
#jrcn-chat-drawer {
    position: fixed;
    right: 20px; bottom: 82px;
    width: min(390px, calc(100vw - 24px));
    max-height: min(560px, calc(100dvh - 110px));
    z-index: 1055;
    background: #111c2d;
    border: 1.5px solid rgba(250, 204, 21, 0.4);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
    display: none;
    flex-direction: column;
    overflow: hidden;
}
#jrcn-chat-drawer.open { display: flex; }
.chat-messages-box {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 14px;
    background: #0b1320;
    display: flex; flex-direction: column; gap: 10px;
}
.chat-bubble {
    max-width: 85%;
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.45;
    word-break: break-word;
}
.chat-bubble.customer { align-self: flex-end; background: #16a34a; color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble.admin, .chat-bubble.bot { align-self: flex-start; background: #1e293b; color: #f8fafc; border: 1px solid rgba(148,163,184,0.2); border-bottom-left-radius: 4px; }

/* Dark Form Controls */
.jrcn-input {
    background: rgba(15, 23, 42, 0.92) !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
}
.jrcn-input:focus {
    border-color: #facc15 !important;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.16) !important;
}
.jrcn-input::placeholder { color: #64748b !important; }
.hp-decoy { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; height: 0 !important; width: 0 !important; }
