/* =====================================================================
   Lifted out of includes/template.php, unchanged.

   It lived inline, which was fine while this site was one page. It is
   now two — the homepage and the payment page — and a second copy of
   691 lines is a second copy to keep in step. One file, both pages.
   ===================================================================== */

    /* ===== RESET & BASE ===== */
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Open Sans', sans-serif;
      background: #0a0e1a;
      color: #cdd6f4;
      overflow-x: hidden;
    }
    h1,h2,h3,h4,h5 { font-family: 'Rajdhani', sans-serif; }
    a { color: #16a34a; text-decoration: none; }
    a:hover { color: #fff; }
    img { max-width: 100%; height: auto; }

    /* ===== NAVBAR ===== */
    .navbar {
      background: rgba(10,14,26,.97);
      border: none;
      border-bottom: 1px solid rgba(22,163,74,.15);
      box-shadow: 0 2px 20px rgba(0,0,0,.5);
      min-height: 70px;
      padding: 0;
      margin-bottom: 0;
    }
    .navbar-brand {
      padding: 10px 15px;
      height: 70px;
      display: flex !important;
      align-items: center;
    }
    .navbar-toggle {
      margin-top: 18px;
      border-color: #16a34a;
    }
    .navbar-toggle .icon-bar { background: #16a34a; }
    .navbar-nav > li > a {
      color: #cdd6f4 !important;
      font-family: 'Rajdhani', sans-serif;
      font-size: 15px;
      font-weight: 600;
      letter-spacing: .5px;
      line-height: 70px;
      padding: 0 18px;
      transition: color .2s;
    }
    .navbar-nav > li > a:hover,
    .navbar-nav > li > a:focus {
      color: #16a34a !important;
      background: transparent !important;
    }
    .navbar-collapse { border: none; box-shadow: none; }

    /* Language dropdown */
    .lang-dropdown .dropdown-toggle {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .lang-dropdown .dropdown-menu {
      background: #0f1526;
      border: 1px solid rgba(22,163,74,.2);
      border-radius: 8px;
      min-width: 140px;
      padding: 6px 0;
    }
    .lang-dropdown .dropdown-menu > li > a {
      color: #cdd6f4;
      font-size: 13px;
      padding: 7px 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .lang-dropdown .dropdown-menu > li > a:hover {
      background: rgba(22,163,74,.1);
      color: #fff;
    }
    .lang-flag { font-size: 15px; line-height: 1; display: inline-block; vertical-align: -2px; margin-right: 4px; }

    /* ===== HERO ===== */
    #hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      background: linear-gradient(135deg, #0a0e1a 0%, #0d1530 50%, #0a0e1a 100%);
    }
    #hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(22,163,74,.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(120,0,255,.06) 0%, transparent 60%);
      pointer-events: none;
    }
    .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(22,163,74,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22,163,74,.04) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
    }
    #hero .container { position: relative; z-index: 2; padding-top: 100px; padding-bottom: 60px; }
    .hero-badge {
      display: inline-block;
      background: rgba(22,163,74,.12);
      border: 1px solid rgba(22,163,74,.35);
      color: #16a34a;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      padding: 5px 14px;
      border-radius: 20px;
      margin-bottom: 20px;
    }
    #hero h1 {
      font-size: 58px;
      font-weight: 700;
      color: #fff;
      line-height: 1.1;
      margin-bottom: 16px;
      text-transform: uppercase;
    }
    #hero h1 span {
      background: linear-gradient(90deg, #16a34a, #7b5ea7);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    #hero .lead {
      font-size: 18px;
      font-weight: 300;
      color: #a0aec0;
      margin-bottom: 30px;
      max-width: 520px;
    }
    .hero-stats {
      display: flex;
      gap: 36px;
      margin-bottom: 36px;
      flex-wrap: wrap;
    }
    .hero-stat strong {
      display: block;
      font-size: 28px;
      font-family: 'Rajdhani', sans-serif;
      font-weight: 700;
      color: #16a34a;
    }
    .hero-stat span { font-size: 12px; color: #6b7280; text-transform: uppercase; letter-spacing: 1px; }
    .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
    .btn-primary-glow {
      background: linear-gradient(135deg, #16a34a, #0072ff);
      border: none;
      color: #fff;
      font-family: 'Rajdhani', sans-serif;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 1px;
      padding: 13px 32px;
      border-radius: 8px;
      text-transform: uppercase;
      box-shadow: 0 4px 20px rgba(22,163,74,.35);
      transition: all .25s;
      display: inline-block;
    }
    .btn-primary-glow:hover {
      box-shadow: 0 6px 28px rgba(22,163,74,.55);
      transform: translateY(-2px);
      color: #fff;
    }
    .btn-outline-glow {
      background: transparent;
      border: 1px solid rgba(22,163,74,.5);
      color: #16a34a;
      font-family: 'Rajdhani', sans-serif;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 1px;
      padding: 12px 32px;
      border-radius: 8px;
      text-transform: uppercase;
      transition: all .25s;
      display: inline-block;
    }
    .btn-outline-glow:hover {
      background: rgba(22,163,74,.08);
      border-color: #16a34a;
      color: #16a34a;
    }
    .hero-img-wrap {
      position: relative;
      text-align: center;
    }
    .hero-img-wrap img {
      border-radius: 16px;
      box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(22,163,74,.15);
      max-height: 460px;
      object-fit: cover;
      width: 100%;
    }
    .hero-img-badge {
      position: absolute;
      bottom: -16px;
      left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(135deg, #0f1526, #1a2040);
      border: 1px solid rgba(22,163,74,.3);
      border-radius: 10px;
      padding: 12px 28px;
      white-space: nowrap;
      font-family: 'Rajdhani', sans-serif;
      font-size: 14px;
      font-weight: 600;
      color: #fff;
      box-shadow: 0 8px 24px rgba(0,0,0,.4);
    }
    .hero-img-badge span { color: #16a34a; }

    /* ===== SECTION STYLES ===== */
    section { padding: 80px 0; }
    .section-tag {
      display: inline-block;
      background: rgba(22,163,74,.1);
      border: 1px solid rgba(22,163,74,.25);
      color: #16a34a;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      padding: 4px 14px;
      border-radius: 20px;
      margin-bottom: 12px;
    }
    .section-title {
      font-size: 38px;
      font-weight: 700;
      color: #fff;
      text-transform: uppercase;
      margin-bottom: 10px;
    }
    .section-sub {
      font-size: 16px;
      color: #6b7280;
      font-weight: 300;
      margin-bottom: 50px;
    }
    .section-divider {
      width: 60px;
      height: 3px;
      background: linear-gradient(90deg, #16a34a, transparent);
      border-radius: 2px;
      margin: 16px 0 50px;
    }

    /* ===== FEATURES STRIP ===== */
    #features {
      background: #0d1120;
      border-top: 1px solid rgba(255,255,255,.05);
      border-bottom: 1px solid rgba(255,255,255,.05);
      padding: 50px 0;
    }
    .feature-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px 0;
    }
    .feature-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: rgba(22,163,74,.1);
      border: 1px solid rgba(22,163,74,.2);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 20px;
      color: #16a34a;
    }
    .feature-text strong { display: block; color: #fff; font-size: 15px; font-weight: 600; }
    .feature-text span { font-size: 12px; color: #6b7280; }

    /* ===== PRICING ===== */
    #OrderNow { background: #0a0e1a; }
    .pricing-grid { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
    .pricing-card {
      background: #0f1526;
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 16px;
      padding: 36px 28px;
      width: 240px;
      position: relative;
      transition: transform .25s, box-shadow .25s, border-color .25s;
      flex: 1;
      min-width: 200px;
      max-width: 260px;
    }
    .pricing-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 50px rgba(0,0,0,.5);
      border-color: rgba(22,163,74,.3);
    }
    .pricing-card.featured {
      background: linear-gradient(160deg, #0f1a30, #0d1526);
      border-color: rgba(22,163,74,.5);
      box-shadow: 0 8px 40px rgba(22,163,74,.15);
    }
    .pricing-card.featured:hover {
      box-shadow: 0 20px 60px rgba(22,163,74,.25);
    }
    .plan-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(135deg, #16a34a, #0072ff);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 4px 16px;
      border-radius: 20px;
    }
    .plan-period {
      font-family: 'Rajdhani', sans-serif;
      font-size: 16px;
      font-weight: 600;
      color: #a0aec0;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 6px;
    }
    .plan-price {
      font-family: 'Rajdhani', sans-serif;
      font-size: 52px;
      font-weight: 700;
      color: #fff;
      line-height: 1;
      margin-bottom: 4px;
    }
    .plan-price sup { font-size: 24px; vertical-align: top; margin-top: 6px; color: #16a34a; line-height: 1; }
    .plan-discount {
      font-size: 12px;
      color: #16a34a;
      font-weight: 600;
      margin-bottom: 24px;
    }
    .plan-features {
      list-style: none;
      padding: 0;
      margin: 0 0 28px;
    }
    .plan-features li {
      font-size: 13px;
      color: #a0aec0;
      padding: 6px 0;
      border-bottom: 1px solid rgba(255,255,255,.05);
      display: flex;
      align-items: flex-start;
      gap: 8px;
    }
    .plan-features li:last-child { border-bottom: none; }
    .plan-features li .fa { color: #16a34a; margin-top: 2px; flex-shrink: 0; }
    .psc-note {
      max-width: 640px; margin: 0 auto 26px; padding: 12px 18px;
      background: rgba(22,163,74,.06); border: 1px solid rgba(22,163,74,.22);
      border-radius: 10px; text-align: center;
      font-size: 13px; line-height: 1.7; color: #9ca3af;
    }
    .psc-note i { color: #16a34a; margin-right: 6px; }

    .btn-order {
      display: block;
      width: 100%;
      background: linear-gradient(135deg, #16a34a, #0072ff);
      border: none;
      color: #fff;
      font-family: 'Rajdhani', sans-serif;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 12px;
      border-radius: 8px;
      cursor: pointer;
      transition: all .25s;
      box-shadow: 0 4px 16px rgba(22,163,74,.25);
    }
    .btn-order:hover {
      box-shadow: 0 6px 24px rgba(22,163,74,.45);
      transform: translateY(-1px);
      color: #fff;
    }
    .pricing-card.featured .btn-order { background: linear-gradient(135deg, #16a34a, #14532d); }
    .lifetime-bar {
      background: linear-gradient(135deg, #0f1526, #1a2040);
      border: 1px solid rgba(255,165,0,.3);
      border-radius: 12px;
      padding: 20px 28px;
      margin-top: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }
    .lifetime-bar .info strong { color: #fff; font-size: 18px; font-family: 'Rajdhani', sans-serif; }
    .lifetime-bar .info span { font-size: 13px; color: #6b7280; display: block; }
    .lifetime-bar .price { font-size: 32px; font-family: 'Rajdhani', sans-serif; font-weight: 700; color: #ffa500; }

    /* ===== CHANNELS ===== */
    #channels { background: #0d1120; }
    .channel-tags { display: flex; flex-wrap: wrap; gap: 10px; }
    .channel-tag {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.1);
      color: #a0aec0;
      font-size: 12px;
      padding: 7px 14px;
      border-radius: 6px;
      transition: all .2s;
      cursor: default;
    }
    .channel-tag:hover {
      background: rgba(22,163,74,.08);
      border-color: rgba(22,163,74,.3);
      color: #fff;
    }

    /* ===== HOW IT WORKS ===== */
    #HowIptvWork { background: #0a0e1a; }
    .step-card {
      background: #0f1526;
      border: 1px solid rgba(255,255,255,.07);
      border-radius: 16px;
      padding: 32px 24px;
      text-align: center;
      transition: border-color .25s;
      height: 100%;
    }
    .step-card:hover { border-color: rgba(22,163,74,.3); }
    .step-num {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: linear-gradient(135deg, #16a34a22, #0072ff22);
      border: 2px solid rgba(22,163,74,.4);
      color: #16a34a;
      font-family: 'Rajdhani', sans-serif;
      font-size: 22px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
    }
    .step-card h4 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
    .step-card p { color: #6b7280; font-size: 13px; line-height: 1.6; margin: 0; }

    /* ===== DEVICES ===== */
    #devices { background: #0d1120; }
    .device-grid { display: flex; flex-wrap: wrap; gap: 12px; }
    .device-pill {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.1);
      color: #a0aec0;
      font-size: 13px;
      padding: 9px 18px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all .2s;
    }
    .device-pill:hover {
      background: rgba(22,163,74,.08);
      border-color: rgba(22,163,74,.3);
      color: #fff;
    }
    .device-pill .fa { color: #16a34a; }

    /* ===== TESTIMONIALS ===== */
    #testimonials { background: #0a0e1a; }
    .testimonial-card {
      background: #0f1526;
      border: 1px solid rgba(255,255,255,.07);
      border-radius: 16px;
      padding: 28px;
      height: 100%;
      position: relative;
    }
    .testimonial-card::before {
      content: '\201C';
      position: absolute;
      top: 16px;
      right: 20px;
      font-size: 60px;
      color: rgba(22,163,74,.15);
      font-family: Georgia, serif;
      line-height: 1;
    }
    .t-stars { color: #ffa500; font-size: 14px; margin-bottom: 12px; }
    .t-text { font-size: 14px; color: #a0aec0; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
    .t-author strong { color: #fff; font-size: 14px; }
    .t-author span { font-size: 12px; color: #6b7280; display: block; }

    /* ===== PAYMENT ===== */
    #payment { background: #0d1120; padding: 60px 0; }
    .payment-logos {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 16px;
    }
    .payment-logo {
      background: #0f1526;
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 10px;
      padding: 12px 22px;
      font-family: 'Rajdhani', sans-serif;
      font-weight: 700;
      font-size: 15px;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .payment-logo .fa { font-size: 20px; color: #16a34a; }
    .guarantee-box {
      background: rgba(22,163,74,.06);
      border: 1px solid rgba(22,163,74,.2);
      border-radius: 10px;
      padding: 14px 24px;
      text-align: center;
      font-size: 13px;
      color: #a0aec0;
      margin-top: 20px;
    }
    .guarantee-box strong { color: #16a34a; }

    /* ===== RESELLER ===== */
    #reseller {
      background: linear-gradient(135deg, #0d1530 0%, #0a0e1a 100%);
      border-top: 1px solid rgba(22,163,74,.1);
      border-bottom: 1px solid rgba(22,163,74,.1);
      padding: 60px 0;
      text-align: center;
    }
    #reseller h3 { font-size: 30px; color: #fff; margin-bottom: 10px; }
    #reseller p { color: #6b7280; margin-bottom: 24px; }

    /* ===== FOOTER ===== */
    footer {
      background: #070b16;
      border-top: 1px solid rgba(255,255,255,.05);
      padding: 50px 0 28px;
    }
    .footer-brand { margin-bottom: 16px; }
    .footer-tagline { font-size: 13px; color: #4b5563; max-width: 260px; }
    .footer-links { list-style: none; padding: 0; margin: 0; }
    .footer-links li { margin-bottom: 8px; }
    .footer-links a { color: #6b7280; font-size: 13px; }
    .footer-links a:hover { color: #16a34a; }
    .footer-title { color: #a0aec0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,.05);
      margin-top: 40px;
      padding-top: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
    }
    .footer-bottom p { font-size: 12px; color: #374151; margin: 0; }

    /* ===== MODAL ===== */
    .modal-content {
      background: #0f1526;
      border: 1px solid rgba(22,163,74,.25);
      border-radius: 16px;
      box-shadow: 0 30px 80px rgba(0,0,0,.7);
    }
    .modal-header {
      background: linear-gradient(135deg, #0d1a30, #0f1526);
      border-bottom: 1px solid rgba(22,163,74,.15);
      border-radius: 16px 16px 0 0;
      padding: 20px 24px;
    }
    .modal-title {
      font-family: 'Rajdhani', sans-serif;
      font-size: 22px;
      font-weight: 700;
      color: #fff;
    }
    .modal-title span { color: #16a34a; }
    .modal-body { padding: 24px; }
    .modal-footer {
      background: rgba(0,0,0,.2);
      border-top: 1px solid rgba(255,255,255,.06);
      border-radius: 0 0 16px 16px;
      padding: 16px 24px;
    }
    .close { color: #6b7280; opacity: 1; font-size: 22px; }
    .close:hover { color: #fff; }
    .form-group label {
      color: #a0aec0;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 6px;
    }
    .form-control {
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 8px;
      color: #fff;
      padding: 10px 14px;
      font-size: 14px;
      transition: border-color .2s;
    }
    .form-control:focus {
      background: rgba(255,255,255,.07);
      border-color: rgba(22,163,74,.5);
      box-shadow: 0 0 0 3px rgba(22,163,74,.1);
      color: #fff;
    }
    .form-control option { background: #0f1526; color: #fff; }
    .order-plan-info {
      background: rgba(22,163,74,.07);
      border: 1px solid rgba(22,163,74,.2);
      border-radius: 10px;
      padding: 14px 18px;
      margin-bottom: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .order-plan-info .plan-name { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700; color: #fff; }
    .order-plan-info .plan-pr { font-family: 'Rajdhani', sans-serif; font-size: 24px; font-weight: 700; color: #16a34a; }
    .btn-submit-order {
      background: linear-gradient(135deg, #16a34a, #0072ff);
      border: none;
      color: #fff;
      font-family: 'Rajdhani', sans-serif;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 1px;
      padding: 12px 32px;
      border-radius: 8px;
      cursor: pointer;
      transition: all .25s;
      box-shadow: 0 4px 16px rgba(22,163,74,.3);
    }
    .btn-submit-order:hover { box-shadow: 0 6px 24px rgba(22,163,74,.5); transform: translateY(-1px); color: #fff; }
    .btn-cancel { color: #6b7280; font-size: 14px; background: none; border: none; cursor: pointer; transition: color .2s; }
    .btn-cancel:hover { color: #fff; }
    .modal-note { font-size: 12px; color: #4b5563; margin-top: 12px; text-align: center; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 991px) {
      #hero h1 { font-size: 40px; }
      .hero-img-wrap { margin-top: 40px; }
      .pricing-card { max-width: 100%; }
    }
    @media (max-width: 767px) {
      #hero h1 { font-size: 32px; }
      #hero { min-height: auto; }
      .hero-stats { gap: 20px; }
      .section-title { font-size: 28px; }
      .navbar-nav > li > a { line-height: 40px; }
    }

    /* ===== SCROLL ANIMATIONS ===== */
    .fade-up {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .5s ease, transform .5s ease;
    }
    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

/* ---- the payment proof: a drop box, its thumbnail, and the link that
        opens the typed reference ---- */
.drop{display:flex;align-items:center;gap:12px;cursor:pointer;width:100%;
  border:1px dashed rgba(120,140,170,.45);border-radius:14px;padding:14px 16px;margin:0 0 10px}
.drop:hover{border-color:rgba(120,140,170,.85)}
.drop > i{font-size:1.4rem;opacity:.75;margin-right:2px}
.drop span{font-size:.82rem;opacity:.85}
.drop .drop-file{margin-left:auto;font-weight:600;font-size:.78rem;opacity:1}
.drop > span:not(.drop-file){flex:1}
.drop .drop-file{white-space:nowrap}
.drop-thumb{max-height:56px;max-width:80px;border-radius:8px;object-fit:cover;
  border:1px solid rgba(120,140,170,.35)}
.ref-open{margin:0 0 14px}
.ref-open a{font-size:.82rem;opacity:.75;text-decoration:underline;cursor:pointer}
.ref-open a:hover{opacity:1}

/* The reference he gave is not his payer code. Not an error — his order
   is saved and his money has gone; it is the one thing he can still act
   on, so it is amber and it stays on the thank-you screen with him. */
.pay-warn {
  max-width: 640px; margin: 14px auto; padding: 12px 16px; border-radius: 10px;
  font-size: 13.5px; line-height: 1.7; text-align: left;
  background: rgba(224,176,98,.12); border: 1px solid rgba(224,176,98,.4); color: #8a6a1f;
}
@media (prefers-color-scheme: dark) { .pay-warn { color: #e0b062; } }
