:root {
  --bg: #0b0f16;
  --panel: #111723;
  --panel-2: #0f141d;
  --text: #f5f7fb;
  --muted: #9aa6bc;
  --line: rgba(255,255,255,0.1);
  --accent: #7c5cff;
  --accent-2: #11d8b4;
  --shadow: 0 24px 80px rgba(0,0,0,0.38);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top, rgba(124,92,255,0.18), transparent 30%),
    linear-gradient(180deg, #090c12, #111826 40%, #0b0f16);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
textarea, input[type="text"], input[type="email"] {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
}
textarea::placeholder, input::placeholder { color: #8290a9; }
.site-shell { max-width: 1240px; margin: 0 auto; padding: 24px; }
.topbar, .card {
  background: rgba(17, 23, 35, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.topbar {
  position: sticky; top: 14px; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 18px; border-radius: 22px; margin-bottom: 30px;
}
.brand-wrap { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center; font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white;
}
.brand-name { font-size: 1.08rem; font-weight: 800; }
.brand-tag { font-size: 0.85rem; color: var(--muted); }
.nav, .topbar-actions, .footer-links { display: flex; align-items: center; gap: 18px; }
.nav a, .footer-links a { color: var(--muted); font-weight: 600; }
.nav a:hover, .footer-links a:hover { color: var(--text); }
.menu-toggle {
  display: none; background: transparent; color: var(--text); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px;
}
.mobile-nav {
  display: none; margin: -8px 0 20px; padding: 14px; border-radius: 18px;
  background: rgba(17, 23, 35, 0.9); border: 1px solid var(--line);
}
.mobile-nav a { display: block; padding: 10px 4px; color: var(--muted); }
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; padding: 26px 0 10px;
}
.eyebrow { color: #b6c3d9; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 800; }
.hero h1, .section-head h1, .section-head h2 {
  margin: 0 0 14px; line-height: 0.95; letter-spacing: -0.045em;
}
.hero h1, .section-head h1 { font-size: clamp(2.8rem, 7vw, 5.7rem); max-width: 12ch; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.9rem); }
.lede, .section-copy, .muted {
  color: var(--muted); line-height: 1.75; font-size: 1.03rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; }
.center-actions { justify-content: center; }
.hero-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.stat {
  min-width: 150px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px;
  background: rgba(255,255,255,0.03);
}
.stat strong { display: block; font-size: 1rem; }
.stat span { display: block; color: var(--muted); margin-top: 4px; font-size: 0.92rem; }
.card { border-radius: 28px; }
.hero-visual { padding: 16px; }
.mock-app-bar { display: flex; gap: 8px; padding: 8px 6px 14px; }
.mock-app-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.preview-panel { padding: 14px; border-radius: 22px; min-height: 380px; position: relative; overflow: hidden; }
.preview-panel.dark { background: linear-gradient(180deg, #181c25, #0d1118); }
.preview-panel.light { background: linear-gradient(180deg, #f0f4fb, #d5deec); color: #10151f; }
.panel-label { font-size: 0.84rem; opacity: 0.78; margin-bottom: 14px; font-weight: 700; }
.shirt-preview { position: relative; height: 300px; border-radius: 28px; overflow: hidden; display: grid; place-items: center; }
.shirt-a { background: linear-gradient(135deg, #11151d, #242b38); }
.shirt-b { background: linear-gradient(135deg, #eef3fb, #cfd9ea); }
.ink-texture {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(124,92,255,0.5), transparent 18%),
    radial-gradient(circle at 70% 45%, rgba(9,196,176,0.32), transparent 22%),
    radial-gradient(circle at 50% 75%, rgba(255,255,255,0.08), transparent 26%);
}
.dot-mask {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(24,28,35,0.92) 20%, transparent 22%);
  background-size: 18px 18px; opacity: 0.82;
}
.mock-title { position: relative; z-index: 2; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; text-align: center; line-height: 0.9; letter-spacing: -0.04em; }
.knockout { color: transparent; -webkit-text-stroke: 2px #17202c; }
.logo-strip {
  display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; padding: 14px 4px 20px; color: var(--muted); font-weight: 700;
}
.section { padding: 58px 0; }
.compact-hero { padding-top: 12px; }
.narrow { max-width: 760px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .price-card, .step, .contact-card, .legal-content { padding: 24px; }
.feature-card h3, .step h3, .price-card h3, .contact-card h2, .contact-card h3 { margin-top: 0; }
.feature-card p, .step p, .price-copy, .faq-item p, .contact-card p, .legal-content p, .legal-content li { color: var(--muted); line-height: 1.7; }
.workflow-section .steps, .pricing-grid, .faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step span {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(124,92,255,0.14); margin-bottom: 14px; font-weight: 800;
}
.split-panel {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; padding: 28px;
}
.dark-panel { background: linear-gradient(180deg, rgba(16,20,29,0.95), rgba(13,17,25,0.92)); }
.check-list { margin: 0; padding-left: 20px; line-height: 1.9; color: var(--text); }
.pricing-grid .price-card { padding: 26px; }
.price-card .plan { color: #d8dfff; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.price-card h3 { font-size: 2.6rem; margin-bottom: 8px; }
.price-card h3 span { font-size: 1rem; color: var(--muted); font-weight: 600; margin-left: 4px; }
.price-card ul { padding-left: 18px; line-height: 1.9; color: var(--muted); }
.price-card.featured { outline: 2px solid rgba(124,92,255,0.55); }
.faq-item { padding: 18px 22px; }
.faq-item summary { cursor: pointer; font-weight: 700; }
.cta-section { text-align: center; padding: 42px; }
.cta-section h2 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 12ch; margin-inline: auto; }
.footer {
  display: flex; justify-content: space-between; gap: 20px; align-items: flex-start;
  padding: 24px 0 44px; color: var(--muted);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px;
  border-radius: 14px; font-weight: 700; transition: transform 0.18s ease, opacity 0.2s ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--accent), #6243ff 55%, var(--accent-2)); }
.btn-outline { border-color: var(--line); background: rgba(255,255,255,0.04); color: var(--text); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--text); border-color: transparent; }
.btn.full { width: 100%; }
.app-layout { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; }
.app-controls, .app-canvas-wrap { padding: 24px; }
.app-controls { position: sticky; top: 104px; }
.control-group + .control-group { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.control-group h3 { margin: 0 0 14px; }
.input-block, .slider-block { display: block; margin-bottom: 16px; }
.input-block span, .slider-block span { display: block; font-weight: 700; margin-bottom: 8px; }
.inline-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 14px;
}
.inline-row span { margin: 0; }
input[type="file"] {
  width: 100%; background: rgba(255,255,255,0.04); color: var(--muted);
  border: 1px dashed var(--line); border-radius: 16px; padding: 14px;
}
.slider-block div { display: flex; justify-content: space-between; gap: 10px; color: var(--text); margin-bottom: 8px; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.color-row input[type="color"] {
  width: 56px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
}
.micro-copy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.button-stack { display: grid; gap: 10px; margin-top: 20px; }
.canvas-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.canvas-head h2, .canvas-head h3 { margin: 0; }
.spread-head { align-items: center; }
.badge {
  display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 0.85rem;
}
canvas {
  width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 20px; display: block;
  background-image: linear-gradient(45deg, #f2f5fb 25%, #dfe6f2 25%, #dfe6f2 50%, #f2f5fb 50%, #f2f5fb 75%, #dfe6f2 75%, #dfe6f2 100%);
  background-size: 26px 26px;
}
.export-meta {
  display: flex; flex-wrap: wrap; gap: 18px; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); color: var(--muted);
}
.contact-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 20px; }
.contact-form { display: grid; gap: 14px; }
.legal-shell { max-width: 980px; }
.legal-content h1, .legal-content h2 { margin-top: 0; }

@media (max-width: 1100px) {
  .hero, .feature-grid, .workflow-section .steps, .pricing-grid, .faq-grid, .contact-grid, .split-panel, .app-layout {
    grid-template-columns: 1fr 1fr;
  }
  .nav, .small-hide { display: none; }
  .menu-toggle, .mobile-nav { display: block; }
  .app-controls { position: static; }
}

@media (max-width: 760px) {
  .site-shell { padding: 14px; }
  .topbar { gap: 12px; padding: 14px; }
  .hero, .preview-grid, .feature-grid, .workflow-section .steps, .pricing-grid, .faq-grid, .contact-grid, .split-panel, .app-layout {
    grid-template-columns: 1fr;
  }
  .hero h1, .section-head h1, .section-head h2 { max-width: 100%; }
  .hero-actions, .footer, .topbar-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .logo-strip { gap: 10px; }
}

select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
}

.app-layout-wide {
  grid-template-columns: 390px 1fr;
}

.app-main-stack {
  display: grid;
  gap: 20px;
}

.plates-panel {
  padding: 24px;
}

.plates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plate-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
}

.plate-card img {
  width: 100%;
  border-radius: 16px;
  display: block;
  margin: 14px 0;
  background: #eef3fb;
}

.plate-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.plate-head h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.plate-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.plate-swatch {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  flex: 0 0 18px;
  margin-top: 2px;
}

.plate-empty {
  padding: 22px;
  border-radius: 18px;
  border: 1px dashed var(--line);
  color: var(--muted);
}

@media (max-width: 1100px) {
  .plates-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .plates-grid { grid-template-columns: 1fr; }
}


.auth-shell { max-width: 1180px; }
.auth-grid, .dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.auth-card, .dashboard-card, .app-notice {
  padding: 26px;
}
.auth-form {
  display: grid;
  gap: 14px;
}
.auth-form label span {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.info-note {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}
.meta-list {
  display: grid;
  gap: 12px;
}
.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}
.meta-list span {
  color: var(--muted);
  font-weight: 600;
}
.app-notice {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  background: rgba(17, 216, 180, 0.08);
  border: 1px solid rgba(17, 216, 180, 0.25);
}
@media (max-width: 760px) {
  .auth-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .app-notice { flex-direction: column; align-items: flex-start; }
}
