/* Neuraphic Cloud — design tokens (oklch) */
:root {
  --background: oklch(0.96 0 0);
  --foreground: oklch(0.13 0 0);
  --gc-blue: oklch(0.15 0 0);
  --gc-blue-hover: oklch(0.28 0 0);
  --gc-blue-soft: oklch(0.91 0 0);
  --gc-text-muted: oklch(0.45 0 0);
  --gc-border: oklch(0.86 0 0);
  --gc-surface: oklch(0.93 0 0);
  --gc-dark: oklch(0.13 0 0);
  --radius: 0.75rem;
  color-scheme: light;
  font-family: 'Inter', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

* { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--gc-border); }
html, body { background: var(--background); color: var(--foreground); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; }

.container { margin: 0 auto; max-width: 1440px; padding: 0 24px; }

/* === Header === */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--background) 95%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gc-border);
}
.header-row { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 700; letter-spacing: -0.02em; font-size: 18px; display: inline-flex; align-items: center; gap: 6px; }
.brand .sub { font-weight: 400; color: var(--gc-text-muted); }
.nav { display: none; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; font-size: 14px; border-radius: 6px; transition: background 0.15s; }
.nav a:hover { background: var(--gc-surface); }
@media (min-width: 1024px) { .nav { display: flex; } .header-left { display: flex; gap: 40px; align-items: center; } }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; transition: background 0.15s; }
.icon-btn:hover { background: var(--gc-surface); }
.btn-text { padding: 8px 12px; font-size: 14px; border-radius: 6px; transition: background 0.15s; }
.btn-text:hover { background: var(--gc-surface); }
.hide-md { display: none; }
@media (min-width: 768px) { .hide-md { display: inline; } }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px;
  background: var(--gc-dark); color: #fff; font-weight: 500; font-size: 14px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--gc-blue-hover); transform: scale(1.04); box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.25); }
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px;
  border: 1px solid var(--gc-border); background: transparent; font-weight: 500; font-size: 14px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: var(--gc-surface); border-color: var(--gc-dark); }

/* === Hero === */
.hero { position: relative; padding: 96px 24px 64px; text-align: center; overflow: hidden; }
.hero-inner { position: relative; max-width: 768px; margin: 0 auto; animation: fade-up 0.8s ease-out both; }
.eyebrow { font-size: 12px; letter-spacing: 0.3em; color: var(--gc-text-muted); margin-bottom: 24px; }
.h1 {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.text-gradient {
  background: linear-gradient(120deg, oklch(0.13 0 0) 0%, oklch(0.45 0 0) 50%, oklch(0.13 0 0) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
.lead { margin-top: 24px; font-size: 18px; color: var(--gc-text-muted); }
.cta-row { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pill {
  margin-top: 48px; display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px; border-radius: 999px;
  background: var(--gc-blue-soft); font-size: 14px;
  transition: background 0.15s;
}
.pill:hover { background: var(--gc-surface); }
.pill .dot {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--gc-dark); display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.pill:hover .dot { transform: translateX(4px); }
.pill .dot svg { color: #fff; }

.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, oklch(0.13 0 0 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.13 0 0 / 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 80%);
}
.blob {
  position: absolute; top: 128px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 999px;
  background: oklch(0.13 0 0 / 0.05); filter: blur(48px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

/* === Marquee === */
.marquee-section { padding: 40px 0; border-top: 1px solid var(--gc-border); border-bottom: 1px solid var(--gc-border); overflow: hidden; }
.marquee-eyebrow { text-align: center; font-size: 12px; letter-spacing: 0.2em; color: var(--gc-text-muted); margin-bottom: 24px; }
.marquee {
  display: flex; gap: 64px; white-space: nowrap; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee span { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--gc-text-muted); transition: color 0.2s; }
.marquee span:hover { color: var(--foreground); }

/* === Card carousel === */
.cards-section { padding: 0 0 48px 24px; }
.cards-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.cards-track::-webkit-scrollbar { height: 8px; }
.cards-track::-webkit-scrollbar-thumb { background: var(--gc-border); border-radius: 4px; }
.card {
  scroll-snap-align: start; flex-shrink: 0; width: 460px; height: 340px;
  border-radius: 16px; overflow: hidden; position: relative;
  background: #000; cursor: pointer;
}
.card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.8; transition: transform 0.5s, opacity 0.5s;
}
.card:hover img { transform: scale(1.05); opacity: 1; }
.card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.9), rgb(0 0 0 / 0.3) 50%, transparent);
}
.card .meta { position: absolute; left: 24px; right: 24px; bottom: 24px; color: #fff; }
.card .tag { font-size: 12px; letter-spacing: 0.1em; opacity: 0.7; }
.card h3 { margin-top: 8px; font-size: 24px; font-weight: 600; line-height: 1.3; }
.cards-controls { max-width: 1440px; margin: 24px auto 0; display: flex; gap: 8px; padding: 0 24px; }
.round-btn {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--gc-border); background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.round-btn:hover { background: var(--gc-surface); }

/* === Tabs section === */
.tabs-section { background: var(--gc-surface); padding: 64px 24px; }
.tabs-bar { display: flex; gap: 32px; border-bottom: 1px solid var(--gc-border); margin-bottom: 40px; }
.tab { padding-bottom: 16px; font-size: 16px; color: var(--gc-text-muted); border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; }
.tab.active { color: var(--foreground); border-bottom-color: var(--gc-dark); font-weight: 500; }
.products-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  background: var(--background); border-radius: 16px; overflow: hidden;
  border: 1px solid var(--gc-border);
}
.product-card .img-wrap { height: 192px; background: var(--gc-dark); position: relative; overflow: hidden; }
.product-card .img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 24px; }
.product-card .tag { font-size: 12px; letter-spacing: 0.1em; color: var(--gc-text-muted); }
.product-card h3 { margin-top: 12px; font-size: 20px; line-height: 1.3; font-weight: 500; }

/* === CTA === */
.cta-section { padding: 96px 24px; text-align: center; }
.cta-section h2 { font-size: clamp(36px, 5vw, 48px); font-weight: 700; letter-spacing: -0.02em; }
.cta-section p { margin-top: 16px; color: var(--gc-text-muted); }
.cta-section .cta-row { margin-top: 32px; }

/* === Big Footer === */
.big-footer { border-top: 1px solid var(--gc-border); padding: 80px 24px 40px; font-size: 14px; background: var(--background); }
.footer-cols { display: grid; gap: 40px 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-cols { grid-template-columns: 1.4fr repeat(4, 1fr); gap: 48px; } }
.footer-col-brand .brand-footer { font-size: 22px; letter-spacing: -0.03em; }
.footer-col-brand .brand-tag { margin-top: 16px; color: var(--gc-text-muted); font-size: 14px; line-height: 1.55; max-width: 280px; }
.footer-cols h4 { font-size: 13px; font-weight: 600; margin-bottom: 20px; letter-spacing: -0.005em; color: var(--foreground); }
.footer-cols ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-cols a { color: var(--gc-text-muted); transition: color 0.15s; }
.footer-cols a:hover { color: var(--foreground); }
.footer-bottom-row {
  margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--gc-border);
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; font-size: 13px; }
.legal-links a { color: var(--gc-text-muted); }
.legal-links a:hover { color: var(--foreground); }
.copyright { color: var(--gc-text-muted); font-size: 13px; }

/* === Legal pages (terms, AUP, etc.) === */
.legal-hero {
  padding: 120px 24px 56px; text-align: left;
  background: linear-gradient(180deg, var(--gc-surface) 0%, var(--background) 100%);
  border-bottom: 1px solid var(--gc-border);
}
.legal-hero .eyebrow { margin-bottom: 16px; text-align: left; }
.legal-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
.legal-hero .legal-meta { margin-top: 14px; color: var(--gc-text-muted); font-size: 13px; letter-spacing: 0.02em; }
.legal-hero .lead { margin-top: 24px; font-size: 18px; max-width: 720px; color: var(--gc-text-muted); }
.legal-body { padding: 64px 24px 96px; }
.legal-body h2 { margin-top: 48px; margin-bottom: 16px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; font-family: 'Space Grotesk', sans-serif; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p { margin-bottom: 16px; font-size: 16px; line-height: 1.7; color: var(--foreground); }
.legal-body p strong { font-weight: 600; }
.legal-body a { color: var(--foreground); border-bottom: 1px solid var(--gc-border); }
.legal-body a:hover { border-bottom-color: var(--gc-dark); }
.legal-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--gc-border); color: var(--gc-text-muted); font-size: 14px; }

/* === Pricing page === */
.pricing-hero {
  position: relative; padding: 120px 24px 64px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, var(--gc-surface) 0%, var(--background) 100%);
  border-bottom: 1px solid var(--gc-border);
}
.pricing-hero .h1 { font-size: clamp(44px, 7vw, 88px); }
.pricing-hero .lead { max-width: 640px; margin: 28px auto 0; font-size: 19px; }
.pricing-hero .eyebrow { margin-bottom: 24px; }

.container.narrow { max-width: 760px; }
.pricing-prose { padding: 80px 24px; border-bottom: 1px solid var(--gc-border); }
.pricing-prose p { font-size: 20px; line-height: 1.7; color: var(--foreground); margin-bottom: 24px; letter-spacing: -0.005em; }
.pricing-prose p:first-child { font-size: 22px; }
.pricing-prose p:first-child::first-letter { font-family: 'Space Grotesk', serif; font-size: 56px; font-weight: 700; float: left; line-height: 0.9; padding: 6px 12px 0 0; color: var(--foreground); }
.pricing-prose p:last-child { margin-bottom: 0; color: var(--gc-text-muted); font-size: 18px; }

.pricing-table-section { padding: 96px 0; background: var(--gc-surface); border-bottom: 1px solid var(--gc-border); }
.table-head { max-width: 760px; margin-bottom: 48px; }
.table-head h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -0.02em; }
.table-head p { margin-top: 14px; color: var(--gc-text-muted); font-size: 17px; }

.price-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .price-grid { grid-template-columns: repeat(4, 1fr); } }
.price-card {
  background: var(--background); border: 1px solid var(--gc-border); border-radius: 20px;
  padding: 32px 28px; display: flex; flex-direction: column; gap: 24px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px -16px rgb(0 0 0 / 0.08);
  transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}
.price-card:hover { border-color: var(--gc-dark); transform: translateY(-4px); box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 24px 40px -20px rgb(0 0 0 / 0.18); }
.price-card.featured { border-color: var(--gc-dark); background: var(--gc-dark); color: #fff; box-shadow: 0 16px 48px -16px rgb(0 0 0 / 0.4); }
.price-card.featured .muted, .price-card.featured .unit { color: oklch(0.78 0 0); }
.price-card.featured .tier { color: oklch(0.85 0 0); }
.price-card .tier { font-size: 11px; letter-spacing: 0.22em; color: var(--gc-text-muted); font-weight: 600; }
.price-card h3 { margin-top: 8px; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; font-family: 'Space Grotesk', sans-serif; }
.price-card .muted { margin-top: 10px; color: var(--gc-text-muted); font-size: 14px; line-height: 1.55; min-height: 44px; }
.price-card .numbers {
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px 0;
  border-top: 1px solid color-mix(in oklab, currentColor 14%, transparent);
  border-bottom: 1px solid color-mix(in oklab, currentColor 14%, transparent);
}
.price-card .numbers .amt { display: block; font-size: 36px; font-weight: 700; letter-spacing: -0.02em; font-family: 'Space Grotesk', sans-serif; line-height: 1; }
.price-card .numbers .unit { display: block; font-size: 11px; color: var(--gc-text-muted); margin-top: 6px; letter-spacing: 0.08em; text-transform: uppercase; }
.meta-list { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.meta-list li { display: flex; align-items: center; gap: 10px; color: var(--gc-text-muted); }
.price-card.featured .meta-list li { color: oklch(0.88 0 0); }
.meta-list svg { flex-shrink: 0; opacity: 0.7; }

.freetier-section { padding: 96px 24px; }
.freetier-card {
  position: relative; overflow: hidden;
  background: var(--gc-dark); color: #fff; border-radius: 28px;
  padding: 72px 48px; text-align: center;
}
.freetier-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.freetier-card > * { position: relative; }
.freetier-card .tier { font-size: 11px; letter-spacing: 0.22em; color: oklch(0.78 0 0); font-weight: 600; }
.freetier-card h2 { margin-top: 18px; font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.freetier-card p { margin-top: 20px; color: oklch(0.82 0 0); max-width: 580px; margin-left: auto; margin-right: auto; font-size: 17px; line-height: 1.6; }
.freetier-card .cta-row { margin-top: 36px; }
.freetier-card .btn-secondary { color: #fff; border-color: oklch(0.4 0 0); }
.freetier-card .btn-secondary:hover { background: oklch(0.22 0 0); border-color: #fff; }

.faq-section { padding: 96px 24px; background: var(--gc-surface); border-top: 1px solid var(--gc-border); }
.faq-section h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 48px; }
.faq-list { display: flex; flex-direction: column; gap: 28px; }
.faq-list > div { padding-bottom: 28px; border-bottom: 1px solid var(--gc-border); }
.faq-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.faq-list dt { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.faq-list dd { margin-top: 10px; color: var(--gc-text-muted); font-size: 16px; line-height: 1.65; }
.faq-list dd a { color: var(--foreground); border-bottom: 1px solid var(--gc-border); }
.faq-list dd a:hover { border-bottom-color: var(--gc-dark); }

/* === Support page === */
.support-grid-section { padding: 80px 0; background: var(--gc-surface); border-bottom: 1px solid var(--gc-border); border-top: 1px solid var(--gc-border); }
.support-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .support-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .support-grid { grid-template-columns: repeat(3, 1fr); } }
.support-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--background); border: 1px solid var(--gc-border); border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px -16px rgb(0 0 0 / 0.08);
  transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}
.support-card:hover { border-color: var(--gc-dark); transform: translateY(-4px); box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 24px 40px -20px rgb(0 0 0 / 0.18); }
.support-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gc-blue-soft); display: inline-flex; align-items: center; justify-content: center;
  color: var(--foreground); margin-bottom: 4px;
}
.support-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; font-family: 'Space Grotesk', sans-serif; }
.support-card p { color: var(--gc-text-muted); font-size: 14.5px; line-height: 1.55; flex-grow: 1; }
.support-card .link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--foreground); margin-top: 4px; }
.support-card:hover .link svg { transform: translateX(3px); }
.support-card .link svg { transition: transform 0.2s; }

.response-section { padding: 96px 24px; }
.response-section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.02em; }
.response-section .muted { margin-top: 12px; color: var(--gc-text-muted); font-size: 16px; margin-bottom: 32px; }
.response-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.response-table thead th { text-align: left; font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gc-text-muted); padding: 0 16px 16px; border-bottom: 1px solid var(--gc-border); }
.response-table tbody td { padding: 20px 16px; border-bottom: 1px solid var(--gc-border); vertical-align: top; }
.response-table tbody tr:last-child td { border-bottom: 0; }
.response-table tbody td:first-child { font-family: 'Space Grotesk', sans-serif; font-weight: 700; width: 80px; }
.response-table tbody td:last-child { white-space: nowrap; color: var(--gc-text-muted); width: 160px; }
@media (max-width: 640px) {
  .response-table tbody td:last-child { white-space: normal; width: auto; }
}

/* === Contact / trust strip === */
.trust-section { padding: 80px 24px 96px; background: var(--gc-surface); border-top: 1px solid var(--gc-border); }
.trust-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.trust-grid .tier { font-size: 11px; letter-spacing: 0.22em; color: var(--gc-text-muted); font-weight: 600; }
.trust-grid h3 { margin-top: 12px; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; font-family: 'Space Grotesk', sans-serif; }
.trust-grid p { margin-top: 12px; color: var(--gc-text-muted); font-size: 15px; line-height: 1.6; }

/* === Animations === */
@keyframes shine { to { background-position: 200% center; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .marquee { animation-duration: 30s !important; }
}
