/* ==========================================================================
   Maverik — Premium Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  /* Core palette */
  --bg: #faf8f4;
  --bg-2: #f3efe7;
  --panel: #ffffff;
  --panel-2: #f7f4ee;
  --ink: #14110e;
  --ink-2: #2a2520;
  --muted: #6b6359;
  --muted-2: #9b9286;
  --line: #e4ddd1;
  --line-2: #d4cbbb;
  --dark: #14110e;
  --dark-2: #1f1b16;
  --dark-3: #2a2520;
  --accent: #c8821f;
  --accent-2: #e89a2b;
  --accent-glow: rgba(200, 130, 31, 0.15);
  --ok: #2d6a4f;

  /* Gradients */
  --gradient-hero: radial-gradient(ellipse at 20% 0%, rgba(200, 130, 31, 0.12) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 0%, rgba(232, 154, 43, 0.08) 0%, transparent 50%);
  --gradient-accent: linear-gradient(135deg, #c8821f 0%, #e89a2b 100%);
  --gradient-dark: linear-gradient(180deg, #14110e 0%, #1f1b16 100%);
  --gradient-text: linear-gradient(135deg, #c8821f 0%, #e89a2b 50%, #c8821f 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #faf8f4 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(20, 17, 14, 0.05), 0 1px 2px rgba(20, 17, 14, 0.04);
  --shadow-md: 0 4px 12px rgba(20, 17, 14, 0.06), 0 2px 4px rgba(20, 17, 14, 0.04);
  --shadow-lg: 0 12px 32px rgba(20, 17, 14, 0.08), 0 4px 12px rgba(20, 17, 14, 0.05);
  --shadow-xl: 0 24px 64px rgba(20, 17, 14, 0.12), 0 8px 24px rgba(20, 17, 14, 0.06);
  --shadow-glow: 0 0 0 1px rgba(200, 130, 31, 0.15), 0 12px 32px rgba(200, 130, 31, 0.12);

  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Background grid texture for depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(20, 17, 14, 0.02) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

main, header, footer, .topbar { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
p { margin: 0; color: var(--muted); }

h1, h2, h3, h4, h5 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  font-weight: 700;
}

h1 {
  max-width: 920px;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.02;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.025em;
  font-weight: 700;
}

h3 { font-size: 22px; font-weight: 700; }
h4 { font-size: 18px; font-weight: 600; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gradient-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(200, 130, 31, 0.5);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner,
.nav,
.container,
.footer-inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.topbar a:hover { color: var(--accent-2); }

.site-header {
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand::before {
  content: '';
  width: 24px;
  height: 24px;
  background: var(--gradient-accent);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(200, 130, 31, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: all var(--transition-fast);
}

.nav-links a:not(.button):hover {
  color: var(--ink);
  background: var(--panel-2);
}

.nav-links a.active {
  color: var(--ink);
  background: var(--panel-2);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--dark);
  border-radius: var(--radius-sm);
  background: var(--dark);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.button::after {
  content: '→';
  font-size: 16px;
  transition: transform var(--transition-base);
}

.button:hover {
  background: var(--dark-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.button:hover::after { transform: translateX(3px); }

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  color: var(--ink);
  border-color: var(--line-2);
}

.button.secondary:hover {
  background: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

.button.accent {
  background: var(--gradient-accent);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(200, 130, 31, 0.25);
}

.button.accent:hover {
  box-shadow: 0 8px 28px rgba(200, 130, 31, 0.4);
}

.button.large {
  min-height: 52px;
  padding: 0 28px;
  font-size: 15px;
}

.button.no-arrow::after { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
  z-index: -1;
}

.hero > div {
  max-width: 920px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0 auto;
}

.hero .lead {
  margin: 28px auto 0;
  max-width: 680px;
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink-2);
  line-height: 1.5;
}

.hero .actions {
  justify-content: center;
  margin-top: 36px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 56px auto 0;
  max-width: 720px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-proof div {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.hero-proof div:last-child { border-right: 0; }

.hero-proof strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-proof span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

/* Floating visual elements */
.hero-visual {
  position: relative;
  margin: 56px auto 0;
  max-width: 1080px;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

.floating-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.floating-card.fc-1 {
  top: 0;
  left: 5%;
  animation-delay: 0s;
}

.floating-card.fc-2 {
  top: 40%;
  right: 5%;
  animation-delay: 2s;
}

.floating-card.fc-3 {
  bottom: 10%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Dashboard preview */
.dashboard-preview {
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.dashboard-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.dashboard-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  min-height: 280px;
}

.dashboard-sidebar {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 16px;
}

.dashboard-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.dashboard-sidebar-item.active {
  background: rgba(200, 130, 31, 0.15);
  color: #fff;
}

.dashboard-sidebar-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
}

.dashboard-sidebar-item.active .dashboard-sidebar-icon {
  background: var(--accent-2);
}

.dashboard-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-row {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.dashboard-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.dashboard-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

.dashboard-row-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(45, 106, 79, 0.2);
  color: #4ade80;
}

.dashboard-row-status.pending {
  background: rgba(232, 154, 43, 0.15);
  color: var(--accent-2);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: 96px 0;
  position: relative;
}

.section.dark {
  background: var(--gradient-dark);
  color: rgba(255, 255, 255, 0.9);
}

.section.dark h2,
.section.dark h3,
.section.dark h4 { color: #fff; }

.section.dark p { color: rgba(255, 255, 255, 0.7); }

.section.dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--muted);
}

.section-header.left {
  text-align: left;
  margin-left: 0;
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 20px;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-lg);
}

.card:hover::before { opacity: 1; }

.card > * { position: relative; }

.card h3, .card h4 { margin-bottom: 10px; }
.card p { margin-top: 0; font-size: 15px; line-height: 1.6; }

/* Icon container */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  transition: all var(--transition-base);
}

.icon-box svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.card:hover .icon-box {
  background: var(--gradient-accent);
  color: #fff;
  transform: scale(1.05);
}

.icon-box.large {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
}

.icon-box.large svg {
  width: 32px;
  height: 32px;
}

.icon-box.gradient {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(200, 130, 31, 0.25);
}

/* ==========================================================================
   Service Cards (homepage)
   ========================================================================== */

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before { opacity: 1; }

.service-card h3 {
  font-size: 32px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.service-tagline {
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 24px;
  display: block;
}

.service-features {
  margin: 24px 0;
  padding: 0;
  list-style: none;
  flex-grow: 1;
}

.service-features li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: var(--ink-2);
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}

.service-features li:last-child { border-bottom: 0; }

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 18px;
  height: 18px;
  background: var(--accent-glow);
  border-radius: 50%;
}

.service-features li::after {
  content: '✓';
  position: absolute;
  left: 4px;
  top: 12px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 800;
}

.service-benefit {
  margin-top: 24px;
  padding: 20px;
  background: var(--panel-2);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--ink-2);
}

.service-benefit strong { color: var(--ink); }

.service-card .button {
  align-self: flex-start;
  margin-top: 16px;
}

/* ==========================================================================
   Problem Cards
   ========================================================================== */

.problem-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}

.problem-card h4 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--ink);
}

.problem-card p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   Process Timeline
   ========================================================================== */

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 28px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  opacity: 0.3;
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--gradient-accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 20px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(200, 130, 31, 0.3);
  border: 4px solid var(--bg);
}

.process-step h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--ink);
}

.process-step p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* Large process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.process-step-large {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
}

.process-step-large:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}

.process-step-large .step-number {
  width: 44px;
  height: 44px;
  font-size: 16px;
  margin: 0 0 20px;
  border: none;
  box-shadow: 0 4px 12px rgba(200, 130, 31, 0.25);
}

.process-step-large h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-step-large p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   Agent Architecture
   ========================================================================== */

.agent-architecture {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.agent {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.agent:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.agent .icon-box {
  margin: 0 auto 20px;
}

.agent h4 {
  font-size: 18px;
  margin: 0 0 14px;
  color: var(--ink);
}

.agent p {
  font-size: 13px;
  margin: 8px 0;
  line-height: 1.6;
}

.agent p strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Vertical Cards
   ========================================================================== */

.vertical-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-base);
}

.vertical-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}

.vertical-card h4 {
  margin-bottom: 12px;
  font-size: 18px;
  color: var(--ink);
}

.vertical-card p {
  font-size: 14px;
  margin: 8px 0;
  line-height: 1.6;
}

.vertical-card p strong { color: var(--ink); }

.verticals-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.vertical-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-base);
}

.vertical-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}

.vertical-item h4 {
  margin-bottom: 10px;
  font-size: 17px;
  color: var(--ink);
}

.vertical-item p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   Comparison Cards
   ========================================================================== */

.comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.comparison-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-base);
}

.comparison-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}

.comparison-item h4 {
  margin-bottom: 10px;
  font-size: 17px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}

.comparison-item p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   Tables
   ========================================================================== */

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table th,
.table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  background: var(--panel-2);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-2);
}

.table td {
  color: var(--muted);
  font-size: 14px;
}

.table td b { color: var(--ink); font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }

.table tbody tr {
  transition: background var(--transition-fast);
}

.table tbody tr:hover { background: var(--panel-2); }

/* Service tags in tables */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  background: var(--accent-glow);
  color: var(--accent);
}

.tag.dark {
  background: rgba(20, 17, 14, 0.08);
  color: var(--ink);
}

/* ==========================================================================
   Dark Panel CTA
   ========================================================================== */

.dark-panel {
  background: var(--gradient-dark);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dark-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(200, 130, 31, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.dark-panel > * { position: relative; }

.dark-panel h2 {
  color: #fff;
  margin-bottom: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.dark-panel p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.dark-panel .actions {
  justify-content: center;
  margin-top: 32px;
}

.dark-panel .button.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(8px);
}

.dark-panel .button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-preview {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-top: 28px;
  text-align: center;
}

.pricing-preview h2 { margin-bottom: 12px; }

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
  text-align: left;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--panel-2);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  border-color: var(--accent);
  background: var(--panel);
  box-shadow: var(--shadow-glow);
}

.price-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient-accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.price-card h4 {
  margin-bottom: 8px;
  font-size: 22px;
  color: var(--ink);
}

.price-card .plan-description {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.price {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-quote {
  font-size: 26px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.price-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: var(--ink-2);
  font-size: 14px;
}

.price-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 16px;
  height: 16px;
  background: var(--accent-glow);
  border-radius: 50%;
}

.price-card li::after {
  content: '✓';
  position: absolute;
  left: 4px;
  top: 8px;
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
}

.price-card .button {
  width: 100%;
  margin-top: 28px;
}

.pricing-note {
  margin-top: 24px;
  font-size: 14px;
  text-align: center;
  color: var(--muted);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-container {
  max-width: 640px;
  margin: 40px auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--panel);
  transition: all var(--transition-fast);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.submit-button {
  width: 100%;
}

/* ==========================================================================
   Contact methods
   ========================================================================== */

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.contact-methods .card a {
  color: var(--accent);
  font-weight: 600;
}

.contact-methods .card a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  background: var(--bg-2);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--ink); }

/* ==========================================================================
   Actions / Misc
   ========================================================================== */

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.lead {
  margin-top: 22px;
  max-width: 720px;
  font-size: 18px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.list li:last-child { border-bottom: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .agent-architecture { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-timeline::before { display: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0;
    min-height: auto;
  }
  .nav-links { gap: 4px; flex-wrap: wrap; }
  .nav-links a { padding: 6px 10px; font-size: 13px; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4,
  .verticals-list, .comparison,
  .agent-architecture, .process-timeline,
  .process-steps, .pricing-cards,
  .contact-methods, .split {
    grid-template-columns: 1fr;
  }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-proof div:last-child { border-bottom: 0; }
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    gap: 4px;
  }
  .dark-panel { padding: 40px 24px; }
  .service-card { padding: 28px; }
  .pricing-preview { padding: 24px; }
  .form-container { padding: 24px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
}

@media (max-width: 560px) {
  .topbar-inner, .nav, .container, .footer-inner {
    width: calc(100% - 32px);
  }
  .actions .button { width: 100%; }
  .actions { width: 100%; flex-direction: column; }
  .floating-card { display: none; }
}
