:root {
  --bg: #f8f5ef;
  --surface: #ffffff;
  --surface-alt: #fff2e2;
  --text: #1e2430;
  --muted: #5e6573;
  --brand: #d83b16;
  --brand-dark: #ae2f12;
  --accent: #0f8a7b;
  --line: #e7e1d7;
  --shadow: 0 18px 45px -28px rgba(18, 27, 43, 0.42);
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 4%, #ffd8ae 0%, rgba(255, 216, 174, 0) 38%),
    radial-gradient(circle at 90% 8%, #d6f4ef 0%, rgba(214, 244, 239, 0) 32%),
    var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-pad {
  padding: 4.5rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(248, 245, 239, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(140deg, var(--brand), #ff8f56);
  box-shadow: 0 8px 20px -10px rgba(216, 59, 22, 0.85);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.language-label {
  font-size: 0.92rem;
  color: var(--muted);
}

.language-select {
  border: 1px solid #d8d1c7;
  background: #fff;
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  color: var(--text);
  min-width: 140px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.language-select:hover,
.language-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(216, 59, 22, 0.15);
  transform: translateY(-1px);
  outline: none;
}

.hero {
  padding: 4.6rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2.4rem;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #ffe7d2;
  color: #914019;
  font-weight: 700;
  font-size: 0.84rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.4px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 3.3vw, 2.1rem);
  margin-bottom: 0.8rem;
}

.hero-subtitle,
.section-lead {
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.5rem 0 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0.82rem 1rem;
  font-weight: 700;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
  min-width: 180px;
}

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

.btn-primary {
  background: linear-gradient(130deg, var(--brand), #f06b3f);
  color: #fff;
  box-shadow: 0 12px 28px -16px rgba(216, 59, 22, 0.8);
}

.btn-primary:hover {
  background: linear-gradient(130deg, var(--brand-dark), #d4562e);
}

.btn-secondary {
  background: #fff;
  border-color: #d9d1c8;
}

.btn-ghost {
  background: #eef8f6;
  border-color: #c5e9e3;
  color: #136b60;
}

.microcopy {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  border-radius: 40px;
  background: linear-gradient(165deg, #161f33, #1f2e4b);
  padding: 12px;
  box-shadow: var(--shadow);
  animation: floating 4.5s ease-in-out infinite;
}

.screen-glow {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 132, 88, 0.7), transparent 42%),
    radial-gradient(circle at 14% 78%, rgba(15, 138, 123, 0.58), transparent 44%),
    #141f36;
  position: relative;
  overflow: hidden;
}

.screen-content {
  position: absolute;
  inset: 22px;
  color: #fff;
}

.screen-title {
  font-size: 1.05rem;
  font-weight: 800;
}

.screen-line,
.screen-pill {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0.8rem 0;
}

.screen-line.short {
  width: 68%;
}

.screen-pill {
  margin-top: 1.1rem;
  width: 50%;
  height: 34px;
  background: linear-gradient(130deg, #ff7f51, #ef3f18);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 1.2rem auto 0;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #101624;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.adsense-section {
  padding: 2.6rem 0;
}

.ads-title {
  text-align: center;
  color: var(--muted);
}

.ads-container {
  min-height: 140px;
  border-radius: var(--radius);
  border: 1px dashed #c7c1b8;
  background: repeating-linear-gradient(
    -45deg,
    #fff,
    #fff 11px,
    #f9f5ef 11px,
    #f9f5ef 22px
  );
  display: grid;
  place-items: center;
  color: #7d7469;
  font-size: 0.92rem;
}

.feature-grid,
.proof-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 14px 30px -28px rgba(31, 43, 64, 0.7);
  animation: revealUp 0.9s ease both;
}

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

.proof-item {
  background: var(--surface-alt);
  border: 1px solid #f0d9bf;
  border-radius: var(--radius);
  text-align: center;
  padding: 1.3rem;
}

.proof-number {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 800;
  color: #ab3619;
}

.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.prose p {
  margin: 0 0 1rem;
  color: #2b3240;
}

.steps {
  margin: 1rem 0 0;
  padding-inline-start: 1.2rem;
}

.steps li {
  margin-bottom: 0.65rem;
}

.community-box {
  background: linear-gradient(145deg, #fff, #fff6ec);
  border: 1px solid #f0dac0;
  border-radius: var(--radius);
  padding: 1.6rem;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.faq-list details {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.85rem 1rem;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0;
  background: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-grid nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-grid a {
  color: #3e4d64;
}

.footer-grid a:hover {
  color: #ab3619;
}

.legal-page .prose h2 {
  margin-top: 1.4rem;
}

.rtl .header-inner,
.rtl .footer-grid {
  direction: rtl;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 230px;
    height: 460px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}
