/* Vaco TV — Marketing site (Hostinger static) */
:root {
  --bg: #090f1d;
  --bg-elevated: #0c1830;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-border: rgba(255, 255, 255, 0.1);
  --primary: #0059ff;
  --primary-glow: #3b82f6;
  --accent: #6366f1;
  --text: #f1f5f9;
  --text-muted: rgba(241, 245, 249, 0.72);
  --success: #22c55e;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 24px 48px rgba(0, 89, 255, 0.18);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

html[dir="rtl"] body {
  font-family: "Segoe UI", "Noto Sans Arabic", Tahoma, sans-serif;
}

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

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

a {
  color: var(--primary-glow);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #93c5fd;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Background mesh */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(0, 89, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(99, 102, 241, 0.2), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(59, 130, 246, 0.12), transparent 60%),
    var(--bg);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(9, 15, 29, 0.82);
  border-bottom: 1px solid var(--surface-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 89, 255, 0.35);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn,
.menu-btn {
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.menu-btn {
  display: flex;
  padding: 0.5rem;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0 1rem;
  border-top: 1px solid var(--surface-border);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 0.65rem 0.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 89, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--surface-border);
}

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

.btn-ios {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: #fff;
}

.btn-android {
  background: linear-gradient(135deg, #0f9d58, #34a853);
  color: #fff;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 89, 255, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.code-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px dashed rgba(59, 130, 246, 0.5);
}

.code-pill strong {
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: #93c5fd;
}

.phone-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(0, 89, 255, 0.12), rgba(12, 24, 48, 0.9));
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
}

.phone-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 89, 255, 0.5), transparent 40%, rgba(99, 102, 241, 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;
  pointer-events: none;
}

.phone-mock {
  aspect-ratio: 9/16;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 28px;
  background: #0a1225;
  border: 3px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mock-input {
  padding: 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mock-code {
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  color: #93c5fd;
  letter-spacing: 0.2em;
}

.mock-btn {
  padding: 0.7rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.5rem;
  font-weight: 800;
}

.section-title p {
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 60ch;
}

.features-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 89, 255, 0.2);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  position: relative;
  padding: 1.5rem 1.25rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.step-highlight {
  border-color: rgba(0, 89, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

/* Download strip */
.download-strip {
  padding: 3rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 89, 255, 0.2), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(59, 130, 246, 0.35);
  text-align: center;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* FAQ accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.open {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 8px 24px rgba(0, 89, 255, 0.12);
}

.faq-q {
  width: 100%;
  padding: 1.2rem 1.35rem;
  background: none;
  border: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.45;
  text-align: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q:focus-visible {
  outline: 2px solid var(--primary-glow);
  outline-offset: -2px;
}

.faq-q-label {
  flex: 1;
  min-width: 0;
}

.faq-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 89, 255, 0.18);
  color: #93c5fd;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease, background 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(0, 89, 255, 0.32);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-a {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.faq-a p {
  margin: 0 0 0.75rem;
}

.faq-a p:last-child {
  margin-bottom: 0;
}

.faq-a ul {
  margin: 0.5rem 0 0;
  padding-inline-start: 1.35rem;
}

.faq-a li {
  margin-bottom: 0.45rem;
}

.faq-a a {
  font-weight: 600;
}

.faq-page-intro {
  max-width: 72ch;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.faq-seo-rich {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 1rem;
}

.faq-seo-rich h2 {
  font-size: 1.45rem;
  margin: 0 0 1rem;
  font-weight: 800;
}

.faq-seo-rich p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.85;
  margin: 0 0 1rem;
}

/* Page hero (inner) */
.page-hero {
  padding: 2.5rem 0 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 65ch;
  margin: 0 auto;
}

/* Content prose */
.prose {
  max-width: 72ch;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ol,
.prose ul {
  padding-inline-start: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.alert-box {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(0, 89, 255, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  margin: 1.5rem 0;
}

.alert-box strong {
  color: #93c5fd;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--surface-border);
  background: rgba(0, 0, 0, 0.2);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}

.footer-grid h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface-border);
}

/* SEO content block (readable, not hidden) */
.seo-block {
  padding: 3rem 0;
  border-top: 1px solid var(--surface-border);
}

.seo-block h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.seo-block p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.85;
  max-width: 80ch;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

html[lang="ar"] .lang-en,
html[lang="en"] .lang-ar {
  display: none !important;
}

html[lang="en"] body {
  direction: ltr;
}

html[lang="ar"] body {
  direction: rtl;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
