/* ===== AGENTYX Design System ===== */

/* --- Variables --- */
:root {
  --graphite: #111827;
  --graphite-light: #1f2937;
  --graphite-dark: #0a0f1a;
  --brass: #B7893C;
  --brass-light: #d4a85a;
  --brass-dark: #8a6529;
  --light: #E5E7EB;
  --lighter: #f3f4f6;
  --bg: #fff;
  --text: #111827;
  --text-muted: #4b5563;
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.1);
  --section-gap: clamp(64px, 8vw, 120px);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 16px;
  --radius-sm: 10px;
  --max-w: 1140px;
}

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

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, select, textarea, button { font: inherit; }

/* --- Accessibility --- */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--brass); color: #fff;
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 1000; font-weight: 600;
}
.skip-link:focus { top: 16px; }

*:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* --- Container --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* --- Section --- */
.section {
  padding: var(--section-gap) 0;
}
.section-dark {
  background: var(--graphite);
  color: #fff;
}
.section-dark .text-muted { color: #9ca3af; }
.section-alt { background: var(--lighter); }
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.55;
}
.section-dark .section-subtitle { color: #9ca3af; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .section-subtitle { margin: 0 auto; }
.brass-accent { color: var(--brass); }

/* --- Header --- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.header-scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.header-logo img {
  height: 32px;
  width: auto;
}
/* On dark hero (before scroll), no special treatment - original logo with white bg */
.header:not(.header-scrolled) .nav-link { color: rgba(255,255,255,0.7); }
.header:not(.header-scrolled) .nav-link:hover { color: #fff; }
.header:not(.header-scrolled) .hamburger span { background: #fff; }

/* Pages with light backgrounds from start - always show dark nav */
.header.header-light .nav-link { color: var(--text-muted); }
.header.header-light .nav-link:hover, .header.header-light .nav-link.active { color: var(--text); }
.header.header-light .hamburger span { background: var(--text); }
.header.header-light { background: rgba(255,255,255,0.85); backdrop-filter: blur(16px); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }

/* Navigation */
.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--brass);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 24px;
  position: relative; z-index: 110;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  position: absolute; left: 0;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }
.nav-open .hamburger span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-open .hamburger span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 4px;
  cursor: pointer;
}
.nav-dropdown-toggle::after {
  content: ''; display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 2px;
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown.open .nav-dropdown-toggle::after { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: -16px;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--light);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  padding: 12px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted);
  padding: 8px 20px 4px;
}
.nav-dropdown-item {
  display: block; padding: 8px 20px;
  font-size: 14px; font-weight: 500;
  color: var(--text); transition: background 0.15s, color 0.15s;
}
.nav-dropdown-item:hover { background: var(--lighter); color: var(--brass); }
.nav-dropdown-item.flagship { font-weight: 700; }
.nav-dropdown-divider { border-top: 1px solid var(--light); margin: 8px 0; }
.nav-dropdown-item-all {
  display: block; padding: 10px 20px;
  font-size: 13px; font-weight: 700;
  color: var(--brass);
}
.nav-dropdown-item-all:hover { background: var(--lighter); }

/* --- Tier Color Accents --- */
.tier-operations { border-top: 3px solid #0f766e; }
.tier-intelligence { border-top: 3px solid #2563eb; }
.tier-customer { border-top: 3px solid #16a34a; }
.tier-specialty { border-top: 3px solid #7c3aed; }
.tier-premium { border-top: 3px solid var(--brass); }

/* --- Service Card (with price) --- */
.service-card {
  background: #fff;
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}
.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.service-card .service-tagline {
  font-size: 14px; color: var(--text-muted); line-height: 1.5;
  margin-bottom: 8px;
}
.service-card .service-replaces {
  font-size: 12px; color: var(--brass); line-height: 1.4;
  margin-bottom: 12px; flex-grow: 1;
  font-style: italic;
}
.service-card .service-meta {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--lighter); padding-top: 16px; margin-top: auto;
}
.service-price {
  font-size: 14px; font-weight: 700; color: var(--brass);
}
.service-deploy {
  font-size: 12px; color: var(--text-muted);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* --- Service Detail Page --- */
.service-hero {
  background: var(--graphite); color: #fff;
  padding: clamp(120px, 14vw, 180px) 0 var(--section-gap);
  position: relative; overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(183,137,60,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: hero-drift 20s linear infinite;
  pointer-events: none;
}
.service-hero-content { position: relative; z-index: 1; }
.service-hero .service-badge {
  display: inline-block;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px; border-radius: 6px;
  margin-bottom: 16px;
}
.service-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 12px;
}
.service-hero .service-hero-tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: #d1d5db; max-width: 560px;
  margin-bottom: 24px; line-height: 1.6;
}
.service-hero .service-hero-price {
  font-size: 20px; font-weight: 700; color: var(--brass);
  margin-bottom: 28px;
}
.service-hero .service-hero-price span {
  font-size: 14px; font-weight: 400; color: #9ca3af;
}

/* Problem to Solution layout */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.problem-solution > div { padding: 32px; border-radius: var(--radius); }
.problem-box { background: var(--lighter); }
.solution-box { background: var(--graphite); color: #fff; }
.solution-box p { color: #d1d5db; }
.problem-solution h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.problem-solution p { font-size: 15px; line-height: 1.7; }

/* --- Pricing Table (A la Carte) --- */
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th {
  text-align: left; padding: 12px 16px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted);
  border-bottom: 2px solid var(--light);
}
.pricing-table td {
  padding: 16px; font-size: 15px;
  border-bottom: 1px solid var(--lighter);
}
.pricing-table tr:hover { background: var(--lighter); }
.pricing-table .price-cell { font-weight: 700; color: var(--brass); white-space: nowrap; }
.pricing-table .service-name-cell { font-weight: 600; }
.pricing-table .service-name-cell a { color: var(--text); }
.pricing-table .service-name-cell a:hover { color: var(--brass); }

/* --- Footer (Multi-Column) --- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding: 48px 0 32px;
}
.footer-brand { font-size: 20px; font-weight: 800; letter-spacing: 0.04em; margin-bottom: 12px; }
.footer-brand .logo-y { color: var(--brass); }
.footer-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 280px; }
.footer-social {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 20px;
  align-items: center;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--lighter);
  border: 1px solid var(--light);
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none !important;
  flex-shrink: 0;
}
.footer-social a:hover {
  color: var(--brass);
  background: rgba(183, 137, 60, 0.07);
  border-color: var(--brass-light);
  text-decoration: none !important;
}
.footer-col h4 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text);
  margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--text-muted);
  padding: 4px 0; transition: color 0.15s;
}
.footer-col a:hover { color: var(--brass); }
.footer-bottom {
  border-top: 1px solid var(--light);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted);
}

/* --- Hero (Dark) --- */
.hero-dark {
  background: var(--graphite);
  color: #fff;
  padding: clamp(120px, 14vw, 200px) 0 var(--section-gap);
  position: relative;
  overflow: hidden;
}
.hero-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(183,137,60,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: hero-drift 20s linear infinite;
  pointer-events: none;
}
@keyframes hero-drift {
  from { background-position: 0 0; }
  to { background-position: 40px 40px; }
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-dark h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-dark p {
  font-size: clamp(17px, 2.2vw, 21px);
  color: #d1d5db;
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 48px;
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 14px; color: #9ca3af; font-weight: 500;
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust .dot {
  width: 6px; height: 6px;
  background: var(--brass);
  border-radius: 50%;
  display: inline-block;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  font-size: 15px; font-weight: 700;
  border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-brass {
  background: linear-gradient(135deg, var(--brass-dark), var(--brass), var(--brass-light));
  background-size: 200% 200%;
  color: #fff;
  animation: shimmer 4s ease infinite;
}
.btn-brass:hover { box-shadow: 0 8px 24px rgba(183,137,60,0.35); }

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.25);
  color: #fff;
}
.btn-outline:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.btn-secondary {
  background: var(--lighter);
  color: var(--text);
}
.btn-secondary:hover { background: var(--light); }

/* --- Cards --- */
.card {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}

.card-dark {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: #fff;
}
.card-dark:hover {
  border-color: rgba(183,137,60,0.3);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

.card-flagship {
  border-color: var(--brass);
  position: relative;
}
.card-flagship::before {
  content: 'Flagship';
  position: absolute; top: -12px; right: 24px;
  background: var(--brass); color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  padding: 4px 12px; border-radius: 6px;
  letter-spacing: 0.05em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--brass), var(--brass-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  color: #fff;
}
.card h3 {
  font-size: 20px; font-weight: 700;
  margin-bottom: 8px;
}
.card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}
.card-dark p { color: #9ca3af; }

.card-list {
  margin-top: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.card-list li {
  font-size: 14px;
  padding-left: 20px;
  position: relative;
  color: var(--text-muted);
}
.card-dark .card-list li { color: #9ca3af; }
.card-list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--brass);
}

.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-size: 14px; font-weight: 600;
  color: var(--brass);
  transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }

/* --- Voltron Diagram --- */
.voltron {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 1;
}
.voltron-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  background: var(--graphite);
  border: 2px solid var(--brass);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  color: var(--brass);
  letter-spacing: 0.06em;
  z-index: 2;
}
.voltron-node {
  position: absolute;
  width: 110px; height: 110px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  font-size: 12px; font-weight: 600;
  text-align: center;
  z-index: 2;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  padding: 8px;
}
.voltron-node:hover, .voltron-node.active {
  border-color: var(--brass);
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(183,137,60,0.2);
}
.voltron-node-icon { font-size: 24px; }
.voltron-node:nth-child(2) { top: 2%; left: 50%; transform: translateX(-50%); }
.voltron-node:nth-child(3) { top: 50%; right: 2%; transform: translateY(-50%); }
.voltron-node:nth-child(4) { bottom: 2%; left: 50%; transform: translateX(-50%); }
.voltron-node:nth-child(5) { top: 50%; left: 2%; transform: translateY(-50%); }
.voltron-node:nth-child(2):hover { transform: translateX(-50%) scale(1.08); }
.voltron-node:nth-child(3):hover { transform: translateY(-50%) scale(1.08); }
.voltron-node:nth-child(4):hover { transform: translateX(-50%) scale(1.08); }
.voltron-node:nth-child(5):hover { transform: translateY(-50%) scale(1.08); }

/* Connection lines */
.voltron-line {
  position: absolute;
  top: 50%; left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--brass), transparent);
  transform-origin: top center;
  z-index: 1;
  opacity: 0.3;
  transition: opacity 0.3s;
}
.voltron-line.active { opacity: 1; }

/* SVG connector lines */
.voltron svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.voltron-connector {
  stroke: var(--brass);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  fill: none;
  opacity: 0.25;
  transition: opacity 0.3s;
  animation: dash-flow 2s linear infinite;
}
.voltron-connector.active { opacity: 0.8; }

@keyframes dash-flow {
  to { stroke-dashoffset: -20; }
}

/* --- Steps / How It Works --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--brass), transparent);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--graphite);
  color: var(--brass);
  font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid var(--brass);
}
.section-dark .step-number {
  background: var(--glass-bg);
}
.step h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 280px;
  margin: 0 auto;
}
.section-dark .step p { color: #9ca3af; }

/* --- Provider Bar --- */
.provider-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 64px);
  flex-wrap: wrap;
}
.provider-logo {
  font-size: 15px; font-weight: 700;
  color: var(--text-muted);
  opacity: 0.45;
  transition: opacity 0.3s, color 0.3s;
  letter-spacing: 0.02em;
}
.provider-logo:hover { opacity: 1; color: var(--text); }
.section-dark .provider-logo { color: #9ca3af; }
.section-dark .provider-logo:hover { color: #fff; }

/* --- Metrics / Stats --- */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.metric {
  text-align: center;
  padding: 32px 20px;
}
.metric-value {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 8px;
}
.metric-label {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}
.section-dark .metric-label { color: #9ca3af; }

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature {
  display: flex; gap: 14px;
  padding: 20px;
  border-radius: var(--radius-sm);
  transition: background 0.3s;
}
.feature:hover { background: rgba(183,137,60,0.05); }
.section-dark .feature:hover { background: rgba(255,255,255,0.04); }
.feature-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brass-dark), var(--brass));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
}
.feature h4 {
  font-size: 15px; font-weight: 700;
  margin-bottom: 4px;
}
.feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.section-dark .feature p { color: #9ca3af; }

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--section-gap) 0;
}
.cta-section h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 18px;
  margin-bottom: 32px;
}
.cta-alt {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: #9ca3af;
}
.cta-alt a { color: var(--brass); text-decoration: underline; }

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px; font-weight: 600;
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(183,137,60,0.15);
  outline: none;
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-checkbox-group {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 6px;
}
.form-checkbox {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--brass);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
.pricing-card {
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}
.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}
.pricing-card.featured {
  border-color: var(--brass);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--brass); color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  padding: 4px 16px; border-radius: 6px;
}
.pricing-card h3 {
  font-size: 22px; font-weight: 800;
  margin-bottom: 8px;
}
.pricing-card .pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pricing-header {
  margin-bottom: 24px;
}
.pricing-header h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.pricing-header p {
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.pricing-price span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}
.pricing-features {
  text-align: left;
  margin-bottom: 32px;
  flex-grow: 1;
}
.pricing-features p {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--light);
}
.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid var(--lighter);
}
.pricing-features li:last-child {
  border-bottom: none;
}
.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--brass);
  font-weight: 700;
}

/* --- FAQ Accordion --- */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--light);
}
.faq-question {
  width: 100%;
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  background: none; border: none;
  font-size: 16px; font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.faq-question:hover { color: var(--brass); }
.faq-icon {
  font-size: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), padding 0.3s;
  font-size: 15px; color: var(--text-muted);
  line-height: 1.6;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* --- Team Deep Dive (Teams Page) --- */
.team-section { position: relative; }
.team-section:nth-child(even) { background: var(--lighter); }
.team-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.team-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--brass-dark), var(--brass));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px;
}
.team-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.team-feature {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 0;
}
.team-feature::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--brass);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 7px;
}
.team-workflow {
  margin-top: 32px;
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  font-size: 14px; font-weight: 600;
  color: var(--text-muted);
}
.team-workflow-step {
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--light);
  border-radius: 8px;
}
.team-workflow-arrow { color: var(--brass); font-size: 18px; }

/* --- Contact Page Layout --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contact-right-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-sidebar {
  padding: 32px;
  background: var(--lighter);
  border-radius: var(--radius);
}
.contact-sidebar h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 16px;
}
.contact-sidebar p {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.trust-badges {
  display: flex; flex-direction: column; gap: 12px;
}
.trust-badge {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600;
}
.trust-badge-icon {
  width: 32px; height: 32px;
  background: var(--brass);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px;
}

/* --- Sticky CTA --- */
.sticky-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
}

/* --- Footer --- */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--light);
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}
.footer a { color: var(--brass); }
.footer a:hover { text-decoration: underline; }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: var(--bg);
    flex-direction: column;
    padding: 80px 24px 32px;
    gap: 16px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    transition: right 0.35s var(--ease-out-expo);
    overflow-y: auto;
  }
  .nav-open .nav { right: 0; }
  .nav-link { font-size: 16px; }

  /* Mobile dropdowns - always visible, stacked */
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none;
    padding: 0 0 0 12px; min-width: auto;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-item { padding: 6px 12px; font-size: 13px; }
  .nav-dropdown-label { padding: 6px 12px; }

  .hero-dark, .service-hero { padding-top: 100px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: 12px; }

  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .problem-solution { grid-template-columns: 1fr; }

  .card-grid, .service-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-table { font-size: 13px; }
  .pricing-table th, .pricing-table td { padding: 10px 8px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: clamp(40px, 6vw, 80px) 0; }
  .hero-dark h1 { font-size: 30px; }
}

/* --- ROI Badge --- */
.roi-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brass);
  background: rgba(183,137,60,0.1);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* --- Work Sample --- */
.work-sample {
  background: #fff;
  border: 1px solid var(--light);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}
.work-sample-header {
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--light);
}
.work-sample-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.work-sample-before,
.work-sample-after {
  padding: 24px;
}
.work-sample-before {
  background: var(--lighter);
  border-right: 1px solid var(--light);
}
.work-sample-before h4,
.work-sample-after h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.work-sample-before h4 { color: #dc2626; }
.work-sample-after h4 { color: #16a34a; }
.work-sample-before p,
.work-sample-after p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .work-sample-body { grid-template-columns: 1fr; }
  .work-sample-before { border-right: none; border-bottom: 1px solid var(--light); }
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 640px; }
.max-w-lg { max-width: 800px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Global Language Selector --- */
.site-language-wrap {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
}
.site-language-select {
  border: 1px solid var(--light);
  border-radius: 8px;
  background: #fff;
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 8px;
  min-width: 62px;
}

/* --- Manual Payment Panel --- */
.manual-payment-box {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(183,137,60,0.35);
  background: rgba(183,137,60,0.08);
  border-radius: 10px;
}
.manual-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  font-size: 13px;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .site-language-wrap {
    width: 100%;
    margin: 4px 0 10px;
  }
  .site-language-select {
    width: 100%;
  }
  .manual-payment-grid {
    grid-template-columns: 1fr;
  }
}
