/* ================================================================
   Lunox — Complete Styles
   Theme: #F60000 · #065143 · #129490 · #060606
================================================================ */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --red: #f60000;
  --green: #065143;
  --teal: #129490;
  --black: #060606;
  --card: rgba(12, 12, 12, 0.92);
  --border: rgba(255, 255, 255, 0.07);
  --b2: rgba(255, 255, 255, 0.13);
  --white: #f0f0f0;
  --t1: #d0d0d0;
  --t2: #666;
  --t3: #3a3a3a;
  --r: 14px;
  --rs: 8px;
  --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--black);
  color: var(--t1);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── BG canvas ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Scroll wrapper ── */
#scroll-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  width: fit-content;
  height: 100vh;
  transition: transform 0.76s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

/* ── Panels ── */
.panel {
  position: relative;
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Logo bar ── */
.logo-bar {
  position: absolute;
  top: 22px;
  left: 26px;
  z-index: 10;
}
.logo-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

/* ── Auth bar ── */
#auth-bar {
  position: fixed;
  top: 18px;
  right: 56px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-email-disp {
  font-size: 0.76rem;
  color: var(--t2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 10px;
}
.user-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.badge-pro {
  background: rgba(18, 148, 144, 0.15);
  border: 1px solid rgba(18, 148, 144, 0.4);
  color: var(--teal);
}
.badge-studio {
  background: rgba(246, 0, 0, 0.12);
  border: 1px solid rgba(246, 0, 0, 0.35);
  color: var(--red);
}
.ab-ghost {
  background: transparent;
  color: var(--t1);
  border: none;
  padding: 7px 13px;
  border-radius: var(--rs);
  cursor: pointer;
  font-size: 0.82rem;
  font-family: inherit;
  transition: var(--ease);
}
.ab-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}
.ab-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--b2);
  padding: 7px 15px;
  border-radius: var(--rs);
  cursor: pointer;
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 600;
  transition: var(--ease);
}
.ab-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ── Side nav ── */
#side-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}
.nav-dot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t3);
  border: 1.5px solid var(--t3);
  display: block;
  transition: var(--ease);
}
.nav-dot.active::after,
.nav-dot:hover::after {
  background: var(--red);
  border-color: var(--red);
  box-shadow:
    0 0 10px var(--red),
    0 0 20px rgba(246, 0, 0, 0.3);
  width: 10px;
  height: 10px;
}
.nd-label {
  font-size: 0.67rem;
  color: var(--t2);
  opacity: 0;
  transform: translateX(4px);
  transition: var(--ease);
  white-space: nowrap;
  pointer-events: none;
}
.nav-dot:hover .nd-label {
  opacity: 1;
  transform: translateX(0);
}

/* ════════════════════ PANEL 1 — GENERATOR ═══════════════ */
.hero-layout {
  display: flex;
  gap: 28px;
  width: min(1180px, 95vw);
  height: 88vh;
  align-items: stretch;
}

/* LEFT */
.hero-left {
  flex: 0 0 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  padding-top: 56px;
}
.hero-title {
  font-size: clamp(3.2rem, 5.5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(
    135deg,
    #fff 0%,
    var(--red) 55%,
    var(--teal) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 0.9rem;
  color: var(--t2);
  line-height: 1.55;
}

.gen-card {
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.gen-card.blurred {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}

.prompt-textarea {
  width: 100%;
  min-height: 108px;
  resize: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  color: var(--white);
  font-size: 0.87rem;
  padding: 11px 12px;
  line-height: 1.65;
  font-family: inherit;
  outline: none;
  transition: border-color var(--ease);
  scrollbar-width: none;
}
.prompt-textarea::-webkit-scrollbar {
  display: none;
}
.prompt-textarea::placeholder {
  color: var(--t3);
}
.prompt-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 148, 144, 0.1);
}

.gen-row {
  display: flex;
  gap: 9px;
  align-items: center;
}
.upload-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 0.79rem;
  color: var(--t2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 9px 12px;
  transition: var(--ease);
  flex: 1;
}
.upload-btn:hover {
  border-color: var(--teal);
  color: var(--white);
}

.select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.sel-icon {
  position: absolute;
  left: 10px;
  color: var(--t2);
  pointer-events: none;
  z-index: 1;
}
.aspect-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  color: var(--white);
  padding: 9px 14px 9px 30px;
  font-size: 0.79rem;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  transition: var(--ease);
  min-width: 140px;
}
.aspect-select:focus {
  border-color: var(--teal);
}
.aspect-select option {
  background: #1a1a1a;
  color: #fff;
}

.ref-previews {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.ref-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--teal);
}

.btn-generate {
  width: 100%;
  background: var(--red);
  border: none;
  border-radius: var(--rs);
  color: #fff;
  padding: 13px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--ease);
  box-shadow: 0 4px 20px rgba(246, 0, 0, 0.3);
  letter-spacing: 0.02em;
}
.btn-generate:hover:not(:disabled) {
  background: #d40000;
  box-shadow: 0 4px 30px rgba(246, 0, 0, 0.5);
  transform: translateY(-1px);
}
.btn-generate:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.lumens-bar {
  display: flex;
  align-items: center;
  gap: 9px;
}
.lumens-dots {
  display: flex;
  gap: 5px;
}
.lumen-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}
.lumen-dot.used {
  background: var(--teal);
}
.lumen-dot.maxed {
  background: var(--red);
}
.lumens-text {
  font-size: 0.73rem;
  color: var(--t2);
}

/* RIGHT — OUTPUT */
.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 56px;
  min-width: 0;
}
.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}
.output-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t2);
}
.output-count {
  font-size: 0.7rem;
  color: var(--t3);
}

.output-panel {
  flex: 1;
  overflow-y: auto;
  background: rgba(8, 8, 8, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--teal) transparent;
}
.output-panel::-webkit-scrollbar {
  width: 3px;
}
.output-panel::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 3px;
}

.output-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 300px;
  gap: 12px;
  color: var(--t3);
  text-align: center;
}
.placeholder-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.output-placeholder p {
  font-size: 0.86rem;
  color: var(--t2);
}
.output-placeholder span {
  font-size: 0.73rem;
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 11px;
}

.img-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #0f0f0f;
  cursor: zoom-in;
  border: 1px solid var(--border);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.img-wrap:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.6);
  border-color: var(--teal);
  z-index: 2;
}
.img-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.2s;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px;
}
.img-wrap:hover .img-overlay {
  opacity: 1;
}
.zoom-hint {
  font-size: 0.67rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 4px;
}
.save-btn {
  background: var(--red);
  border: none;
  border-radius: 6px;
  color: #fff;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--ease);
}
.save-btn:hover {
  background: #d40000;
}

/* ════════════════════ PANEL 2 — WHY LUNOX ═══════════════ */
.why-layout {
  display: flex;
  gap: 64px;
  width: min(1100px, 92vw);
  align-items: center;
  height: 86vh;
}
.why-canvas-wrap {
  flex: 0 0 400px;
  position: relative;
  height: min(480px, 68vh);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(6, 81, 67, 0.08);
}
#neural-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.neural-badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6, 81, 67, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(18, 148, 144, 0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.why-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(18, 148, 144, 0.3);
  border-radius: 20px;
  padding: 4px 12px;
  width: fit-content;
}
.section-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
}
.accent-red {
  color: var(--red);
}
.section-desc {
  font-size: 0.88rem;
  color: var(--t2);
  line-height: 1.75;
  max-width: 46ch;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.step-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.08em;
  min-width: 26px;
  padding-top: 2px;
}
.step-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.step-body strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white);
}
.step-body span {
  font-size: 0.78rem;
  color: var(--t2);
}

.why-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 4px;
}
.wstat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wstat strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white);
}
.wstat span {
  font-size: 0.72rem;
  color: var(--t2);
}
.wstat-div {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ════════════════════ PANEL 3 — PRICING ═════════════════ */
#panel-2 {
  background: linear-gradient(
    180deg,
    var(--black) 0%,
    rgba(6, 81, 67, 0.07) 50%,
    var(--black) 100%
  );
}
.pricing-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: min(1100px, 94vw);
  padding: 12px 0;
}
.pricing-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pricing-sub {
  font-size: 0.88rem;
  color: var(--t2);
  max-width: 52ch;
  text-align: center;
  line-height: 1.65;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}
.plan-card {
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition:
    border-color 0.3s,
    transform 0.3s;
  backdrop-filter: blur(14px);
}
.plan-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}
.plan-featured {
  border-color: var(--teal);
  background: rgba(18, 148, 144, 0.06);
  box-shadow:
    0 0 0 1px var(--teal),
    0 18px 55px rgba(18, 148, 144, 0.14);
}
.plan-featured:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px var(--teal),
    0 26px 70px rgba(18, 148, 144, 0.2);
}
.plan-pop-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 13px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-name {
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t2);
}
.plan-price {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}
.plan-per {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--t2);
  letter-spacing: 0;
}
.plan-desc {
  font-size: 0.79rem;
  color: var(--t2);
  line-height: 1.6;
}

.plan-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.plan-feats li {
  font-size: 0.81rem;
  color: var(--t1);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.plan-feats li em {
  font-style: normal;
  font-size: 0.74rem;
  color: var(--t2);
}
.fi {
  font-style: normal;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.fi.yes {
  color: var(--teal);
}
.fi.no {
  color: var(--t3);
}
.plan-feats li:has(.fi.no) {
  color: var(--t3);
}

.plan-btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--rs);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: var(--ease);
  letter-spacing: 0.02em;
}
.btn-ghost-plan {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--t1);
}
.btn-ghost-plan:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--b2);
}
.btn-teal-plan {
  background: var(--teal);
  border: none;
  color: #fff;
  box-shadow: 0 4px 18px rgba(18, 148, 144, 0.35);
}
.btn-teal-plan:hover {
  background: #0e7e7a;
  box-shadow: 0 4px 26px rgba(18, 148, 144, 0.5);
  transform: translateY(-1px);
}
.btn-outline-plan {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}
.btn-outline-plan:hover {
  border-color: var(--red);
  color: var(--red);
}
.pricing-note {
  font-size: 0.74rem;
  color: var(--t3);
  text-align: center;
}

/* ════════════════════ PANEL 4 — FOOTER ══════════════════ */
.panel-footer {
  align-items: stretch;
  justify-content: stretch;
}
.footer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}
.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 56px 8vw 32px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo-mark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--t2);
  line-height: 1.6;
  max-width: 20ch;
}
.footer-cols {
  display: flex;
  gap: 48px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t2);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.82rem;
  color: var(--t2);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-col a:hover {
  color: var(--white);
}
.ext-link {
  font-size: 0.82rem !important;
}
.social-a {
  font-size: 0.82rem !important;
  gap: 7px !important;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 0.75rem;
  color: var(--t3);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--t3);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--t2);
}

/* ════════════════════ MODALS ════════════════════════════ */
.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.15s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.modal-box {
  background: #0e0e0e;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  width: min(400px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}
.modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--t1);
  width: 30px;
  height: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
}
.modal-x:hover {
  background: rgba(255, 255, 255, 0.13);
}
.modal-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}
.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.modal-sub {
  font-size: 0.83rem;
  color: var(--t2);
  line-height: 1.6;
}
.modal-switch-line {
  font-size: 0.82rem;
  color: var(--t2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.field-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 10px 13px;
  transition: border-color var(--ease);
}
.field-wrap:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 148, 144, 0.1);
}
.field-wrap svg {
  flex-shrink: 0;
  color: var(--t2);
}
.field-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 0.86rem;
  font-family: inherit;
}
.field-wrap input::placeholder {
  color: var(--t3);
}
.field-err {
  font-size: 0.8rem;
  color: var(--red);
}
.auth-forgot-wrap {
  text-align: right;
  margin-top: -8px;
}
.link-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--teal);
  padding: 0;
  transition: color 0.2s;
}
.link-btn:hover {
  color: var(--white);
}
.btn-primary-full {
  width: 100%;
  background: var(--red);
  border: none;
  border-radius: var(--rs);
  color: #fff;
  padding: 13px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: var(--ease);
  box-shadow: 0 4px 18px rgba(246, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary-full:hover:not(:disabled) {
  background: #d40000;
  transform: translateY(-1px);
}
.btn-primary-full:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn-ghost-full {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  color: var(--t1);
  padding: 11px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  transition: var(--ease);
}
.btn-ghost-full:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Limit modal */
.limit-box {
  text-align: center;
  gap: 14px;
}
.limit-icon {
  font-size: 2.2rem;
}

/* Zoom modal */
.zoom-bg {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.zoom-bg img {
  max-width: min(880px, 90vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
  cursor: default;
}
.zoom-x {
  position: fixed;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #fff;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
}
.zoom-x:hover {
  background: rgba(255, 255, 255, 0.16);
}
.zoom-dl {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  border: none;
  border-radius: var(--rs);
  color: #fff;
  padding: 10px 24px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 18px rgba(246, 0, 0, 0.4);
  transition: var(--ease);
}
.zoom-dl:hover {
  background: #d40000;
}

/* ── Utilities ── */
.hidden {
  display: none !important;
}

/* ════════════════════ RESPONSIVE ════════════════════════ */
@media (max-width: 900px) {
  .hero-layout {
    flex-direction: column;
    height: auto;
    padding: 80px 16px 100px;
  }
  .hero-left {
    flex: unset;
    padding-top: 0;
  }
  .hero-right {
    padding-top: 0;
    flex: unset;
    height: 340px;
  }
  .why-layout {
    flex-direction: column;
    gap: 24px;
    height: auto;
    padding: 24px 16px;
  }
  .why-canvas-wrap {
    flex: unset;
    height: 200px;
    width: 100%;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .plan-featured {
    order: -1;
  }
  .footer-top {
    flex-direction: column;
    gap: 28px;
  }
  .footer-cols {
    flex-wrap: wrap;
    gap: 24px;
  }
  #side-nav {
    top: auto;
    bottom: 14px;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
    gap: 14px;
  }
  .nd-label {
    display: none;
  }
  #auth-bar {
    top: auto;
    bottom: 60px;
    right: 50%;
    transform: translateX(50%);
  }
}
