:root {
  --bg: #0c0d14;
  --bg-alt: #131520;
  --card: #191c2b;
  --card-hover: #21253a;
  --border: #2a2f47;
  --accent: #a855f7;
  --accent-2: #6366f1;
  --accent-glow: rgba(168, 85, 247, 0.25);
  --text: #f3f4f8;
  --text-muted: #9ca3af;
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 13, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.hero-avatar-wrap {
  margin-bottom: 18px;
}

.hero-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 0 32px var(--accent-glow);
}

.sheet-banner-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 32px;
  text-align: center;
}

.sheet-banner-card img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 10px;
  cursor: zoom-in;
  background: #fff;
}

.sheet-caption {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.tier-matrix-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 16px;
}

.tier-matrix-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-alt);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.tier-matrix-price {
  color: #c084fc;
  font-weight: 700;
}

.style-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.lang-switch {
  display: flex;
  gap: 6px;
}

.lang-btn {
  background: var(--card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: transparent;
}

/* Hero */
.hero {
  padding: 84px 0 64px;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, rgba(168, 85, 247, 0.16), transparent 60%);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-tagline {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 660px;
  margin: 0 auto 24px;
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.badge {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #d1d5db;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-full {
  width: 100%;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.social-chip {
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  text-decoration: none;
}

.social-chip:hover {
  color: #fff;
  border-color: var(--accent);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 42px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-muted);
}

/* Filter & Gallery */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  background: var(--card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.gallery-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.gallery-meta {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.gallery-tag {
  font-size: 0.75rem;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.14);
  padding: 3px 9px;
  border-radius: 999px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.price-tag {
  font-size: 2rem;
  font-weight: 800;
  color: #c084fc;
  margin: 10px 0 14px;
}

.price-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

/* Will / Won't Draw */
.prefs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.pref-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.pref-yes {
  border-left: 4px solid var(--success);
}

.pref-no {
  border-left: 4px solid var(--danger);
}

.pref-card h3 {
  margin-bottom: 14px;
}

.pref-card ul {
  list-style: none;
}

.pref-card li {
  padding: 6px 0;
  color: #d1d5db;
  font-size: 0.95rem;
}

/* Calculator */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 860px) {
  .calc-wrapper {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

.calc-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.tier-selector,
.char-count-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
}

.tier-option,
.char-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}

.tier-option.active,
.char-btn.active {
  border-color: var(--accent);
  background: rgba(168, 85, 247, 0.15);
}

.tier-option-name {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
}

.tier-option-price {
  color: #c084fc;
  font-weight: 700;
  font-size: 1.05rem;
}

.addons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 11px 14px;
  border-radius: 10px;
  cursor: pointer;
}

.addon-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.addon-price {
  color: #c084fc;
  font-weight: 600;
  font-size: 0.9rem;
}

input[type="text"],
textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
}

input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* Summary Card */
.summary-card {
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 88px;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.total-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: #c084fc;
}

.summary-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.order-preview-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.order-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  white-space: pre-wrap;
  color: #e5e7eb;
  margin-bottom: 16px;
  max-height: 210px;
  overflow-y: auto;
}

.summary-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.copy-toast {
  margin-top: 12px;
  padding: 10px;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  border-radius: 8px;
  text-align: center;
  font-size: 0.86rem;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.step-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.step-card h4 {
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lb-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox img {
  max-width: 82vw;
  max-height: 82vh;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.lb-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
}

.lb-nav {
  background: rgba(25, 28, 43, 0.85);
  border: 1px solid var(--border);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-nav:hover,
.lb-close:hover {
  border-color: var(--accent);
}

.lightbox-caption {
  margin-top: 12px;
  font-weight: 600;
}

.direct-handles {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.handle-pill {
  flex: 1;
  min-width: 120px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  cursor: pointer;
  text-align: center;
}

.handle-pill:hover {
  color: #fff;
  border-color: var(--accent);
}

.tos-rules-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.footer {
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--border);
}
