/* ==========================================================================
   Dumqa Landing — Dark Theme
   ========================================================================== */

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

:root {
  --bg: #0b0f19;
  --bg-card: #131929;
  --bg-card-hover: #1a2236;
  --bg-elevated: #1c2333;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --orange: #e8733a;
  --orange-glow: rgba(232, 115, 58, 0.25);
  --green: #3fb950;
  --green-glow: rgba(63, 185, 80, 0.2);
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.2);
  --border: rgba(255,255,255,0.06);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --animate-duration: 0.7s;
  --animate-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; }

/* ---- Nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(11, 15, 25, 0.8);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.25rem;
}
.nav__logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  background: rgba(255, 107, 43, 0.08);
  border: 1px solid rgba(255, 107, 43, 0.25);
  color: #fff;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.lang-select:focus,
.lang-select:hover { border-color: var(--orange); background: rgba(255, 107, 43, 0.14); }
.lang-select option { background: #131929; color: #fff; }

@media (max-width: 768px) {
  .nav__links { display: none; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-lg); font-weight: 600;
  font-size: 1rem; cursor: pointer; border: none; white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--orange {
  background: var(--orange); color: #fff;
  box-shadow: 0 4px 24px var(--orange-glow);
}
.btn--orange:hover { box-shadow: 0 8px 32px var(--orange-glow); }

.btn--outline {
  background: transparent; color: var(--text);
  border: 2px solid rgba(255,255,255,0.15);
}
.btn--outline:hover { border-color: rgba(255,255,255,0.3); }

.btn--store { min-width: 160px; }

.btn--green {
  background: var(--green); color: #fff;
  box-shadow: 0 4px 24px var(--green-glow);
}

.btn--purple {
  background: var(--purple); color: #fff;
  box-shadow: 0 4px 24px var(--purple-glow);
}

.btn__icon { width: 20px; height: 20px; }

/* ---- Hero ---- */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero__bg-circle {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.15; pointer-events: none;
}
.hero__bg-circle--1 {
  width: 600px; height: 600px; background: var(--orange);
  top: -200px; left: -100px;
}
.hero__bg-circle--2 {
  width: 500px; height: 500px; background: var(--purple);
  top: -100px; right: -150px;
}
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  background: var(--orange-glow); color: var(--orange);
  font-size: 0.875rem; font-weight: 600; margin-bottom: 24px;
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 24px;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--orange), #f7a44c);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 1.25rem; color: var(--text-muted); max-width: 480px;
  margin-bottom: 40px; line-height: 1.7;
}
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__social-proof {
  display: flex; align-items: center; gap: 12px; margin-top: 32px;
  font-size: 0.875rem; color: var(--text-muted);
}
.hero__avatars { display: flex; }
.hero__avatars img {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--bg); margin-left: -8px;
}
.hero__avatars img:first-child { margin-left: 0; }

/* Hero phone mockup */
.hero__phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-mockup {
  width: 280px; border-radius: 40px; overflow: hidden;
  border: 6px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  position: relative; z-index: 2;
}
.phone-mockup img { width: 100%; display: block; }

.hero__float-card {
  position: absolute; padding: 14px 18px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  display: flex; align-items: center; gap: 12px;
  animation: float 6s ease-in-out infinite; z-index: 3;
}
.hero__float-card--top { top: 40px; left: -30px; }
.hero__float-card--bottom { bottom: 80px; right: -20px; animation-delay: -3s; }

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

.float-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.float-icon--orange { background: rgba(232, 115, 58, 0.15); color: var(--orange); }
.float-icon--green { background: rgba(63, 185, 80, 0.15); color: var(--green); }
.float-card__label { font-size: 0.875rem; font-weight: 700; }
.float-card__sub { font-size: 0.75rem; color: var(--text-muted); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__buttons { justify-content: center; }
  .hero__social-proof { justify-content: center; }
  .hero__phone-wrap { margin-top: 48px; }
  .hero__float-card { display: none; }
}

/* ---- Stats ---- */
.stats {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-card); padding: 48px 0;
}
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
}
.stats__value {
  font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 4px;
}
.stats__label { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }

@media (max-width: 640px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Section ---- */
.section { padding: 120px 0; }
.section--alt { background: var(--bg-card); }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 80px; }
.section__header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section__header p { font-size: 1.125rem; color: var(--text-muted); }

/* ---- Features ---- */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.feature-card { text-align: center; }
.feature-card__icon {
  width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
}
.feature-card__icon--orange { background: var(--orange-glow); color: var(--orange); }
.feature-card__icon--green { background: var(--green-glow); color: var(--green); }
.feature-card__icon--purple { background: var(--purple-glow); color: var(--purple); }
.feature-card__icon svg { width: 32px; height: 32px; }
.feature-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); line-height: 1.7; }

/* Phone inside feature */
.feature-card .phone-mockup--sm {
  width: 200px; margin: 0 auto 32px; border-radius: 28px;
  border: 4px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4); overflow: hidden;
}

@media (max-width: 768px) {
  .features__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ---- How it works ---- */
.how-section {
  background: var(--orange); border-radius: var(--radius-xl); padding: 80px 64px;
  position: relative; overflow: hidden; color: #fff;
}
.how-section__bg {
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; background: rgba(255,255,255,0.08);
  border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.how-section__grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center;
  position: relative; z-index: 2;
}
.how-section h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.how-section__subtitle { font-size: 1.125rem; opacity: 0.8; margin-bottom: 40px; }

.steps { display: flex; flex-direction: column; gap: 32px; }
.step { display: flex; gap: 16px; }
.step__number {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: #fff; color: var(--orange); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.step p { opacity: 0.75; }

.how-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}
.how-phone .phone-mockup {
  border-color: rgba(255,255,255,0.2); background: rgba(0,0,0,0.1);
}

@media (max-width: 1024px) {
  .how-section { padding: 56px 40px; }
  .how-section__grid { gap: 32px; }
}
@media (max-width: 900px) {
  .how-section { padding: 48px 24px; border-radius: var(--radius-lg); }
  .how-section__grid { grid-template-columns: 1fr; text-align: center; }
  .step { text-align: left; }
  .how-phone { display: flex; justify-content: center; margin-top: 32px; }
}

/* ---- Pricing ---- */
.pricing__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 800px; margin: 0 auto; }
.pricing-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px; position: relative;
  display: flex; flex-direction: column;
}
.pricing-card .btn { margin-top: auto; }
.pricing-card--featured {
  border-color: var(--orange);
  box-shadow: 0 0 60px var(--orange-glow);
}
.pricing-card__badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--orange); color: #fff; font-size: 0.75rem;
  font-weight: 700; padding: 4px 14px; border-radius: 999px;
}
.pricing-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.pricing-card__price {
  font-size: 3rem; font-weight: 800; margin-bottom: 24px;
}
.pricing-card__price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-card__features { margin-bottom: 32px; }
.pricing-card__features li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; color: var(--text-muted); font-size: 0.95rem;
}
.pricing-card__features li svg { color: var(--green); flex-shrink: 0; width: 20px; height: 20px; }

@media (max-width: 640px) {
  .pricing__grid { grid-template-columns: 1fr; }
}

/* ---- Reviews ---- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px; display: flex; flex-direction: column;
}
.review-card__stars { display: flex; gap: 4px; margin-bottom: 16px; }
.review-card__stars svg { width: 18px; height: 18px; color: #f59e0b; }
.review-card__text { color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; flex: 1; }
.review-card__author {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--border); padding-top: 16px;
}
.review-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange-glow); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem;
}
.review-card__name { font-weight: 600; font-size: 0.875rem; }
.review-card__role { font-size: 0.75rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .reviews__grid { grid-template-columns: 1fr; }
}

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; font-weight: 600; cursor: pointer;
  transition: background 0.2s;
}
.faq-item summary:hover { background: var(--bg-card-hover); }
.faq-item summary::marker, .faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  width: 20px; height: 20px; color: var(--text-muted); flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item__body { padding: 0 24px 20px; color: var(--text-muted); line-height: 1.7; }

/* ---- CTA ---- */
.cta { padding: 120px 0; text-align: center; }
.cta__logo { width: 80px; height: 80px; border-radius: 20px; margin: 0 auto 48px; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 40px; }
.cta h2 .gradient {
  background: linear-gradient(135deg, var(--orange), #f7a44c);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer {
  padding: 32px 0; border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; text-align: center; max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
}
.footer__brand {
  display: flex; align-items: center; gap: 8px; font-weight: 700;
}
.footer__brand img {
  width: 24px; height: 24px; border-radius: 6px; opacity: 0.6;
}
.footer__copy { font-size: 0.875rem; color: var(--text-muted); }
.footer__links {
  display: flex; flex-direction: row; justify-content: center; align-items: center;
  gap: 20px; flex-wrap: nowrap;
}
.footer__links a {
  font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s; white-space: nowrap;
}
.footer__links a:hover { color: var(--text); }
.footer__links svg { display: block; color: var(--text-muted); transition: color 0.2s; }
.footer__links svg:hover { color: var(--text); }

/* ---- Animations ---- */
.animate-block {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--animate-duration) var(--animate-ease),
              transform var(--animate-duration) var(--animate-ease);
}
.animate-block.in-view { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ---- Accent highlights ---- */
.text-orange { color: var(--orange); }
.text-green { color: var(--green); }
.text-purple { color: var(--purple); }

/* ---- Utility ---- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
