/* ThermSpec marketing site — industrial SaaS aesthetic aligned with app UI */

:root {
  --navy-950: #0a0f16;
  --navy-900: #0f1419;
  --navy-800: #1a2332;
  --navy-700: #243044;
  --navy-600: #2d3a50;
  --blue-400: #38bdf8;
  --blue-500: #0ea5e9;
  --blue-600: #0284c7;
  --cyan-glow: rgba(14, 165, 233, 0.35);
  --green-500: #22c55e;
  --green-600: #16a34a;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --heat-start: #f97316;
  --heat-mid: #ea580c;
  --surface: #f4f6f9;
  --surface-elevated: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --label-blue: #2563eb;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --header-height: 72px;
  --max-width: 1200px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--blue-500);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.375rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

ul { margin: 0 0 1rem; padding-left: 1.25rem; }

.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;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--blue-500);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* ---- Layout ---- */

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label-blue);
  margin-bottom: 0.75rem;
}

.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-top: 0.75rem;
}

/* ---- Header / Nav ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.logo:hover { color: #fff; }

.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  background: transparent;
}

.footer-brand .logo-mark {
  width: 40px;
  height: 40px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6875rem 1.375rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
  color: #fff;
  box-shadow: 0 4px 14px var(--cyan-glow);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 6px 24px var(--cyan-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  color: var(--blue-600);
  border-color: var(--blue-500);
  background: rgba(14, 165, 233, 0.06);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 20%, transparent 75%);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
}

.hero-glow--heat {
  top: -200px;
  right: 10%;
  background: radial-gradient(circle, var(--heat-start) 0%, transparent 70%);
  animation: pulse-heat 8s ease-in-out infinite;
}

.hero-glow--cool {
  bottom: -300px;
  left: -100px;
  background: radial-gradient(circle, var(--blue-500) 0%, transparent 70%);
  animation: pulse-cool 10s ease-in-out infinite;
}

@keyframes pulse-heat {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.08); }
}

@keyframes pulse-cool {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.05); }
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.625rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #86efac;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-500);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  color: #fff;
  margin: 0 0 1.25rem;
}

.hero-lead {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.hero-stat span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-visual {
  position: relative;
}

.browser-frame {
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.browser-frame:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--navy-700);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.browser-dot:first-child { background: #ef4444; }
.browser-dot:nth-child(2) { background: #eab308; }
.browser-dot:nth-child(3) { background: #22c55e; }

.browser-url {
  flex: 1;
  margin-left: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.browser-frame img {
  width: 100%;
  vertical-align: bottom;
}

.hero-float-card {
  position: absolute;
  bottom: -1rem;
  left: -1.5rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.125rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 6s ease-in-out infinite;
}

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

.hero-float-card .status-dot {
  width: 10px;
  height: 10px;
  background: var(--green-500);
  border-radius: 50%;
}

.hero-float-card strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--text);
}

.hero-float-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---- Pain points ---- */

.pain-points {
  background: var(--surface-elevated);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.pain-card {
  position: relative;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.pain-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pain-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 1.125rem;
  font-size: 1.25rem;
}

.pain-card-icon--amber { background: rgba(245, 158, 11, 0.12); color: var(--amber-500); }
.pain-card-icon--red { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.pain-card-icon--blue { background: rgba(14, 165, 233, 0.1); color: var(--blue-500); }
.pain-card-icon--green { background: rgba(34, 197, 94, 0.1); color: var(--green-600); }

.pain-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}

.pain-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ---- Features ---- */

.features {
  background: var(--surface);
}

.features-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.feature-nav {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 1.25rem 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-nav-label {
  padding: 0 1.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.5rem;
}

.feature-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.25rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all var(--transition);
}

.feature-nav-item:hover,
.feature-nav-item.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--blue-500);
}

.feature-nav-item svg {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

.feature-cards {
  display: grid;
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.feature-card-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label-blue);
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  margin: 0 0 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  margin: 0;
}

.feature-card ul {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.feature-card li { margin-bottom: 0.375rem; }

/* ---- Showcase ---- */

.showcase {
  background: var(--navy-900);
  color: #fff;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.showcase-content h2 { color: #fff; }

.showcase-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.0625rem;
}

.showcase-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
}

.showcase-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  background: var(--blue-500);
  border-radius: 50%;
  flex-shrink: 0;
}

.showcase-image {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ---- AMS banner ---- */

.ams-banner {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 0;
}

.ams-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ams-banner-content h2 {
  color: #fff;
  font-size: 1.375rem;
  margin: 0 0 0.375rem;
}

.ams-banner-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  max-width: 560px;
}

.ams-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-md);
}

.ams-mode-badge .status-dot {
  width: 10px;
  height: 10px;
  background: var(--green-500);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.ams-mode-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: #fff;
}

.ams-mode-badge span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Pricing ---- */

.pricing {
  background: var(--surface-elevated);
}

.pricing-toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.pricing-toggle {
  display: inline-flex;
  padding: 0.25rem;
  background: var(--navy-900);
  border: 2px solid var(--navy-900);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.pricing-toggle-btn {
  padding: 0.625rem 1.375rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.pricing-toggle-btn:hover {
  color: #fff;
}

.pricing-toggle-btn.is-active {
  background: #fff;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.pricing-toggle-note {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-light);
  min-height: 1.75rem;
}

.pricing-save-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-600);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.pricing-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  background: var(--surface-elevated);
  border-color: var(--blue-500);
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.15), var(--shadow-md);
}

.pricing-card--featured:hover {
  transform: translateY(-2px);
}

.pricing-badge {
  position: absolute;
  top: -0.625rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  background: var(--blue-500);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-tier-name {
  margin: 0 0 0.375rem;
  font-size: 1.0625rem;
}

.pricing-tagline {
  margin: 0 0 1.25rem;
  min-height: 2.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.pricing-figure {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.375rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pricing-suffix {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-billing-note {
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  min-height: 1rem;
}

.pricing-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.pricing-highlights li {
  position: relative;
  padding: 0.375rem 0 0.375rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pricing-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  background: var(--blue-500);
  border-radius: 50%;
}

.pricing-cta {
  width: 100%;
  margin-top: auto;
}

.pricing-matrix {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.pricing-matrix-heading {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
}

.pricing-matrix-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.pricing-table th,
.pricing-table td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.pricing-table thead th {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-elevated);
}

.pricing-table thead th:first-child,
.pricing-table tbody th[scope="row"] {
  text-align: left;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-table tbody th[scope="row"] {
  font-weight: 500;
}

.pricing-table-group th {
  text-align: left !important;
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: none;
}

.pricing-table-group th span {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.pricing-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-600);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-dash {
  color: var(--text-light);
}

/* ---- CTA ---- */

.cta-section {
  background: var(--surface-elevated);
  text-align: center;
}

.cta-box {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: linear-gradient(145deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  color: #fff;
  margin: 0 0 0.75rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.75rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.55);
  padding: 3rem 0 2rem;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  margin: 0.75rem 0 0;
  max-width: 320px;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-links a:hover { color: #fff; }

.footer-disclaimer {
  margin: 0 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

/* ---- Inner pages ---- */

.page-hero {
  background: var(--navy-900);
  color: #fff;
  padding: 3rem 0;
}

.page-hero h1 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.page-hero p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
}

.page-content {
  padding: 3rem 0 4rem;
}

.page-content .prose {
  max-width: 720px;
}

.page-content .prose h2 {
  font-size: 1.375rem;
  margin: 2rem 0 0.75rem;
}

.page-content .prose h2:first-child { margin-top: 0; }

.page-content .prose p,
.page-content .prose li {
  color: var(--text-muted);
}

.contact-form {
  max-width: 520px;
  display: grid;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

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

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  max-width: 520px;
  margin-bottom: 1.5rem;
  padding: 1rem 1.125rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.form-status--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--green-600);
}

.form-status--error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #b91c1c;
}

.articles-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--surface-elevated);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}

.articles-empty h2 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

/* ---- Animations on scroll ---- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card--enterprise {
    grid-column: span 2;
  }
}

@media (max-width: 960px) {
  .hero .container,
  .showcase-grid,
  .features-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual { order: -1; }

  .browser-frame { transform: none; }

  .hero-float-card {
    left: auto;
    right: 1rem;
    bottom: -0.5rem;
  }

  .feature-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 1rem;
  }

  .feature-nav-label { display: none; }

  .feature-nav-item {
    border-left: none;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
  }

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

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.75rem 1rem;
  }

  .header-actions .btn-secondary { display: none; }

  .hero-stats { gap: 1.25rem; }

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

  .pricing-card--enterprise {
    grid-column: span 1;
  }
}
