:root {
  --yellow: #ffe01b;
  --yellow-dark: #d7b900;
  --black: #08090b;
  --page-bg:
    radial-gradient(circle at top, rgba(255, 224, 27, 0.16), transparent 34rem),
    linear-gradient(145deg, #050607 0%, #15181f 48%, #0a0b0d 100%);
  --dark: #121419;
  --card: #1b1f26;
  --card-soft: #242932;
  --panel-bg: rgba(27, 31, 38, 0.86);
  --text: #ffffff;
  --muted: #b9bdc6;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  --radius: 22px;
}

html[data-theme="light"] {
  --black: #ffffff;
  --page-bg:
    radial-gradient(circle at top, rgba(255, 224, 27, 0.28), transparent 30rem),
    linear-gradient(145deg, #fffdf0 0%, #f6f7fb 52%, #ffffff 100%);
  --dark: #ffffff;
  --card: #ffffff;
  --card-soft: #f3f5f9;
  --panel-bg: rgba(255, 255, 255, 0.9);
  --text: #111318;
  --muted: #5f6673;
  --line: rgba(10, 12, 16, 0.13);
  --shadow: 0 18px 42px rgba(16, 24, 40, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  touch-action: pan-x pan-y;
}

body {
  margin: 0;
  direction: rtl;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  min-height: 100vh;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--black);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-card {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.preloader-card img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  box-shadow: 0 16px 35px rgba(255, 224, 27, 0.22);
}

.preloader-card span {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

.preloader-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 22px 16px 96px;
}

.theme-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--text);
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  font-weight: 900;
}

.theme-toggle i {
  color: var(--yellow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero {
  padding: 12px 0 8px;
}

.hero--banner {
  padding-top: 12px;
}

.hero-banner {
  width: 100%;
  display: block;
  aspect-ratio: 1600 / 560;
  object-fit: cover;
  border: 1px solid rgba(255, 224, 27, 0.28);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-brand-row {
  display: grid;
  grid-template-columns: 98px 1fr;
  align-items: center;
  gap: 14px;
  text-align: right;
}

.hero-text {
  transform: translateY(7px);
}

.hero-text h1 {
  margin-bottom: 10px;
}

.hero-text p:last-child {
  margin-bottom: 0;
}

.brand-mark {
  width: 98px;
  height: 98px;
  margin: 0;
  padding: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 16px 35px rgba(255, 224, 27, 0.24);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 0.84rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 9vw, 3.5rem);
  line-height: 1;
}

.hero-subtitle {
  margin-bottom: 4px;
  font-size: clamp(0.92rem, 3.35vw, 1.08rem);
  font-weight: 800;
  white-space: nowrap;
}

.hero-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 3.7vw, 1.08rem);
  line-height: 1.35;
  max-width: 31rem;
}

.hero-copy span {
  white-space: nowrap;
}

.primary-btn,
.secondary-btn,
.store-btn,
.action-link,
.whatsapp-float {
  min-height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
  border: 0;
  color: #111;
  background: linear-gradient(180deg, var(--yellow), #f4ca00);
  box-shadow: 0 14px 28px rgba(255, 224, 27, 0.22);
}

.primary-btn:hover,
.secondary-btn:hover,
.store-btn:hover,
.action-link:hover {
  transform: translateY(-2px);
}

.section-panel {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-bg);
  box-shadow: var(--shadow);
}

.download-panel {
  margin-top: 6px;
}

.section-panel h2 {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
}

.section-panel h2 i {
  color: var(--yellow);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.store-btn {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--card-soft);
  white-space: nowrap;
  overflow: hidden;
}

.store-btn span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-btn--nowrap span {
  white-space: nowrap;
  font-size: clamp(0.82rem, 3.6vw, 1rem);
}

.store-btn--wide {
  color: var(--text);
  border-color: var(--line);
  background: var(--card-soft);
}

.tiny-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.links-section {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.links-banner {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 224, 27, 0.34);
  border-radius: 20px;
  color: #111;
  background: linear-gradient(135deg, var(--yellow), #f4c400);
  box-shadow: 0 15px 34px rgba(255, 224, 27, 0.18);
}

.campaign-glow {
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 2px 10px;
  padding: 10px 16px;
  color: #090a0c;
  background: linear-gradient(180deg, #fff7a1 0%, #ffe01b 45%, #ffc400 100%);
  box-shadow: 0 0 16px rgba(255, 224, 27, 0.28), 0 18px 34px rgba(255, 224, 27, 0.26);
  font-weight: 900;
  font-size: 1rem;
  animation: glowPulse 1.55s ease-in-out infinite;
}

.campaign-glow i {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--yellow);
  background: #101216;
  font-size: 1.12rem;
}

.campaign-glow span,
.campaign-glow small {
  text-align: center;
}

.campaign-glow small {
  font-size: 1rem;
  font-weight: 900;
  color: rgba(9, 10, 12, 0.72);
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 14px rgba(255, 224, 27, 0.3), 0 14px 28px rgba(255, 224, 27, 0.22);
    filter: brightness(0.98);
  }

  50% {
    box-shadow: 0 0 34px rgba(255, 224, 27, 0.78), 0 20px 46px rgba(255, 224, 27, 0.38);
    filter: brightness(1.13);
  }
}

.links-banner span {
  font-size: 0.78rem;
  font-weight: 900;
}

.links-banner strong {
  line-height: 1.6;
}

.links-layout,
.action-grid {
  display: grid;
  gap: 10px;
}

.vertical-slide {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 224, 27, 0.18), rgba(255, 255, 255, 0.04)),
    var(--card);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.vertical-slide i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111;
  background: var(--yellow);
}

.vertical-slide strong {
  font-size: 1.05rem;
}

.vertical-slide span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.9rem;
}

.action-link {
  width: 100%;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--panel-bg);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

button.action-link {
  border-color: rgba(255, 224, 27, 0.38);
}

.action-link i {
  color: var(--yellow);
}

.jobs-dropdown {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-bg);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.jobs-dropdown summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  text-align: center;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.jobs-dropdown summary::-webkit-details-marker {
  display: none;
}

.jobs-dropdown summary i {
  color: var(--yellow);
}

.jobs-dropdown a {
  display: block;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  color: var(--text);
  text-align: center;
  font-weight: 800;
}

.available-jobs {
  border-top: 1px solid var(--line);
}

.available-jobs summary {
  min-height: 48px;
  padding: 0 16px;
  color: var(--text);
  background: var(--card-soft);
}

.available-jobs summary::after {
  content: "\f107";
  margin-right: 8px;
  color: var(--text);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.available-jobs[open] summary::after {
  transform: rotate(180deg);
}

.available-jobs a {
  background: var(--card);
}

.social-panel {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

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

.social-links a {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111;
  background: var(--yellow);
  font-size: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 224, 27, 0.22);
}

.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 14px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
  direction: ltr;
  font-size: 1.02rem;
  line-height: 1.4;
  white-space: nowrap;
}

.contact-item i {
  color: var(--text);
  font-size: 0.95rem;
  flex: 0 0 auto;
}

.quick-contact {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 20;
}

.whatsapp-float {
  position: static;
  min-height: 50px;
  padding: 0 16px;
  border: 0;
  color: #fff;
  background: #20b15a;
  box-shadow: 0 12px 28px rgba(32, 177, 90, 0.32);
}

.quick-contact-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: 172px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.quick-contact-menu a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.quick-contact-menu a:last-child {
  border-bottom: 0;
}

.quick-contact-menu i {
  color: var(--yellow);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  padding: 10px;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: calc(100dvh - 20px);
  margin: 0 auto;
  overflow-y: auto;
  padding: 18px 18px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--dark);
  box-shadow: var(--shadow);
  overscroll-behavior: contain;
}

.close-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: var(--card-soft);
}

.modal-heading {
  display: grid;
  gap: 10px;
  padding-left: 48px;
  margin-bottom: 18px;
}

.modal-heading h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.back-home-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255, 224, 27, 0.34);
  border-radius: 14px;
  color: #111;
  background: var(--yellow);
  box-shadow: 0 10px 24px rgba(255, 224, 27, 0.14);
  font-size: 0.86rem;
  font-weight: 900;
  justify-self: start;
}

.steps {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
}

.step-pill {
  flex: 1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  color: transparent;
  background: var(--card-soft);
}

.step-pill.is-active {
  background: var(--yellow);
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.form-step h3 {
  font-size: 1rem;
  margin-bottom: 14px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.goal-extra-field[hidden] {
  display: none;
}

.other-interests-field[hidden] {
  display: none;
}

.goal-extra-field {
  margin: -2px 0 4px;
  padding: 12px;
  border: 1px solid rgba(255, 224, 27, 0.22);
  border-radius: 16px;
  background: rgba(255, 224, 27, 0.06);
}

.goal-extra-field label {
  margin-bottom: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: var(--card);
  padding: 12px 14px;
  outline: none;
}

textarea {
  resize: vertical;
  line-height: 1.7;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--yellow);
}

.range-control {
  display: grid;
  gap: 10px;
}

.stepper {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 8px;
}

.stepper button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #111;
  background: var(--yellow);
  font-size: 1.15rem;
  font-weight: 900;
}

input[type="range"] {
  min-height: 28px;
  padding: 0;
  accent-color: var(--yellow);
  background: transparent;
}

.two-cols {
  display: grid;
  gap: 10px;
  align-items: start;
}

.two-cols > label {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.two-cols > label .range-control {
  margin-top: 8px;
}

.audience-picker {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.audience-picker > span,
.multi-select > span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.multi-select {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.multi-select details {
  position: relative;
}

.multi-select summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: var(--card);
  cursor: pointer;
  list-style: none;
}

.multi-select summary::-webkit-details-marker {
  display: none;
}

.multi-select summary::after {
  content: "\f107";
  margin-right: auto;
  color: var(--muted);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.multi-select-menu {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-soft);
}

.multi-select-menu--inline {
  grid-template-columns: 1fr 1fr;
}

.governorate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.check-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: var(--card);
  font-size: 0.86rem;
  font-weight: 800;
}

.check-row--all {
  border-color: rgba(255, 224, 27, 0.45);
  background: rgba(255, 224, 27, 0.08);
}

.check-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--yellow);
}

.field-note {
  display: block;
  margin-top: 8px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
}

.clear-file-btn {
  min-height: 44px;
  justify-self: start;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 224, 27, 0.28);
  border-radius: 8px;
  padding: 0 14px 2px;
  color: var(--yellow);
  background: rgba(255, 224, 27, 0.08);
  font-weight: 900;
  cursor: pointer;
}

.clear-file-btn i {
  margin-left: 6px;
}

.clear-file-btn:hover {
  background: rgba(255, 224, 27, 0.14);
}

.logo-upload-preview {
  position: relative;
  width: 82px;
  height: 82px;
  margin: -4px 0 10px;
}

.logo-upload-preview img {
  width: 100%;
  height: 100%;
  display: block;
  border: 1px solid rgba(255, 224, 27, 0.28);
  border-radius: 14px;
  object-fit: cover;
  background: #f0f2f5;
}

.upload-preview-remove {
  position: absolute;
  top: -8px;
  left: -8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.upload-preview-remove:hover {
  background: rgba(0, 0, 0, 0.86);
}

.estimate-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: var(--card);
}

.estimate-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.estimate-card strong {
  color: var(--yellow);
}

.ad-preview {
  overflow: hidden;
  border: 1px solid #d9dde5;
  border-radius: 12px;
  background: #fff;
  color: #1c1e21;
  direction: rtl;
  font-family: Tahoma, Arial, sans-serif;
}

.preview-head {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.preview-head img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #f0f2f5;
}

.preview-head span {
  display: block;
  color: #65676b;
  font-size: 0.78rem;
}

.ad-preview p {
  margin: 0;
  padding: 0 12px 10px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.preview-meta {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-top: 1px solid #edf0f5;
  background: #f0f2f5;
}

.preview-meta strong {
  font-size: 0.93rem;
  color: #050505;
}

.preview-meta span {
  color: #65676b;
  font-size: 0.82rem;
  line-height: 1.6;
}

.preview-image {
  min-height: 240px;
  display: block;
  color: #777;
  background: #f0f2f5;
}

.preview-image > i {
  min-height: 240px;
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.facebook-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(238px, 72%);
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 0 10px 12px;
  direction: rtl;
  scrollbar-width: none;
}

.facebook-carousel.is-single {
  grid-auto-columns: 100%;
}

.facebook-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid #d9dde5;
  border-radius: 18px;
  background: #fff;
}

.carousel-remove {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  cursor: pointer;
}

.carousel-remove:hover {
  background: rgba(0, 0, 0, 0.78);
}

.carousel-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  display: block;
  object-fit: cover;
}

.carousel-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  padding: 10px;
  background: #fff;
}

.carousel-card-body strong {
  color: #1c1e21;
  font-size: 0.9rem;
  line-height: 1.5;
}

.carousel-card-body span {
  color: #65676b;
  font-size: 1rem;
  font-weight: 800;
  direction: ltr;
}

.carousel-card-body button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 34px;
  max-width: 100%;
  border: 0;
  border-radius: 9px;
  padding: 0 14px;
  white-space: nowrap;
  font-size: clamp(0.78rem, 3.2vw, 0.92rem);
  font-weight: 800;
}

.carousel-card-body button[data-goal-tone="default"] {
  color: #65676b;
  background: #e4e6eb;
}

.carousel-card-body button[data-goal-tone="awareness"] {
  color: #1c1e21;
  background: #e4e6eb;
}

.carousel-card-body button[data-goal-tone="engagement"] {
  color: #050505;
  background: #f0f2f5;
}

.carousel-card-body button[data-goal-tone="messages"] {
  color: #fff;
  background: #25d366;
}

.carousel-card-body button[data-goal-tone="calls"] {
  color: #fff;
  background: #16a34a;
}

.carousel-card-body button[data-goal-tone="traffic"] {
  color: #fff;
  background: #1877f2;
}

.preview-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #ced0d4;
  color: #65676b;
  font-size: 0.82rem;
}

.preview-stats i {
  color: #1877f2;
}

.preview-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px 8px;
}

.preview-actions button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  color: #65676b;
  background: #fff;
  font-weight: 800;
}

.preview-actions button:hover {
  background: #f0f2f5;
}

.message-preview-btn {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-top: 1px solid #ced0d4;
  font-family: Arial, Tahoma, sans-serif;
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.message-preview-btn[data-goal-tone="default"] {
  color: #65676b;
  background: #f0f2f5;
}

.message-preview-btn[data-goal-tone="awareness"] {
  color: #1c1e21;
  background: #f0f2f5;
}

.message-preview-btn[data-goal-tone="engagement"] {
  color: #050505;
  background: #ffffff;
}

.message-preview-btn[data-goal-tone="messages"] {
  color: #fff;
  background: #25d366;
}

.message-preview-btn[data-goal-tone="calls"] {
  color: #fff;
  background: #16a34a;
}

.message-preview-btn[data-goal-tone="traffic"] {
  color: #fff;
  background: #1877f2;
}

.iframe-card {
  position: relative;
  z-index: 1;
  width: min(100%, 940px);
  height: calc(100dvh - 24px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--dark);
  box-shadow: var(--shadow);
}

.iframe-card h2 {
  margin: 0;
  padding-left: 48px;
  font-size: 1rem;
  line-height: 40px;
}

.iframe-card iframe {
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.iframe-fallback {
  min-height: 360px;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 28px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-soft);
}

.iframe-fallback[hidden] {
  display: none;
}

.iframe-fallback i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #111;
  background: var(--yellow);
  border-radius: 50%;
  font-size: 1.35rem;
}

.iframe-fallback p {
  margin: 0;
  color: var(--text);
  font-weight: 900;
}

.iframe-fallback .primary-btn {
  width: min(100%, 260px);
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-message.is-success {
  color: #4ee085;
}

.form-message.is-error {
  color: #ff7777;
}

.form-message.is-loading {
  color: var(--yellow);
}

.form-message.is-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-left: 8px;
  border: 3px solid rgba(255, 224, 27, 0.28);
  border-top-color: var(--yellow);
  border-radius: 50%;
  vertical-align: -3px;
  animation: spin 0.8s linear infinite;
}

.form-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px -18px 0;
  padding: 12px 18px max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 94%, transparent);
  backdrop-filter: blur(10px);
}

.secondary-btn {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--card-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

#submitCampaign {
  display: none;
  grid-column: 1 / -1;
}

.is-last-step #nextStep {
  display: none;
}

.is-last-step #submitCampaign {
  display: inline-flex;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.primary-btn.is-loading::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid rgba(17, 17, 17, 0.25);
  border-top-color: #111;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@media (min-width: 560px) {
  .page-shell {
    padding-top: 34px;
  }

  .hero-brand-row {
    grid-template-columns: 124px 1fr;
  }

  .brand-mark {
    width: 124px;
    height: 124px;
  }

  .hero-subtitle {
    font-size: 1.14rem;
  }

  .two-cols {
    grid-template-columns: 1fr 1fr;
  }

  .links-layout {
    grid-template-columns: 1fr;
  }

  .estimate-card {
    grid-template-columns: 1fr 1fr;
  }

  .form-actions {
    grid-template-columns: 1fr 1fr 1.4fr;
  }

  #submitCampaign {
    grid-column: auto;
  }
}