/* ═══════════════════════════════════════════════════════════
   EliteLoop — 2026 Premium Landing Page
   Design System: Liquid Glass · Editorial Typography · Dark-First
   ═══════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Surfaces — Deep Navy hierarchy (EliteLoop brand) */
  --surface-0: #07101F;
  --surface-1: #0C1526;
  --surface-2: #142033;
  --surface-3: #1C2B40;

  /* Gold — EliteLoop luxury palette */
  --gold: #D8A557;
  --gold-rgb: 216, 165, 87;
  --gold-soft: #FAE6B7;
  --gold-deep: #B77925;
  --pearl: #F5D9B7;
  --champagne: #FAE6B7;
  --amber: #E6A747;
  --glow: #F6C469;

  /* Badge palette */
  --bronze: #A56918;
  --bronze-rgb: 165, 105, 24;
  --silver: #C0C7D6;
  --silver-rgb: 192, 199, 214;
  --green: #34D399;

  /* Text — Ivory tones (not pure white) */
  --text-1: #F6F1E7;
  --text-2: #B0A794;
  --text-3: rgba(246, 241, 231, 0.4);

  /* Glass surfaces — warm-tinted */
  --glass-bg: rgba(246, 241, 231, 0.03);
  --glass-bg-hover: rgba(246, 241, 231, 0.06);
  --glass-border: rgba(246, 241, 231, 0.08);
  --glass-border-hover: rgba(246, 241, 231, 0.15);

  /* Radii */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-full: 999px;

  /* Typography */
  --font-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --container: min(1200px, calc(100% - 48px));
  --container-narrow: min(800px, calc(100% - 48px));
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-1);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(var(--gold-rgb), 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #07101F 0%, #0A1628 40%, #07101F 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.rtl { direction: rtl; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }


/* ── NOISE OVERLAY ─────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}


/* ── LAYOUT ────────────────────────────────────────────── */
.container {
  width: var(--container);
  margin: 0 auto;
}

.container--narrow {
  width: var(--container-narrow);
  margin: 0 auto;
}


/* ── HEADER ────────────────────────────────────────────── */
.c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.4s var(--ease);
}

.c-header.scrolled {
  background: rgba(7, 16, 31, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
}

.c-header-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  transition: padding 0.4s var(--ease);
}

.c-header.scrolled .c-header-inner {
  padding: 14px 0;
}

.c-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.c-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.c-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.c-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s ease;
  position: relative;
}

.c-nav a:hover { color: var(--text-1); }

.c-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.c-nav a:hover::after { width: 100%; }

/* Cities link special */
.c-nav-cities {
  color: var(--gold-soft) !important;
  font-weight: 600 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.c-nav-badge {
  padding: 2px 7px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-soft));
  color: #0A0A0A;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: pulse-badge 2.5s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(var(--gold-rgb), 0); }
}

.c-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.c-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-2);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.c-lang-btn:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  color: var(--text-1);
}

.c-header-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--r-full);
  background: var(--gold);
  color: #0A0A0A;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s var(--ease);
  box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.2);
}

.c-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 30px rgba(var(--gold-rgb), 0.35);
}

.c-mobile-cities {
  display: none;
}


/* ── HERO ──────────────────────────────────────────────── */
.c-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Ambient gradient glow */
.c-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.1) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  animation: hero-glow 10s ease-in-out infinite alternate;
}

.c-hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  animation: hero-glow 12s ease-in-out 3s infinite alternate;
}

@keyframes hero-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

.c-hero-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.c-hero-content {
  max-width: 560px;
}

.c-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--r-full);
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  background: rgba(var(--gold-rgb), 0.06);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.c-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.c-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.c-hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}

.c-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 36px;
}

.c-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}


/* ── BUTTONS ───────────────────────────────────────────── */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-full);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.c-btn--gold {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold), var(--gold-soft));
  color: #0A0A0A;
  box-shadow: 0 8px 32px rgba(var(--gold-rgb), 0.25);
}

.c-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 44px rgba(var(--gold-rgb), 0.4);
}

.c-btn--gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.c-btn--gold:hover::after {
  transform: translateX(100%);
}

.c-btn--glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-1);
  backdrop-filter: blur(12px);
}

.c-btn--glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}

.c-btn--full { width: 100%; }

.c-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* ── PHONE MOCKUP ──────────────────────────────────────── */
.c-hero-device {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.c-phone {
  position: relative;
  width: 310px;
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(145deg, #2A2A2E, #1A1A1E);
  box-shadow:
    0 60px 120px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform 0.6s var(--ease);
  animation: phone-float 6s ease-in-out infinite;
}

.c-phone:hover {
  transform: rotateY(-3deg) rotateX(1deg) translateY(-8px);
}

/* Ambient glow behind phone */
.c-phone::before {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 80px;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.12) 0%, transparent 60%);
  filter: blur(40px);
  z-index: -1;
}

/* Dynamic Island / Notch */
.c-phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  border-radius: 20px;
  background: #0A0A0A;
  z-index: 10;
}

.c-phone-screen {
  border-radius: 38px;
  overflow: hidden;
  position: relative;
}

.c-phone-screen img {
  width: 100%;
  display: block;
}

@keyframes phone-float {
  0%, 100% { transform: rotateY(-8deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(3deg) translateY(-12px); }
}


/* ── SOCIAL PROOF BAND ─────────────────────────────────── */
.c-proof {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.01);
}

.c-proof-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.c-proof-item {
  text-align: center;
}

.c-proof-item strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 4px;
}

.c-proof-item span {
  font-size: 0.82rem;
  color: var(--text-2);
}

.c-proof-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}


/* ── SECTION GENERIC ───────────────────────────────────── */
.c-section {
  padding: 72px 0;
  position: relative;
}

.c-section--alt {
  background: linear-gradient(180deg, rgba(246, 241, 231, 0.015), rgba(246, 241, 231, 0.005));
}

.c-section-head {
  margin-bottom: 40px;
}

.c-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 16px;
}

.c-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.c-section-head p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 600px;
}


/* ── FEATURES — BENTO GRID ─────────────────────────────── */
.c-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 10px;
}

.c-feature {
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.c-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.c-feature:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.c-feature:hover::before { opacity: 1; }

/* Highlighted card */
.c-feature--highlight {
  background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.06), var(--glass-bg));
  border-color: rgba(var(--gold-rgb), 0.15);
}

.c-feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: rgba(var(--gold-rgb), 0.08);
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  margin-bottom: 20px;
  color: var(--gold);
}

.c-feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c-feature h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.c-feature p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-2);
}


/* ── VIDEO SECTION ─────────────────────────────────────── */
.c-video-wrapper {
  max-width: 880px;
  margin: 0 auto;
}

.c-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--surface-1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.c-video-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(7,16,31,0.3) 0%, rgba(7,16,31,0.7) 100%),
    url('https://i.ytimg.com/vi/4ZAFNhLGoTw/maxresdefault.jpg') center/cover;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.c-video-poster.hidden { opacity: 0; pointer-events: none; }

.c-video-play {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  box-shadow: 0 8px 40px rgba(var(--gold-rgb), 0.3);
}

.c-video-play:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 50px rgba(var(--gold-rgb), 0.5);
}

.c-video-play svg {
  width: 28px;
  height: 28px;
  fill: #0A0A0A;
  margin-left: 4px;
}

.c-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}

.c-video-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.c-video-tag {
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 1px solid rgba(var(--gold-rgb), 0.18);
  background: rgba(var(--gold-rgb), 0.05);
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 600;
}


/* ── WATCH PILL — Animated YouTube link ────────────────── */
.c-watch-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  background: rgba(var(--gold-rgb), 0.04);
  color: var(--gold-soft);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}

/* Spinning conic-gradient border */
.c-watch-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 0deg,
    rgba(var(--gold-rgb), 0.5),
    transparent 25%,
    transparent 50%,
    rgba(var(--gold-rgb), 0.3) 75%,
    rgba(var(--gold-rgb), 0.5)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: watch-spin 4s linear infinite;
}

/* Inner subtle glow on hover */
.c-watch-pill:hover {
  background: rgba(var(--gold-rgb), 0.08);
  color: var(--text-1);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--gold-rgb), 0.15);
}

/* Play icon fill */
.c-watch-pill svg {
  fill: var(--gold);
  transition: transform 0.3s var(--ease);
}

.c-watch-pill:hover svg {
  transform: scale(1.2);
}

/* Orbit dot — small gold particle that orbits */
.c-watch-pill__orbit {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.6);
  animation: orbit-dot 4s linear infinite;
  pointer-events: none;
}

@keyframes watch-spin {
  to { transform: rotate(360deg); }
}

@keyframes orbit-dot {
  0% {
    top: 50%;
    left: -2px;
    transform: translateY(-50%);
    opacity: 1;
  }
  25% {
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.8;
  }
  50% {
    top: 50%;
    left: calc(100% - 2px);
    transform: translateY(-50%);
    opacity: 1;
  }
  75% {
    top: calc(100% - 2px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.8;
  }
  100% {
    top: 50%;
    left: -2px;
    transform: translateY(-50%);
    opacity: 1;
  }
}


/* ── HOW IT WORKS ──────────────────────────────────────── */
.c-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  counter-reset: step;
}

.c-step {
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.4s var(--ease);
  position: relative;
}

.c-step:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.c-step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: rgba(var(--gold-rgb), 0.2);
  line-height: 1;
  margin-bottom: 20px;
}

.c-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.c-step p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 18px;
}

.c-step-visual {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.c-step-pill {
  padding: 8px 14px;
  border-radius: var(--r-full);
  background: rgba(var(--gold-rgb), 0.06);
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.c-badge-chip {
  padding: 8px 14px;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.c-badge-chip--bronze {
  background: rgba(var(--bronze-rgb), 0.12);
  border: 1px solid rgba(var(--bronze-rgb), 0.28);
  color: #D4956A;
}

.c-badge-chip--silver {
  background: rgba(var(--silver-rgb), 0.08);
  border: 1px solid rgba(var(--silver-rgb), 0.2);
  color: #D4DAE8;
}

.c-badge-chip--gold {
  background: rgba(var(--gold-rgb), 0.1);
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  color: var(--gold-soft);
}


/* ── PRICING ───────────────────────────────────────────── */
.c-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: stretch;
}

.c-price-card {
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease);
  position: relative;
}

.c-price-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
}

/* Featured card — animated gradient border */
.c-price-card--featured {
  border-color: rgba(var(--gold-rgb), 0.3);
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.06), var(--glass-bg));
}

.c-price-card--featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, rgba(var(--gold-rgb), 0.4), transparent 30%, transparent 70%, rgba(var(--gold-rgb), 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-spin 4s linear infinite;
  z-index: -1;
}

@keyframes border-spin {
  to { --border-angle: 360deg; }
}

.c-price-popular {
  position: absolute;
  top: -1px;
  right: 24px;
  padding: 6px 14px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--gold);
  color: #0A0A0A;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.c-price-tier {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
  margin-bottom: 4px;
}

.c-price-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.c-price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.c-price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
}

.c-price-alt {
  font-size: 0.88rem;
  color: var(--text-3);
  margin-bottom: 24px;
}

.c-price-features {
  flex: 1;
  margin-bottom: 24px;
}

.c-price-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.c-price-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.1);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

.c-price-features li.c-off {
  color: var(--text-3);
}

.c-price-features li.c-off::before {
  background: rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}


/* ── FAQ ACCORDION ─────────────────────────────────────── */
.c-faq-list {
  max-width: 760px;
}

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

.c-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--text-1);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}

body.rtl .c-faq-trigger { text-align: right; }

.c-faq-trigger:hover { color: var(--gold-soft); }

.c-faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  font-size: 1.1rem;
  color: var(--text-2);
  transition: all 0.35s var(--ease);
}

.c-faq-item.active .c-faq-icon {
  transform: rotate(45deg);
  border-color: rgba(var(--gold-rgb), 0.3);
  color: var(--gold);
}

.c-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.c-faq-item.active .c-faq-body {
  max-height: 300px;
}

.c-faq-answer {
  padding: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-2);
}


/* ── DOWNLOAD CTA ──────────────────────────────────────── */
.c-download {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.c-download::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.07) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.c-download h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  margin-bottom: 12px;
  position: relative;
}

.c-download > p {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto 28px;
  position: relative;
}

.c-download-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
  position: relative;
}


/* ── FOOTER ────────────────────────────────────────────── */
.c-footer {
  border-top: 1px solid var(--glass-border);
  padding: 56px 0 0;
  margin-top: 20px;
}

.c-footer-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 0.8fr);
  gap: 32px;
}

.c-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
}

.c-footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.c-footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 280px;
}

.c-footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-1);
  margin-bottom: 16px;
}

.c-footer-links a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-2);
  padding: 5px 0;
  transition: color 0.25s ease;
}

.c-footer-links a:hover { color: var(--text-1); }

.c-footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.c-footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: all 0.25s ease;
}

.c-footer-socials a:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
}

.c-footer-socials svg {
  width: 16px;
  height: 16px;
  fill: var(--text-2);
}

.c-footer-bottom {
  width: var(--container);
  margin: 32px auto 0;
  padding: 20px 0;
  border-top: 1px solid var(--glass-border);
  font-size: 0.82rem;
  color: var(--text-3);
}


/* ── MODAL ─────────────────────────────────────────────── */
.c-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  background: rgba(7, 8, 13, 0.8);
  backdrop-filter: blur(10px);
}

.c-modal-overlay.active { display: flex; }

.c-modal {
  width: min(420px, calc(100% - 32px));
  border-radius: var(--r-lg);
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  background: var(--surface-1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.c-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--glass-border);
}

.c-modal-header h3 { font-size: 1.1rem; }

.c-modal-close {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 1.6rem;
}

.c-modal-body { padding: 20px 24px; }

.c-lang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.c-lang-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  min-height: 90px;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-1);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.c-lang-option:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
}

.c-lang-option.active {
  border-color: rgba(var(--gold-rgb), 0.35);
  background: rgba(var(--gold-rgb), 0.08);
}

.c-lang-flag { font-size: 1.5rem; }


/* ── SCROLL REVEAL SYSTEM ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.4s; }


/* ── RESPONSIVE ────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .c-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .c-hero-content { max-width: 100%; }
  .c-hero-subtitle { margin-left: auto; margin-right: auto; }
  .c-hero-actions { justify-content: center; }
  .c-hero-device { order: -1; }

  .c-phone {
    width: 260px;
    transform: rotateY(0) rotateX(0);
    animation: phone-float-mobile 6s ease-in-out infinite;
  }

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

  .c-nav { display: none; }

  .c-mobile-cities { display: inline-flex !important; }

  .c-features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .c-feature--spotlight {
    grid-column: span 2;
  }

  .c-steps {
    grid-template-columns: 1fr;
  }

  .c-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .c-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --container: calc(100% - 32px);
  }

  .c-hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .c-hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
  }

  .c-hero-subtitle {
    font-size: 0.95rem;
  }

  .c-phone { width: 230px; }

  .c-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .c-features-grid {
    grid-template-columns: 1fr;
  }

  .c-feature--spotlight { grid-column: span 1; }

  .c-section { padding: 56px 0; }

  .c-section-head h2 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .c-section-head p {
    font-size: 0.9rem;
  }

  .c-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .c-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 16px;
  }

  .c-price-card {
    padding: 28px 20px;
  }

  .c-proof-inner {
    flex-direction: column;
    gap: 24px;
  }

  .c-proof-dot { display: none; }

  .c-download h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .c-download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .c-download-actions .c-btn {
    justify-content: center;
  }

  .c-watch-pill {
    padding: 12px 20px;
    font-size: 0.82rem;
    gap: 8px;
  }

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

  .c-footer-socials {
    justify-content: flex-start;
  }

  .c-header-cta { display: none; }

  .c-header-actions {
    gap: 8px;
  }

  .c-header-lang {
    font-size: 0.75rem;
    padding: 6px 10px;
  }
}


/* ── RTL SUPPORT ───────────────────────────────────────── */
body.rtl .c-price-features li { direction: rtl; }
body.rtl .c-faq-trigger { text-align: right; }
body.rtl .c-hero-content { text-align: right; }
body.rtl .c-hero-actions { justify-content: flex-start; }


/* ── REDUCED MOTION ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .c-phone {
    animation: none;
  }
}
