/* CoatBoss marketing — single critical CSS, no framework. */

:root {
  --bg: #0b1326;
  --bg-elev: #101b2d;
  --surface: #131f36;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e6ecf5;
  --muted: rgba(230, 236, 245, 0.68);
  --dim: rgba(230, 236, 245, 0.45);
  --primary: #00f2ff;
  --primary-ink: #002124;
  --success: #22c55e;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; letter-spacing: -0.02em; margin: 0; }
p  { margin: 0; color: var(--muted); }
a  { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 19, 38, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 1.25rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.5rem; }
.brand-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: 1.125rem; letter-spacing: 0.02em;
  color: var(--text);
}
.site-header nav { display: flex; gap: 1rem; align-items: center; }
.site-header nav a {
  color: var(--muted); font-weight: 600; font-size: 0.9375rem; padding: 0.5rem 0.75rem;
}
.site-header nav a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--primary); color: var(--primary-ink) !important;
  padding: 0.5rem 1rem !important; border-radius: 9999px; font-weight: 700 !important;
}
.nav-cta:hover { filter: brightness(1.08); text-decoration: none; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.375rem; border-radius: 9999px; font-weight: 700; font-size: 0.9375rem;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.08s ease, filter 0.1s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 28px rgba(0, 242, 255, 0.28); }
.btn-primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.btn-lg { padding: 1.125rem 2rem; font-size: 1rem; }

/* ── Hero ─────────────────────────────────────────────── */
.hero { padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 242, 255, 0.14), transparent 55%),
    radial-gradient(ellipse at 100% 30%, rgba(111, 0, 190, 0.12), transparent 60%);
}
.hero-inner { position: relative; text-align: center; max-width: 920px; }
.hero-stat {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 0.5rem 0.9375rem;
  background: rgba(0, 242, 255, 0.08);
  border: 1px solid rgba(0, 242, 255, 0.22);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
}
.hero-stat-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(0, 242, 255, 0.8);
  animation: hero-stat-pulse 2.2s ease-in-out infinite;
}
@keyframes hero-stat-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1; font-weight: 800; margin: 0 auto 1.5rem;
  letter-spacing: -0.035em;
}
.hero .sub {
  font-size: clamp(1.125rem, 2.4vw, 1.375rem);
  max-width: 680px; margin: 0 auto 2.25rem; color: var(--muted);
  line-height: 1.5;
}
.cta-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.25rem; }
.cta-row .btn-primary { padding: 1rem 1.75rem; font-size: 1rem; }
.cta-row .btn-ghost { padding: 1rem 1.5rem; font-size: 1rem; }
.trust-strip {
  display: inline-flex; gap: 0.875rem; flex-wrap: wrap; justify-content: center;
  color: var(--dim); font-size: 0.8125rem; font-weight: 600;
  padding: 0.75rem 1.25rem; border: 1px solid var(--border); border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.02em;
}

/* ── Sections ─────────────────────────────────────────── */
section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-title {
  font-size: clamp(1.875rem, 3.6vw, 2.625rem); font-weight: 800;
  text-align: center; margin: 0 0 0.625rem;
  letter-spacing: -0.02em;
}
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 2.5rem; max-width: 580px; font-size: 1rem; }

/* Features */
.features { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem;
  margin-top: 2rem;
}
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  display: flex; flex-direction: column;
}
.feature[data-video] { cursor: pointer; }
.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 242, 255, 0.3);
  box-shadow: 0 12px 32px rgba(0, 242, 255, 0.08);
}
.feature-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background:
    linear-gradient(135deg, rgba(0, 242, 255, 0.12) 0%, rgba(0, 242, 255, 0.04) 100%);
  border: 1px solid rgba(0, 242, 255, 0.18);
  border-radius: 14px;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.feature-icon svg { width: 24px; height: 24px; display: block; }
.feature:hover .feature-icon {
  transform: scale(1.06);
  border-color: rgba(0, 242, 255, 0.38);
}
.feature h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.625rem; color: var(--text); letter-spacing: -0.015em; }
.feature p { font-size: 0.9375rem; color: var(--muted); line-height: 1.6; flex: 1; }
.feature-pull {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Pricing */
.pricing { background: var(--bg); }
.pricing-hero { padding: clamp(4rem, 9vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem); }
.pricing-hero-inner {
  max-width: 880px;
  padding-left: 1.5rem;
  border-left: 4px solid var(--primary);
  margin: 0 0 3rem;
}
.pricing-display {
  font-size: clamp(2.75rem, 10vw, 6rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  color: var(--text);
}
.pricing-lead {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.price-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem;
  margin-top: 2rem; align-items: stretch;
}
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.25rem 2rem; display: flex; flex-direction: column;
  transition: border-color 0.15s ease;
}
.price-card:hover { border-color: rgba(255, 255, 255, 0.18); }
.price-card h3 {
  font-size: 0.75rem; font-weight: 800; margin: 0 0 1.25rem; color: var(--dim);
  letter-spacing: 0.18em; text-transform: uppercase;
}
.price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 1.5rem; }
.price-num { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; line-height: 1; }
.price-per { color: var(--muted); font-weight: 600; font-size: 0.9375rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 2rem; color: var(--muted); font-size: 0.9375rem; flex: 1; }
.price-card li { padding: 0.5rem 0 0.5rem 1.5rem; position: relative; }
.price-card li::before {
  content: "✓"; color: var(--success); position: absolute; left: 0; top: 0.5rem; font-weight: 800;
}
.price-card .btn { align-self: stretch; padding: 0.875rem 1.25rem; }
.price-annual { margin-top: 0.875rem; font-size: 0.75rem; color: var(--dim); text-align: center; }
.price-card-featured {
  border-color: rgba(0, 242, 255, 0.4);
  box-shadow: 0 16px 48px rgba(0, 242, 255, 0.18);
  transform: translateY(-4px);
}
.price-card-featured h3 { color: var(--primary); }
.price-card-featured .price-num { color: var(--primary); }
.price-badge {
  position: absolute; top: -0.75rem; right: 1rem;
  background: var(--primary); color: var(--primary-ink);
  font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3125rem 0.625rem; border-radius: 9999px;
}
.pricing-footnote { text-align: center; margin-top: 2rem; color: var(--muted); font-size: 0.9375rem; }

/* Founder */
.founder { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.founder-inner { text-align: center; max-width: 720px; }
.founder blockquote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.125rem, 2.2vw, 1.375rem); font-weight: 600; line-height: 1.45;
  color: var(--text); margin: 0 0 1rem; font-style: italic;
}
.founder cite { color: var(--muted); font-style: normal; font-size: 0.9375rem; font-weight: 600; }

/* Final CTA */
.final-cta { text-align: center; padding: clamp(5rem, 11vw, 8rem) 0; position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 242, 255, 0.14), transparent 60%);
}
.final-cta h2 {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800; margin: 0 0 1rem; position: relative;
  letter-spacing: -0.03em; line-height: 1;
}
.final-cta p { margin: 0 0 2rem; color: var(--muted); position: relative; font-size: 1.125rem; }
.final-cta .btn { position: relative; }
.final-cta .btn-lg { padding: 1.25rem 2.5rem; font-size: 1.0625rem; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 2.5rem 0 2rem; }
.footer-inner { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; align-items: start; }
}
.footer-brand p { font-size: 0.875rem; color: var(--muted); margin-top: 0.5rem; }
.footer-nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.footer-nav a:hover { color: var(--text); }
.footer-legal { color: var(--dim); font-size: 0.75rem; }

/* ── Long-form content (pricing, privacy, terms) ───────── */
.prose { max-width: 760px; margin: 0 auto; padding: 3rem 0; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: 0.75rem; }
.prose h2 { font-size: 1.375rem; margin-top: 2.5rem; margin-bottom: 0.5rem; color: var(--text); }
.prose h3 { font-size: 1.125rem; margin-top: 1.5rem; margin-bottom: 0.25rem; color: var(--text); }
.prose p, .prose li { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.prose ul { padding-left: 1.25rem; }
.prose strong { color: var(--text); }

/* FAQ list on pricing page */
.faq dt { font-weight: 700; color: var(--text); margin-top: 1.25rem; }
.faq dd { margin: 0.25rem 0 0; color: var(--muted); }

/* Premium FAQ list (pricing page) */
.faq-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.faq-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
  color: var(--text);
}
.faq-list { margin: 0; padding: 0; }
.faq-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item dt {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.faq-item dd {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Showcase: AI color previews ──────────────────────── */
.showcase {
  background: var(--bg);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.showcase::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(0, 242, 255, 0.08), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(111, 0, 190, 0.06), transparent 50%);
}
.showcase .container { position: relative; z-index: 1; }
.showcase-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.showcase .eyebrow {
  display: inline-block;
  font-size: 0.6875rem; font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  background: rgba(0, 242, 255, 0.08);
  border: 1px solid rgba(0, 242, 255, 0.2);
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}
.showcase h2 {
  font-size: clamp(1.875rem, 4.5vw, 2.875rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--text);
}
.showcase-lead {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--muted);
  max-width: 640px; margin: 0 auto;
  line-height: 1.55;
}

.preview-pair {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 1040px; margin: 0 auto;
}
@media (min-width: 720px) {
  .preview-pair { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
.preview {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1a2438 0%, #0f1a2e 100%);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
.preview-after {
  border-color: rgba(0, 242, 255, 0.4);
  box-shadow: 0 18px 48px rgba(0, 242, 255, 0.16);
}
.preview img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.preview.no-img::after {
  content: "📷 Image placeholder — drop JPG in /images/";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(230, 236, 245, 0.35);
  font-size: 0.8125rem; font-weight: 600;
  padding: 1rem; text-align: center;
}
.preview figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(5, 10, 20, 0.72));
  display: flex; justify-content: space-between; align-items: end;
  gap: 0.75rem; flex-wrap: wrap;
}
.preview-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6875rem; font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 9999px;
}
.preview-label-after {
  background: var(--primary);
  color: var(--primary-ink);
}
.preview-color {
  font-size: 0.75rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}
.showcase-footnote {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--dim);
  font-style: italic;
}

/* ── Feature tile "Watch demo" button ─────────────────── */
.feature-watch {
  margin-top: 1.25rem;
  background: transparent;
  border: none;
  color: var(--primary);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 0;
  opacity: 0.82;
  transition: opacity 0.12s ease;
  display: inline-flex; align-items: center; gap: 0.375rem;
  width: fit-content;
}
.feature-watch span { transition: transform 0.15s ease; display: inline-block; }
.feature-watch:hover { opacity: 1; }
.feature-watch:hover span { transform: translateX(3px); }

/* ── Video modal ──────────────────────────────────────── */
.video-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  animation: videoModalFadeIn 0.15s ease-out;
}
.video-modal[hidden] { display: none; }
@keyframes videoModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.video-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 10, 20, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
  padding: 0;
}
.video-modal-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 1.25rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: videoModalScaleIn 0.15s ease-out;
}
@keyframes videoModalScaleIn {
  from { transform: scale(0.96); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.video-modal-close {
  position: absolute; top: 0.5rem; right: 0.75rem;
  background: transparent; border: none; color: var(--muted);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.12s ease;
}
.video-modal-close:hover { color: var(--text); }
.video-modal-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 0.875rem;
  padding-right: 2rem;
  letter-spacing: 0.01em;
}
.video-modal-body {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  display: flex; align-items: center; justify-content: center;
}
#video-modal-player {
  width: 100%; height: 100%;
  display: block;
}
.video-modal-fallback {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--muted);
}
.video-modal-fallback-icon { font-size: 2rem; margin-bottom: 0.875rem; }
.video-modal-fallback-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; font-weight: 700; color: var(--text); margin-bottom: 0.375rem; }
.video-modal-fallback-sub { font-size: 0.875rem; max-width: 280px; margin: 0 auto; line-height: 1.5; }
