:root {
  --bg: #050811;
  --panel: #0a1020;
  --panel2: #0d1427;
  --text: #f5f8ff;
  --muted: #91a1bf;
  --line: rgba(255, 255, 255, 0.09);
  --blue: #5d7dff;
  --cyan: #66d6ff;
  --gold: #e9bd55;
  --green: #48d99a;
  --red: #ff6f7e;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(
      circle at 20% -10%,
      rgba(71, 104, 255, 0.11),
      transparent 30%
    ),
    var(--bg);
  color: var(--text);
  font-family: Inter, "Noto Sans Devanagari", "Segoe UI", sans-serif;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
main {
  min-height: 70vh;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4vw;
  background: rgba(5, 8, 17, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  font-size: 18px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #7788a8;
  font-weight: 600;
  text-transform: uppercase;
}
.mark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 28px;
  height: 28px;
}
.mark i {
  display: block;
  width: 6px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}
.mark i:nth-child(1) {
  height: 10px;
}
.mark i:nth-child(2) {
  height: 18px;
}
.mark i:nth-child(3) {
  height: 27px;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: #b5c2dc;
}
.navlinks a:hover,
.linkbtn:hover {
  color: #fff;
}
.navcta,
.plan-chip,
.wallet-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
}
.navcta {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #061020 !important;
  border: none;
  font-weight: 800;
}
.wallet-chip {
  display: flex;
  gap: 6px;
  align-items: center;
  background: rgba(91, 124, 255, 0.1);
}
.wallet-chip span {
  color: var(--cyan);
}
.wallet-chip b {
  color: #fff;
}
.plan-chip {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #d5ddf1 !important;
}
.inline {
  display: inline;
}
.linkbtn {
  border: 0;
  background: none;
  color: #b5c2dc;
  padding: 0;
}
.toasts {
  position: fixed;
  top: 76px;
  right: 24px;
  z-index: 80;
  display: grid;
  gap: 10px;
  max-width: 430px;
}
.toast {
  padding: 14px 17px;
  border: 1px solid rgba(102, 214, 255, 0.24);
  background: #0d1729;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 13px;
}
.toast.error {
  border-color: rgba(255, 111, 126, 0.35);
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #78cfff;
  text-transform: uppercase;
}
.muted {
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 800;
  background: #11192a;
  color: #fff;
}
.btn.primary {
  background: linear-gradient(135deg, #496cff, #67d1ff);
  border: 0;
  color: #061020;
  box-shadow: 0 14px 36px rgba(75, 112, 255, 0.24);
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
}
.btn.gold-btn {
  background: linear-gradient(135deg, #8a671c, #f5d980);
  border: 0;
  color: #1b1305;
}
.btn.full {
  width: 100%;
}
.btn.large {
  padding: 15px 24px;
}
.text-link {
  color: #8bd7ff;
  font-size: 13px;
}
.hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 90px 5vw 60px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 60px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 18px 0 22px;
  max-width: 780px;
}
.hero-copy h1 span {
  background: linear-gradient(90deg, #fff, #76d7ff 45%, #778dff);
  -webkit-background-clip: text;
  color: transparent;
}
.hero-copy > p {
  font-size: 17px;
  color: #a8b6cf;
  max-width: 720px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin: 30px 0 22px;
}
.trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #7184a5;
  font-size: 11px;
}
.hero-visual {
  min-height: 550px;
  position: relative;
}
.visual-glow {
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(
    circle,
    rgba(75, 113, 255, 0.28),
    transparent 65%
  );
  filter: blur(30px);
}
.visual-stage {
  position: absolute;
  inset: 40px 0 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background: linear-gradient(145deg, #0d1730, #070b16 65%);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  padding: 32px;
}
.visual-stage:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(61, 101, 255, 0.12);
  right: -150px;
  top: -120px;
}
.visual-top {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #8ca0c5;
  display: flex;
  gap: 8px;
  align-items: center;
}
.visual-top b {
  margin-left: auto;
  color: #68e1ab;
}
.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #57dfa4;
  box-shadow: 0 0 14px #57dfa4;
}
.visual-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 21, 41, 0.84);
  backdrop-filter: blur(16px);
  border-radius: 20px;
}
.main-ad {
  position: absolute;
  left: 32px;
  right: 90px;
  top: 115px;
  bottom: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(12, 21, 41, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  z-index: 4;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}
.main-ad small {
  color: #76d4ff;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.main-ad h3 {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 28px 0 16px;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #f5f8ff;
  white-space: normal;
  overflow-wrap: break-word;
}
.main-ad p {
  width: 100%;
  max-width: 480px;
  margin: 0;
  color: #99a9c5;
  font-size: 14px;
  line-height: 1.65;
}
.fake-cta {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #66d2ff;
  color: #061020;
  font-weight: 800;
  font-size: 12px;
}
.floating {
  padding: 15px 18px;
  min-width: 150px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  z-index: 5;
}
.floating b {
  display: block;
}
.floating small {
  color: #7e91b3;
}
.floating.one {
  right: 25px;
  top: 85px;
}
.floating.two {
  right: 15px;
  top: 190px;
}
.floating.three {
  right: 35px;
  bottom: 32px;
}
.section {
  max-width: 1420px;
  margin: 0 auto;
  padding: 80px 5vw;
}
.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 12px 0;
}
.section-head p {
  color: #8fa0be;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.018)
  );
  min-height: 220px;
}
.feature-grid article > span {
  font-size: 11px;
  color: #68ceff;
  font-weight: 800;
}
.feature-grid h3 {
  font-size: 20px;
  margin: 38px 0 10px;
}
.feature-grid p {
  color: #8799b8;
  font-size: 13px;
}
.formats-section {
  padding-top: 40px;
}
.format-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.format-strip span {
  padding: 22px 14px;
  text-align: center;
  font-size: 11px;
  color: #98a9c6;
  border-right: 1px solid var(--line);
}
.format-strip span:last-child {
  border-right: 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.price-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #0a1020;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}
.price-card.featured {
  border-color: rgba(97, 134, 255, 0.55);
  background: linear-gradient(160deg, rgba(64, 92, 202, 0.19), #0a1020 46%);
}
.price-card.gold {
  border-color: rgba(233, 189, 85, 0.35);
  background: linear-gradient(160deg, rgba(117, 84, 16, 0.16), #0a1020 46%);
}
.popular {
  position: absolute;
  right: 22px;
  top: -11px;
  background: #6b86ff;
  color: #fff;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.price-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.price-top span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #8496b6;
}
.price-top strong {
  font-size: 28px;
}
.coins {
  font-size: 44px;
  font-weight: 900;
  margin: 24px 0 4px;
  letter-spacing: -0.05em;
}
.coins small {
  font-size: 14px;
  color: #7e91b2;
  letter-spacing: 0;
}
.price-card > p {
  color: #8698b6;
  font-size: 13px;
  min-height: 58px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 11px;
  font-size: 12px;
  color: #a7b5cd;
}
.price-card li:before {
  content: "✓";
  color: #65d5a0;
  margin-right: 8px;
}
.cost-note {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 18px;
  color: #8fa1be;
  font-size: 12px;
}
.dashboard-shell,
.page-shell,
.builder-shell,
.form-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 54px 5vw 80px;
}
.dashboard-hero,
.builder-head,
.pricing-hero,
.wallet-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 30px;
}
.dashboard-hero h1,
.builder-head h1,
.pricing-hero h1,
.form-page-head h1 {
  font-size: 44px;
  letter-spacing: -0.04em;
  margin: 8px 0;
}
.dashboard-hero p,
.builder-head p,
.pricing-hero p,
.form-page-head p {
  color: #8fa0bd;
  max-width: 760px;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}
.account-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0a1020;
}
.account-card small {
  display: block;
  color: #7185a8;
  font-size: 9px;
  letter-spacing: 0.11em;
}
.account-card strong {
  display: block;
  font-size: 34px;
  margin: 10px 0 2px;
}
.account-card strong.plan-name {
  font-size: 23px;
}
.account-card span {
  display: block;
  color: #8395b3;
  font-size: 11px;
}
.account-card a {
  display: inline-block;
  margin-top: 14px;
  color: #80d7ff;
  font-size: 11px;
}
.coin-card {
  background: linear-gradient(145deg, rgba(71, 103, 255, 0.22), #0a1020);
}
.setup-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid rgba(102, 214, 255, 0.18);
  background: rgba(71, 108, 255, 0.08);
  border-radius: 18px;
  margin: 28px 0;
}
.setup-banner p {
  margin: 4px 0 0;
  color: #8497b5;
  font-size: 12px;
}
.library-section {
  margin-top: 40px;
}
.library-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
}
.library-head h2 {
  margin: 4px 0;
  font-size: 26px;
}
.library-head p {
  margin: 4px 0;
  color: #7f90ae;
  font-size: 12px;
}
.campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.campaign-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #0a1020;
  transition: 0.2s;
}
.campaign-card:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 214, 255, 0.25);
}
.campaign-preview {
  aspect-ratio: 1.65/1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(
      circle at 70% 15%,
      rgba(98, 214, 255, 0.18),
      transparent 35%
    ),
    linear-gradient(135deg, #081224, #162c65);
}
.campaign-preview > span {
  align-self: flex-start;
  font-size: 8px;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 5px 8px;
}
.campaign-preview small {
  color: #94a9ca;
}
.campaign-preview h3 {
  font-size: 26px;
  line-height: 1.05;
  max-width: 75%;
  margin: 8px 0;
}
.campaign-meta {
  display: flex;
  justify-content: space-between;
  padding: 16px;
}
.campaign-meta b {
  display: block;
}
.campaign-meta span {
  display: block;
  font-size: 10px;
  color: #7689aa;
  margin-top: 4px;
}
.campaign-meta em {
  font-style: normal;
  color: #70d3ff;
  font-size: 11px;
}
.empty-state {
  grid-column: 1/-1;
  padding: 70px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 20px;
}
.empty-icon {
  font-size: 32px;
  color: #6ad6ff;
}
.activity-mini {
  margin-top: 44px;
}
.txn-list {
  display: grid;
  gap: 8px;
}
.txn-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0a1020;
}
.txn-row small {
  display: block;
  color: #7689aa;
  font-size: 10px;
}
.txn-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.txn-icon.plus {
  background: rgba(72, 217, 154, 0.1);
  color: #62e3aa;
}
.txn-icon.minus {
  background: rgba(255, 111, 126, 0.08);
  color: #ff8e9a;
}
.txn-row strong.credit {
  color: #62e3aa;
}
.txn-row strong.debit {
  color: #ff8995;
}
.txn-list.full .txn-row {
  grid-template-columns: 38px 1fr auto 80px;
}
.txn-row em {
  font-style: normal;
  color: #7588a9;
  font-size: 10px;
  text-align: right;
}
.pricing-page {
  margin-top: 30px;
}
.current-plan-box,
.builder-balance {
  border: 1px solid var(--line);
  background: #0a1020;
  border-radius: 18px;
  padding: 18px 22px;
  min-width: 220px;
}
.current-plan-box small,
.builder-balance small {
  display: block;
  color: #7183a3;
  font-size: 9px;
  letter-spacing: 0.1em;
}
.current-plan-box b,
.builder-balance b {
  display: block;
  font-size: 20px;
  margin: 5px 0;
}
.current-plan-box span,
.builder-balance span {
  color: #8294b2;
  font-size: 11px;
}
.coin-cost-panel {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0a1020;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.coin-cost-panel h2 {
  margin: 6px 0;
}
.cost-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  flex: 1;
}
.cost-grid span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #7e91b0;
  font-size: 10px;
}
.cost-grid b {
  display: block;
  color: #fff;
  font-size: 20px;
}
.wallet-hero {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(72, 104, 255, 0.22), #0a1020);
}
.wallet-hero h1 {
  font-size: 64px;
  line-height: 1;
  margin: 10px 0;
}
.wallet-hero h1 span {
  font-size: 20px;
  color: #91a2c0;
}
.wallet-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.wallet-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0a1020;
  padding: 22px;
}
.purchase-list {
  display: grid;
  gap: 8px;
}
.purchase-list > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
}
.purchase-list b,
.purchase-list span,
.purchase-list em {
  display: block;
}
.purchase-list span {
  font-size: 11px;
  color: #8093b1;
}
.purchase-list em {
  font-style: normal;
  font-size: 9px;
  text-transform: uppercase;
  margin-top: 6px;
}
.status-paid {
  color: #62e3aa;
}
.status-pending {
  color: #e9bd55;
}
.builder-form {
  display: grid;
  gap: 16px;
}
.form-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  background: #0a1020;
}
.panel-title {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.panel-title > span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(94, 126, 255, 0.14);
  color: #7fd7ff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}
.panel-title h2 {
  margin: 0;
}
.panel-title p {
  margin: 4px 0 0;
  color: #8193b1;
  font-size: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.form-grid.compact {
  gap: 12px;
}
.field.wide {
  grid-column: 1/-1;
}
.field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #a4b3cb;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #070c17;
  color: #fff;
  border-radius: 11px;
  padding: 12px 13px;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(102, 214, 255, 0.36);
  box-shadow: 0 0 0 3px rgba(102, 214, 255, 0.05);
}
.field input[type="color"] {
  height: 46px;
  padding: 5px;
}
.field input[type="file"] {
  padding: 10px;
}
.field small {
  display: block;
  color: #697c9d;
  font-size: 9px;
  margin-top: 6px;
}
.field-error {
  display: block;
  color: #ff8995;
  font-size: 10px;
  margin-top: 6px;
  font-style: normal;
}
.scene-form-grid {
  display: grid;
  gap: 12px;
}
.scene-form-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #080e1b;
}
.scene-form-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: #7891b8;
  font-size: 9px;
  font-weight: 800;
}
.generation-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 26px;
  border: 1px solid rgba(102, 214, 255, 0.18);
  border-radius: 18px;
  background: rgba(80, 115, 255, 0.08);
}
.generation-summary h3 {
  margin: 5px 0;
}
.generation-summary p {
  color: #7f92b1;
  font-size: 11px;
  margin: 4px 0;
}
.form-page {
  max-width: 1100px;
}
.form-page-head {
  margin-bottom: 24px;
}
.brand-form {
  margin-top: 20px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.editor {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  min-height: calc(100vh - 68px);
}
.editor-side {
  border-right: 1px solid var(--line);
  padding: 28px 24px;
  background: #070b15;
}
.editor-side h1 {
  font-size: 24px;
  line-height: 1.15;
  margin: 9px 0;
}
.back-link {
  display: inline-block;
  color: #7186a9;
  font-size: 11px;
  margin-bottom: 22px;
}
.editor-wallet {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(102, 214, 255, 0.18);
  border-radius: 13px;
  background: rgba(75, 110, 255, 0.08);
  margin: 18px 0;
}
.editor-wallet > span {
  color: #6ad6ff;
}
.editor-wallet small {
  display: block;
  color: #6f82a5;
  font-size: 8px;
}
.editor-wallet b {
  font-size: 14px;
}
.editor-wallet a {
  font-size: 10px;
  color: #82d8ff;
}
.creative-meta {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 7px 10px;
  padding: 0 2px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}
.creative-meta dt {
  color: #677a9c;
}
.creative-meta dd {
  margin: 0;
  color: #d1d9ea;
}
.engine-picker,
.export-stack {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.engine-label {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #667b9e;
  margin-bottom: 2px;
}
.engine-option,
.export-btn {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #0b111f;
  text-align: left;
  color: #fff;
}
.engine-option:hover,
.export-btn:hover {
  border-color: rgba(102, 214, 255, 0.28);
  background: #0d1526;
}
.engine-option.camera {
  background: linear-gradient(
    135deg,
    rgba(69, 93, 187, 0.15),
    rgba(7, 13, 25, 0.85)
  );
}
.engine-option.locked {
  opacity: 0.72;
}
.engine-icon,
.export-btn > span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(94, 127, 255, 0.12);
  color: #79d5ff;
  font-weight: 900;
  font-size: 10px;
}
.engine-option b,
.export-btn b {
  display: block;
  font-size: 11px;
}
.engine-option small,
.export-btn small {
  display: block;
  color: #7184a5;
  font-size: 8px;
  line-height: 1.35;
  margin-top: 2px;
}
.engine-option em,
.export-btn em {
  font-style: normal;
  color: #7dd5ff;
  font-size: 9px;
}
.export-btn {
  width: 100%;
}
.premium-export {
  border-color: rgba(89, 127, 255, 0.23);
}
.record-status {
  min-height: 18px;
  color: #7ecfff;
  font-size: 9px;
}
.delete-form {
  margin-top: 16px;
}
.danger {
  border: 1px solid rgba(255, 111, 126, 0.34);
  background: rgba(135, 25, 42, 0.14);
  color: #ff8c98;
  border-radius: 11px;
  padding: 11px;
}
.canvas-area {
  padding: 24px;
  min-width: 0;
}
.canvasbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: #889abc;
  font-size: 10px;
}
.canvasbar span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.canvasbar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55d99e;
  box-shadow: 0 0 12px #55d99e;
}
.canvasbar button {
  border: 1px solid var(--line);
  background: #0b111f;
  color: #9fb0cc;
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 9px;
}
.mode-ribbon {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #0a1020;
}
.mode-ribbon span {
  font-size: 9px;
  font-weight: 800;
  color: #79d6ff;
}
.mode-ribbon em {
  font-style: normal;
  color: #7184a6;
  font-size: 8px;
}
.canvas-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 35%, #101a31, #040711 70%);
  padding: 18px;
  overflow: hidden;
}
.canvas-wrap canvas {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}
.scene-timeline {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 14px 0;
}
.timeline-scene {
  min-width: 190px;
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px;
  background: #0a1020;
}
.timeline-scene > span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(94, 127, 255, 0.12);
  display: grid;
  place-items: center;
  color: #79d3ff;
  font-size: 8px;
}
.timeline-scene b {
  display: block;
  font-size: 9px;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-scene small {
  display: block;
  color: #7082a1;
  font-size: 7px;
}
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.quality-grid > div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0a1020;
}
.quality-grid small {
  display: block;
  color: #6e82a4;
  font-size: 7px;
  letter-spacing: 0.08em;
}
.quality-grid b {
  display: block;
  font-size: 10px;
  margin: 5px 0;
}
.quality-grid span {
  display: block;
  color: #7486a4;
  font-size: 8px;
}
.checkout-shell {
  max-width: 620px;
  margin: 0 auto;
  padding: 70px 24px;
}
.checkout-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #0a1020;
  box-shadow: var(--shadow);
}
.checkout-card h1 {
  font-size: 38px;
  margin: 8px 0;
}
.checkout-price {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.checkout-price strong {
  font-size: 38px;
}
.checkout-price span {
  color: #7f91af;
}
.checkout-card ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  margin: 24px 0;
}
.checkout-card li {
  color: #9babc5;
  font-size: 12px;
}
.checkout-card li:before {
  content: "✓";
  color: #62dba5;
  margin-right: 8px;
}
.dev-notice {
  padding: 14px;
  border: 1px solid rgba(233, 189, 85, 0.25);
  border-radius: 12px;
  background: rgba(107, 75, 8, 0.1);
  margin-bottom: 12px;
}
.dev-notice p {
  font-size: 10px;
  color: #a89268;
}
.dev-notice.error {
  border-color: rgba(255, 111, 126, 0.3);
}
.checkout-back {
  display: block;
  margin-top: 18px;
}
.auth-shell {
  max-width: 980px;
  margin: 60px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #0a1020;
}
.auth-art {
  padding: 50px;
  background: linear-gradient(145deg, rgba(78, 108, 255, 0.22), #08101f);
}
.auth-art h2 {
  font-size: 36px;
  line-height: 1.1;
}
.auth-art p {
  color: #91a1bd;
}
.auth-panel {
  padding: 50px;
}
.auth-panel h1 {
  margin: 8px 0 24px;
}
.auth-panel form p {
  display: grid;
  gap: 5px;
  font-size: 10px;
  color: #9dacbf;
}
.auth-panel input {
  width: 100%;
  border: 1px solid var(--line);
  background: #070c17;
  color: #fff;
  border-radius: 10px;
  padding: 11px;
}
.auth-panel ul {
  color: #7386a6;
  font-size: 9px;
  padding-left: 18px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 26px 5vw;
  border-top: 1px solid var(--line);
  color: #6e82a4;
  font-size: 10px;
}
footer b {
  color: #cdd6e8;
}
footer span {
  margin-left: 12px;
}
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 470px;
  }
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .account-grid {
    grid-template-columns: 1fr 1fr;
  }
  .campaign-grid {
    grid-template-columns: 1fr 1fr;
  }
  .format-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .format-strip span {
    border-bottom: 1px solid var(--line);
  }
  .editor {
    grid-template-columns: 290px 1fr;
  }
  .quality-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cost-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .nav {
    padding: 12px 18px;
  }
  .navlinks > a:not(.wallet-chip):not(.navcta),
  .plan-chip {
    display: none;
  }
  .navlinks {
    gap: 8px;
  }
  .wallet-chip {
    padding: 7px 9px;
  }
  .hero,
  .section,
  .dashboard-shell,
  .page-shell,
  .builder-shell,
  .form-page {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero {
    padding-top: 55px;
  }
  .hero-visual {
    height: auto;
    min-height: 0;
    margin-top: 34px;
  }
  .visual-stage {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-height: 0;
    padding: 18px;
    overflow: hidden;
  }
  .visual-top {
    position: relative;
    z-index: 6;
    width: 100%;
  }
  .main-ad {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 30px 24px;
    border-radius: 18px;
  }
  .main-ad h3 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.05;
  }
  .main-ad p {
    max-width: 100%;
  }
  .fake-cta {
    margin-top: 20px;
  }
  .floating {
    position: relative;
    inset: auto;
    display: flex;
    width: 100%;
    min-width: 0;
    margin: 0;
    box-shadow: none;
  }
  .floating.one,
  .floating.two,
  .floating.three {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }
  .feature-grid,
  .pricing-grid,
  .account-grid,
  .campaign-grid,
  .wallet-layout {
    grid-template-columns: 1fr;
  }
  .format-strip {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-hero,
  .builder-head,
  .pricing-hero,
  .wallet-hero,
  .generation-summary {
    align-items: flex-start;
    flex-direction: column;
  }
  .coin-cost-panel {
    flex-direction: column;
  }
  .cost-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.wide {
    grid-column: auto;
  }
  .editor {
    display: block;
  }
  .editor-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .canvas-area {
    padding: 12px;
  }
  .canvas-wrap {
    min-height: 320px;
    padding: 8px;
  }
  .quality-grid {
    grid-template-columns: 1fr;
  }
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-art {
    display: none;
  }
  .auth-panel {
    padding: 30px;
  }
  footer {
    flex-direction: column;
  }
  .txn-list.full .txn-row {
    grid-template-columns: 36px 1fr auto;
  }
  .txn-row em {
    display: none;
  }
}

/* FordPixel secure billing */
.pricing-grid-pro form {
  margin: 0;
}
.plans-wallet {
  min-width: 260px;
}
.plan-costs {
  margin-top: 26px;
}
.checkout-card-pro {
  position: relative;
  overflow: hidden;
}
.checkout-card-pro:before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  right: -120px;
  top: -130px;
  background: radial-gradient(
    circle,
    rgba(93, 125, 255, 0.25),
    transparent 70%
  );
  pointer-events: none;
}
.checkout-badge {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(72, 217, 154, 0.24);
  border-radius: 999px;
  background: rgba(72, 217, 154, 0.08);
  color: #73e8b5;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}
.checkout-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 26px 0;
}
.checkout-summary > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}
.checkout-summary span {
  display: block;
  color: #7284a4;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.checkout-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}
.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.checkout-total span {
  color: #8799b7;
  font-size: 11px;
}
.checkout-total strong {
  font-size: 34px;
  letter-spacing: -0.04em;
}
.payment-status {
  min-height: 18px;
  margin-top: 12px;
  color: #7f93b4;
  font-size: 9px;
  line-height: 1.5;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
@media (max-width: 760px) {
  .checkout-summary {
    grid-template-columns: 1fr;
  }
  .plans-wallet {
    min-width: 0;
    width: 100%;
  }
}

/* =========================================================
   FORDPIXEL FINAL RESPONSIVE CREATIVE PREVIEW
   ========================================================= */
.creative-workspace,
.creative-preview-panel {
  width: 100%;
  min-width: 0;
}
.canvas-area {
  min-width: 0;
}
.canvas-wrap,
.premium-canvas-wrap {
  position: relative;
  width: 100%;
  height: calc(100vh - 115px);
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(46, 110, 255, 0.1),
      transparent 42%
    ),
    radial-gradient(
      circle at 82% 70%,
      rgba(77, 214, 255, 0.06),
      transparent 35%
    ),
    #020711;
  border-radius: 0 0 18px 18px;
}
.canvas-wrap #creative,
.premium-canvas-wrap #creative {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
  border-radius: 18px;
  background: #040914;
  box-shadow:
    0 38px 110px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 90px rgba(46, 110, 255, 0.08);
  flex: 0 0 auto;
}
.canvas-wrap #creative[data-ratio="16:9"],
.canvas-wrap #creative[data-ratio="1.91:1"],
.premium-canvas-wrap #creative[data-ratio="16:9"],
.premium-canvas-wrap #creative[data-ratio="1.91:1"] {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.canvas-wrap #creative[data-ratio="1:1"],
.canvas-wrap #creative[data-ratio="9:16"],
.canvas-wrap #creative[data-ratio="4:5"],
.canvas-wrap #creative[data-ratio="3:4"],
.premium-canvas-wrap #creative[data-ratio="1:1"],
.premium-canvas-wrap #creative[data-ratio="9:16"],
.premium-canvas-wrap #creative[data-ratio="4:5"],
.premium-canvas-wrap #creative[data-ratio="3:4"] {
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: 100%;
}
@media (min-width: 1500px) {
  .canvas-wrap,
  .premium-canvas-wrap {
    height: calc(100vh - 100px);
    min-height: 760px;
    padding: 22px;
  }
}
@media (max-width: 1280px) {
  .canvas-wrap,
  .premium-canvas-wrap {
    height: calc(100vh - 115px);
    min-height: 620px;
    padding: 14px;
  }
}
@media (max-width: 900px) {
  .canvas-wrap,
  .premium-canvas-wrap {
    height: auto;
    min-height: 0;
    padding: 12px;
    overflow: visible;
  }
  .canvas-wrap #creative,
  .premium-canvas-wrap #creative,
  .canvas-wrap #creative[data-ratio],
  .premium-canvas-wrap #creative[data-ratio] {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
  }
}
@media (max-width: 600px) {
  .canvas-wrap,
  .premium-canvas-wrap {
    padding: 6px;
    border-radius: 12px;
  }
  .canvas-wrap #creative,
  .premium-canvas-wrap #creative {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}

/* =========================================================
   FORDPIXEL EDITOR V5 — FINAL PRODUCTION OVERRIDES
   ========================================================= */
.editor-v5 {
  grid-template-columns: 330px minmax(0, 1fr);
  background: #030814;
}
.editor-v5 .pro-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: calc(100vh - 64px);
  overflow: auto;
  padding: 22px 20px;
  background: linear-gradient(180deg, #050b16 0%, #040913 100%);
  scrollbar-width: thin;
}
.editor-v5 .pro-sidebar h1 {
  font-size: 24px;
  line-height: 1.08;
  margin: 10px 0 8px;
  letter-spacing: -0.025em;
}
.editor-v5 .creative-meta {
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.018);
}
.editor-v5 .creative-meta dt {
  font-size: 8px;
  color: #6680a8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.editor-v5 .creative-meta dd {
  font-size: 10px;
  color: #c8d5ea;
  margin: 0 0 9px;
  word-break: break-word;
}
.editor-v5 .engine-picker {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.editor-v5 .engine-picker-head p {
  font-size: 9px;
  line-height: 1.55;
  color: #7184a5;
  margin: 7px 0 3px;
}
.editor-v5 .engine-form {
  margin: 0;
}
.editor-v5 .engine-option {
  width: 100%;
  appearance: none;
  text-decoration: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px;
  border: 1px solid rgba(111, 142, 200, 0.18);
  border-radius: 16px;
  background: linear-gradient(
    145deg,
    rgba(15, 26, 50, 0.92),
    rgba(7, 13, 27, 0.98)
  );
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.editor-v5 button.engine-option {
  font: inherit;
}
.editor-v5 .engine-option:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 167, 255, 0.48);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 32px rgba(48, 104, 255, 0.08);
}
.editor-v5 .engine-option.camera {
  background:
    radial-gradient(
      circle at 86% 4%,
      rgba(95, 104, 255, 0.14),
      transparent 34%
    ),
    linear-gradient(145deg, rgba(15, 25, 53, 0.94), rgba(7, 13, 29, 0.99));
}
.editor-v5 .engine-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    145deg,
    rgba(69, 108, 255, 0.18),
    rgba(77, 211, 255, 0.08)
  );
  color: #75d9ff;
  font-size: 16px;
  font-weight: 900;
}
.editor-v5 .engine-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}
.editor-v5 .engine-content b {
  font-size: 12px;
  line-height: 1.25;
}
.editor-v5 .engine-content small {
  font-size: 9px;
  line-height: 1.5;
  color: #8092b1;
}
.editor-v5 .engine-content em {
  font-style: normal;
  color: #66dcff;
  font-size: 9px;
  font-weight: 800;
}
.editor-v5 .engine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.editor-v5 .engine-tags i {
  font-style: normal;
  font-size: 7px;
  color: #8bb8ff;
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(110, 161, 255, 0.12);
  background: rgba(83, 131, 255, 0.07);
}
.editor-v5 .engine-option.locked {
  opacity: 0.58;
}
.editor-v5 .export-stack {
  margin-top: 22px;
}
.editor-v5 .export-btn {
  min-height: 60px;
  border-radius: 14px;
  padding: 10px 12px;
}
.editor-v5 .canvas-area {
  padding: 18px 20px 26px;
}
.editor-v5 .canvasbar {
  margin: 0 0 9px;
}
.editor-v5 .mode-ribbon {
  border-radius: 14px 14px 0 0;
}
.editor-v5 .premium-canvas-wrap {
  position: relative;
  width: 100%;
  height: calc(100vh - 160px);
  min-height: 610px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  background:
    radial-gradient(circle at 50% 32%, rgba(34, 95, 230, 0.1), transparent 44%),
    radial-gradient(
      circle at 85% 72%,
      rgba(55, 202, 255, 0.06),
      transparent 34%
    ),
    #020711;
  border-radius: 0 0 18px 18px;
}
.editor-v5 .premium-canvas-wrap #creative {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
  border-radius: 14px;
  background: #040914;
  box-shadow:
    0 38px 110px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 90px rgba(46, 110, 255, 0.08);
  flex: 0 0 auto;
}
.editor-v5 .premium-canvas-wrap #creative[data-ratio="16:9"],
.editor-v5 .premium-canvas-wrap #creative[data-ratio="1.91:1"] {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.editor-v5 .premium-canvas-wrap #creative[data-ratio="1:1"],
.editor-v5 .premium-canvas-wrap #creative[data-ratio="9:16"],
.editor-v5 .premium-canvas-wrap #creative[data-ratio="4:5"],
.editor-v5 .premium-canvas-wrap #creative[data-ratio="3:4"] {
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: 100%;
}
.editor-v5 .scene-timeline {
  padding: 12px 0;
}
.editor-v5 .quality-grid > div {
  min-height: 84px;
}
.editor-v5 .quality-grid b {
  font-size: 11px;
}
.editor-v5 .quality-grid span {
  font-size: 8px;
  line-height: 1.45;
}
@media (min-width: 1500px) {
  .editor-v5 {
    grid-template-columns: 350px minmax(0, 1fr);
  }
  .editor-v5 .premium-canvas-wrap {
    height: calc(100vh - 145px);
    min-height: 700px;
  }
}
@media (max-width: 1100px) {
  .editor-v5 {
    grid-template-columns: 290px minmax(0, 1fr);
  }
  .editor-v5 .premium-canvas-wrap {
    height: calc(100vh - 155px);
    min-height: 560px;
  }
}
@media (max-width: 820px) {
  .editor-v5 {
    display: block;
  }
  .editor-v5 .pro-sidebar {
    position: relative;
    height: auto;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .editor-v5 .canvas-area {
    padding: 12px;
  }
  .editor-v5 .premium-canvas-wrap {
    height: auto;
    min-height: 0;
    padding: 10px;
    overflow: visible;
  }
  .editor-v5 .premium-canvas-wrap #creative,
  .editor-v5 .premium-canvas-wrap #creative[data-ratio] {
    width: 100%;
    height: auto;
    max-height: none;
  }
  .editor-v5 .quality-grid {
    grid-template-columns: 1fr;
  }
  .editor-v5 .scene-timeline {
    overflow: auto;
  }
}

/* =========================================================
   FORDPIXEL WEBSITE AUTO CAMPAIGN
   ========================================================= */
.dashboard-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.website-campaign-btn {
  background: linear-gradient(
    145deg,
    rgba(29, 52, 104, 0.82),
    rgba(10, 21, 45, 0.96)
  );
  border-color: rgba(102, 214, 255, 0.24);
  color: #d9f2ff;
}
.website-campaign-btn:hover {
  border-color: rgba(102, 214, 255, 0.55);
  box-shadow: 0 12px 34px rgba(55, 144, 255, 0.12);
}
body.modal-open {
  overflow: hidden;
}
.website-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.website-modal.open {
  display: flex;
}
.website-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 11, 0.78);
  backdrop-filter: blur(14px);
  animation: websiteFade 0.18s ease;
}
.website-modal-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(118, 163, 230, 0.19);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 92% 0%,
      rgba(82, 129, 255, 0.15),
      transparent 30%
    ),
    linear-gradient(155deg, #0b1428, #060b16 68%);
  box-shadow: 0 45px 130px rgba(0, 0, 0, 0.58);
  animation: websiteRise 0.24s ease;
}
.website-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #9db0cd;
  font-size: 22px;
  line-height: 1;
}
.website-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.website-modal-head {
  display: flex;
  gap: 18px;
  padding-right: 48px;
  margin-bottom: 25px;
}
.website-modal-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(
    145deg,
    rgba(75, 111, 255, 0.2),
    rgba(102, 214, 255, 0.08)
  );
  border: 1px solid rgba(102, 214, 255, 0.18);
  color: #72d9ff;
  font-size: 25px;
}
.website-modal-head h2 {
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 7px 0 8px;
}
.website-modal-head p {
  margin: 0;
  color: #879ab8;
  font-size: 13px;
  max-width: 680px;
}
.website-campaign-form {
  display: grid;
  gap: 18px;
}
.website-url-field > label,
.website-options-grid label {
  display: block;
  color: #dce7f7;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}
.website-url-input {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  border: 1px solid rgba(119, 151, 205, 0.2);
  border-radius: 15px;
  background: #060d1b;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.website-url-input:focus-within {
  border-color: rgba(102, 214, 255, 0.48);
  box-shadow: 0 0 0 4px rgba(102, 214, 255, 0.055);
}
.website-url-input > span {
  color: #66d6ff;
}
.website-url-input input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
}
.website-url-input input::placeholder {
  color: #50627e;
}
.website-url-field > small {
  display: block;
  margin-top: 7px;
  color: #617694;
  font-size: 9px;
}
.website-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.website-options-grid .field {
  margin: 0;
}
.website-options-grid select {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(119, 151, 205, 0.18);
  border-radius: 12px;
  padding: 0 12px;
  color: #dce7f7;
  background: #081120;
  outline: none;
}
.website-brand-toggle {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid rgba(111, 147, 211, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
}
.website-brand-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.website-check-ui {
  width: 21px;
  height: 21px;
  border: 1px solid rgba(119, 151, 205, 0.36);
  border-radius: 7px;
  background: #07101e;
  position: relative;
  margin-top: 1px;
}
.website-brand-toggle input:checked + .website-check-ui {
  background: linear-gradient(135deg, #587cff, #65d5ff);
  border-color: transparent;
}
.website-brand-toggle input:checked + .website-check-ui:after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #05101d;
  font-size: 12px;
  font-weight: 900;
}
.website-brand-toggle b {
  display: block;
  font-size: 12px;
  color: #e7eefb;
}
.website-brand-toggle small {
  display: block;
  color: #7488a7;
  font-size: 9px;
  line-height: 1.55;
  margin-top: 3px;
}
.website-analysis-note {
  display: flex;
  gap: 11px;
  padding: 14px 15px;
  border-radius: 14px;
  background: rgba(91, 125, 255, 0.065);
  border: 1px solid rgba(91, 125, 255, 0.13);
}
.website-analysis-note > span {
  color: #75d7ff;
}
.website-analysis-note p {
  margin: 0;
  color: #7f92af;
  font-size: 10px;
  line-height: 1.6;
}
.website-analysis-note b {
  color: #bdd0e9;
}
.website-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 3px;
}
.website-submit-loading {
  display: none;
}
.website-campaign-form.is-loading .website-submit-idle {
  display: none;
}
.website-campaign-form.is-loading .website-submit-loading {
  display: inline;
}
.website-campaign-form.is-loading #websiteAnalyzeButton:before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid rgba(3, 15, 29, 0.25);
  border-top-color: #061020;
  border-radius: 50%;
  animation: websiteSpin 0.7s linear infinite;
}
@keyframes websiteFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes websiteRise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes websiteSpin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 700px) {
  .website-modal {
    padding: 10px;
  }
  .website-modal-dialog {
    padding: 22px 16px;
    border-radius: 19px;
    max-height: calc(100vh - 20px);
  }
  .website-modal-head {
    gap: 12px;
    padding-right: 38px;
  }
  .website-modal-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  .website-modal-head h2 {
    font-size: 22px;
  }
  .website-options-grid {
    grid-template-columns: 1fr;
  }
  .website-modal-actions {
    flex-direction: column-reverse;
  }
  .website-modal-actions .btn {
    width: 100%;
  }
  .dashboard-actions {
    width: 100%;
  }
  .dashboard-actions .btn {
    flex: 1;
  }
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-visitors {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.035);

  color: #8ea6d1;

  font-size: 12px;
}

.footer-visitors strong {
  color: #ffffff;
  font-weight: 800;
}

.visitor-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #59bfff;

  box-shadow: 0 0 12px rgba(89, 191, 255, 0.55);
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   FORDPIXEL HOME HERO — FINAL RESPONSIVE SAFETY
   main-ad is intentionally a standalone class.
   HTML: <div class="main-ad">...</div>
   ========================================================= */

.main-ad::before {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  top: -120px;
  right: -110px;
  border-radius: 50%;
  background: rgba(74, 104, 255, 0.1);
  pointer-events: none;
}

.main-ad > * {
  position: relative;
  z-index: 1;
}

.main-ad small {
  display: block;
  color: #76d4ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.main-ad h3 span {
  display: block;
}

.main-ad .fake-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}

@media (max-width: 760px) {
  .visual-stage::before {
    width: 300px;
    height: 300px;
    right: -130px;
    top: -115px;
  }

  .main-ad::before {
    width: 220px;
    height: 220px;
    right: -105px;
    top: -100px;
  }

  .main-ad .fake-cta {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero,
  .section,
  .dashboard-shell,
  .page-shell,
  .builder-shell,
  .form-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 12vw, 48px);
    line-height: 1.02;
  }

  .hero-copy > p {
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .visual-stage {
    padding: 14px;
    border-radius: 22px;
  }

  .visual-top {
    font-size: 8px;
    line-height: 1.4;
  }

  .main-ad {
    padding: 26px 20px;
    border-radius: 17px;
  }

  .main-ad h3 {
    margin: 20px 0 14px;
    font-size: clamp(32px, 10.5vw, 40px);
  }

  .main-ad p {
    font-size: 13px;
  }

  .floating {
    padding: 13px 14px;
    border-radius: 15px;
  }

  .feature-grid,
  .pricing-grid,
  .account-grid,
  .campaign-grid,
  .wallet-layout {
    grid-template-columns: 1fr;
  }

  .format-strip {
    grid-template-columns: 1fr 1fr;
  }

  .price-card,
  .feature-grid article {
    padding: 24px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-head h2 {
    font-size: clamp(31px, 9.5vw, 42px);
  }
}

@media (max-width: 360px) {
  .hero,
  .section,
  .dashboard-shell,
  .page-shell,
  .builder-shell,
  .form-page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .visual-stage {
    padding: 11px;
  }

  .main-ad {
    padding: 22px 16px;
  }

  .main-ad h3 {
    font-size: 30px;
  }
}
