/* ========================================
   Facade TC Marketing Site — style.css
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --bg-base: #151a2b;
  --bg-subtle: #1c2235;
  --bg-elevated: #232a3e;
  --text-main: #f5f7fa;
  --text-muted: #7d8599;
  --primary: #00bfff;
  --secondary: #a855f7;
  --accent: #4a8fe7;
  --border: #2a3045;
  --success: #34c78a;
  --danger: #e54b4b;
  --warning: #e8912a;
  --gradient: linear-gradient(135deg, #00cfff, #2e6ed9, #a855f7);
  --gradient-90: linear-gradient(90deg, #00cfff, #2e6ed9, #a855f7);
  --glass-bg: rgba(15, 18, 32, 0.6);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glow: 0 0 24px -4px rgba(0, 191, 255, 0.25);
  --glow-gradient: 0 0 20px -4px rgba(0, 207, 255, 0.3), 0 0 40px -8px rgba(46, 110, 217, 0.2), 0 0 60px -12px rgba(168, 85, 247, 0.15);
  --radius: 1rem;
  --radius-sm: 0.75rem;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Fixed gradient line at top */
body::before {
  content: '';
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-90);
  z-index: 9999;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'DM Sans', system-ui, sans-serif;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { color: var(--text-muted); margin-bottom: 1rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--secondary); }

/* --- Selection --- */
::selection {
  background: rgba(0, 191, 255, 0.3);
  color: var(--text-main);
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
  position: fixed;
  top: 2px; /* below the gradient line */
  left: 0; right: 0;
  z-index: 100;
  background: rgba(21, 26, 43, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid transparent;
  border-image: var(--gradient-90) 1;
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo img {
  height: 40px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--primary);
}

.header-nav a.active {
  color: var(--text-main);
  position: relative;
}

.header-nav a.active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--gradient-90);
  margin-top: 4px;
  border-radius: 1px;
}

.header-nav .btn-login {
  background: var(--gradient);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 8px;
  box-shadow: var(--glow);
  transition: all 0.3s ease;
}

.header-nav .btn-login:hover {
  opacity: 0.9;
  box-shadow: 0 0 20px -4px rgba(0, 207, 255, 0.4), 0 0 40px -8px rgba(46, 110, 217, 0.3), 0 0 60px -12px rgba(168, 85, 247, 0.2);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}

.menu-toggle svg { width: 24px; height: 24px; stroke: currentColor; }

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-base);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--primary); }

.mobile-menu .btn-login {
  background: var(--gradient);
  color: #fff !important;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

.mobile-close svg { width: 28px; height: 28px; stroke: currentColor; }

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 60px 0;
  position: relative;
  overflow: visible;
}

.section--alt { background-color: var(--bg-subtle); }

.section--hero {
  padding-top: 120px;
  padding-bottom: 48px;
  text-align: center;
}

/* Gradient orbs */
.section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.section > * { position: relative; z-index: 1; }

/* ========================================
   HERO
   ======================================== */
.hero-heading {
  background: linear-gradient(90deg, #00cfff, #2e6ed9, #a855f7, #00cfff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  margin-bottom: 24px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--glow);
}

.btn--primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 20px -4px rgba(0, 207, 255, 0.4), 0 0 40px -8px rgba(46, 110, 217, 0.3), 0 0 60px -12px rgba(168, 85, 247, 0.2);
  transform: translateY(-1px);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  border: 1.5px solid transparent;
  background-image: linear-gradient(var(--bg-base), var(--bg-base)), var(--gradient);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  color: var(--text-main);
}

.btn--secondary:hover {
  color: var(--text-main);
  box-shadow: var(--glow-gradient);
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 24px 0;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========================================
   CARDS / FEATURE GRID
   ======================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: linear-gradient(145deg, var(--bg-subtle), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-90);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  border-color: rgba(168, 85, 247, 0.2);
  box-shadow: 0 8px 24px -8px rgba(0, 207, 255, 0.25), 0 4px 40px -8px rgba(46, 110, 217, 0.2), 0 0 60px -12px rgba(168, 85, 247, 0.15), 0 0 0 1px rgba(0, 191, 255, 0.08);
  transform: translateY(-4px);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 191, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  background: rgba(0, 191, 255, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 16px -4px rgba(0, 207, 255, 0.3), 0 0 24px -6px rgba(168, 85, 247, 0.2);
  transform: scale(1.05);
}

.card-icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 12px; }

.card p { font-size: 15px; margin-bottom: 0; line-height: 1.7; }

/* Feature card - large */
.card--featured {
  background: linear-gradient(145deg, var(--bg-elevated), rgba(0, 191, 255, 0.03));
  border-color: rgba(0, 191, 255, 0.15);
  padding: 40px;
}

.card--featured::before { opacity: 1; }

.card--featured .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gradient);
  border: none;
  color: #fff;
  box-shadow: 0 4px 16px -4px rgba(0, 191, 255, 0.4);
}

.card--featured:hover .card-icon {
  background: var(--gradient);
  box-shadow: 0 6px 24px -4px rgba(0, 191, 255, 0.5);
}

/* ========================================
   STEPS / HOW IT WORKS
   ======================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 32px;
  counter-increment: step;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
}

.step h3 { margin-bottom: 12px; }

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 { margin-bottom: 16px; }

.section-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Badge / label */
.badge {
  display: inline-block;
  background: rgba(0, 191, 255, 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.feature-plan-badge {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  color: var(--secondary);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

/* ========================================
   PRICING
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 32px; /* extra room for badges */
}

.pricing-card {
  background: linear-gradient(160deg, var(--bg-subtle), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: visible; /* needed so badge can sit above card edge */
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: rgba(168, 85, 247, 0.2);
  box-shadow: 0 8px 24px -8px rgba(0, 207, 255, 0.2), 0 4px 40px -8px rgba(46, 110, 217, 0.18), 0 0 60px -12px rgba(168, 85, 247, 0.15);
  transform: translateY(-4px);
}

/* Team — featured card */
.pricing-card--popular {
  border-color: rgba(0, 191, 255, 0.3);
  background: linear-gradient(160deg, var(--bg-elevated), rgba(0, 191, 255, 0.05));
  box-shadow: 0 4px 24px -4px rgba(0, 191, 255, 0.15);
}

.pricing-card--popular:hover {
  box-shadow: 0 12px 28px -8px rgba(0, 207, 255, 0.3), 0 8px 48px -8px rgba(46, 110, 217, 0.2), 0 0 72px -12px rgba(168, 85, 247, 0.18);
}

.pricing-card--popular .pricing-price {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-card--popular .pricing-price span {
  -webkit-text-fill-color: var(--text-muted);
}

/* Brokerage card */
.pricing-card--brokerage {
  border-color: rgba(168, 85, 247, 0.25);
}

.pricing-card--brokerage:hover {
  border-color: rgba(168, 85, 247, 0.35);
}

/* ── Plan name badges ── */
.pricing-badge {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 7px 28px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 1;
}

/* Solo — gradient border, transparent fill */
.pricing-badge--solo {
  background-image: linear-gradient(var(--bg-subtle), var(--bg-subtle)), var(--gradient);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  border: 1.5px solid transparent;
  color: var(--text-main);
}

/* Team — full gradient fill */
.pricing-badge--team {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px -2px rgba(0, 191, 255, 0.45);
}

/* Brokerage — purple fill */
.pricing-badge--brokerage {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  box-shadow: 0 4px 16px -2px rgba(168, 85, 247, 0.45);
}

.pricing-price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  margin-top: 8px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
}

.pricing-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.pricing-includes {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary);
  margin-bottom: 12px;
  opacity: 0.8;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

.pricing-card .btn { width: 100%; }

.pricing-trial-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.pricing-trial-link:hover {
  opacity: 0.8;
  color: var(--primary);
}

.pricing-see-more {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.pricing-see-more:hover {
  color: var(--primary);
}

/* ========================================
   COMPARISON TABLE
   ======================================== */

/* Outer wrap — card with gradient top accent */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  position: relative;
}

.compare-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-90);
  border-radius: var(--radius) var(--radius) 0 0;
  z-index: 1;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

/* ── Header ── */
.compare-table thead tr {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  padding: 28px 24px 20px;
  text-align: center;
  vertical-align: middle;
}

.compare-table thead th.compare-feature-col {
  text-align: left;
  width: 38%;
  min-width: 200px;
  vertical-align: middle;
}

.compare-logo {
  width: 200px;
  height: auto;
  opacity: 0.9;
  display: block;
  margin: 0 auto;
}

/* Reuse the pricing card badge styles but override absolute positioning */
.compare-table .pricing-badge {
  position: static;
  transform: none;
  display: inline-block;
  margin-bottom: 14px;
}

.compare-plan-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.compare-plan-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.compare-plan-col--popular .compare-plan-price {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.compare-plan-col--popular .compare-plan-price span {
  -webkit-text-fill-color: var(--text-muted);
}

/* ── Team column highlight (runs full height) ── */
.compare-table thead th.compare-plan-col--popular,
.compare-table tbody td.compare-plan-col--popular {
  background: rgba(0, 191, 255, 0.05);
  border-left: 1px solid rgba(0, 191, 255, 0.18);
  border-right: 1px solid rgba(0, 191, 255, 0.18);
}

/* Top gradient bar on Team column header */
.compare-table thead th.compare-plan-col--popular {
  box-shadow: inset 0 2px 0 0 rgba(0, 191, 255, 0.35);
}

/* ── Body rows ── */
.compare-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
}

.compare-table tbody tr:last-child { border-bottom: none; }

.compare-table tbody tr:hover:not(.compare-category):not(.compare-cta-row) {
  background: rgba(255, 255, 255, 0.02);
}

/* ── Category rows ── */
.compare-category td {
  padding: 11px 20px 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(0, 191, 255, 0.03);
  border-top: 1px solid rgba(0, 191, 255, 0.08);
}


/* ── Data cells ── */
.compare-table tbody td {
  padding: 13px 24px;
  text-align: center;
  vertical-align: middle;
}

.compare-table tbody td.compare-feature-col {
  text-align: left;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
}

.compare-feature-note {
  margin-top: 5px;
  line-height: 1;
}

.compare-feature-note:not(:has(.compare-limit-pill)) {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.compare-limit-pill {
  display: inline-block;
  background: rgba(0, 191, 255, 0.07);
  border: 1px solid rgba(0, 191, 255, 0.18);
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 5px;
  margin-top: 2px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ── Check marks ── */
.compare-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(52, 199, 138, 0.1);
  border: 1px solid rgba(52, 199, 138, 0.3);
  border-radius: 50%;
  color: var(--success);
}

.compare-check svg {
  width: 12px;
  height: 12px;
}

/* ── Dash (not included) ── */
.compare-dash {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 1px;
  vertical-align: middle;
  opacity: 0.6;
}

/* ── Text values (seats, transaction counts) ── */
.compare-text {
  color: var(--text-main);
  font-weight: 600;
  font-size: 13px;
}

/* ── CTA row ── */
.compare-cta-row td {
  padding: 24px 20px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 13px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .compare-table thead th,
  .compare-table tbody td {
    padding: 12px 14px;
    font-size: 13px;
  }

  .compare-table tbody td.compare-feature-col {
    font-size: 13px;
    min-width: 160px;
  }

  .compare-plan-price { font-size: 1.25rem; }
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 12px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.15);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info h3 { margin-bottom: 16px; }

.contact-info p { margin-bottom: 24px; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.contact-link:hover {
  border-color: rgba(168, 85, 247, 0.2);
  box-shadow: var(--glow-gradient);
}

.contact-link svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-link span {
  color: var(--text-main);
  font-weight: 500;
}

/* ========================================
   VALUES GRID (About page)
   ======================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: linear-gradient(145deg, var(--bg-subtle), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-90);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.value-card:hover {
  border-color: rgba(168, 85, 247, 0.2);
  box-shadow: 0 8px 24px -8px rgba(0, 207, 255, 0.25), 0 4px 40px -8px rgba(46, 110, 217, 0.2), 0 0 60px -12px rgba(168, 85, 247, 0.15);
  transform: translateY(-4px);
}

.value-card:hover::before { opacity: 1; }

.value-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(0, 191, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  background: rgba(0, 191, 255, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 16px -4px rgba(0, 207, 255, 0.3), 0 0 24px -6px rgba(168, 85, 247, 0.2);
  transform: scale(1.05);
}

.value-icon svg { width: 28px; height: 28px; }

.value-card h3 { margin-bottom: 12px; }

/* ========================================
   LEGAL PAGES (TOS, Privacy)
   ======================================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 { margin-bottom: 8px; }

.legal-content .legal-date {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content a { color: var(--primary); }
.legal-content a:hover { color: var(--secondary); }

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  text-align: center;
  padding: 40px 0;
}

.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 32px; }

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  margin-top: 16px;
  max-width: 280px;
}

.footer-brand img {
  height: 32px;
  width: auto;
}

.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-legal a:hover { color: var(--primary); }

/* ========================================
   FADE-IN ANIMATION
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   404 PAGE
   ======================================== */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-code {
  font-family: 'Outfit', sans-serif;
  font-size: 8rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .card-grid--3 { grid-template-columns: 1fr; }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .menu-toggle { display: block; }

  .section { padding: 48px 0; }
  .section--hero { padding-top: 100px; padding-bottom: 36px; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .card-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: center; }
  .btn-group .btn { width: 100%; }
}
