/**
 * Hermes Cloud - Official Nous Research Hermes Agent Theme
 * Electric Hermes Blue: #0000f2 / #3b44ff / #5a62ff
 * Deep Dark Indigo: #050518 / #090a22 / #0f1035
 */

:root {
    --hm-bg-dark: #050518;
    --hm-bg-card: #0a0b24;
    --hm-bg-card-hover: #101235;
    --hm-blue: #0000f2;
    --hm-blue-bright: #3b44ff;
    --hm-blue-light: #5a62ff;
    --hm-blue-glow: rgba(59, 68, 255, 0.35);
    --hm-blue-border: rgba(59, 68, 255, 0.25);
    --hm-border: rgba(255, 255, 255, 0.08);
    --hm-text-primary: #ffffff;
    --hm-text-secondary: #a1a6c8;
    --hm-text-muted: #6b7094;
    --hm-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --hm-font-serif: "Sigurd", "Times New Roman", Times, Georgia, serif;
    --hm-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --hm-radius-sm: 8px;
    --hm-radius-md: 12px;
    --hm-radius-lg: 16px;
    --hm-radius-xl: 24px;
    --hm-radius-full: 9999px;
}

/* Base Wrapper */
.hermes-cloud-wrap {
    font-family: var(--hm-font-sans);
    color: var(--hm-text-primary);
    background: transparent !important;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    position: relative;
    overflow-x: hidden;
}

.hermes-cloud-wrap *,
.hermes-cloud-wrap *::before,
.hermes-cloud-wrap *::after {
    box-sizing: border-box;
}

.hm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ==========================================================================
   STICKY TOPBAR (Flush with header, no gap)
   ========================================================================== */
.hm-topbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100000;
    background: rgba(5, 5, 24, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hm-border);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), top 0.15s ease-out;
}

.hm-topbar-hidden {
    transform: translateY(-100%) !important;
}

.hm-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.hm-topbar-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.hm-topbar-brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0000f2;
    border: 1px solid var(--hm-blue-border);
}

.hm-topbar-brand-logo img {
    width: 24px;
    height: 24px;
    display: block;
}

.hm-topbar-brand-name {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hm-topbar-brand-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(59, 68, 255, 0.18);
    color: var(--hm-blue-light);
    border: 1px solid var(--hm-blue-border);
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 700;
}

.hm-topbar-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.hm-nav-link {
    color: var(--hm-text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hm-nav-link:hover {
    color: var(--hm-blue-light);
}

.hm-topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ==========================================================================
   BUTTONS & BADGES (WITH MANDATORY DARK TEXT ON SSO/BADGES)
   ========================================================================== */
.hm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--hm-font-sans);
    font-weight: 600;
    border-radius: var(--hm-radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
}

.hm-btn-blue {
    background: linear-gradient(135deg, var(--hm-blue-bright) 0%, var(--hm-blue) 100%);
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(59, 68, 255, 0.35);
}

.hm-btn-blue:hover {
    background: linear-gradient(135deg, #525bff 0%, var(--hm-blue-bright) 100%);
    box-shadow: 0 6px 28px rgba(59, 68, 255, 0.55);
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* CRITICAL: SSO Buttons [Open Hermes] & [Open Hermes Dashboard] MUST HAVE DARK TEXT */
.hm-sso-link,
a.hm-sso-link,
button.hm-sso-link {
    background: linear-gradient(135deg, #ffffff 0%, #d8dcff 100%) !important;
    color: #000000 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.35) !important;
}

.hm-sso-link:hover,
a.hm-sso-link:hover,
button.hm-sso-link:hover {
    background: #ffffff !important;
    box-shadow: 0 6px 28px rgba(255, 255, 255, 0.55) !important;
    transform: translateY(-2px);
    color: #000000 !important;
}

.hm-sso-link svg {
    color: #000000 !important;
    stroke: #000000 !important;
}

.hm-btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--hm-border);
    color: #fff;
}

.hm-btn-outline:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

.hm-btn-sm {
    padding: 8px 18px;
    font-size: 13px;
    height: 38px;
}

.hm-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    height: 52px;
}

.hm-btn-block {
    width: 100%;
}

.hm-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid var(--hm-border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
}

.hm-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.hm-mobile-drawer {
    display: none;
    background: #070720;
    border-bottom: 1px solid var(--hm-border);
    padding: 20px 24px;
}

.hm-mobile-drawer.open {
    display: block;
}

.hm-mobile-drawer-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hm-mobile-link {
    color: var(--hm-text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hm-hero {
    position: relative;
    padding: 85px 0 60px;
    background: radial-gradient(circle at 50% -10%, rgba(59, 68, 255, 0.2) 0%, transparent 65%);
    text-align: center;
}

.hm-hero-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 450px;
    background: radial-gradient(ellipse, rgba(0, 0, 242, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hm-hero-content {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
}

.hm-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(59, 68, 255, 0.12);
    border: 1px solid var(--hm-blue-border);
    padding: 6px 16px;
    border-radius: var(--hm-radius-full);
    margin-bottom: 24px;
}

.hm-badge-pill {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: var(--hm-blue);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}

.hm-eyebrow-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--hm-text-secondary);
    font-family: var(--hm-font-mono);
}

.hm-hero-title {
    font-family: var(--hm-font-serif);
    font-size: 64px;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin: 0 0 20px;
    color: #ffffff;
    text-transform: uppercase;
}

.hm-title-accent {
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, #ffffff 40%, var(--hm-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hm-hero-sub {
    font-size: 18.5px;
    line-height: 1.65;
    color: var(--hm-text-secondary);
    margin: 0 auto 36px;
    max-width: 780px;
}

.hm-hero-sub strong {
    color: #fff;
}

.hm-hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hm-hero-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hm-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #cbd5e1;
}

.hm-trust-item svg {
    width: 17px;
    height: 17px;
    color: var(--hm-blue-light);
}

/* ==========================================================================
   TERMINAL & CHAT SIMULATOR
   ========================================================================== */
.hm-hero-visual {
    margin-top: 20px;
}

.hm-terminal-mockup {
    background: #07071e;
    border: 1px solid var(--hm-blue-border);
    border-radius: var(--hm-radius-lg);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(59, 68, 255, 0.15);
    overflow: hidden;
    text-align: left;
}

.hm-terminal-bar {
    background: #0d0e2e;
    border-bottom: 1px solid var(--hm-border);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.hm-terminal-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #252854;
}

.hm-terminal-dots span:nth-child(1) { background: #ff5f56; }
.hm-terminal-dots span:nth-child(2) { background: #ffbd2e; }
.hm-terminal-dots span:nth-child(3) { background: #27c93f; }

.hm-terminal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-family: var(--hm-font-mono);
    color: #9da3cc;
}

.hm-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
}

.hm-terminal-tag {
    font-size: 11px;
    font-weight: 700;
    font-family: var(--hm-font-mono);
    color: var(--hm-blue-light);
    background: rgba(59, 68, 255, 0.15);
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid var(--hm-blue-border);
}

.hm-terminal-body {
    padding: 24px;
}

.hm-chat-stream {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hm-chat-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.hm-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #1c1f4a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.hm-chat-avatar.agent {
    background: var(--hm-blue);
    box-shadow: 0 0 14px rgba(0, 0, 242, 0.6);
}

.hm-chat-bubble {
    background: #0f1033;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--hm-radius-md);
    padding: 16px 20px;
    max-width: 820px;
}

.hm-chat-bubble.agent {
    border-color: var(--hm-blue-border);
    background: #0c0e2c;
}

.hm-chat-meta {
    font-size: 11.5px;
    font-family: var(--hm-font-mono);
    color: var(--hm-text-muted);
    margin-bottom: 8px;
}

.hm-chat-bubble p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0;
}

.hm-skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-family: var(--hm-font-mono);
    margin-bottom: 12px;
}

.hm-agent-stats {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    font-size: 11.5px;
    font-family: var(--hm-font-mono);
    color: var(--hm-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.hm-stats-section {
    padding: 40px 0 60px;
    border-bottom: 1px solid var(--hm-border);
}

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

.hm-stat-card {
    background: var(--hm-bg-card);
    border: 1px solid var(--hm-border);
    border-radius: var(--hm-radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.25s ease;
}

.hm-stat-card:hover {
    border-color: var(--hm-blue-border);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 68, 255, 0.15);
}

.hm-stat-num {
    font-family: var(--hm-font-serif);
    font-size: 46px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1;
}

.hm-stat-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--hm-blue-light);
    margin-bottom: 6px;
}

.hm-stat-sub {
    font-size: 13px;
    color: var(--hm-text-secondary);
}

/* ==========================================================================
   6 CORE CAPABILITIES (Official from Nous Research)
   ========================================================================== */
.hm-capabilities-section {
    padding: 100px 0;
}

.hm-section-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

.hm-section-header.text-center {
    text-align: center;
}

.hm-section-pill {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--hm-blue-light);
    font-family: var(--hm-font-mono);
    margin-bottom: 14px;
}

.hm-section-title {
    font-family: var(--hm-font-serif);
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hm-section-sub {
    font-size: 17px;
    line-height: 1.65;
    color: var(--hm-text-secondary);
    margin: 0;
}

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

.hm-feature-card {
    background: var(--hm-bg-card);
    border: 1px solid var(--hm-border);
    border-radius: var(--hm-radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.hm-feature-card:hover {
    border-color: var(--hm-blue-border);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 68, 255, 0.12);
}

.hm-feature-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hm-feature-idx {
    font-family: var(--hm-font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--hm-blue-light);
}

.hm-feature-badge {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    color: #e2e8f0;
}

.hm-feature-title {
    font-family: var(--hm-font-serif);
    font-size: 26px;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.hm-feature-desc {
    font-size: 14.5px;
    color: var(--hm-text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

.hm-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
}

.hm-feature-tags span {
    font-size: 11px;
    font-family: var(--hm-font-mono);
    color: #cbd5e1;
    background: #0e1030;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   MESSAGING GATEWAYS SECTION
   ========================================================================== */
.hm-gateways-section {
    padding: 90px 0;
    background: #07081f;
    border-top: 1px solid var(--hm-border);
    border-bottom: 1px solid var(--hm-border);
}

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

.hm-gateway-card {
    background: var(--hm-bg-card);
    border: 1px solid var(--hm-border);
    border-radius: var(--hm-radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.25s ease;
}

.hm-gateway-card:hover {
    border-color: var(--hm-blue-border);
    transform: translateY(-3px);
}

.hm-gw-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.hm-gw-icon svg {
    width: 26px;
    height: 26px;
}

.hm-gw-icon.telegram { background: #229ed9; color: #fff; }
.hm-gw-icon.discord { background: #5865f2; color: #fff; }
.hm-gw-icon.slack { background: #4a154b; color: #fff; }
.hm-gw-icon.email { background: #2563eb; color: #fff; }

.hm-gateway-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.hm-gateway-card p {
    font-size: 13.5px;
    color: var(--hm-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   SHOWCASE / ARCHITECTURE SECTION (BIG TEXT & BALANCED PROPORTIONS)
   ========================================================================== */
.hm-showcase-section {
    padding: 110px 0;
}

.hm-showcase-row {
    display: grid;
    grid-template-columns: 1.05fr 1.15fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 90px;
}

.hm-showcase-reverse {
    grid-template-columns: 1.15fr 1.05fr;
}

.hm-showcase-text {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hm-showcase-pill {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--hm-blue-light);
    font-family: var(--hm-font-mono);
    margin-bottom: 16px;
}

.hm-showcase-text h3 {
    font-family: var(--hm-font-serif);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.01em;
    margin: 0 0 20px;
    color: #ffffff;
    text-transform: uppercase;
}

.hm-showcase-text p {
    font-size: 18px;
    color: var(--hm-text-secondary);
    line-height: 1.7;
    margin: 0 0 28px;
}

.hm-showcase-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hm-showcase-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 16.5px;
    line-height: 1.55;
    color: #f1f5f9;
}

.hm-showcase-bullets li svg {
    width: 22px;
    height: 22px;
    color: var(--hm-blue-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.hm-showcase-media {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--hm-border);
    border-radius: var(--hm-radius-xl);
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hm-code-window {
    background: #080922;
    border-radius: var(--hm-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.hm-code-bar {
    background: #0e1035;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--hm-border);
}

.hm-code-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #252854;
}

.hm-code-title {
    margin-left: 12px;
    font-size: 12px;
    font-family: var(--hm-font-mono);
    color: #a1a6c8;
}

.hm-code-block {
    padding: 20px 24px;
    margin: 0;
    font-family: var(--hm-font-mono);
    font-size: 13px;
    line-height: 1.6;
    color: #d1d5db;
    overflow-x: auto;
}

/* Subagent graph mockup */
.hm-subagent-graph {
    background: #080922;
    border-radius: var(--hm-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hm-subagent-root {
    background: #111442;
    border: 1px solid var(--hm-blue-bright);
    border-radius: var(--hm-radius-md);
    padding: 14px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 20px rgba(59, 68, 255, 0.25);
}

.hm-node-badge {
    font-size: 10px;
    font-family: var(--hm-font-mono);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--hm-blue-light);
    margin-bottom: 4px;
}

.hm-node-sub {
    font-size: 12px;
    color: var(--hm-text-secondary);
}

.hm-graph-lines {
    width: 240px;
    height: 30px;
    position: relative;
    border-bottom: 2px dashed rgba(59, 68, 255, 0.4);
    margin-bottom: 16px;
}

.hm-subagent-children {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
}

.hm-subagent-node {
    background: #0d0f30;
    border: 1px solid var(--hm-border);
    border-radius: var(--hm-radius-sm);
    padding: 14px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hm-sub-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.hm-subagent-node strong {
    font-size: 13px;
    color: #fff;
}

.hm-subagent-node span {
    font-size: 11px;
    color: var(--hm-text-muted);
}

/* ==========================================================================
   PRICING SECTION (2-COLUMN)
   ========================================================================== */
.hm-pricing {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 68, 255, 0.12) 0%, transparent 60%);
    position: relative;
}

.hm-pricing-card-2col {
    background: var(--hm-bg-card);
    border: 1px solid var(--hm-blue-border);
    border-radius: var(--hm-radius-xl);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(59, 68, 255, 0.15);
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    overflow: hidden;
}

.hm-pricing-col {
    padding: 48px;
}

.hm-pricing-col-left {
    border-right: 1px solid var(--hm-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* CRITICAL: Dedicated Instance BADGE MUST HAVE DARK TEXT */
.hm-pricing-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000000 !important;
    background: #ffffff;
    border: 1px solid #d8dcff;
    padding: 4px 14px;
    border-radius: var(--hm-radius-full);
    margin-bottom: 16px;
    align-self: flex-start;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.hm-pricing-plan-name {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    color: #fff;
}

.hm-pricing-plan-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--hm-text-secondary);
    margin: 0 0 28px;
}

/* Billing Toggle */
.hm-billing-toggle {
    display: inline-flex;
    background: #080922;
    border: 1px solid var(--hm-border);
    border-radius: var(--hm-radius-full);
    padding: 4px;
    margin-bottom: 28px;
}

.hm-billing-toggle-btn {
    background: transparent;
    border: none;
    color: var(--hm-text-secondary);
    font-family: var(--hm-font-sans);
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--hm-radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hm-billing-toggle-btn.active {
    background: var(--hm-blue-bright);
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(59, 68, 255, 0.4);
}

.hm-billing-save {
    font-size: 11px;
    background: #22c55e;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    margin-left: 4px;
}

/* Price Block */
.hm-price-block {
    margin-bottom: 32px;
}

.hm-price-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.hm-price-currency {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.hm-price-num {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1;
}

.hm-price-period {
    font-size: 16px;
    color: var(--hm-text-secondary);
    font-weight: 500;
}

.hm-price-billed {
    font-size: 13px;
    color: var(--hm-blue-light);
    margin-top: 6px;
    font-weight: 600;
}

.hm-pricing-cta-wrap {
    margin-top: auto;
}

.hm-pricing-cta {
    width: 100%;
}

.hm-pricing-cta-sub {
    font-size: 12px;
    color: var(--hm-text-muted);
    text-align: center;
    margin-top: 10px;
    line-height: 1.4;
}

/* Right Column Features */
.hm-pricing-col-right {
    background: rgba(255, 255, 255, 0.015);
    display: flex;
    flex-direction: column;
}

.hm-pricing-right-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 16px;
}

.hm-pricing-right-header h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.hm-pricing-all-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(59, 68, 255, 0.15);
    color: var(--hm-blue-light);
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid var(--hm-blue-border);
}

.hm-pricing-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hm-pricing-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.45;
}

.hm-pricing-feature-list li svg {
    width: 18px;
    height: 18px;
    color: var(--hm-blue-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.hm-pricing-feature-list li strong {
    color: #fff;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.hm-faq-section {
    padding: 100px 0;
    border-top: 1px solid var(--hm-border);
}

.hm-faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.hm-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.hm-faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--hm-font-sans);
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}

.hm-faq-arrow {
    font-size: 12px;
    color: var(--hm-blue-light);
    transition: transform 0.25s ease;
}

.hm-faq-item.open .hm-faq-arrow {
    transform: rotate(180deg);
}

.hm-faq-answer {
    padding: 0 24px 20px;
    display: none;
    color: var(--hm-text-secondary);
    font-size: 15px;
    line-height: 1.65;
}

.hm-faq-item.open .hm-faq-answer {
    display: block;
}

.hm-faq-answer p {
    margin: 0;
}

/* ==========================================================================
   BOTTOM CTA BANNER
   ========================================================================== */
.hm-bottom-cta {
    padding: 60px 0 100px;
}

.hm-bottom-card {
    background: linear-gradient(135deg, #10123d 0%, #070822 100%);
    border: 1px solid var(--hm-blue-border);
    border-radius: var(--hm-radius-xl);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hm-bottom-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 68, 255, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.hm-bottom-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.hm-bottom-content h2 {
    font-family: var(--hm-font-serif);
    font-size: 40px;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: #fff;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.hm-bottom-content p {
    font-size: 17px;
    color: var(--hm-text-secondary);
    line-height: 1.6;
    margin: 0 0 32px;
}

.hm-bottom-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .hm-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hm-gateways-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hm-showcase-row,
    .hm-showcase-reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hm-pricing-card-2col {
        grid-template-columns: 1fr;
    }
    .hm-pricing-col-left {
        border-right: none;
        border-bottom: 1px solid var(--hm-border);
    }
}

@media (max-width: 768px) {
    .hm-container {
        padding: 0 18px !important;
    }
    .hm-topbar-nav {
        display: none;
    }
    .hm-menu-toggle {
        display: flex;
    }
    .hm-hero-title {
        font-size: 44px;
    }
    .hm-hero-sub {
        font-size: 16px;
    }
    .hm-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hm-features-grid {
        grid-template-columns: 1fr;
    }
    .hm-gateways-grid {
        grid-template-columns: 1fr;
    }
    .hm-subagent-children {
        grid-template-columns: 1fr;
    }
    .hm-pricing-col {
        padding: 32px 24px;
    }
    .hm-showcase-text h3 {
        font-size: 28px;
    }
    .hm-bottom-card {
        padding: 40px 20px;
    }
    .hm-bottom-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hm-container {
        padding: 0 16px !important;
    }
    .hm-hero-title {
        font-size: 32px;
    }
    .hm-topbar-inner {
        padding: 0 14px;
        height: 52px;
    }
    .hm-stats-grid {
        grid-template-columns: 1fr;
    }
    .hm-hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    .hm-hero-cta-group .hm-btn {
        width: 100%;
        padding: 13px 20px;
        font-size: 14px;
        white-space: normal;
        line-height: 1.3;
    }
}
