/* ==========================================================================
   ZYRABIT GRAVITY — MODERN EXECUTIVE DESIGN SYSTEM
   Tailwind / Linear / Apple HIG Minimalist Aesthetic
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --fg: #0f172a;
  --fg-muted: #475569;
  --fg-faint: #94a3b8;
  --card: #ffffff;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --accent: #0f766e;
  --accent-light: #f0fdfa;
  --radius: 8px;
  --radius-lg: 12px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: 68rem;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  object-fit: contain;
}

.kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--fg-faint);
  margin: 0;
  text-transform: uppercase;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0;
  letter-spacing: -0.01em;
}

.nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav a {
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--fg);
}

.nav-toggle {
  display: block;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  cursor: pointer;
  color: var(--fg);
}

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

/* Linear / Tailwind Minimalist Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  border-radius: var(--radius);
  padding: 0.65rem 1.15rem;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.btn-outline {
  background: #ffffff;
  color: var(--fg);
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--border-hover);
  color: #000000;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  border-radius: var(--radius);
}

.btn-ice {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--border);
}

.btn-ice:hover {
  background: var(--bg-subtle);
}

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Minimal Badge */
.badge-minimal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* Layout & Hero */
.hero {
  padding: 4.5rem 1.5rem 3.5rem;
  max-width: 58rem;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1.1;
  color: var(--fg);
  margin: 1.25rem 0 0;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  color: #2563eb;
}

.lead {
  max-width: 42rem;
  font-size: 1.15rem;
  color: var(--fg-muted);
  margin: 1.25rem auto 0;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  align-items: center;
  justify-content: center;
}

.note {
  font-size: 0.8rem;
  color: var(--fg-faint);
  margin-top: 0.85rem;
}

/* Bands & Sections */
.band {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.band-dark {
  background: #0f172a;
  color: #ffffff;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
}

.section {
  padding: 4.5rem 1.5rem;
  max-width: 68rem;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.band-dark .section h2 {
  color: #ffffff;
}

.sub {
  max-width: 38rem;
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

.band-dark .sub {
  color: #94a3b8;
}

/* Modern Card Grids */
.grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.75rem;
}

@media (min-width: 640px) {
  .cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin: 0 0 0.5rem;
  color: var(--fg);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

.eyebrow-minimal {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  margin: 0 0 0.5rem;
}

.card-visual {
  width: 100%;
  height: 110px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.card-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.step-visual {
  width: 100%;
  height: 120px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.step-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Steps Timeline */
.steps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.75rem;
}

@media (min-width: 768px) {
  .steps-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-number {
  font-size: 0.85rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  width: fit-content;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Pricing Section */
.price-card {
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  max-width: 48rem;
  margin: 2rem auto 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .price-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
  }
}

.price-val {
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin: 0.5rem 0;
  letter-spacing: -0.03em;
}

.checklist-clean {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist-clean li {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checklist-clean li span.check-mark {
  color: #059669;
  font-weight: 700;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  padding: 3.5rem 1.5rem 2.5rem;
}

.footer-inner {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1.5fr;
  }
}

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.footer-legal-links a:hover {
  color: var(--fg);
}

/* Interactive Demo Showcase */
.showcase-frame {
  margin-top: 3rem;
  background: #0f172a;
  border-radius: var(--radius-lg);
  border: 1px solid #1e293b;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  text-align: left;
}

.showcase-header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  gap: 0.5rem;
}

.showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.showcase-dot.red { background: #ef4444; }
.showcase-dot.yellow { background: #f59e0b; }
.showcase-dot.green { background: #10b981; }

.showcase-title {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
  margin-left: auto;
  margin-right: auto;
}

.showcase-content {
  padding: 1.75rem;
  color: #f1f5f9;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Forms */
.form-card {
  max-width: 36rem;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.form-card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg);
  margin: 1rem 0 0.35rem;
}

.form-card label:first-of-type {
  margin-top: 0;
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--fg);
  font: inherit;
  box-sizing: border-box;
}

.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-card textarea {
  min-height: 5rem;
  resize: vertical;
}

.form-card .check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
  cursor: pointer;
}

.err {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.ok {
  color: #059669;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  background: #0f172a;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Minimalist Floating Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  max-width: 44rem;
  width: calc(100% - 2rem);
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid #334155;
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.cookie-banner .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #cbd5e1;
  max-width: 32rem;
}

.cookie-banner a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner .actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
