/* ===== Manzar landing page — Netflix-dark theme ===== */

:root {
  --bg: #0b0b0b;
  --bg-elev: #141414;
  --bg-card: #1c1c1c;
  --accent: #E50914;
  --accent-hover: #f6121d;
  --text: #ffffff;
  --text-dim: #b3b3b3;
  --border: rgba(255, 255, 255, 0.08);
  --maxw: 1160px;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.45);
}
.btn-sm  { padding: 8px 16px;  font-size: 0.9rem; }
.btn-lg  { padding: 15px 30px; font-size: 1.05rem; }
.btn-icon { font-size: 1.2em; line-height: 1; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  transition: background .3s ease, padding .3s ease;
}
.navbar.scrolled {
  background: var(--bg-elev);
  padding: 12px 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a:not(.btn) {
  color: var(--text-dim);
  font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:not(.btn):hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 150px 0 90px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(229,9,20,0.18), transparent 60%),
    var(--bg);
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-visual {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
}
.hero-copy { flex: 1; }

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.4);
  color: #fff;
  font-size: 0.9rem;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.download-badge strong { font-weight: 800; }
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(229, 9, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); }
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero-sub {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-note {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Phone mockup (CSS frame works even with no image) */
.phone {
  position: relative;
  width: 260px;
  height: 540px;
  background: linear-gradient(160deg, #2a2a2a, #101010);
  border: 3px solid #333;
  border-radius: 36px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6), 0 0 0 8px #0a0a0a;
  overflow: hidden;
  animation: float 5s ease-in-out infinite;
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 22px;
  background: #0a0a0a;
  border-radius: 12px;
  z-index: 2;
}
/* Fallback "poster" look shown behind the screenshot */
.phone::after {
  content: "MANZAR";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 3px;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.15);
  background:
    linear-gradient(180deg, rgba(229,9,20,0.25), transparent 40%),
    repeating-linear-gradient(0deg, #181818 0 60px, #1f1f1f 60px 120px);
}
.phone-screen {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ===== Section titles ===== */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
}

/* ===== Features ===== */
.features { padding: 90px 0; background: var(--bg-elev); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229,9,20,0.5);
}
.feature-icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p  { color: var(--text-dim); font-size: 0.98rem; }

/* ===== CTA band ===== */
.cta-band {
  padding: 80px 0;
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% 120%, rgba(229,9,20,0.35), transparent 60%),
    linear-gradient(180deg, #1a0507, #0b0b0b);
}
.cta-inner h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.cta-inner p { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 28px; }

/* ===== Email signup ===== */
.signup {
  padding: 80px 0;
  text-align: center;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.signup-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.signup-inner > p { color: var(--text-dim); margin-bottom: 26px; }
.signup-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}
.signup-form input {
  flex: 1;
  padding: 15px 18px;
  font-size: 1rem;
  color: #fff;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  transition: border-color .15s ease;
}
.signup-form input::placeholder { color: #777; }
.signup-form input:focus { border-color: var(--accent); }
.signup-msg {
  margin-top: 16px;
  min-height: 1.2em;
  font-size: 0.95rem;
}
.signup-msg.ok    { color: #4ade80; }
.signup-msg.error { color: var(--accent); }

@media (max-width: 560px) {
  .signup-form { flex-direction: column; }
}

/* ===== FAQ ===== */
.faq { padding: 90px 0; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 14px;
}
.faq-item summary {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-dim); margin-top: 12px; }

/* ===== Footer ===== */
.footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer .logo { font-size: 1.3rem; }
.footer-copy { color: var(--text-dim); font-size: 0.9rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-dim); transition: color .15s ease; }
.footer-links a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: var(--bg-elev);
    padding: 24px;
    border-top: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero { padding: 130px 0 70px; }
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }
  .hero-visual { flex: none; }
  .hero-sub { margin-left: auto; margin-right: auto; }

  .footer-inner { flex-direction: column; text-align: center; }
}
