:root {
  --bg: #121212;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --text: #f7f1ea;
  --muted: #c7beb6;
  --border: rgba(255, 255, 255, 0.12);
  --crimson: #a3202e;
  --orange: #e95420;
  --amber: #f2a900;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(233, 84, 32, 0.18), transparent 28%),
    radial-gradient(circle at left center, rgba(163, 32, 46, 0.2), transparent 22%),
    var(--bg);
  color: var(--text);
  line-height: 1.9;
  overflow-x: hidden;
}

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

button,
input,
fieldset,
legend {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

img,
video {
  display: block;
  max-width: 100%;
}

.site-header,
.section-shell,
.site-footer {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
}

.site-header {
  position: static;
  top: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
  padding: 14px;
  background: rgba(18, 18, 18, 0.78);
  border: 1px solid var(--border);
  border-radius: 18px;
  backdrop-filter: blur(18px);
}

.brand img,
.footer-brand img {
  width: 120px;
  border-radius: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  font-size: 0.9rem;
}

.main-nav a {
  min-height: 44px;
  padding: 8px 10px;
}

.main-nav a,
.hero-copy,
.section-heading,
.panel,
.video-copy,
.step-card,
.palette-copy,
.faq-list,
.contact-copy,
.contact-form,
.footer-brand,
.footer-links,
.stats-card {
  text-align: right;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  line-height: 1.7;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button {
  border: 0;
  cursor: pointer;
}

.button:disabled {
  cursor: wait;
  opacity: 0.8;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--orange), var(--crimson));
  color: white;
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  min-height: auto;
  padding: 32px 0 40px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

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

h1 {
  max-width: none;
  margin-bottom: 28px;
  font-size: clamp(2.35rem, 10vw, 6rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 7vw, 3.4rem);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

h3 {
  line-height: 1.7;
}

p,
li,
summary,
label,
input,
textarea,
button {
  line-height: 1.9;
}

.hero-text,
.section-note,
.panel p,
.step-card p,
.palette-copy p,
.contact-copy p,
.faq-list p,
.footer-brand p {
  color: var(--muted);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 26px;
}

.hero-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li,
.panel,
.video-card,
.step-card,
.palette-card,
.contact-form,
.faq-list details,
.stats-card {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-points li {
  padding: 14px;
  border-radius: 16px;
  color: var(--muted);
}

.hero-visual {
  display: grid;
  gap: 20px;
}

.glow-card,
.stats-card,
.panel,
.video-card,
.step-card,
.palette-card,
.contact-form,
.faq-list details {
  border-radius: 28px;
}

.logo-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.logo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.stats-card {
  padding: 24px;
}

.stats-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stats-card strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
}

.section-shell {
  padding: 40px 0;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 18px 0;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  animation: scroll-rtl 26s linear infinite;
}

@keyframes scroll-rtl {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.section-heading {
  margin-bottom: 40px;
}

.split-heading {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
  gap: 24px;
}

.intro-grid,
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.panel,
.step-card,
.contact-form,
.faq-list details {
  padding: 30px;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.video-card {
  overflow: hidden;
}

.preview-video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #090909;
  cursor: pointer;
}

.video-copy {
  padding: 18px 18px 22px;
}

.video-copy p {
  margin-bottom: 0;
}

.process-grid {
  grid-template-columns: 1fr;
}

.step-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 1.25rem;
  font-weight: 800;
}

.palette-section,
.contact-section,
.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.palette-card {
  padding: 10px;
}

.palette-card img {
  border-radius: 20px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] {
  background: var(--panel-strong);
}

.faq-list details p {
  margin: 14px 0 0;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 14px;
  font-weight: 600;
}

.contact-choice {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-choice legend {
  margin-bottom: 6px;
  padding: 0;
  font-weight: 700;
}

.choice-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.choice-option input {
  margin: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid rgba(242, 169, 0, 0.5);
  border-color: rgba(242, 169, 0, 0.5);
}

.contact-form input:user-invalid {
  border-color: rgba(233, 84, 32, 0.85);
}

.form-note {
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-note-error {
  color: #ffb4a1;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.thank-you-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.thank-you-card {
  width: 100%;
  max-width: 760px;
}

.thank-you-title {
  max-width: none;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.site-footer {
  padding-top: 0;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px 20px;
  color: var(--muted);
}

@media (min-width: 641px) {
  .brand img,
  .footer-brand img {
    width: 108px;
  }

  .main-nav {
    gap: 14px;
    font-size: 0.94rem;
  }

  .section-shell,
  .hero {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .panel,
  .step-card,
  .contact-form,
  .faq-list details,
  .stats-card {
    padding: 24px;
  }
}

@media (min-width: 768px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(1180px, calc(100% - 32px));
  }

  .site-header {
    position: sticky;
    top: 16px;
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
    margin-top: 16px;
    padding: 14px 18px;
  }

  .main-nav {
    justify-content: flex-start;
    width: auto;
    gap: 16px;
  }

  .hero {
    gap: 32px;
    padding: 56px 0 48px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .button,
  .nav-cta {
    min-height: 48px;
  }

  .intro-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .palette-section,
  .contact-section,
  .site-footer {
    gap: 24px;
  }
}

@media (min-width: 980px) {
  h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 7vw, 6rem);
  }

  h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: calc(100vh - 130px);
    gap: 36px;
    padding: 72px 0 48px;
  }

  .hero-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .intro-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .palette-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover,
  .footer-links a:hover {
    color: white;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track {
    animation: none;
  }
}
