/* ============================
   AI AGENCY PRODUCT PAGE
   ============================ */

/* ---- NAV ---- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--fg);
  background: var(--bg-elevated);
}

.nav-link.active {
  color: var(--accent);
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #0f0f12;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #f0b84a;
  transform: translateY(-1px);
}

.btn-primary.btn-large {
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 10px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: var(--fg);
}

/* ---- HERO ---- */
.agency-hero {
  padding: 5rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.agency-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(ellipse, rgba(232,168,56,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.agency-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.agency-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232, 168, 56, 0.1);
  border: 1px solid rgba(232, 168, 56, 0.2);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1.8rem;
}

.agency-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.agency-hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-formula {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--fg-muted);
}

.formula-op {
  color: var(--fg-dim);
  font-size: 0.9rem;
}

.formula-result {
  color: var(--accent);
  font-size: 1.3rem;
  font-style: italic;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.agency-hero-image {
  display: flex;
  justify-content: flex-end;
}

.agency-hero-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  border: 1px solid var(--border);
  object-fit: cover;
  aspect-ratio: 16/10;
}

/* ---- SECTIONS ---- */
.agency-section {
  padding: 7rem 2rem;
}

.section-surface {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.agency-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.section-body {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.section-note {
  font-size: 0.88rem;
  color: var(--fg-dim);
  font-style: italic;
  margin-top: 2rem;
  max-width: 600px;
}

/* ---- COMPARISON ---- */
.agency-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 680px;
}

.compare-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.compare-card.wrong {
  background: rgba(248, 113, 113, 0.04);
  border-color: rgba(248, 113, 113, 0.15);
}

.compare-card.right {
  background: rgba(74, 222, 128, 0.04);
  border-color: rgba(74, 222, 128, 0.15);
}

.compare-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compare-card.wrong .compare-icon {
  background: rgba(248, 113, 113, 0.12);
  color: var(--red);
}

.compare-card.right .compare-icon {
  background: rgba(74, 222, 128, 0.12);
  color: var(--green);
}

.compare-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.compare-content p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ---- NICHES ---- */
.niches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.niche-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  transition: border-color 0.25s;
}

.niche-card:hover {
  border-color: rgba(232, 168, 56, 0.25);
}

.niche-icon {
  width: 40px;
  height: 40px;
  background: rgba(232, 168, 56, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
}

.niche-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--fg);
}

.niche-card p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ---- DELIVERABLES ---- */
.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.deliverable {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 2rem 1.8rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.deliverable:nth-child(odd) {
  border-right: none;
}

.deliverable:nth-last-child(-n+2) {
  border-bottom: none;
}

.deliv-icon {
  width: 36px;
  height: 36px;
  background: rgba(232, 168, 56, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.deliverable h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.deliverable p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
}

.pricing-card.pricing-retainer {
  border-color: rgba(232, 168, 56, 0.3);
}

.pricing-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.8rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 1rem;
}

.pricing-per {
  font-size: 1.2rem;
  color: var(--fg-muted);
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.pricing-tag {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232, 168, 56, 0.1);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
}

.pricing-math {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.math-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.math-label {
  color: var(--fg-muted);
  min-width: 200px;
}

.math-op {
  color: var(--fg-dim);
  font-size: 0.9rem;
}

.math-result {
  color: var(--fg);
  font-style: italic;
}

.math-highlight {
  color: var(--accent);
  font-size: 1.3rem;
}

/* ---- STACK ---- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stack-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  text-align: center;
}

.stack-logo {
  width: 52px;
  height: 52px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
}

.stack-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--fg);
}

.stack-card p {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.stack-total {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(74, 222, 128, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  font-size: 0.88rem;
  color: var(--fg-muted);
}

.stack-total strong {
  color: var(--fg);
}

.stack-note {
  color: var(--fg-dim);
  font-size: 0.8rem;
}

/* ---- PROCESS ---- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: var(--bg-surface);
  padding: 2rem 2rem;
  border-bottom: 1px solid var(--border);
}

.process-step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(232, 168, 56, 0.15);
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}

.step-body h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--fg);
}

.step-body p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ---- HONEST ---- */
.honest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.honest-text p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

.honest-facts {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.fact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg);
  padding: 1.4rem 1.8rem;
}

.fact-stat {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  min-width: 160px;
  font-style: italic;
}

.fact-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ---- CTA ---- */
.agency-cta {
  padding: 8rem 2rem;
  text-align: center;
}

.agency-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.agency-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.agency-cta p {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.cta-note {
  font-size: 0.82rem;
  color: var(--fg-dim);
  font-style: italic;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .agency-hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .agency-hero-image {
    order: -1;
  }

  .agency-hero-image img {
    max-width: 100%;
  }

  .agency-hero-content {
    align-items: flex-start;
  }

  .niches-grid {
    grid-template-columns: 1fr 1fr;
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
  }

  .deliverable {
    border-right: none;
  }

  .deliverable:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .deliverable:last-child {
    border-bottom: none;
  }

  .pricing-grid,
  .stack-grid,
  .honest-grid,
  .agency-comparison {
    grid-template-columns: 1fr;
  }

  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .math-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .niches-grid {
    grid-template-columns: 1fr;
  }

  .stack-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex-direction: column;
    gap: 0.5rem;
  }

  .step-num {
    font-size: 1.8rem;
    min-width: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-buttons {
    flex-direction: column;
  }
}