/* ============================================================
   Vodily.com — Clean/Editorial IPTV (Arabic RTL)
   Design DNA cloned from veott.com
   Colors: #ffffff, #efefef, #444444, #000000, #a90707
   Font: Arial, sans-serif
   ============================================================ */
:root {
  --vi-white: #ffffff;
  --vi-light: #f5f5f5;
  --vi-gray-bg: #efefef;
  --vi-text: #222222;
  --vi-text-muted: #555555;
  --vi-dark: #000000;
  --vi-accent: #a90707;
  --vi-accent-hover: #8a0505;
  --vi-border: #ddd;
  --vi-radius: 10px;
  --vi-shadow: 0 2px 12px rgba(0,0,0,.08);
  --vi-font: Arial, 'Segoe UI', Tahoma, sans-serif;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--vi-font);
  background: var(--vi-white);
  color: var(--vi-text);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ── Container ─────────────────────────────────── */
.vi-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Header / Nav ──────────────────────────────── */
.vi-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--vi-white);
  border-bottom: 1px solid var(--vi-border);
  transition: box-shadow .3s;
}
.vi-header.scrolled { box-shadow: var(--vi-shadow); }
.vi-header__inner {
  max-width: 1200px; margin: 0 auto; padding: .75rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.vi-logo { text-decoration: none; font-size: 1.6rem; font-weight: 700; color: var(--vi-dark); }
.vi-logo span { color: var(--vi-accent); }
.vi-nav { display: flex; gap: 1.5rem; align-items: center; }
.vi-nav a {
  color: var(--vi-text); font-size: .9rem; font-weight: 500;
  transition: color .2s; padding: .3rem 0;
}
.vi-nav a:hover, .vi-nav a.active { color: var(--vi-accent); }
.vi-nav__cta {
  background: var(--vi-accent); color: #fff !important; padding: .55rem 1.3rem;
  border-radius: 6px; font-weight: 600; transition: background .2s;
}
.vi-nav__cta:hover { background: var(--vi-accent-hover); }
.vi-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: .5rem;
}
.vi-hamburger span { display: block; width: 24px; height: 2px; background: var(--vi-dark); transition: .3s; }

@media (max-width: 900px) {
  .vi-nav {
    position: fixed; top: 0; left: -100%; width: 75%; height: 100vh;
    background: var(--vi-white); flex-direction: column; padding: 4rem 2rem; gap: 1.25rem;
    box-shadow: 2px 0 20px rgba(0,0,0,.1); transition: left .3s; z-index: 999;
  }
  .vi-nav.open { left: 0; }
  .vi-hamburger { display: flex; }
}

/* ── Section helpers ───────────────────────────── */
.vi-section { padding: 4rem 0; }
.vi-section--gray { background: var(--vi-gray-bg); }
.vi-section--dark { background: var(--vi-dark); color: #fff; }
.vi-section-title {
  font-size: 2rem; font-weight: 700; text-align: center;
  margin-bottom: .5rem; color: var(--vi-dark);
}
.vi-section--dark .vi-section-title { color: #fff; }
.vi-section-sub {
  text-align: center; color: var(--vi-text-muted); font-size: 1.05rem;
  max-width: 700px; margin: 0 auto 2.5rem;
}
.vi-section--dark .vi-section-sub { color: #ccc; }

/* ── Hero ──────────────────────────────────────── */
.vi-hero {
  padding: 5rem 2rem 3rem; text-align: center;
  background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
}
.vi-hero__title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 700;
  color: var(--vi-dark); margin-bottom: 1rem; line-height: 1.3;
}
.vi-hero__title em { color: var(--vi-accent); font-style: normal; }
.vi-hero__desc {
  font-size: 1.1rem; color: var(--vi-text-muted);
  max-width: 700px; margin: 0 auto 1.5rem; line-height: 1.8;
}
.vi-hero__img {
  max-width: 650px; margin: 2rem auto 0; border-radius: var(--vi-radius);
}
.vi-hero__checks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.5rem;
  margin-top: 1.5rem;
}
.vi-hero__checks li {
  font-size: .95rem; color: var(--vi-text);
}
.vi-hero__checks li::before { content: "\2714 "; color: var(--vi-accent); font-weight: 700; }

/* ── Buttons ───────────────────────────────────── */
.vi-btn {
  display: inline-block; padding: .75rem 2rem; border-radius: 6px;
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: all .2s;
  border: none; text-align: center;
}
.vi-btn--primary { background: var(--vi-accent); color: #fff; }
.vi-btn--primary:hover { background: var(--vi-accent-hover); transform: translateY(-2px); }
.vi-btn--outline {
  background: transparent; color: var(--vi-accent);
  border: 2px solid var(--vi-accent);
}
.vi-btn--outline:hover { background: var(--vi-accent); color: #fff; }
.vi-btn--white { background: #fff; color: var(--vi-accent); }
.vi-btn--white:hover { background: var(--vi-gray-bg); }

/* ── Feature cards (3-col) ─────────────────────── */
.vi-features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.vi-feature-card {
  background: var(--vi-white); border: 1px solid var(--vi-border);
  border-radius: var(--vi-radius); padding: 2rem; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.vi-feature-card:hover { transform: translateY(-4px); box-shadow: var(--vi-shadow); }
.vi-feature-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.vi-feature-card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.vi-feature-card__desc { color: var(--vi-text-muted); font-size: .95rem; }

@media (max-width: 768px) {
  .vi-features-grid { grid-template-columns: 1fr; }
}

/* ── Pricing cards ─────────────────────────────── */
.vi-pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  align-items: stretch;
}
.vi-price-card {
  background: var(--vi-white); border: 2px solid var(--vi-border);
  border-radius: var(--vi-radius); padding: 2rem 1.5rem; text-align: center;
  position: relative; transition: transform .2s, box-shadow .2s;
}
.vi-price-card:hover { transform: translateY(-4px); box-shadow: var(--vi-shadow); }
.vi-price-card--popular {
  border-color: var(--vi-accent);
  box-shadow: 0 4px 24px rgba(169,7,7,.12);
  transform: scale(1.03);
}
.vi-price-card--popular:hover { transform: scale(1.05); }
.vi-price-card__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--vi-accent); color: #fff; padding: .3rem 1.2rem;
  border-radius: 20px; font-size: .75rem; font-weight: 700;
}
.vi-price-card__name {
  font-size: 1rem; font-weight: 700; color: var(--vi-text-muted);
  text-transform: uppercase; margin-bottom: .5rem;
}
.vi-price-card__guarantee {
  font-size: .8rem; color: var(--vi-accent); margin-bottom: 1rem;
}
.vi-price-card__old {
  font-size: 1rem; color: #999; text-decoration: line-through; margin-bottom: .25rem;
}
.vi-price-card__amount {
  font-size: 2.5rem; font-weight: 700; color: var(--vi-dark);
}
.vi-price-card__amount small { font-size: .9rem; color: var(--vi-text-muted); }
.vi-price-card__features {
  text-align: right; margin: 1.5rem 0; padding: 0;
}
.vi-price-card__features li {
  padding: .4rem 0; font-size: .88rem; color: var(--vi-text);
  border-bottom: 1px solid #f0f0f0;
}
.vi-price-card__features li::before { content: "\2714 "; color: var(--vi-accent); }
.vi-price-card__features li:last-child { border-bottom: none; }
.vi-price-card .vi-btn { width: 100%; margin-top: 1rem; }

@media (max-width: 992px) {
  .vi-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .vi-pricing-grid { grid-template-columns: 1fr; }
  .vi-price-card--popular { transform: none; }
}

/* ── Stats bar ─────────────────────────────────── */
.vi-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
  padding: 2rem 0;
}
.vi-stat { text-align: center; min-width: 140px; }
.vi-stat__num { font-size: 2rem; font-weight: 700; color: var(--vi-accent); }
.vi-stat__label { font-size: .9rem; color: var(--vi-text-muted); }

/* ── Testimonials ──────────────────────────────── */
.vi-testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.vi-testimonial {
  background: var(--vi-white); border: 1px solid var(--vi-border);
  border-radius: var(--vi-radius); padding: 1.5rem; text-align: center;
}
.vi-testimonial__img {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
  margin: 0 auto .75rem;
}
.vi-testimonial__name { font-weight: 700; font-size: .95rem; margin-bottom: .25rem; }
.vi-testimonial__role { font-size: .8rem; color: var(--vi-text-muted); margin-bottom: .75rem; }
.vi-testimonial__text {
  font-size: .92rem; color: var(--vi-text-muted); line-height: 1.7;
  font-style: italic;
}
.vi-testimonial__stars { color: #f5a623; font-size: 1rem; margin-top: .5rem; }

@media (max-width: 768px) {
  .vi-testimonials-grid { grid-template-columns: 1fr; }
}

/* ── Steps (3-step) ────────────────────────────── */
.vi-steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin-top: 2rem;
}
.vi-step { text-align: center; }
.vi-step__num {
  display: inline-flex; width: 50px; height: 50px; border-radius: 50%;
  background: var(--vi-accent); color: #fff; font-size: 1.3rem; font-weight: 700;
  align-items: center; justify-content: center; margin-bottom: 1rem;
}
.vi-step__title { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.vi-step__desc { color: var(--vi-text-muted); font-size: .92rem; }

@media (max-width: 768px) {
  .vi-steps-grid { grid-template-columns: 1fr; }
}

/* ── FAQ accordion ─────────────────────────────── */
.vi-faq-list { max-width: 800px; margin: 0 auto; }
.vi-faq-item {
  border: 1px solid var(--vi-border); border-radius: var(--vi-radius);
  margin-bottom: .75rem; overflow: hidden;
}
.vi-faq-item summary {
  padding: 1.1rem 1.5rem; cursor: pointer; font-weight: 600; font-size: 1rem;
  color: var(--vi-dark); list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .2s;
}
.vi-faq-item summary::-webkit-details-marker { display: none; }
.vi-faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--vi-accent); }
.vi-faq-item[open] summary::after { content: '\2212'; }
.vi-faq-item summary:hover { background: var(--vi-light); }
.vi-faq-item__body { padding: 0 1.5rem 1.25rem; color: var(--vi-text-muted); font-size: .95rem; line-height: 1.8; }

/* ── Forms ─────────────────────────────────────── */
.vi-form { max-width: 550px; margin: 0 auto; }
.vi-form--wide { max-width: 700px; }
.vi-form-group { margin-bottom: 1rem; }
.vi-form-group label {
  display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--vi-dark);
}
.vi-form-group input,
.vi-form-group select,
.vi-form-group textarea {
  width: 100%; padding: .75rem 1rem; border: 1px solid var(--vi-border);
  border-radius: 6px; font-size: .95rem; font-family: var(--vi-font);
  background: var(--vi-white); color: var(--vi-text); transition: border-color .2s;
  direction: rtl;
}
.vi-form-group input:focus,
.vi-form-group select:focus,
.vi-form-group textarea:focus {
  outline: none; border-color: var(--vi-accent);
}
.vi-form-group textarea { min-height: 120px; resize: vertical; }
.vi-form .vi-btn { width: 100%; padding: .85rem; font-size: 1.05rem; min-height: 48px; }
.vi-form-trust {
  text-align: center; font-size: .82rem; color: var(--vi-text-muted); margin-top: .75rem;
}
.vi-honeypot { position: absolute; left: -9999px; }

/* ── Trial form (inline hero) ──────────────────── */
.vi-trial-form {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
  max-width: 600px; margin: 1.5rem auto 0;
}
.vi-trial-form input {
  flex: 1 1 160px; padding: .75rem 1rem; border: 1px solid var(--vi-border);
  border-radius: 6px; font-size: .95rem; font-family: var(--vi-font);
  direction: rtl;
}
.vi-trial-form input:focus { outline: none; border-color: var(--vi-accent); }
.vi-trial-form button {
  padding: .75rem 2rem; border: none; border-radius: 6px;
  background: var(--vi-accent); color: #fff; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: background .2s; min-height: 48px;
}
.vi-trial-form button:hover { background: var(--vi-accent-hover); }

@media (max-width: 600px) {
  .vi-trial-form { flex-direction: column; }
  .vi-trial-form input { flex: none; }
}

/* ── Channel grid ──────────────────────────────── */
.vi-channel-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.vi-channel-card {
  background: var(--vi-white); border: 1px solid var(--vi-border);
  border-radius: var(--vi-radius); padding: 1.25rem; display: flex;
  align-items: center; gap: 1rem; transition: box-shadow .2s;
}
.vi-channel-card:hover { box-shadow: var(--vi-shadow); }
.vi-channel-card__flag { width: 40px; height: 28px; border-radius: 4px; object-fit: cover; }
.vi-channel-card__name { font-weight: 700; font-size: .95rem; }
.vi-channel-card__count { font-size: .85rem; color: var(--vi-accent); font-weight: 600; }
.vi-channel-card__quality { font-size: .75rem; color: var(--vi-text-muted); }

/* ── CTA banner ────────────────────────────────── */
.vi-cta-banner {
  background: var(--vi-accent); color: #fff; text-align: center; padding: 3rem 2rem;
  border-radius: var(--vi-radius);
}
.vi-cta-banner__title { font-size: 1.6rem; font-weight: 700; margin-bottom: .75rem; }
.vi-cta-banner__desc { font-size: 1rem; margin-bottom: 1.5rem; opacity: .9; }

/* ── Contact cards ─────────────────────────────── */
.vi-contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.vi-contact-card {
  background: var(--vi-white); border: 1px solid var(--vi-border);
  border-radius: var(--vi-radius); padding: 1.5rem; text-align: center;
}
.vi-contact-card__icon { font-size: 2rem; margin-bottom: .75rem; }
.vi-contact-card__title { font-weight: 700; margin-bottom: .5rem; }
.vi-contact-card__info { color: var(--vi-text-muted); font-size: .92rem; }

@media (max-width: 768px) {
  .vi-contact-grid { grid-template-columns: 1fr; }
}

/* ── Legal pages ───────────────────────────────── */
.vi-legal { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem; }
.vi-legal h1 { font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--vi-dark); }
.vi-legal h2 { font-size: 1.3rem; margin: 2rem 0 .75rem; color: var(--vi-dark); }
.vi-legal h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.vi-legal p { margin-bottom: 1rem; color: var(--vi-text-muted); line-height: 1.8; }
.vi-legal ul { padding-right: 1.5rem; margin-bottom: 1rem; }
.vi-legal ul li { margin-bottom: .5rem; color: var(--vi-text-muted); list-style: disc; }
.vi-legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.vi-legal th, .vi-legal td {
  padding: .75rem; border: 1px solid var(--vi-border); text-align: right;
}
.vi-legal th { background: var(--vi-gray-bg); font-weight: 600; }
.vi-legal strong { color: var(--vi-dark); }
.vi-legal a { color: var(--vi-accent); }
.vi-legal a:hover { text-decoration: underline; }

/* ── Setup guide ───────────────────────────────── */
.vi-guide { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem; }
.vi-guide h1 { font-size: 1.8rem; margin-bottom: 1rem; }
.vi-guide h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; color: var(--vi-dark); }
.vi-guide h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.vi-guide p { margin-bottom: 1rem; color: var(--vi-text-muted); line-height: 1.8; }
.vi-guide ul, .vi-guide ol { padding-right: 1.5rem; margin-bottom: 1rem; }
.vi-guide li { margin-bottom: .5rem; color: var(--vi-text-muted); }
.vi-guide ol li { list-style: decimal; }
.vi-guide img { border-radius: var(--vi-radius); margin: 1rem 0; box-shadow: var(--vi-shadow); }

/* ── Breadcrumb ────────────────────────────────── */
.vi-breadcrumb {
  padding: 1rem 0; font-size: .85rem; color: var(--vi-text-muted);
}
.vi-breadcrumb a { color: var(--vi-accent); }
.vi-breadcrumb a:hover { text-decoration: underline; }
.vi-breadcrumb span { margin: 0 .4rem; }

/* ── Footer ────────────────────────────────────── */
.vi-footer {
  background: var(--vi-dark); color: #ccc; padding: 3rem 0 1.5rem;
}
.vi-footer__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}
.vi-footer__col h4 {
  color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1rem;
}
.vi-footer__col a {
  display: block; color: #aaa; font-size: .88rem; margin-bottom: .5rem;
  transition: color .2s;
}
.vi-footer__col a:hover { color: var(--vi-accent); }
.vi-footer__col p { font-size: .88rem; color: #aaa; line-height: 1.7; }
.vi-footer__bottom {
  max-width: 1200px; margin: 2rem auto 0; padding: 1.5rem 1.5rem 0;
  border-top: 1px solid #333; text-align: center;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
}
.vi-footer__copy { font-size: .82rem; color: #777; }
.vi-footer__pay img { height: 30px; }

@media (max-width: 768px) {
  .vi-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .vi-footer__bottom { flex-direction: column; gap: .75rem; }
}
@media (max-width: 480px) {
  .vi-footer__grid { grid-template-columns: 1fr; }
}

/* ── Reseller tiers ────────────────────────────── */
.vi-tiers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.vi-tier-card {
  background: var(--vi-white); border: 2px solid var(--vi-border);
  border-radius: var(--vi-radius); padding: 2rem; text-align: center;
  transition: border-color .2s;
}
.vi-tier-card:hover { border-color: var(--vi-accent); }
.vi-tier-card__name { font-size: 1.2rem; font-weight: 700; color: var(--vi-accent); margin-bottom: .5rem; }
.vi-tier-card__desc { color: var(--vi-text-muted); font-size: .92rem; }

@media (max-width: 768px) {
  .vi-tiers-grid { grid-template-columns: 1fr; }
}

/* ── Devices image ─────────────────────────────── */
.vi-devices-img {
  max-width: 900px; margin: 2rem auto; display: block;
}

/* ── About grid ────────────────────────────────── */
.vi-about-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
  align-items: center;
}
@media (max-width: 768px) {
  .vi-about-grid { grid-template-columns: 1fr; }
}

/* ── Form messages ─────────────────────────────── */
.form-message {
  padding: .75rem 1rem; border-radius: 6px; margin-top: 1rem;
  font-size: .9rem; text-align: center;
}
.form-message--success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message--error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ── Utility ───────────────────────────────────── */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none !important; }
