/*
Theme Name: Wireroom
Theme URI: https://wireroom.com
Author: Wireroom
Author URI: https://wireroom.com
Description: AI-Powered Claims Intelligence Platform — custom WordPress theme for Wireroom. Dark, gold-accented design with DM Mono + Syne typography.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wireroom
Tags: dark, gold, legal, fintech, one-page, full-width
*/

/* ─── CSS VARIABLES ─── */
:root {
  --bg:         #07080A;
  --bg2:        #0A0B0E;
  --bg3:        #0D0E12;
  --border:     #1C1E23;
  --border2:    #131418;
  --gold:       #E8C547;
  --gold-dim:   rgba(232,197,71,0.15);
  --gold-glow:  rgba(232,197,71,0.06);
  --blue:       #3B82F6;
  --green:      #10B981;
  --white:      #E2E4E8;
  --gray1:      #888888;
  --gray2:      #555555;
  --gray3:      #333333;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: crosshair;
}

/* ─── CUSTOM CURSOR ─── */
.cursor {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(232,197,71,0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: transform 0.35s ease, width 0.2s, height 0.2s;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ─── NAV ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 56px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(7,8,10,0.85);
  backdrop-filter: blur(12px);
  border-color: var(--border2);
}
.site-branding { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.site-branding svg { flex-shrink: 0; }
.brand-name { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; }
.brand-sub { font-size: 8px; letter-spacing: 2.5px; color: var(--gold); text-transform: uppercase; display: block; margin-top: 1px; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { color: var(--gray1); text-decoration: none; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; transition: color 0.2s; }
.main-nav a:hover { color: var(--white); }
.nav-cta { background: var(--gold) !important; color: var(--bg) !important; padding: 8px 20px; border-radius: 3px; font-weight: 500; letter-spacing: 1.5px; transition: opacity 0.2s !important; }
.nav-cta:hover { opacity: 0.85 !important; }

/* ─── SECTIONS ─── */
.section-wrap { padding: 120px 56px; max-width: 1200px; margin: 0 auto; }
.section-divider { width: 100%; height: 1px; background: var(--border2); max-width: 1200px; margin: 0 auto; }

.eyebrow {
  font-size: 10px; letter-spacing: 3px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }

h1, h2, h3 { font-family: 'Syne', sans-serif; font-weight: 800; color: var(--white); }

/* ─── HERO ─── */
.hero-section {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 100px;
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border2) 1px, transparent 1px),
    linear-gradient(90deg, var(--border2) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}
.hero-section::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,197,71,0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: var(--bg2);
  padding: 6px 14px; border-radius: 20px; margin-bottom: 32px;
  font-size: 10px; letter-spacing: 1.5px; color: var(--gray1);
}
.hero-badge span { color: var(--gold); }
.hero-section h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.0; letter-spacing: -2px; margin-bottom: 28px;
}
.hero-section h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 16px; color: var(--gray1); line-height: 1.8; max-width: 580px; margin-bottom: 48px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--bg);
  padding: 14px 32px; border-radius: 3px;
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; font-weight: 500;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); color: var(--bg); }
.btn-outline {
  border: 1px solid var(--border); color: var(--gray1);
  padding: 14px 32px; border-radius: 3px;
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--gold); color: var(--white); }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: 0; margin-top: 72px;
  border: 1px solid var(--border);
  background: var(--bg2);
  border-radius: 6px; overflow: hidden;
  width: fit-content;
}
.stat-item {
  padding: 24px 40px; border-right: 1px solid var(--border);
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}
.stat-item:last-child { border-right: none; }
.stat-item:nth-child(1) { animation-delay: 0.3s; }
.stat-item:nth-child(2) { animation-delay: 0.45s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 800; color: var(--gold); display: block; line-height: 1; }
.stat-label { font-size: 10px; color: var(--gray2); letter-spacing: 1px; margin-top: 6px; }
.scroll-hint {
  position: absolute; bottom: 40px; left: 56px;
  display: flex; align-items: center; gap: 10px;
  font-size: 9px; letter-spacing: 2px; color: var(--gray3); text-transform: uppercase;
  animation: pulse 2.5s ease infinite;
}
.scroll-hint::before {
  content: '';
  display: block; width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gray3));
}

/* ─── SERVICES ─── */
.services-grid { display: flex; flex-direction: column; gap: 2px; margin-top: 48px; }
.service-card {
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  background: var(--bg2);
  border-radius: 6px; overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
  cursor: pointer;
}
.service-card.open { background: var(--bg3); }
.service-card:hover { border-color: #2a2c32; }
.service-header { display: flex; align-items: center; gap: 20px; padding: 24px 28px; }
.service-icon {
  width: 48px; height: 48px; border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0; transition: all 0.2s;
}
.service-meta { flex: 1; }
.service-title {
  font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700;
  margin-bottom: 4px; display: flex; align-items: center; gap: 10px;
}
.service-tag {
  font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 2px;
  background: var(--bg); border: 1px solid var(--border);
  font-family: 'DM Mono', monospace;
}
.service-tagline { font-size: 12px; color: var(--gray2); font-style: italic; }
.service-chevron { font-size: 13px; color: var(--gray3); margin-left: auto; flex-shrink: 0; transition: transform 0.25s; }
.service-card.open .service-chevron { transform: rotate(180deg); }
.service-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.service-card.open .service-body { max-height: 600px; }
.service-body-inner { padding: 0 28px 28px 96px; border-top: 1px solid var(--border2); }
.service-desc { font-size: 13px; color: var(--gray1); line-height: 1.85; margin: 20px 0 24px; max-width: 660px; }
.cap-label { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.caps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.cap-pill {
  background: var(--bg); border-radius: 3px; padding: 8px 14px;
  font-size: 11px; color: #aaa; display: flex; align-items: center; gap: 8px;
  border: 1px solid transparent; transition: border-color 0.2s;
}
.cap-pill:hover { border-color: rgba(255,255,255,0.08); }
.cap-arrow { font-size: 8px; flex-shrink: 0; }

/* ─── HOW IT WORKS ─── */
.hiw-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  background: var(--bg2); border-radius: 6px;
  overflow: hidden; margin-top: 16px;
}
.hiw-step { padding: 28px 24px; border-right: 1px solid var(--border2); }
.hiw-step:last-child { border-right: none; }
.hiw-num { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: rgba(232,197,71,0.2); margin-bottom: 12px; line-height: 1; }
.hiw-label { font-size: 14px; font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.hiw-desc { font-size: 11px; color: var(--gray2); line-height: 1.65; }

/* ─── WHY WIREROOM ─── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.why-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 6px; padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.why-card:hover { border-color: rgba(232,197,71,0.3); transform: translateY(-3px); }
.why-stat { font-family: 'Syne', sans-serif; font-size: 42px; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.why-label { font-size: 12px; color: var(--gray1); line-height: 1.6; }

/* ─── PRICING ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.tier-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 32px;
  position: relative; overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.tier-card:hover { transform: translateY(-4px); }
.tier-card.featured { border-color: var(--green); }
.tier-card.featured::before {
  content: '★ MOST POPULAR';
  position: absolute; top: -1px; right: 20px;
  background: var(--green); color: var(--bg);
  font-size: 8px; letter-spacing: 2px; padding: 4px 12px;
  border-radius: 0 0 4px 4px; font-weight: 700;
}
.tier-name { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.tier-price { font-family: 'Syne', sans-serif; font-size: 36px; font-weight: 800; margin-bottom: 24px; color: var(--white); }
.tier-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.tier-features li { font-size: 12px; color: var(--gray1); display: flex; gap: 8px; }
.tier-features li span { flex-shrink: 0; }

/* ─── CONTACT ─── */
.contact-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  margin-top: 48px; position: relative; overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,197,71,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.contact-card h3 { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.contact-card p { font-size: 13px; color: var(--gray1); line-height: 1.8; margin-bottom: 32px; }
.form-group { margin-bottom: 16px; }
.form-label { font-size: 9px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 8px; }
.form-input {
  width: 100%; background: var(--bg3); border: 1px solid var(--border);
  color: var(--white); padding: 12px 16px; font-size: 13px;
  border-radius: 4px; font-family: 'DM Mono', monospace;
  transition: border-color 0.2s; outline: none;
}
.form-input:focus { border-color: var(--gold); }
.form-input::placeholder { color: var(--gray3); }
textarea.form-input { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; background: var(--gold); color: var(--bg);
  padding: 14px; border: none; border-radius: 3px; cursor: pointer;
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
  transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.88; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  width: 40px; height: 40px; border: 1px solid var(--border);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0; background: var(--bg3); color: var(--gold);
}
.contact-item-label { font-size: 9px; letter-spacing: 1.5px; color: var(--gray2); text-transform: uppercase; margin-bottom: 4px; }
.contact-item-value { font-size: 13px; color: var(--white); }
.contact-item-value a { color: var(--gold); text-decoration: none; }
.contact-item-value a:hover { text-decoration: underline; }
.confidential-note { padding: 20px; border: 1px dashed var(--border); border-radius: 6px; font-size: 12px; color: var(--gray2); line-height: 1.7; }

/* ─── FOOTER ─── */
.site-footer {
  border-top: 1px solid var(--border2);
  padding: 40px 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-tagline { font-size: 10px; letter-spacing: 2px; color: var(--gray3); text-transform: uppercase; }
.footer-link {
  font-size: 11px; color: var(--gold); text-decoration: none;
  border: 1px solid rgba(232,197,71,0.2); padding: 7px 16px; border-radius: 3px; transition: all 0.2s;
}
.footer-link:hover { background: rgba(232,197,71,0.08); border-color: var(--gold); }
.footer-copy { font-size: 10px; color: var(--gray3); letter-spacing: 1px; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 0.2; }
}
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.hero-inner > * { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease forwards; }
.hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.2s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.3s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.4s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.5s; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .site-header { padding: 16px 24px; }
  .main-nav { display: none; }
  .section-wrap { padding: 80px 24px; }
  .hero-section h1 { font-size: 42px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .why-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hiw-strip { grid-template-columns: 1fr 1fr; }
  .contact-card { grid-template-columns: 1fr; padding: 32px; }
  .site-footer { flex-direction: column; gap: 20px; text-align: center; }
  .caps-grid { grid-template-columns: 1fr; }
}
