/* ==========================================================================
   DAFFORA — Luxury Beauty & Tech Design System
   Warm Alabaster (#F7F5F2) · Matte Charcoal (#141414) · Champagne Gold (#C5A880)
   ========================================================================== */

:root {
  --bg: #F7F5F2;
  --bg-elevated: #FFFFFF;
  --bg-soft: #EFECE6;
  --ink: #141414;
  --ink-secondary: #52504C;
  --ink-muted: #7C7872;
  --gold: #C5A880;
  --gold-deep: #B59467;
  --gold-tint: rgba(197, 168, 128, 0.14);
  --border: rgba(20, 20, 20, 0.08);
  --border-gold: rgba(197, 168, 128, 0.34);
  --glass-bg: rgba(255, 255, 255, 0.76);
  --glass-border: rgba(197, 168, 128, 0.3);
  --shadow-sm: 0 4px 20px rgba(20, 20, 20, 0.04);
  --shadow-md: 0 18px 48px rgba(20, 20, 20, 0.07);
  --shadow-lg: 0 28px 70px rgba(20, 20, 20, 0.1);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-w: 1340px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

/* ── Language Visibility (must beat .showcase-card / .showcase-stack display:flex) ── */
html:not([data-lang="az"]) [data-lang-content="az"],
html[data-lang="en"] [data-lang-content="az"] {
  display: none !important;
}

html[data-lang="az"] [data-lang-content="en"] {
  display: none !important;
}

/* ── Navigation Bar ────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 242, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--ink);
  padding: 5px;
  box-shadow: 0 4px 12px rgba(20, 20, 20, 0.14);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: #FFFFFF;
  border-color: var(--border-gold);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.2s ease;
}

.navbar.is-menu-open .nav-toggle-bar:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.navbar.is-menu-open .nav-toggle-bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav-drawer {
  border-top: 1px solid var(--border);
  background: rgba(247, 245, 242, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 44px rgba(20, 20, 20, 0.1);
}

.mobile-nav-drawer[hidden] {
  display: none;
}

.mobile-nav-inner {
  padding-top: 10px;
  padding-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

.mobile-nav-links a:last-child {
  border-bottom: none;
}

.mobile-nav-links a:hover {
  color: var(--gold-deep);
}

.mobile-nav-cta {
  width: 100%;
  padding: 13px 20px;
  font-size: 14.5px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--ink);
  color: #FFFFFF;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--ink);
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(20, 20, 20, 0.16);
}

.btn-primary:hover {
  background: #262626;
  box-shadow: 0 14px 32px rgba(20, 20, 20, 0.22);
}

.btn-outline {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  border-color: var(--border-gold);
}

.btn-outline:hover {
  background: #FFFFFF;
  border-color: var(--gold-deep);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #141414;
  box-shadow: 0 10px 26px rgba(181, 148, 103, 0.28);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* ── Glass Pill Eyebrow ────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-deep);
}

/* ── Typography ────────────────────────────────────────────────────────── */
.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
}

.display-title .gold-accent {
  background: linear-gradient(125deg, #B59467 0%, #D3B890 50%, #9E7C50 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 14px;
}

.section-lead {
  font-size: 16px;
  color: var(--ink-secondary);
  max-width: 620px;
  margin: 0;
}

/* ── Hero Section ──────────────────────────────────────────────────────── */
.hero {
  padding: 56px 0 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.18) 0%, rgba(247, 245, 242, 0) 70%);
  pointer-events: none;
}

.hero-top {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--ink-secondary);
  max-width: 640px;
  margin: 0 auto 30px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 16px;
  background: var(--ink);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(20, 20, 20, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(20, 20, 20, 0.2);
}

.store-badge--live {
  border-color: rgba(197, 168, 128, 0.55);
  box-shadow: 0 14px 32px rgba(20, 20, 20, 0.2), 0 0 0 1px rgba(197, 168, 128, 0.2);
}

.store-badge--live .store-badge-sub {
  color: var(--gold);
  font-weight: 700;
}

.store-badge--soon {
  opacity: 0.78;
}

.store-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.store-badge-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.store-badge-main {
  font-size: 15px;
  font-weight: 700;
}

.hero-banner-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.hero-banner-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Sections & Grids ──────────────────────────────────────────────────── */
.section {
  padding: 76px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-lead {
  margin: 0 auto;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.role-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.role-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold-tint);
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.role-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--ink);
}

.role-card p {
  font-size: 14.5px;
  color: var(--ink-secondary);
  margin: 0;
}

/* ── Feature Showcase Blocks (matches 2-column banner-pair scale) ───────── */
.showcase-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.showcase-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.showcase-card.reverse .showcase-media {
  order: -1;
}

.showcase-media {
  width: 100%;
  background: #F4F2EE;
  overflow: hidden;
  order: -1;
  border-bottom: 1px solid var(--border);
}

.showcase-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-card:hover .showcase-media img {
  transform: scale(1.015);
}

.showcase-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.showcase-body .eyebrow {
  align-self: flex-start;
  margin-bottom: 2px;
}

.showcase-body h3 {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}

.showcase-body p {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Two-up banner gallery */
.banner-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.banner-tile {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.banner-tile img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #F4F2EE;
}

.banner-tile-caption {
  padding: 24px 28px;
}

.banner-tile-caption h4 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--ink);
}

.banner-tile-caption p {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
}

/* ── Dark Luxury CTA Band ──────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(145deg, #181715 0%, #101010 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 58px 40px;
  text-align: center;
  border: 1px solid rgba(197, 168, 128, 0.32);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(197, 168, 128, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  margin: 0 0 12px;
  color: #FFFFFF;
  position: relative;
  z-index: 1;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}

.cta-band .store-badges {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.cta-band .store-badge {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(197, 168, 128, 0.36);
}

.cta-social {
  margin-top: 22px;
  position: relative;
  z-index: 1;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(197, 168, 128, 0.35);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-pill:hover {
  background: rgba(197, 168, 128, 0.18);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Official Legal & Business Verification Card ───────────────────────── */
.legal-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
}

.legal-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(197, 168, 128, 0.16);
  color: #8A6B40;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}

.legal-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-item.full {
  grid-column: 1 / -1;
}

.legal-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.legal-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.legal-subvalue {
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.legal-value a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

.legal-value a:hover {
  color: var(--gold-deep);
}

/* ── Legal Document Pages (Privacy / Terms / Delete Account) ───────────── */
.doc-hero {
  padding: 56px 0 28px;
  text-align: center;
}

.doc-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow-sm);
  max-width: 880px;
  margin: 0 auto 64px;
}

.doc-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 34px 0 12px;
  color: var(--ink);
}

.doc-card h2:first-child {
  margin-top: 0;
}

.doc-card p {
  font-size: 15.5px;
  color: var(--ink-secondary);
  margin: 0 0 14px;
}

.doc-card ul,
.doc-card ol {
  padding-left: 22px;
  margin: 0 0 18px;
  color: var(--ink-secondary);
  font-size: 15.5px;
}

.doc-card li {
  margin-bottom: 10px;
}

.doc-card strong {
  color: var(--ink);
}

.doc-callout {
  background: var(--bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 22px 0;
}

.doc-meta {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: #FFFFFF;
  padding: 48px 0 36px;
  margin-top: 40px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.footer-brand-col {
  max-width: 440px;
}

.footer-brand-col p {
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin: 12px 0 0;
}

.footer-links-col {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.footer-links-col a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* ── Scroll Reveal Animation ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .roles-grid {
    grid-template-columns: 1fr;
  }
  .showcase-stack {
    grid-template-columns: 1fr;
  }
  .banner-pair {
    grid-template-columns: 1fr;
  }
  .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .container {
    padding: 0 16px;
  }
  .nav-inner {
    height: 64px;
    gap: 10px;
  }
  .brand {
    gap: 9px;
    font-size: 20px;
    flex-shrink: 0;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    padding: 4px;
  }
  .nav-actions {
    gap: 8px;
  }
  .lang-switch {
    padding: 3px;
  }
  .lang-btn {
    font-size: 11px;
    padding: 5px 9px;
  }
  .nav-cta {
    padding: 8px 14px;
    font-size: 12.5px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 34px 0 52px;
  }
  .section {
    padding: 52px 0;
  }
  .legal-card,
  .doc-card {
    padding: 28px 20px;
  }
  .cta-band {
    padding: 40px 20px;
  }
}

@media (max-width: 520px) {
  .nav-cta {
    display: none;
  }
  .store-badges {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  .store-badge {
    justify-content: center;
  }
}
