/* ==========================================
   اطلبني (Otlubni) — Landing Page Styles
   ========================================== */

/* --- Font Face --- */
@font-face {
  font-family: 'Tajawal';
  src: url('../assets/fonts/Tajawal-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tajawal';
  src: url('../assets/fonts/Tajawal-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tajawal';
  src: url('../assets/fonts/Tajawal-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tajawal';
  src: url('../assets/fonts/Tajawal-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tajawal';
  src: url('../assets/fonts/Tajawal-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tajawal';
  src: url('../assets/fonts/Tajawal-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tajawal';
  src: url('../assets/fonts/Tajawal-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Custom Properties --- */
:root {
  --purple-primary: #9d32ff;
  --purple-bright: #b647ff;
  --purple-dark: #7717df;
  --purple-deeper: #6113b8;
  --purple-soft: #f3e8ff;
  --purple-soft-2: #faf6ff;
  --surface: #ffffff;
  --surface-muted: #f7f3fc;
  --border-soft: rgba(115, 53, 177, 0.14);
  --text-dark: #2c1845;
  --text-body: #6f6286;
  --text-light: #9c93ab;
  --text-white: #ffffff;
  --star-yellow: #f5b300;
  --gradient-hero: linear-gradient(135deg, #b347ff 0%, #8d28ff 42%, #6f1ae3 100%);
  --gradient-footer: linear-gradient(135deg, #972eff 0%, #781ce7 55%, #5d10b6 100%);
  --shadow-card: 0 24px 60px rgba(72, 28, 124, 0.08);
  --shadow-soft: 0 14px 32px rgba(113, 45, 186, 0.12);
  --shadow-hero: 0 35px 70px rgba(38, 10, 79, 0.28);
  --font-family: 'Tajawal', sans-serif;
  --max-width: 1180px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background: linear-gradient(180deg, #ffffff 0%, #fbf8ff 56%, #ffffff 100%);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 104px 0;
}

.section-title {
  font-size: clamp(2.1rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-subtitle,
.about-desc,
.play-win-content p,
.opportunity-content p,
.testimonials-header p,
.contact-header p,
.footer-cta p,
.testimonial-card p,
.feature-card p {
  color: var(--text-body);
}

.section-kicker,
.hero-kicker,
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.08s; }
.animate-on-scroll.delay-2 { transition-delay: 0.16s; }
.animate-on-scroll.delay-3 { transition-delay: 0.24s; }
.animate-on-scroll.delay-4 { transition-delay: 0.32s; }

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

/* ==========================================
   1. NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 18px;
  right: 0;
  left: 0;
  z-index: 1000;
  transition: top var(--transition-normal);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  border-radius: 999px;
  padding: 14px 26px;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--purple-primary);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(56, 9, 114, 0.2);
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal), min-height var(--transition-normal);
}

.navbar.scrolled {
  top: 12px;
}

.navbar.scrolled .container,
.navbar-legal .container {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 45px rgba(58, 14, 110, 0.24);
}

.navbar-logo img {
  width: auto;
  height: 42px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navbar-links a {
  position: relative;
  font-size: 0.98rem;
  font-weight: 600;
  padding-bottom: 4px;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: width var(--transition-normal);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.navbar.scrolled .navbar-lang,
.navbar-legal .navbar-lang {
  border-color: rgba(255, 255, 255, 0.22);
}

.navbar-lang:hover {
  transform: translateY(-1px);
}

.navbar-lang img {
  width: 18px;
  height: 18px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   2. HERO SECTION
   ========================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 132px 0 92px;
  background: var(--gradient-hero);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -180px;
  left: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 72%);
}

.hero::after {
  right: -160px;
  bottom: -220px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.hero-content {
  flex: 1;
  max-width: 560px;
  text-align: right;
}

.hero-kicker {
  margin-bottom: 18px;
  padding: 8px 16px;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-logo-title {
  margin-bottom: 10px;
}

.hero-logo-title img {
  width: auto;
  height: 96px;
  margin-right: 0;
}

.hero-title {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
}

.hero-description {
  margin-bottom: 24px;
  font-size: 1.08rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.88);
}

.hero-cta-label {
  margin-bottom: 14px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-white);
}

.hero-buttons,
.footer-store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  width: auto;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 10px 18px rgba(30, 9, 57, 0.22);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 26px rgba(30, 9, 57, 0.28);
}

.hero-image,
.play-win-image {
  display: flex;
  justify-content: center;
  animation: float 4.8s ease-in-out infinite;
}

.hero-image {
  flex: 0 1 480px;
}

.hero-image img {
  width: min(100%, 500px);
  filter: drop-shadow(var(--shadow-hero));
}

/* ==========================================
   3. FEATURES SECTION
   ========================================== */
.features {
  position: relative;
  background: var(--surface);
}

.features-header,
.about-top {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: start;
  gap: 44px;
  margin-bottom: 46px;
}

.features-header .section-title,
.about-top .section-title {
  margin-bottom: 0;
  color: var(--purple-primary);
}

.features-header .section-subtitle,
.about-top .about-desc {
  font-size: 1.04rem;
  line-height: 2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  position: relative;
  padding: 30px 24px;
  text-align: center;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fcf9ff 100%);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(182, 71, 255, 0.28), rgba(182, 71, 255, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(182, 71, 255, 0.28);
  box-shadow: 0 24px 44px rgba(120, 39, 189, 0.14);
}

.feature-card-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
}

.feature-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.45;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.85;
}

/* ==========================================
   4. ABOUT SECTION
   ========================================== */
.about {
  padding-top: 84px;
  padding-bottom: 36px;
  background:
    radial-gradient(circle at top center, rgba(179, 63, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #fffdfd 0%, #faf7ff 100%);
}

.about .container:first-child {
  position: relative;
}

.about-top {
  position: relative;
  padding: 34px 38px;
  border: 1px solid rgba(124, 62, 181, 0.1);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 242, 255, 0.92) 100%);
  box-shadow: 0 18px 42px rgba(75, 28, 132, 0.08);
  overflow: hidden;
}

.about-top::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 63, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.about-top::after {
  content: '';
  position: absolute;
  right: 38px;
  top: 38px;
  width: 68px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b33fff 0%, #7e20ee 100%);
}

.about-sequence-item {
  position: relative;
  min-height: auto;
  display: block;
  padding-top: 0;
  padding-bottom: 18px;
  scroll-snap-align: start;
}

.about-image-section {
  overflow: hidden;
}

.about-image-section.about-sequence-item {
  margin-top: 18px;
}

.about-image-wrapper {
  margin-top: 18px;
  padding: 0;
  overflow: hidden;
}

.about-showcase {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 34px;
}

.about-card,
.play-win-card {
  position: relative;
  overflow: hidden;
  padding: 32px 36px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fcf8ff 100%);
  border: 1px solid rgba(124, 62, 181, 0.12);
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(67, 22, 122, 0.07);
  min-height: 420px;
  opacity: 0.82;
  transform: translate3d(0, 24px, 0) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease, border-color 0.55s ease;
  will-change: transform, opacity;
}

.about-card::before,
.play-win-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(179, 63, 255, 0.05) 100%);
  pointer-events: none;
  z-index: 0;
}

.about-card::after,
.play-win-card::after {
  content: '';
  position: absolute;
  right: -8%;
  left: -8%;
  bottom: -122px;
  height: 190px;
  background: linear-gradient(90deg, #7e20ee 0%, #b33fff 100%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 0;
}

.about-showcase-media {
  position: relative;
  z-index: 1;
  flex: 0 1 430px;
  opacity: 0;
  transform: translate3d(-18px, 12px, 0) scale(0.96);
  filter: blur(6px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.about-showcase-media img {
  width: min(100%, 420px);
  margin-inline-start: auto;
  filter: drop-shadow(0 24px 40px rgba(41, 4, 86, 0.24));
}

.about-text-overlay {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 420px;
  color: var(--text-dark);
  text-align: right;
  padding-bottom: 8px;
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(0.98);
  filter: blur(6px);
  transition: opacity 0.62s ease 0.06s, transform 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.06s, filter 0.62s ease 0.06s;
}

.about-badge {
  margin-bottom: 18px;
  padding: 9px 18px;
  color: var(--purple-dark);
  background: rgba(243, 232, 255, 0.85);
  border: 1px solid rgba(151, 46, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.about-text-overlay h3 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--purple-deeper);
  max-width: none;
}

.about-text-overlay p {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-body);
}

/* ==========================================
   5. PLAY & WIN SECTION
   ========================================== */
.play-win {
  padding-top: 0;
  padding-bottom: 18px;
}

.play-win-card {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 34px;
}

.play-win-content {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 420px;
  text-align: right;
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(0.98);
  filter: blur(6px);
  transition: opacity 0.62s ease 0.06s, transform 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.06s, filter 0.62s ease 0.06s;
}

.play-win-content .section-title {
  color: var(--purple-primary);
  max-width: 9ch;
}

.section-kicker {
  margin-bottom: 14px;
  padding: 8px 16px;
  color: var(--purple-dark);
  background: var(--purple-soft);
}

.play-win-content p:last-child {
  font-size: 1.12rem;
  line-height: 1.9;
}

.play-win-image {
  position: relative;
  z-index: 1;
  flex: 0 1 430px;
  opacity: 0;
  transform: translate3d(18px, 12px, 0) scale(0.96);
  filter: blur(6px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.play-win-image img {
  width: min(100%, 420px);
  filter: drop-shadow(0 22px 40px rgba(69, 23, 118, 0.16));
}

/* ==========================================
   6. OPPORTUNITIES
   ========================================== */
.opportunity {
  padding: 0 0 18px;
}

.driver.about-sequence-item,
.merchant.about-sequence-item {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-bottom: 0;
}

.opportunity .container {
  position: relative;
  width: 100%;
}

.opportunity-card {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 120px);
  border-radius: 24px;
  background: #2d0d58;
  border: 1px solid rgba(124, 62, 181, 0.12);
  box-shadow: 0 18px 34px rgba(67, 22, 122, 0.1);
  opacity: 0.82;
  transform: translate3d(0, 24px, 0) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease, border-color 0.55s ease;
  will-change: transform, opacity;
}

.opportunity-bg,
.opportunity-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.opportunity-bg {
  transform: scale(1.08);
  filter: saturate(0.88) blur(2px);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}

.opportunity-bg img {
  object-fit: cover;
}

.opportunity-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(39, 7, 77, 0.12) 0%, rgba(46, 10, 89, 0.38) 34%, rgba(19, 4, 39, 0.78) 100%);
}

.opportunity-content {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin-right: auto;
  padding: 38px 36px;
  text-align: right;
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.98);
  filter: blur(6px);
  transition: opacity 0.64s ease 0.06s, transform 0.64s cubic-bezier(0.22, 1, 0.36, 1) 0.06s, filter 0.64s ease 0.06s;
}

.opportunity-content .section-title,
.opportunity-content p {
  color: var(--text-white);
}

.opportunity-content .section-title {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  max-width: 9ch;
}

.opportunity-content p {
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.86);
}

.about-sequence-item.is-active [data-stack-card] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  box-shadow: 0 24px 44px rgba(67, 22, 122, 0.11);
  border-color: rgba(124, 62, 181, 0.18);
}

.about-sequence-item.is-active .opportunity-card {
  box-shadow: 0 24px 44px rgba(31, 8, 63, 0.22);
}

.about-sequence-item.is-active .about-showcase-media,
.about-sequence-item.is-active .play-win-image {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.about-sequence-item.is-active .about-text-overlay,
.about-sequence-item.is-active .play-win-content,
.about-sequence-item.is-active .opportunity-content {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.about-sequence-item.is-active .opportunity-bg {
  transform: scale(1.02);
  filter: saturate(1) blur(0);
}

/* ==========================================
   7. TESTIMONIALS SECTION
   ========================================== */
.testimonials {
  padding-top: 56px;
}

.testimonials-header {
  margin-bottom: 38px;
  text-align: center;
}

.testimonials-header .section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.testimonials-header .emoji {
  font-size: 0.92em;
}

.testimonials-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-card {
  padding: 28px 24px;
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, #ffffff 0%, #fcf8ff 100%);
  box-shadow: var(--shadow-card);
  text-align: right;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.testimonial-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 800;
}

.testimonial-stars {
  display: flex;
  justify-content: flex-end;
  gap: 2px;
  margin-bottom: 14px;
}

.testimonial-stars .star {
  color: var(--star-yellow);
  font-size: 1.15rem;
}

.testimonial-card p {
  font-size: 0.94rem;
  line-height: 1.9;
}

/* ==========================================
   8. CONTACT SECTION
   ========================================== */
.contact {
  padding-top: 82px;
}

.contact-panel {
  padding: 52px 24px;
  border-radius: 36px;
  background: linear-gradient(180deg, #f2e7ff 0%, #ead8ff 100%);
}

.contact-header {
  margin-bottom: 28px;
  text-align: center;
}

.contact-header .section-title {
  color: var(--purple-dark);
}

.contact-form {
  max-width: 620px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid rgba(133, 79, 196, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  text-align: right;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(151, 46, 255, 0.35);
  box-shadow: 0 0 0 4px rgba(151, 46, 255, 0.08);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 15px 22px;
  border-radius: 16px;
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  background: var(--gradient-hero);
  box-shadow: 0 18px 26px rgba(102, 20, 184, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 32px rgba(102, 20, 184, 0.24);
}

/* ==========================================
   9. FOOTER
   ========================================== */
.footer {
  margin-top: 24px;
  padding: 54px 0 0;
  color: var(--text-white);
  background: var(--gradient-footer);
  border-radius: 36px 36px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 1fr;
  gap: 36px;
  padding-bottom: 38px;
}

.footer-cta {
  text-align: right;
}

.footer-cta h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
}

.footer-cta p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-store-buttons .store-badge {
  height: 44px;
  box-shadow: none;
}

.footer-nav,
.footer-contact {
  text-align: right;
}

.footer-nav h3,
.footer-contact h3 {
  margin-bottom: 18px;
  font-size: 1.1rem;
  font-weight: 800;
}

.footer-nav ul {
  display: grid;
  gap: 12px;
}

.footer-nav a,
.footer-bottom-links a,
.footer-contact-item {
  color: rgba(255, 255, 255, 0.8);
}

.footer-nav a:hover,
.footer-bottom-links a:hover {
  color: var(--text-white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 5px;
  fill: currentColor;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.26);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--text-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p,
.footer-bottom-links a {
  font-size: 0.9rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom-links {
  display: flex;
  gap: 22px;
}

/* ==========================================
   TERMS & PRIVACY PAGES
   ========================================== */
.legal-page {
  min-height: 100vh;
  padding-top: 126px;
  padding-bottom: 90px;
}

.legal-page .container {
  max-width: 900px;
}

.legal-page h1 {
  margin-bottom: 30px;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  text-align: center;
  color: var(--purple-primary);
}

.legal-page h2 {
  margin: 30px 0 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.legal-page p,
.legal-page ul li {
  font-size: 1rem;
  line-height: 1.95;
  color: var(--text-body);
}

.legal-page ul {
  padding-right: 24px;
  margin-bottom: 14px;
}

.legal-page ul li {
  list-style: disc;
  margin-bottom: 8px;
}

.navbar-legal {
  top: 12px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1100px) {
  .hero .container,
  .play-win-card,
  .about-showcase {
    gap: 36px;
  }

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

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .navbar {
    top: 10px;
  }

  .navbar .container {
    min-height: 68px;
    border-radius: 24px;
  }

  .navbar-links {
    position: fixed;
    inset: 0;
    justify-content: center;
    flex-direction: column;
    gap: 28px;
    color: var(--text-white);
    background: rgba(99, 25, 183, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateX(100%);
    transition: transform var(--transition-normal);
  }

  .navbar-links.active {
    transform: translateX(0);
  }

  .navbar-links a {
    font-size: 1.3rem;
  }

  .navbar-links a::after {
    background: var(--text-white);
  }

  .navbar-lang {
    display: none;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 74px;
  }

  .hero .container,
  .play-win-card,
  .about-showcase {
    flex-direction: column;
    text-align: center;
  }

  .hero-content,
  .play-win-content,
  .about-text-overlay {
    max-width: 100%;
    text-align: center;
  }

  .hero-kicker,
  .section-kicker,
  .about-badge {
    margin-inline: auto;
  }

  .hero-logo-title img {
    margin: 0 auto;
    height: 82px;
  }

  .hero-buttons,
  .footer-store-buttons,
  .footer-social {
    justify-content: center;
  }

  .features-header,
  .about-top {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .about-top {
    padding: 28px 22px;
  }

  .about-top::after {
    right: 50%;
    transform: translateX(50%);
    top: 22px;
  }

  .features-header .section-title,
  .about-top .section-title {
    margin: 0 auto;
  }

  .about-image-wrapper {
    padding-top: 0;
  }

  .about-sequence-item {
    min-height: auto;
    padding-bottom: 16px;
  }

  .about-text-overlay {
    padding-bottom: 0;
  }

  .opportunity-card {
    min-height: calc(100svh - 96px);
  }

  .opportunity-content {
    max-width: 100%;
    padding: 32px 24px;
  }

  .opportunity-content,
  .footer-cta,
  .footer-nav,
  .footer-contact {
    text-align: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-contact-item {
    justify-content: center;
    text-align: right;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 104px;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-description,
  .features-header .section-subtitle,
  .about-top .about-desc {
    line-height: 1.9;
  }

  .about-card,
  .play-win-card {
    padding: 28px 18px 18px;
    min-height: 0;
  }

  .about-sequence-item {
    min-height: auto;
  }

  .about {
    padding-bottom: 24px;
  }

  .about-top {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .about-card::after,
  .play-win-card::after {
    right: -18%;
    left: -18%;
    bottom: -120px;
    height: 180px;
  }

  .store-badge {
    height: 44px;
  }

  .features-grid,
  .testimonials-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .testimonial-card {
    padding: 24px 18px;
  }

  .opportunity-card {
    min-height: calc(100svh - 56px);
  }

  .play-win-content p:last-child,
  .opportunity-content p {
    font-size: 1rem;
  }

  .contact-panel {
    padding: 38px 16px;
    border-radius: 28px;
  }

  .footer {
    border-radius: 28px 28px 0 0;
  }

  .footer-bottom-links {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-card,
  .play-win-card,
  .opportunity-card,
  .about-showcase-media,
  .about-text-overlay,
  .play-win-content,
  .play-win-image,
  .opportunity-bg,
  .opportunity-content {
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
}
