/* Nado TV — official landing site */
@font-face {
  font-family: "Poppins";
  src: url("../assets/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #3dbdbe;
  --bg-deep: #2fa3a4;
  --bg-glow: #5dd4d5;
  --card-dark: #0f4a4b;
  --card-border: #2a7b7c;
  --text: #fefefe;
  --text-soft: rgba(254, 254, 254, 0.78);
  --text-muted: rgba(254, 254, 254, 0.62);
  --surface: rgba(255, 255, 255, 0.1);
  --surface-strong: rgba(255, 255, 255, 0.16);
  --border: rgba(255, 255, 255, 0.22);
  --shadow: 0 20px 50px rgba(6, 46, 47, 0.35);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1140px;
  --font: "Tajawal", "Segoe UI", Tahoma, "Arial", sans-serif;
  --code: #5dd4d5;
}

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

html {
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  margin: 0;
  font-family: var(--font);
  text-align: right;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 0% -10%, rgba(93, 212, 213, 0.45), transparent 55%),
    radial-gradient(700px 400px at 100% 0%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(155deg, var(--bg-deep) 0%, var(--bg) 45%, #359ea0 100%);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.brand-text strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-desktop a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: background 0.2s, color 0.2s;
}

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

.nav-cta {
  background: var(--text) !important;
  color: var(--card-dark) !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1.25rem;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0 0 16px;
}

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

.mobile-nav a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-weight: 500;
}

/* Hero */
.hero {
  padding: 48px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--bg-glow);
  text-shadow: 0 0 40px rgba(93, 212, 213, 0.5);
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 52ch;
  margin-bottom: 28px;
}

.hero-note {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(6, 46, 47, 0.35);
  border: 1px solid var(--card-border);
  font-size: 0.95rem;
}

.step-item .en-hint {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  direction: ltr;
  text-align: left;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: var(--text);
  color: var(--card-dark);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

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

.btn-android::before {
  content: "▶";
  font-size: 0.85rem;
}

.btn-ios::before {
  content: "";
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.badge {
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(6, 46, 47, 0.4);
  border: 1px solid var(--card-border);
  color: var(--text-soft);
}

.hero-visual {
  position: relative;
}

.phone-card {
  background: linear-gradient(145deg, var(--card-dark), #135859);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.phone-card img {
  width: 120px;
  margin: 0 auto 20px;
  border-radius: 24px;
}

.code-box {
  background: rgba(0, 0, 0, 0.25);
  border: 2px dashed var(--bg-glow);
  border-radius: 16px;
  padding: 18px;
  margin: 16px 0;
}

.code-box span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.code-box strong {
  font-size: 2rem;
  letter-spacing: 0.35em;
  color: var(--code);
  font-weight: 800;
}

/* Sections */
section {
  padding: 56px 0;
}

.section-title {
  text-align: center;
  direction: rtl;
  margin-bottom: 40px;
}

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

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

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

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

.card {
  background: linear-gradient(160deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(8px);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(93, 212, 213, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

/* Steps */
.steps {
  counter-reset: step;
}

.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px;
  margin-bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--text);
  color: var(--card-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
}

.step-item h3 {
  margin: 0 0 8px;
}

.step-item p {
  margin: 0;
  color: var(--text-soft);
}


/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--surface);
}

.faq-q {
  width: 100%;
  text-align: right;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-item.open .faq-q span:last-child {
  transform: rotate(45deg);
}

/* Footer */
.site-footer {
  margin-top: 48px;
  padding: 40px 0 28px;
  border-top: 1px solid var(--border);
  background: rgba(6, 46, 47, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-grid h4 {
  margin: 0 0 12px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

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

.footer-links li {
  margin-bottom: 8px;
}

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

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

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

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: 32px; }
.highlight-panel {
  background: linear-gradient(135deg, rgba(6, 46, 47, 0.65), rgba(19, 88, 89, 0.5));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.highlight-panel h2 {
  margin-top: 0;
}

.page-hero {
  padding: 40px 0 24px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 12px;
}

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

.store-card-lg {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px;
}

.store-card-lg .platform {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.legal-content {
  max-width: 72ch;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 32px;
}

.legal-content p,
.legal-content li {
  color: var(--text-soft);
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding-top: 28px;
  }

  .phone-card {
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .store-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .code-box strong {
    letter-spacing: 0.2em;
    font-size: 1.6rem;
  }
}
