/* Create3DFile — concrete workshop + filament orange (not SaaS-teal / purple glow) */
:root {
  --ink: #12141a;
  --ink-soft: #2a2f38;
  --bg: #e4e7eb;
  --bg-deep: #d5dae0;
  --surface: #f3f5f7;
  --card: #ffffff;
  --text: #12141a;
  --muted: #5c6570;
  --border: #c5ccd4;
  --accent: #ff4d00;
  --accent-ink: #1a0a00;
  --accent-soft: rgba(255, 77, 0, 0.12);
  --teal: var(--accent);
  --teal-dark: #cc3d00;
  --paper: #f3f5f7;
  --navy: #12141a;
  --site-header-h: 90px;
  --font-display: "Syne", "Arial Black", sans-serif;
  --font-body: "Public Sans", "Segoe UI", sans-serif;
  --radius: 6px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.page-wash {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 77, 0, 0.09), transparent 55%),
    linear-gradient(180deg, #eceff2 0%, var(--bg) 40%, var(--bg-deep) 100%);
}
.page-wash::after {
  content: "";
  position: absolute; inset: 0; opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  min-height: var(--site-header-h);
  padding: 5px max(16px, calc((100vw - 1200px) / 2));
  background: rgba(243, 245, 247, 0.96);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(12px);
}
.logo { display: inline-flex; align-items: center; line-height: 0; margin: 0; }
.logo-img { display: block; width: auto; height: auto; max-width: 100%; }
.logo-img-header {
  height: 80px; width: auto; max-width: min(420px, 62vw);
  object-fit: contain; display: block;
  margin: 0;
}
.logo-img-footer {
  height: 44px; width: auto; max-width: min(240px, 70vw);
  object-fit: contain;
}
.site-nav { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 600; }
.site-nav a { color: var(--ink-soft); }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.site-nav .nav-account {
  padding: 5px 10px; color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--surface);
}
.site-nav .nav-account:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.lang-select {
  padding: 6px 4px; border: 0; background: transparent;
  color: var(--ink); font-size: 12px; font-weight: 600; cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 0.02em; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary, .btn-teal {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-primary:hover, .btn-teal:hover { background: #e04400; border-color: #e04400; }
.btn-secondary {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-light {
  background: var(--ink); color: #fff; border-color: var(--ink); min-width: 160px;
}
.btn-light:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost {
  background: var(--surface); color: var(--ink); border: 2px solid var(--border);
}

.home-page, .site-footer { position: relative; z-index: 1; }
.home-page { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.home-hero {
  min-height: calc(100vh - var(--site-header-h));
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: stretch; padding: 48px 0 72px;
}
.hero-plane {
  position: relative; min-height: 420px;
  background: var(--ink);
  border: 2px solid var(--ink);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-plane::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(255, 77, 0, 0.07) 18px,
      rgba(255, 77, 0, 0.07) 19px
    );
  animation: stripe-drift 22s linear infinite;
}
@keyframes stripe-drift {
  from { transform: translateX(0); }
  to { transform: translateX(40px); }
}
.hero-mark {
  position: relative; z-index: 1;
  width: min(78%, 340px); height: auto;
  background: #fff; padding: 22px 26px;
  border: 3px solid var(--accent);
  animation: mark-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes mark-in {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 12px 0 12px 8px;
  animation: copy-in 0.65s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes copy-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.brand-lockup {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.home-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 16ch;
}
.hero-intro {
  margin: 20px 0 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px;
}

.tools-section { padding: 72px 0 40px; border-top: 2px solid var(--ink); }
.section-heading {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 28px; align-items: end; margin-bottom: 40px;
}
.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -0.04em; line-height: 1.05;
}
.section-heading > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.home-page .product-grid { display: block; margin: 0; padding: 0; }
.product-feature {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
  padding: 40px 0; border-top: 1px solid var(--border);
}
.product-feature-reverse { grid-template-columns: 0.95fr 1.05fr; }
.product-feature-reverse .feature-visual { order: 2; }
.feature-visual {
  position: relative; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); border: 2px solid var(--ink); overflow: hidden;
}
.feature-visual::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--accent);
}
.keychain-stage, .cube-stage {
  position: relative; z-index: 1; width: 88%;
  display: flex; justify-content: center;
}
.keychain-art {
  width: 100%; max-height: 260px; display: block;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s ease;
}
.feature-visual:hover .keychain-art { transform: translateY(-6px); }
.model-shadow {
  position: absolute; left: 22%; right: 22%; bottom: -6px; height: 22px;
  border-radius: 50%; background: rgba(0, 0, 0, 0.5); filter: blur(12px);
}
.feature-copy { max-width: 440px; }
.feature-index { display: none; }
.feature-copy h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.035em;
}
.feature-copy > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.feature-specs {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 20px 0 24px;
}
.feature-specs li {
  padding: 6px 10px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 11px; font-weight: 600; color: var(--ink-soft);
}

.cube-stage {
  width: min(360px, 92%);
  margin: 0 auto;
  align-items: stretch;
}
.cube-refs {
  width: 100%;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.35s ease;
}
.feature-visual:hover .cube-refs { transform: translateY(-4px); }
.cube-ref-main {
  width: 100%; aspect-ratio: 1;
  object-fit: cover; border-radius: 8px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 8px 8px 0 rgba(0,0,0,.2);
}
.cube-ref-strip {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
}
.cube-ref-strip img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--border); background: #fff;
}

.membership-banner {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  margin: 48px 0 64px; padding: 40px 44px;
  background: var(--ink); color: #f3f5f7; border: 2px solid var(--ink);
}
.membership-banner h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: -0.035em;
}
.membership-banner p { margin: 0; max-width: 52ch; color: #b8c0c9; line-height: 1.6; }

.site-footer {
  max-width: 1200px; margin: 0 auto; padding: 28px 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  border-top: 2px solid var(--ink);
}
.site-footer p { margin: 0; color: var(--muted); font-size: 12px; flex: 1 1 200px; }
.site-footer > span { font-size: 12px; color: var(--muted); }

/* Legacy product cards / gallery leftovers */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px; max-width: 1100px; margin: 0 auto; padding: 24px;
}
.gallery-page { max-width: 960px; margin: 0 auto; padding: 32px 24px 48px; }
.pricing-wrap { max-width: 960px; margin: 0 auto; padding: 32px 24px 48px; }
.pricing-head { text-align: center; margin-bottom: 32px; }
.pricing-head h1 {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em;
}
.pricing-head p { color: var(--muted); margin-top: 8px; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.plan-card {
  position: relative; border-radius: var(--radius); padding: 24px 20px;
  background: var(--card); border: 2px solid var(--border);
}
.plan-card.popular { border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent); }
.plan-pop {
  position: absolute; top: -11px; left: 16px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 4px;
  background: var(--accent); color: #fff;
}
.plan-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 8px 0 4px; }
.plan-tag { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.plan-price { font-size: 36px; font-weight: 800; font-family: var(--font-display); }
.plan-price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan-features { list-style: none; padding: 0; margin: 20px 0; font-size: 13px; line-height: 1.8; }
.plan-features li::before { content: "→ "; color: var(--accent); font-weight: 700; }

.account-wrap { max-width: 480px; margin: 0 auto; padding: 32px 24px 48px; }
.account-card {
  background: var(--card); border: 2px solid var(--ink);
  border-radius: var(--radius); padding: 24px;
}
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%; padding: 10px 12px; border-radius: var(--radius);
  border: 2px solid var(--border); background: var(--surface); color: var(--text);
  font-family: var(--font-body);
}
.form-row { display: flex; gap: 10px; margin-top: 16px; }
.form-row .btn { flex: 1; text-align: center; }
.user-panel { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.stat-row { display: flex; justify-content: space-between; font-size: 13px; margin: 8px 0; }
.stat-row strong { color: var(--accent); }
.msg { margin-top: 12px; font-size: 13px; min-height: 20px; }
.msg.err { color: #c0392b; }
.msg.ok { color: #1e7a46; }

@media (max-width: 980px) {
  .site-nav .hide-md { display: none; }
  .home-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-plane { min-height: 280px; order: -1; }
  .product-feature, .product-feature-reverse { grid-template-columns: 1fr; gap: 28px; }
  .product-feature-reverse .feature-visual { order: 0; }
  .section-heading { grid-template-columns: 1fr; }
  .membership-banner { grid-template-columns: 1fr; padding: 32px 28px; }
}
@media (max-width: 720px) {
  :root { --site-header-h: 74px; }
  .site-header { padding: 5px 12px; }
  .logo-img-header { height: 64px; max-width: min(280px, 70vw); }
  .site-nav > a:not(.nav-account), .site-nav .nav-account { display: none; }
  .home-page { padding: 0 16px; }
  .home-hero { padding: 28px 0 48px; }
  .hero-mark { width: min(70%, 260px); padding: 16px; }
  .membership-banner .btn { justify-self: start; }
}
@media (max-width: 640px) {
  .site-nav .hide-sm { display: none; }
}
