/* =========================================================
   AGENT PAGES — extends style.css with agent-specific layout
   Same fonts + tokens as main site (Inter + Sora, copper/ink palette).
   ========================================================= */

:root {
  --bg-ink: #0D0D0D;
  --bg-deep: #161616;
  --bg-slate: #2B2B2B;
  --surface-cream: #F5F5F5;
  --surface-stone: #EAEAEA;
  --accent-copper: #58B7FF;
  --accent-gold: #82CFFF;
  --text-dark: #0D0D0D;
  --text-light: #FFFFFF;
  --text-muted: #999999;
  --text-muted-dark: #666666;
  --radius-md: 20px;
  --radius-lg: 28px;
  --transition-smooth: 220ms ease;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
  background: var(--bg-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--text-light);
  margin: 0;
}

p { line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
a { color: inherit; text-decoration: none; }

/* =========================================================
   BADGE / EYEBROW for agent hero
   ========================================================= */
.badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(88, 183, 255, 0.12);
  border: 1px solid rgba(88, 183, 255, 0.32);
  color: #9DE0FF;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}

/* =========================================================
   HERO CTA — copper gradient pill (matches main btn-primary)
   ========================================================= */
.hero-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  margin-top: 1.6rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  color: var(--text-dark);
  background: linear-gradient(135deg, #9DE0FF, var(--accent-copper));
  box-shadow: 0 14px 40px rgba(88, 183, 255, 0.28);
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(88, 183, 255, 0.36);
}
.hero-cta span { font-size: 1rem; letter-spacing: 0; }

/* =========================================================
   AGENT HERO
   ========================================================= */
.agent-hero {
  position: relative;
  padding: 10rem 1.5rem 5rem;
  background:
    radial-gradient(circle at 75% 25%, rgba(88,183,255,0.18), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(130,207,255,0.10), transparent 50%),
    var(--bg-ink);
  overflow: hidden;
  isolation: isolate;
}
.agent-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(circle at 60% 50%, black, transparent 70%);
          mask-image: radial-gradient(circle at 60% 50%, black, transparent 70%);
}
.agent-hero-panel {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 3.5rem; align-items: center;
}
.agent-portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.4));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 28px 80px rgba(0,0,0,0.45);
}
.agent-portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 500ms ease;
}
.agent-portrait .img-cyborg { opacity: 0; }
.agent-portrait:hover .img-normal { opacity: 0; }
.agent-portrait:hover .img-cyborg { opacity: 1; }

.agent-meta { max-width: 620px; }
.agent-meta h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  letter-spacing: -0.065em;
  margin: 1.1rem 0 0.4rem;
}
.agent-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem; font-weight: 600;
  color: var(--accent-gold);
  margin: 0 0 1.2rem;
  letter-spacing: -0.01em;
}
.agent-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 2rem;
  max-width: 560px;
}
.agent-quick-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin: 0 0 2rem;
  padding: 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.agent-quick-stats > div { display: flex; flex-direction: column; gap: 0.2rem; }
.agent-quick-stats strong {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.04em;
}
.agent-quick-stats span {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* =========================================================
   AGENT SECTIONS
   ========================================================= */
.agent-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}
.agent-section > h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  letter-spacing: -0.055em;
  margin: 0 0 1.4rem;
}
.agent-section .lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.74);
  max-width: 780px;
  margin: 0 0 1.2rem;
}

/* =========================================================
   STICKY-STACK — "What X can do" cards
   ========================================================= */
.sticky-section { padding-top: 4rem; padding-bottom: 4rem; }
.sticky-header { margin-bottom: 2.4rem; }
.sticky-stack {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.sticky-card {
  display: grid; grid-template-columns: 1fr 120px;
  gap: 1.4rem; align-items: center;
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), background var(--transition-smooth);
}
.sticky-card:hover {
  transform: translateY(-3px);
  border-color: rgba(88, 183, 255, 0.4);
  background: linear-gradient(180deg, rgba(88,183,255,0.10), rgba(255,255,255,0.025));
}
.sticky-text h3 {
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  margin: 0 0 0.45rem;
  color: var(--text-light);
}
.sticky-text p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.66);
  margin: 0;
  line-height: 1.55;
}
.sticky-icon {
  width: 120px; height: 120px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.06);
  display: grid; place-items: center;
}
.sticky-img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   TIME-TABLE — hours saved comparison
   ========================================================= */
.time-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.time-table thead th {
  text-align: left;
  padding: 1rem 1.2rem;
  background: rgba(88,183,255,0.10);
  color: #9DE0FF;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(88,183,255,0.20);
}
.time-table tbody td {
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.time-table tbody tr:last-child td { border-bottom: 0; }
.time-table tbody tr:hover td { background: rgba(255,255,255,0.025); }
.time-table .time-saved {
  color: #9DE0FF;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

/* =========================================================
   AGENT CALCULATOR
   ========================================================= */
.agent-calc {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
}
.agent-calc-inputs { display: grid; gap: 1rem; }
.agent-calc-inputs label {
  display: grid; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.agent-calc-inputs input[type="number"] {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(13, 13, 13, 0.6);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: border-color var(--transition-smooth), background var(--transition-smooth);
}
.agent-calc-inputs input[type="number"]:focus {
  outline: none;
  border-color: var(--accent-copper);
  background: rgba(13, 13, 13, 0.85);
}
.agent-calc-output {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(241,192,138,0.16), rgba(88,183,255,0.08));
  border: 1px solid rgba(88,183,255,0.3);
}
.out-label {
  font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #9DE0FF;
}
.out-value {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--text-light);
  margin: 0.4rem 0 0.5rem;
  line-height: 1;
}
.out-sub { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }

/* =========================================================
   AGENT FINAL CTA BAND
   ========================================================= */
.agent-cta-band {
  position: relative;
  padding: 6rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(88,183,255,0.22), transparent 60%),
    var(--bg-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.agent-cta-band h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  letter-spacing: -0.06em;
  margin: 0 0 1rem;
}
.agent-cta-band p {
  max-width: 580px; margin: 0 auto;
  color: rgba(255, 255, 255, 0.75);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 920px) {
  .agent-hero { padding: 8rem 1.25rem 4rem; }
  .agent-hero-panel { grid-template-columns: 1fr; gap: 2.5rem; }
  .agent-portrait { max-width: 380px; margin: 0 auto; width: 100%; }
  .agent-section { padding: 4rem 1.25rem; }
  .sticky-stack { grid-template-columns: 1fr; }
  .agent-calc { grid-template-columns: 1fr; padding: 1.4rem; }
  .agent-quick-stats { grid-template-columns: 1fr; }
  .agent-quick-stats strong { font-size: 1.4rem; }
  .time-table { font-size: 0.88rem; }
  .time-table thead th, .time-table tbody td { padding: 0.8rem 0.9rem; }
}
