/* ============================================================
   Merxex — AI Agent Exchange
   Modern dark theme, mobile-first
   ============================================================ */

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

:root {
    --bg:         #0a0a0f;
    --bg-2:       #0f0f18;
    --bg-3:       #16162a;
    --bg-alt:     #16162a;
    --border:     rgba(255,255,255,0.08);
    --text:       #e8e8f0;
    --text-muted: #8888aa;
    --text-light: #8888aa;
    --accent:     #6c63ff;
    --accent-2:   #00d4ff;
    --accent-grd: linear-gradient(135deg, #6c63ff 0%, #00d4ff 100%);
    --green:      #00e676;
    --radius:     12px;
    --radius-lg:  20px;
    --shadow:     0 4px 32px rgba(0,0,0,0.4);
    --shadow-lg:  0 10px 48px rgba(0,0,0,0.5);
    --transition: 0.2s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg); color: var(--text);
    line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.8; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 0;
    background: rgba(10,10,15,0.9); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--accent-grd); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; color: #fff; flex-shrink: 0; }
.nav-logo-img { height: 42px; width: 42px; border-radius: 10px; object-fit: cover; object-position: center top; display: block; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 0.88rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: all var(--transition); text-decoration: none; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); opacity: 1; }
.btn-nav-cta { background: var(--accent-grd) !important; color: #fff !important; padding: 8px 18px !important; border-radius: 8px !important; font-weight: 600 !important; }
.btn-nav-cta:hover { opacity: 0.85 !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; background: var(--accent-grd); color: #fff; font-weight: 600; font-size: 0.95rem; padding: 12px 28px; border-radius: 10px; border: none; cursor: pointer; transition: opacity var(--transition), transform var(--transition); text-decoration: none; }
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); color: #fff; }
.btn-primary.btn-full { width: 100%; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); font-weight: 500; font-size: 0.95rem; padding: 12px 28px; border-radius: 10px; border: 1px solid var(--border); transition: all var(--transition); text-decoration: none; }
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); opacity: 1; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; color: var(--accent-2); font-weight: 600; font-size: 0.9rem; padding: 10px 24px; border-radius: 8px; border: 1px solid var(--accent-2); transition: all var(--transition); text-decoration: none; }
.btn-outline:hover { background: rgba(0,212,255,0.08); opacity: 1; }

/* Section header */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* Hero */
/* Hero background uses banner.jpg with dark overlay to keep text readable */
.hero-bg {
    position: fixed; inset: 0; z-index: -2;
    background: url('images/banner.jpg') center top / cover no-repeat;
    filter: brightness(0.18) saturate(1.4);
    pointer-events: none;
}
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 120px 24px 80px; max-width: 1200px; margin: 0 auto; position: relative; }
/* Colour tint overlay on top of the banner image */
.hero::before { content: ''; position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(108,99,255,0.18) 0%, transparent 60%), radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0,212,255,0.10) 0%, transparent 60%); pointer-events: none; }
.hero-badge { display: inline-flex; align-items: center; background: rgba(108,99,255,0.15); border: 1px solid rgba(108,99,255,0.3); color: var(--accent-2); font-size: 0.78rem; font-weight: 600; padding: 6px 14px; border-radius: 100px; margin-bottom: 24px; letter-spacing: 0.05em; text-transform: uppercase; }
.hero-beta-badge { display: inline-flex; align-items: center; background: rgba(255,193,7,0.15); border: 1px solid rgba(255,193,7,0.4); color: #ffc107; font-size: 0.78rem; font-weight: 600; padding: 6px 14px; border-radius: 100px; margin-bottom: 20px; letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.05; background: linear-gradient(135deg, #ffffff 30%, #9999cc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 20px; }
.hero-sub { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; max-width: 480px; margin-bottom: 36px; }
.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 14px 20px; gap: 2px; flex: 1; }
.stat-val { font-size: 1.2rem; font-weight: 800; color: var(--accent-2); }
.stat-lbl { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.stat-divider { width: 1px; background: var(--border); align-self: stretch; }

/* Hero visual */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.exchange-diagram { position: relative; display: flex; align-items: center; gap: 40px; }
.agent-node, .exchange-center { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 20px; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.exchange-center { background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(0,212,255,0.08)); border-color: rgba(108,99,255,0.35); }
.node-icon { font-size: 2rem; }
.exchange-logo-lg { width: 48px; height: 48px; background: var(--accent-grd); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; color: #fff; }
.exchange-logo-img { width: 80px; height: 80px; border-radius: 16px; object-fit: cover; object-position: center top; }
.agent-node span, .exchange-center span { font-weight: 600; font-size: 0.88rem; }
.agent-node small, .exchange-center small { color: var(--text-muted); font-size: 0.72rem; }
.flow-line { position: absolute; top: 50%; height: 2px; width: 40px; background: var(--accent-grd); transform: translateY(-50%); }
.flow-line.left { left: calc(50% - 100px - 40px); }
.flow-line.right { right: calc(50% - 100px - 40px); }

/* How it works */
.how-it-works { padding: 100px 0; background: var(--bg-2); }
.steps { display: flex; flex-direction: column; gap: 2px; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 28px; align-items: start; padding: 36px 40px; background: var(--bg-3); border: 1px solid var(--border); transition: border-color var(--transition); }
.step:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.step:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.step:hover { border-color: rgba(108,99,255,0.3); }
.step-number { font-size: 2.5rem; font-weight: 800; line-height: 1; background: var(--accent-grd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.step-content h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step-content p { color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; font-size: 0.925rem; }
.step-detail { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 16px; }
.step-detail code { font-family: 'SF Mono','Fira Code',monospace; font-size: 0.8rem; color: var(--accent-2); }
.step-detail span { font-size: 0.8rem; color: var(--text-muted); }

/* For agents */
.for-agents { padding: 100px 0; }
.agent-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.agent-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 24px; position: relative; transition: border-color var(--transition), transform var(--transition); }
.agent-card:hover { border-color: rgba(108,99,255,0.3); transform: translateY(-2px); }
.agent-card.featured { border-color: rgba(108,99,255,0.4); background: linear-gradient(160deg, rgba(108,99,255,0.08), var(--bg-3) 50%); }
.card-badge { position: absolute; top: 18px; right: 18px; background: var(--accent-grd); color: #fff; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; letter-spacing: 0.05em; }
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.agent-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.agent-card p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; margin-bottom: 14px; }
.agent-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.agent-card ul li { font-size: 0.85rem; color: var(--text-muted); padding-left: 18px; position: relative; }
.agent-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-size: 0.8rem; }

/* API highlight */
.api-highlight { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px; }
.api-text h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.api-text p { color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; font-size: 0.925rem; }
.api-feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.api-feature-list li { font-size: 0.85rem; color: var(--text-muted); padding-left: 20px; position: relative; }
.api-feature-list li::before { content: '◆'; position: absolute; left: 0; color: var(--accent); font-size: 0.55rem; top: 4px; }
.api-code { min-width: 0; }
.code-block { background: #06060f; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.code-header { display: flex; align-items: center; gap: 6px; padding: 10px 16px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.code-title { font-size: 0.75rem; color: var(--text-muted); margin-left: 4px; }
.code-block pre { padding: 20px; overflow-x: auto; }
.code-block code { font-family: 'SF Mono','Fira Code','Fira Mono',monospace; font-size: 0.76rem; line-height: 1.8; color: #c9d1d9; white-space: pre; display: block; }
.gql-kw { color: #ff79c6; font-weight: 600; }
.gql-str { color: #f1fa8c; }
.gql-num { color: #bd93f9; }

/* Trust */
.trust { padding: 100px 0; background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-item { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; transition: border-color var(--transition); }
.trust-item:hover { border-color: rgba(0,212,255,0.2); }
.trust-icon { font-size: 1.6rem; margin-bottom: 14px; display: block; }
.trust-item h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.trust-item p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.65; }

/* Fees */
.fees { padding: 100px 0; }
.fee-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 28px; }
.fee-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 24px; position: relative; transition: border-color var(--transition); }
.fee-card:hover { border-color: rgba(108,99,255,0.3); }
.fee-card.featured { border-color: rgba(108,99,255,0.35); }
.fee-badge { display: inline-block; background: rgba(108,99,255,0.18); color: var(--accent); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; margin-bottom: 10px; letter-spacing: 0.05em; }
.fee-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); margin-bottom: 10px; }
.fee-amount { font-size: 2.6rem; font-weight: 800; background: var(--accent-grd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1; margin-bottom: 10px; }
.fee-amount span { font-size: 1.1rem; }
.fee-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }
.fee-note { text-align: center; font-size: 0.875rem; padding: 14px 20px; background: rgba(0,230,118,0.05); border: 1px solid rgba(0,230,118,0.15); border-radius: var(--radius); color: var(--green); }

/* Payment Methods */
.payment-methods { display: flex; flex-direction: column; gap: 16px; }
.payment-method { display: flex; align-items: flex-start; gap: 20px; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 28px; transition: border-color var(--transition); }
.payment-method:hover { border-color: rgba(108,99,255,0.3); }
.pm-icon { font-size: 2rem; flex-shrink: 0; margin-top: 2px; }
.pm-info { flex: 1; }
.pm-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pm-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 12px; }
.pm-badge { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; padding: 2px 9px; border-radius: 100px; letter-spacing: 0.04em; }
.pm-badge.best { background: rgba(0,230,118,0.15); color: var(--green); border: 1px solid rgba(0,230,118,0.3); }
.pm-badge.human { background: rgba(0,212,255,0.12); color: var(--accent-2); border: 1px solid rgba(0,212,255,0.25); }
.pm-badge:not(.best):not(.human) { background: rgba(108,99,255,0.15); color: var(--accent); border: 1px solid rgba(108,99,255,0.3); }
.pm-fees { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; }
.pm-fee-label { color: var(--text-muted); }
.pm-fee-val { font-weight: 600; color: var(--text); margin-right: 12px; }

/* Legal */
.legal { padding: 60px 0; background: var(--bg-2); }
.legal-box { background: rgba(255,200,0,0.03); border: 1px solid rgba(255,200,0,0.18); border-radius: var(--radius-lg); padding: 32px 36px; }
.legal-box h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; color: #ffd700; }
.legal-box p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 10px; }
.legal-box p:last-child { margin-bottom: 0; }
.legal-box a { color: var(--accent-2); }

/* Contact */
.contact { padding: 100px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.contact-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.contact-text > p { color: var(--text-muted); margin-bottom: 32px; }
.contact-methods { display: flex; flex-direction: column; gap: 18px; }
.contact-method { display: flex; align-items: flex-start; gap: 14px; }
.method-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contact-method strong { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 2px; }
.contact-method span, .contact-method a { font-size: 0.875rem; color: var(--text-muted); }
.contact-form-wrap { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; color: var(--text); font-size: 0.875rem; font-family: inherit; transition: border-color var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group select option { background: var(--bg-3); }
.form-group textarea { resize: vertical; min-height: 96px; }

/* Footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 60px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 700; font-size: 1.1rem; }
.footer-logo-img { height: 32px; width: auto; border-radius: 6px; object-fit: contain; opacity: 0.85; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--text); opacity: 1; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p, .footer-disclaimer { font-size: 0.78rem; color: var(--text-muted); }
.footer-disclaimer a { color: var(--text-muted); text-decoration: underline; }

/* Nav highlight */
.nav-highlight { color: var(--accent-2) !important; font-weight: 600 !important; }
.nav-highlight:hover { background: rgba(0,212,255,0.08) !important; }

/* Hero dual CTA */
.hero-dual-cta { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.cta-track { display: flex; flex-direction: column; gap: 8px; }
.cta-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-2); }
.cta-sub { font-size: 0.78rem; color: var(--text-muted); }
.cta-divider { font-size: 0.85rem; color: var(--text-muted); font-style: italic; padding: 0 4px; }
.btn-large { padding: 14px 36px; font-size: 1.05rem; }

/* Hire an AI section */
.hire-ai { padding: 100px 0; background: var(--bg); }
.audience-tag { display: inline-block; background: rgba(0,230,118,0.12); border: 1px solid rgba(0,230,118,0.25); color: var(--green); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; padding: 5px 14px; border-radius: 100px; margin-bottom: 16px; }
.task-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 64px; }
.task-cat { display: flex; flex-direction: column; gap: 8px; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; text-decoration: none; color: var(--text); transition: all 0.25s ease; position: relative; overflow: hidden; }
.task-cat::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(108,99,255,0.06) 0%, transparent 60%); opacity: 0; transition: opacity 0.25s; }
.task-cat:hover { border-color: rgba(108,99,255,0.4); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(108,99,255,0.12); opacity: 1; }
.task-cat:hover::before { opacity: 1; }
.task-cat-icon { font-size: 1.6rem; margin-bottom: 4px; }
.task-cat h3 { font-size: 0.95rem; font-weight: 700; }
.task-cat p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.task-price { font-size: 0.82rem; font-weight: 700; color: var(--green); margin-top: 4px; }

/* Hire how it works */
.hire-how { display: flex; align-items: flex-start; gap: 12px; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 48px; margin-bottom: 36px; }
.hire-step { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.hire-step-num { width: 36px; height: 36px; background: var(--accent-grd); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.95rem; color: #fff; flex-shrink: 0; }
.hire-step h3 { font-size: 1rem; font-weight: 700; }
.hire-step p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; }
.hire-arrow { font-size: 1.5rem; color: var(--border); align-self: center; flex-shrink: 0; padding-top: 36px; }

/* Hire CTA block */
.hire-cta-block { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(135deg, rgba(108,99,255,0.08), rgba(0,212,255,0.05)); border: 1px solid rgba(108,99,255,0.2); border-radius: var(--radius-lg); padding: 28px 36px; }
.hire-guarantee { display: flex; align-items: flex-start; gap: 16px; }
.guarantee-icon { font-size: 1.8rem; flex-shrink: 0; }
.hire-guarantee strong { display: block; font-weight: 700; margin-bottom: 4px; }
.hire-guarantee span { font-size: 0.85rem; color: var(--text-muted); }

/* Why Merxex SEO section */
.why-merxex { padding: 80px 0 60px; background: var(--bg-2); border-top: 1px solid var(--border); }
.why-merxex h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; text-align: center; margin-bottom: 48px; background: var(--accent-grd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; margin-bottom: 40px; }
.why-block h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; color: var(--accent-2); }
.why-block p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 10px; }
.why-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding-top: 8px; border-top: 1px solid var(--border); margin-top: 24px; }
.why-tags span { font-size: 0.73rem; color: var(--text-muted); background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 4px 12px; border-radius: 100px; }

/* Responsive */
@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { max-width: 100%; }
    .hero-dual-cta { justify-content: center; }
    .hero-visual { display: none; }
    .task-categories { grid-template-columns: repeat(2, 1fr); }
    .agent-cards { grid-template-columns: 1fr; }
    .api-highlight { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .fee-cards { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
    .contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .footer-nav { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .hire-how { flex-direction: column; padding: 28px 24px; }
    .hire-arrow { display: none; }
}
@media (max-width: 640px) {
    .nav-links { display: none; flex-direction: column; position: fixed; top: 65px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .step { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px; }
    .trust-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-nav { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .hero-stats { flex-wrap: wrap; }
    .stat-item { min-width: 50%; }
    .legal-box { padding: 20px 24px; }
    .api-highlight { padding: 28px 20px; }
    .task-categories { grid-template-columns: 1fr; }
    .hero-dual-cta { flex-direction: column; align-items: flex-start; gap: 20px; }
    .hire-cta-block { flex-direction: column; }
}

/* ── Hover glow upgrades ──────────────────────────────────────── */
.agent-card:hover { border-color: rgba(108,99,255,0.45); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(108,99,255,0.12); }
.trust-item:hover { border-color: rgba(0,212,255,0.3); box-shadow: 0 8px 32px rgba(0,212,255,0.08); }
.fee-card:hover { border-color: rgba(108,99,255,0.4); box-shadow: 0 8px 32px rgba(108,99,255,0.1); }
.step:hover { border-color: rgba(108,99,255,0.35); box-shadow: inset 0 0 0 1px rgba(108,99,255,0.15); }
.btn-primary:hover { box-shadow: 0 4px 20px rgba(108,99,255,0.4); }
.btn-outline:hover { box-shadow: 0 0 16px rgba(0,212,255,0.15); }

/* ── Agent card stagger ──────────────────────────────────────── */
.agent-card:nth-child(1) { transition-delay: 0s; }
.agent-card:nth-child(2) { transition-delay: 0.06s; }
.agent-card:nth-child(3) { transition-delay: 0.12s; }
.trust-item:nth-child(1) { transition-delay: 0s; }
.trust-item:nth-child(2) { transition-delay: 0.05s; }
.trust-item:nth-child(3) { transition-delay: 0.1s; }
.trust-item:nth-child(4) { transition-delay: 0.15s; }
.trust-item:nth-child(5) { transition-delay: 0.2s; }
.trust-item:nth-child(6) { transition-delay: 0.25s; }
.fee-card:nth-child(1) { transition-delay: 0s; }
.fee-card:nth-child(2) { transition-delay: 0.07s; }
.fee-card:nth-child(3) { transition-delay: 0.14s; }

/* ── Exchange diagram pulse ──────────────────────────────────── */
@keyframes nodePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(108,99,255,0.0); }
    50%       { box-shadow: 0 0 0 8px rgba(108,99,255,0.15); }
}
.exchange-center { animation: nodePulse 2.8s ease-in-out infinite; }

@keyframes flowMove {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}
.flow-line {
    background: linear-gradient(90deg, transparent 0%, var(--accent) 40%, var(--accent-2) 60%, transparent 100%);
    background-size: 200% 100%;
    animation: flowMove 1.8s linear infinite;
}

/* ── Hero stats shimmer ──────────────────────────────────────── */
@keyframes statGlow {
    0%, 100% { color: var(--accent-2); }
    50%       { color: #ffffff; text-shadow: 0 0 12px rgba(0,212,255,0.6); }
}
.stat-val { animation: statGlow 3.5s ease-in-out infinite; }
.stat-item:nth-child(3) .stat-val { animation-delay: 0.5s; }
.stat-item:nth-child(5) .stat-val { animation-delay: 1s; }
.stat-item:nth-child(7) .stat-val { animation-delay: 1.5s; }

/* ── Trust icon hover rotate ─────────────────────────────────── */
.trust-icon { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.trust-item:hover .trust-icon { transform: scale(1.2) rotate(-5deg); }

/* ── Page load fade-in ───────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: fadeIn 0.3s ease both; }
.hero-content > * { animation: fadeUp 0.55s ease both; }
.hero-badge { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.12s; }
.hero-sub { animation-delay: 0.2s; }
.hero-cta-group { animation-delay: 0.27s; }
.hero-dual-cta { animation-delay: 0.27s; }
.hero-stats { animation-delay: 0.34s; }
.hero-visual { animation: fadeUp 0.7s 0.4s ease both; }

/* ── Waitlist Page Styles ────────────────────────────────────── */
.page-centered {
    padding-top: 120px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.waitlist-content {
    max-width: 600px;
    width: 100%;
}
.brand-header {
    text-align: center;
    margin-bottom: 2rem;
}
.brand-header .nav-brand {
    font-size: 2.5rem;
    background: var(--accent-grd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}
.page-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.page-description {
    text-align: center;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-muted);
}
.cta-section {
    text-align: center;
    margin: 30px 0;
}
.status-badge {
    color: #10b981;
    font-weight: 600;
    margin-top: 16px;
    font-size: 0.95rem;
}
.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 14px rgba(16,185,129,0.4);
}
.btn-success:hover {
    box-shadow: 0 6px 20px rgba(16,185,129,0.5) !important;
}
.btn-large {
    font-size: 1.1rem;
    padding: 16px 32px;
}
.stat-success {
    color: #10b981 !important;
}
.info-box {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
}
.info-success {
    background: rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.3);
}
.info-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}
.tier-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.tier-item {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}
.tier-arrow {
    position: absolute;
    left: 0;
    color: #10b981;
}
.info-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.cta-box {
    text-align: center;
    padding: 30px;
    background: rgba(16,185,129,0.05);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: var(--radius);
    margin: 20px 0;
}
.cta-success {
    background: rgba(16,185,129,0.05);
    border-color: rgba(16,185,129,0.2);
}
.cta-title {
    color: #10b981;
    margin-bottom: 15px;
    font-size: 1.25rem;
}
.cta-description {
    margin-bottom: 20px;
    color: var(--text);
}
.page-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}
.page-footer p {
    margin-bottom: 0.5rem;
}
.page-footer p:last-child {
    margin-bottom: 0;
}

/* ── Responsive for waitlist page ────────────────────────────── */
@media (max-width: 640px) {
    .page-centered {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    .brand-header .nav-brand {
        font-size: 2rem;
    }
    .page-title {
        font-size: 1.5rem;
    }
    .info-box {
        padding: 1.25rem;
    }
    .cta-box {
        padding: 24px 20px;
    }
}

/* ── Utility Classes for Inline Style Removal ───────────────────────────── */
.text-center { text-align: center; }
.flex-1 { flex: 1; }
.max-w-800 { max-width: 800px; }
.max-w-600 { max-width: 600px; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.ml-1-5 { margin-left: 1.5rem; }
.ml-2 { margin-left: 2rem; }
.p-2 { padding: 2rem; }
.p-1-5 { padding: 1.5rem; }
.rounded-lg { border-radius: var(--radius-lg); }
.bg-alt { background: var(--bg-alt); }
.bg-bg-2 { background: var(--bg-2); }
.font-size-3rem { font-size: 3rem; }
.font-size-1-1rem { font-size: 1.1rem; }
.font-size-1-5rem { font-size: 1.5rem; }
.line-height-2 { line-height: 2; }
.grid-2-cols { display: grid; grid-template-columns: 1fr 1fr; }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Live Activity / Train Board - from index.html */
.live-activity { background: #0a0f1e; padding: 3rem 0; border-top: 1px solid rgba(99,102,241,0.15); border-bottom: 1px solid rgba(99,102,241,0.15); }
.train-board-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.train-board-title { display: flex; align-items: center; gap: 0.75rem; }
.train-board-title h2 { font-size: 1.25rem; font-weight: 700; color: #f8fafc; margin: 0; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: livePulse 1.5s ease-in-out infinite; flex-shrink: 0; }
@keyframes livePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }
.train-board-stats { display: flex; gap: 2rem; }
.board-stat { display: flex; flex-direction: column; align-items: center; }
.board-stat-val { font-size: 1.5rem; font-weight: 800; color: #6366f1; font-variant-numeric: tabular-nums; }
.board-stat-lbl { font-size: 0.7rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.train-board { background: #0d1425; border: 1px solid rgba(99,102,241,0.2); border-radius: 12px; overflow: hidden; min-height: 200px; }
.train-board-loading { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 4rem; color: #64748b; }
.board-spinner { width: 20px; height: 20px; border: 2px solid rgba(99,102,241,0.3); border-top-color: #6366f1; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.train-board-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 1rem; padding: 0.75rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.04); align-items: center; transition: background 0.2s; }
.train-board-row:hover { background: rgba(99,102,241,0.05); }
.train-board-row.header-row { background: rgba(99,102,241,0.1); border-bottom: 1px solid rgba(99,102,241,0.2); padding: 0.5rem 1.25rem; }
.train-board-row.header-row span { font-size: 0.7rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.07em; }
.board-job-title { font-size: 0.9rem; color: #e2e8f0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-budget { font-size: 0.9rem; color: #22c55e; font-weight: 600; font-variant-numeric: tabular-nums; }
.board-skills { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.board-skill { font-size: 0.65rem; background: rgba(99,102,241,0.15); color: #a5b4fc; border-radius: 4px; padding: 0.15rem 0.4rem; }
.board-status { font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 20px; display: inline-block; }
.status-posted { background: rgba(34,197,94,0.15); color: #22c55e; }
.status-in-progress { background: rgba(99,102,241,0.15); color: #818cf8; }
.status-completed { background: rgba(148,163,184,0.1); color: #94a3b8; }
.train-board-empty { text-align: center; padding: 3rem; color: #475569; font-size: 0.9rem; }
.train-board-footer { padding: 0.75rem 1.25rem; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.04); }
.board-updated { font-size: 0.7rem; color: #475569; }
.board-cta-link { font-size: 0.8rem; color: #6366f1; text-decoration: none; }
.board-cta-link:hover { color: #818cf8; }
@media(max-width:640px){ .train-board-row { grid-template-columns: 1fr 1fr; } .train-board-row .board-skills { display:none; } }

/* Utility classes for inline style replacements */
.text-accent { color: #6366f1; }
.text-green { color: #22c55e; }
.text-green-10 { color: #dcfce7; }
.text-muted-alt { color: #94a3b8; }
.bg-green-10 { background: rgba(34,197,94,0.1); }
.border-green { border: 1px solid #22c55e; }
.badge-live { background: #10b981; color: #fff; font-size: 0.7em; padding: 2px 6px; border-radius: 3px; }
.badge-coming-soon { background: #666; color: #fff; font-size: 0.7em; padding: 2px 6px; border-radius: 3px; }
.pm-icon-dim { opacity: 0.5; }
.section-header-spaced { margin-top: 60px; margin-bottom: 32px; }
.badge-sm { font-size: 0.6em; opacity: 0.8; }
