/* MyDoha — mydoha.app — style.css
   Mobile-first. Shared across FR + EN + legal pages.
   Palette: primary #D4502A, dark #1C1C2E */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1C1C2E;
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --primary: #D4502A;
  --primary-dark: #B8401F;
  --primary-light: #FFF0EB;
  --dark: #1C1C2E;
  --gray-600: #4B5563;
  --gray-400: #9CA3AF;
  --gray-100: #F3F4F6;
  --white: #FFFFFF;
  --section-gap: 4rem;
  --container-max: 1120px;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0.875rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--dark);
}

.nav-logo-dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
}

.nav-lang a {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: background 0.15s;
}

.nav-lang a:hover { background: var(--gray-100); }
.nav-lang a.active { color: var(--primary); font-weight: 700; }
.nav-lang .sep { color: var(--gray-400); }

/* ===== HERO ===== */
.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(160deg, #FFF8F5 0%, #FFFFFF 60%);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.hero-headline span { color: var(--primary); }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: center;
  width: 100%;
  max-width: 360px;
}

.btn-store {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.9rem 1.75rem;
  border-radius: 50px;
  font-size: 0.975rem;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  cursor: default;
  opacity: 0.7;
  border: none;
}

.btn-store:hover { transform: translateY(-1px); opacity: 0.85; }

.btn-store.ios {
  background: var(--dark);
  color: var(--white);
}

.btn-store.android {
  background: var(--white);
  color: var(--dark);
  box-shadow: inset 0 0 0 1.5px var(--dark);
}

.btn-store-icon { font-size: 1.2rem; }
.btn-store-text { font-size: 0.72rem; line-height: 1; }
.btn-store-name { font-size: 0.95rem; font-weight: 700; line-height: 1.3; }
.btn-store-label-col { display: flex; flex-direction: column; align-items: flex-start; }

.hero-soon {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: -0.25rem;
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.hero-social-stat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-social-stat strong { color: var(--dark); font-weight: 700; }
.hero-sep { color: var(--gray-400); font-size: 1.2rem; line-height: 1; }

/* ===== PHONE MOCKUP ===== */
.phone-wrap {
  width: 220px;
  flex-shrink: 0;
}

.phone-mockup {
  position: relative;
  width: 220px;
  height: 460px;
  background: var(--dark);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 32px 80px rgba(28,28,46,0.25), 0 4px 16px rgba(0,0,0,0.1);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1e1e3a, #2a1f4a);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1rem 0.75rem;
  gap: 0.6rem;
}

.phone-screen-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: var(--dark);
  border-radius: 0 0 14px 14px;
  margin: -12px auto 0;
}

.phone-topbar-brand {
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
}

.phone-topbar-city {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
}

.phone-event-card {
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  border-left: 3px solid var(--primary);
}

.phone-event-date {
  font-size: 0.55rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.phone-event-title {
  font-size: 0.62rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
}

.phone-event-loc {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.15rem;
}

.phone-chips {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.chip {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.52rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
}

.chip.active {
  background: var(--primary);
  color: #fff;
}

.phone-club-banner {
  background: linear-gradient(120deg, var(--primary) 0%, #E87040 100%);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  margin-top: auto;
}

.phone-club-title {
  font-size: 0.6rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone-club-sub {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.1rem;
}

/* ===== STATS ===== */
.stats {
  background: var(--gray-100);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-number {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-top: 0.3rem;
  line-height: 1.4;
}

/* ===== SECTION HEADINGS ===== */
.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-sub {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--gray-600);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FEATURES ===== */
.features {
  padding: var(--section-gap) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ===== SCREENSHOTS ===== */
.screenshots {
  padding: var(--section-gap) 0;
  background: var(--gray-100);
  overflow: hidden;
}

.screenshots-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 1.25rem 1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screenshots-scroll::-webkit-scrollbar { display: none; }

.screenshot-frame {
  flex-shrink: 0;
  width: 170px;
  height: 360px;
  background: linear-gradient(145deg, #1e1e3a, #2a1f4a);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 16px 48px rgba(28,28,46,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.4;
}

.screenshot-label {
  font-size: 0.7rem;
  text-align: center;
  color: var(--gray-400);
  margin-top: 0.5rem;
  padding: 0 1.25rem;
}

.screenshot-placeholder-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* ===== CLUB CTA ===== */
.club-cta {
  padding: var(--section-gap) 0;
}

.club-cta-card {
  background: linear-gradient(135deg, #1C1C2E 0%, #2E1B45 100%);
  border-radius: 20px;
  padding: 2.5rem 1.75rem;
  text-align: center;
  color: var(--white);
}

.club-cta-tag {
  display: inline-block;
  background: rgba(212, 80, 42, 0.25);
  color: #FF8060;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.club-cta-title {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.club-cta-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  max-width: 420px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.club-cta-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.perk-chip {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.btn-club {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition: background 0.15s, transform 0.15s;
  cursor: default;
  opacity: 0.7;
}

.btn-club:hover { background: var(--primary-dark); transform: translateY(-1px); }

.club-price {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===== WHATSAPP TRANSITION ===== */
.wa-section {
  padding: 2rem 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.wa-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.wa-text {
  font-size: 0.85rem;
  color: var(--gray-600);
  max-width: 360px;
}

.wa-text strong { color: var(--dark); }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  transition: background 0.15s, transform 0.15s;
}

.btn-wa:hover { background: #1eba59; transform: translateY(-1px); }

/* ===== FAQ ===== */
.faq {
  padding: var(--section-gap) 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  transition: color 0.15s;
}

.faq-question:hover { color: var(--primary); }

.faq-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform 0.2s;
  line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 1.2rem;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.82rem;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.legal-content .meta {
  font-size: 0.85rem;
  color: #6B7280;
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  list-style: disc;
  margin-bottom: 0.75rem;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 0.4rem;
}

.legal-content a { color: var(--primary); text-decoration: underline; }

.draft-banner {
  background: #FFF3CD;
  border: 1px solid #FBBF24;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: #92400E;
  margin-bottom: 2rem;
}

.draft-banner strong { font-weight: 700; }

/* ===== SUPPORT FORM ===== */
.support-form {
  max-width: 560px;
  margin: 2rem auto 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  background: #fff;
  transition: border-color 0.15s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  width: 100%;
}

.btn-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ===== RESPONSIVE — Tablet ===== */
@media (min-width: 768px) {
  .hero-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    gap: 3rem;
  }

  .hero-content { flex: 1; }

  .hero-cta-group {
    flex-direction: row;
    max-width: none;
  }

  .btn-store { width: auto; min-width: 180px; }

  .hero-social { justify-content: flex-start; }
  .hero-badge { align-self: flex-start; }

  .stats-grid { gap: 2rem; }

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

  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-links { justify-content: flex-end; }

  .wa-inner { flex-direction: row; justify-content: center; gap: 1.5rem; text-align: left; }
}

/* ===== RESPONSIVE — Desktop ===== */
@media (min-width: 1024px) {
  .hero { padding: 5rem 0 4.5rem; }

  .phone-wrap { width: 260px; }

  .phone-mockup {
    width: 260px;
    height: 540px;
  }

  .screenshot-frame {
    width: 200px;
    height: 420px;
  }
}
