@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #060a12;
  --bg-elevated: #0c1220;
  --surface: #111827;
  --surface-muted: #0f172a;
  --surface-card: #151f32;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(96, 165, 250, 0.25);
  --text: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --brand: #3b82f6;
  --brand-light: #60a5fa;
  --brand-dark: #2563eb;
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --brand-soft: rgba(59, 130, 246, 0.12);
  --success: #34d399;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 72px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(34, 211, 238, 0.08), transparent);
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--brand-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Inline SVG icons must never stretch to container width */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  max-width: none;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6, 10, 18, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
  color: var(--text);
}

/* Logo #1 — brand mark (icon only, transparent) */
.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

/* Logo #2 — premium wordmark (mark + name, transparent) */
.brand-wordmark {
  width: min(320px, 88vw);
  height: auto;
  display: block;
}

.footer-brand-wordmark {
  width: min(240px, 100%);
  height: auto;
  display: block;
}

.footer-logo-img,
.hero-brand-logo {
  width: min(240px, 100%);
  height: auto;
  display: block;
}

.hero-brand-logo {
  width: min(320px, 88vw);
  margin-bottom: 1.25rem;
}

.logo-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff !important;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.nav-cta:hover {
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-ghost {
  color: var(--text-secondary) !important;
  border: 1px solid var(--border);
  padding: 0.55rem 1rem;
  border-radius: 10px;
}

.nav-ghost:hover {
  border-color: var(--border-strong);
  color: var(--text) !important;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 1rem 4vw 1.25rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child {
    border-bottom: none;
    margin-top: 0.5rem;
    text-align: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.45rem;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: var(--border-strong);
}

/* Hero */
.hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-soft);
  border: 1px solid var(--border-strong);
  color: var(--brand-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h1 .gradient {
  background: linear-gradient(135deg, var(--text) 0%, var(--brand-light) 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin: 0 0 2rem;
  max-width: 54ch;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.trust-item {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-card), var(--surface-muted));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), transparent 60%);
  pointer-events: none;
}

.ops-panel {
  position: relative;
  z-index: 1;
}

.ops-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.ops-header span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ops-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--success);
  font-weight: 600;
}

.ops-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease infinite;
}

.ops-rows {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ops-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color var(--transition), transform var(--transition);
}

.ops-row:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
}

.ops-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  color: var(--brand-light);
}

.ops-icon svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
}

.ops-row strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.ops-row small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ops-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
}

.ops-badge.scheduled {
  background: var(--brand-soft);
  color: var(--brand-light);
}

.ops-badge.complete {
  background: rgba(52, 211, 153, 0.12);
  color: var(--success);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-muted {
  background: rgba(15, 23, 42, 0.5);
  border-block: 1px solid var(--border);
}

.section-title {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-title h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title p {
  margin: 0 auto;
  color: var(--text-secondary);
  max-width: 58ch;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  margin-bottom: 1.15rem;
  color: var(--brand-light);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Integrations */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.integration-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.integration-card:hover {
  border-color: var(--border-strong);
}

.integration-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--brand-light);
  letter-spacing: -0.02em;
}

.integration-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.integration-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.integration-card.future .integration-logo {
  color: var(--text-muted);
  border-style: dashed;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-copy h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-copy p {
  color: var(--text-secondary);
  margin: 0 0 1rem;
  font-size: 1.02rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.35rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-light);
  margin-bottom: 0.25rem;
}

.stat-card span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.cta-band p {
  margin: 0 auto 1.75rem;
  max-width: 48ch;
  color: var(--text-secondary);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page templates */
.page-hero {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.prose {
  padding: 2.5rem 0 4rem;
  max-width: 72ch;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.prose h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--text-secondary);
}

.prose ul {
  padding-left: 1.25rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.product-tier {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--surface-card);
  transition: border-color var(--transition), transform var(--transition);
}

.product-tier:hover {
  border-color: var(--border-strong);
}

.product-tier.featured {
  border-color: var(--border-strong);
  background: linear-gradient(160deg, var(--surface-card), rgba(59, 130, 246, 0.08));
  box-shadow: var(--shadow);
}

.product-tier h3 {
  margin: 0 0 0.25rem;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin: 1rem 0;
}

.price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  padding: 0.45rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  padding: 2.5rem 0 4rem;
}

@media (max-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
  background: var(--surface-muted);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.info-box {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.info-box h3 {
  margin-top: 0;
  font-size: 1rem;
}

/* Footer */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3.5rem 0 2rem;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-brand p {
  margin: 0.75rem 0 0;
  max-width: 32ch;
  line-height: 1.6;
}

.footer-grid h4 {
  color: var(--text);
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-grid a {
  color: var(--text-muted);
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
}
