:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface2: #f1f5f9;
  --text: #0f172a;
  --text-secondary: #334155;
  --muted: #475569;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --accent: #4f46e5;
  --accent2: #7c3aed;
  --ok: #059669;
  --danger: #dc2626;
  --radius: 12px;
  --font: "Inter", system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  color-scheme: light;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { height: 3rem; width: auto; }
.brand span { font-weight: 700; font-size: 1.1rem; }

.nav { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  border: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }
.btn-primary:hover { filter: brightness(1.06); text-decoration: none; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--surface2); text-decoration: none; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1.05rem; }

.download-section {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
}
.download-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-lg);
}
.download-card h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}
.download-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.download-steps {
  text-align: left;
  margin: 0 auto 1.5rem;
  padding-left: 1.25rem;
  max-width: 420px;
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.download-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.download-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.download-unavailable {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.45;
}
.download-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 0.75rem; }
.hero p.lead { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto 1.5rem; }

.hero-highlights {
  list-style: none;
  margin: 0 auto 1.5rem;
  padding: 0;
  max-width: 560px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.hero-highlights li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}
.hero-highlights strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.15rem;
}

.price-card {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 0;
  text-align: left;
}
.price-card .amount { font-size: 2.5rem; font-weight: 800; color: var(--text); }
.price-card .period { color: var(--muted); }
.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 1.5rem auto;
  max-width: 640px;
}
.price-card-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.price-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.15);
}
.price-original {
  font-size: 1rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 0.15rem;
}
.price-original-inline {
  text-decoration: line-through;
  color: var(--muted);
}
.price-discount-badge {
  display: inline-block;
  margin: 0.5rem 0 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.8rem;
  font-weight: 700;
}

.platform-tour {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
}
.platform-tour h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  text-align: center;
}
.platform-tour-lead {
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}
.platform-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.platform-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: center;
}
.platform-step-reverse {
  direction: rtl;
}
.platform-step-reverse > * {
  direction: ltr;
}
.platform-step-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.platform-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.platform-step-content h3 {
  margin: 0;
  font-size: 1.15rem;
}
.platform-step-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.platform-step-figure {
  margin: 0 !important;
  background: #eef1f6;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  box-shadow: var(--shadow-md);
}
.platform-step-figure img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .platform-step,
  .platform-step-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .platform-step-figure {
    order: -1;
  }
}

.hardware-times {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
}
.hardware-times h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  text-align: center;
}
.hardware-times-lead {
  color: var(--muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.6;
}
.hardware-times-lead strong {
  color: var(--text);
}
.hardware-pipeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hardware-pipeline-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.hardware-pipeline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.hardware-pipeline-step h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}
.hardware-pipeline-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}
.hardware-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hardware-tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.hardware-tier-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.12);
}
.hardware-tier-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hardware-tier-badge-basic {
  background: #f1f5f9;
  color: #475569;
}
.hardware-tier-badge-recommended {
  background: #eef2ff;
  color: #4338ca;
}
.hardware-tier-badge-advanced {
  background: #ecfdf5;
  color: #047857;
}
.hardware-tier h3 {
  margin: 0;
  font-size: 1.05rem;
}
.hardware-tier-spec {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.hardware-tier-times {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.hardware-tier-times li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}
.hardware-tier-times li strong {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}
.hardware-tier-total {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.hardware-tier-total strong {
  color: var(--accent);
  font-size: 1.05rem;
}
.hardware-tier-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.hardware-times-disclaimer {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.hardware-times-disclaimer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.hardware-times-disclaimer p + p {
  margin-top: 0.75rem;
}
.hardware-times-disclaimer strong {
  color: var(--text);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.feature h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.success-cases {
  padding: 1rem 0 3rem;
  border-top: 1px solid var(--border);
}
.success-cases h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  text-align: center;
}
.success-cases-lead {
  color: var(--muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}
.success-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.success-case {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.success-case figure {
  margin: 0;
  background: #fff;
  line-height: 0;
}
.success-case img {
  width: 100%;
  height: auto;
  display: block;
}
.success-case-body {
  padding: 1.25rem 1.35rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.success-case-body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}
.success-metrics {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.success-metrics strong {
  color: var(--text);
  font-weight: 700;
}
.success-note {
  margin: 0;
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.panel {
  max-width: 420px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.panel h1 { margin: 0 0 1rem; font-size: 1.35rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.35rem; }
.field input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.msg { margin-top: 0.75rem; font-size: 0.9rem; }
.msg.error { color: var(--danger); }
.msg.ok { color: var(--ok); }

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.status-badge.active { background: #dcfce7; color: #166534; }
.status-badge.inactive { background: #fee2e2; color: #991b1b; }
.status-badge.pending { background: #fef3c7; color: #92400e; }

.dash-grid { display: grid; gap: 1rem; margin: 2rem 0; }
.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: var(--text);
}
.dash-card h2 { margin: 0 0 0.75rem; font-size: 1.1rem; color: var(--text); }
.dash-card p { color: var(--text-secondary); margin: 0.5rem 0 0; line-height: 1.55; }
.dash-card p strong { color: var(--text); }
main h1 { color: var(--text); }
.text-muted { color: var(--text-secondary) !important; }
.text-muted strong { color: var(--text); }
.dash-card-highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}
.studio-banner {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
}
.studio-banner.hidden { display: none; }
.dash-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.plans-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.plan-option {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.plan-option h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}
.plan-price {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
}
.plan-price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}
.plan-price-original {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: line-through;
}
.plan-discount {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #166534;
}
.plan-option .btn { margin-top: auto; width: 100%; }

footer,
.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
footer p,
.site-footer p { margin: 0 0 0.5rem; }
.footer-tagline { margin-bottom: 0.75rem !important; }
footer nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
footer nav a,
.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}
footer nav a:hover,
.site-footer nav a:hover { color: var(--text); text-decoration: underline; }
.footer-company {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.5;
}
.footer-company p:last-child { margin-bottom: 0; }
.footer-company strong { color: var(--text); }
.footer-company a {
  color: var(--muted);
  text-decoration: none;
}
.footer-company a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.faq-section {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  max-width: 720px;
  margin: 0 auto;
}
.faq-section h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  text-align: center;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
