* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  background-color: #070b14;
  color: #e5e7eb;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 60px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  font-size: 20px;
  font-weight: 700;
}
.logo span { color: #3b82f6; }

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #cbd5f5;
}

.nav-links .btn {
  border: 1px solid #3b82f6;
  padding: 6px 14px;
  border-radius: 6px;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 80px 60px;
}

.badge {
  color: #facc15;
  background: rgba(250,204,21,0.15);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
}

.hero h1 {
  font-size: 46px;
  margin: 20px 0;
}

.yellow { color: #facc15; }
.green { color: #34d399; }
.blue { color: #60a5fa; }

.hero p {
  color: #9ca3af;
  margin-bottom: 30px;
}

.primary-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: #111827;
  color: white;
  text-decoration: none;
}

/* CARDS */
.card {
  background: rgba(17,24,39,0.85);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}

/* CENTER PAGES */
.center-page {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.center-page p {
  color: #9ca3af;
  margin: 10px 0 30px;
}

/* FOOTER */
.footer {
  margin-top: 80px;
  padding: 0 60px 40px;
}

.footer-line {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin-bottom: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.footer-box h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: #e5e7eb;
}

.footer-box p {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.6;
}

.footer-box.center {
  text-align: center;
}

.footer-box.right {
  text-align: right;
}

.footer-box i {
  margin-right: 8px;
  font-size: 16px;
}

/* Icon colors */
.fa-telegram {
  color: #38bdf8;
}

.fa-whatsapp {
  color: #22c55e;

}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo {
  font-size: 20px;
  font-weight: 700;
}

.logo span {
  color: #3b82f6;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #cbd5f5;
  font-size: 14px;
}

.nav-links .btn {
  padding: 6px 14px;
  border: 1px solid #3b82f6;
  border-radius: 6px;
}

/* HERO (if used) */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 80px 60px;
}

/* PRIMARY BUTTON */
.primary-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: #111827;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

/* ===================== */
/* VLESS SECTION */
/* ===================== */

.vless-section {
  padding: 80px 60px;
}

.vless-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.vless-desc {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 40px;
}

/* GRID */
.vless-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* BOX */
.vless-box {
  background: rgba(17,24,39,0.95);
  border-radius: 22px;
  padding: 40px;              /* slightly bigger card */
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vless-box:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
}

.vless-title {
  font-size: 14px;
  font-weight: 600;
}

.vless-box code {
  display: block;
  background: rgba(2, 6, 23, 0.65);   /* less harsh black */
  backdrop-filter: blur(6px);        /* 👈 blur effect */
  -webkit-backdrop-filter: blur(6px);
  color: #e5e7eb;
  padding: 22px;                     /* bigger inside */
  border-radius: 16px;
  font-size: 13px;
  margin-bottom: 24px;
  word-break: break-all;
  line-height: 1.7;
  min-height: 120px;                 /* 👈 makes box taller */
  border: 1px solid rgba(255,255,255,0.08);
}

}

/* COPY BUTTON */
.vless-box button {
  align-self: flex-end;
  padding: 8px 14px;
  border-radius: 8px;
  background: #111827;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}

.vless-box button:hover {
  border-color: #22c55e;
}

/* ===================== */
/* FOOTER */
/* ===================== */

.footer {
  margin-top: 80px;
  padding: 0 60px 40px;
}

.footer-line {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin-bottom: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-box h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-box p {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.6;
}

.footer-box.center {
  text-align: center;
}

.footer-box.right {
  text-align: right;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media (max-width: 900px) {
  .vless-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
  }

  .vless-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-box.right {
    text-align: center;
  }
}

/* ===================== */
/* PLAN SELECTION PAGE */
/* ===================== */

.plans {
  min-height: 90vh;
  text-align: center;
  padding: 80px 20px;
}

.plans h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.plans p {
  color: #9ca3af;
  margin-bottom: 40px;
}

/* Tabs */
.plan-tabs {
  display: flex;
  justify-content: center;
  gap: 24px;              /* buttons අතර gap වැඩි */
  margin-bottom: 40px;
}

.plan-btn {
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25); /* visible border */
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background-clip: padding-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.plan-btn:hover {
   transform: scale(1.1);
}

.plan-btn.premium:hover {
  box-shadow: 0 0 30px rgba(59,130,246,0.75);
}

.plan-btn.free:hover {
  box-shadow: 0 0 30px rgba(34,197,94,0.75);
}

/* Card */
.plan-card {
  max-width: 420px;
  margin: auto;
  background: rgba(17,24,39,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(59,130,246,0.35);
}
}

.plan-type {
  font-size: 13px;
  color: #9ca3af;
}

.plan-card ul {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.plan-card ul li {
  margin-bottom: 12px;
  font-size: 14px;
}

/* ===================== */
/* FORCE PLAN BUTTON COLORS */
/* ===================== */

.plan-tabs {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.plan-btn {
  appearance: none;
  -webkit-appearance: none;
  background: #1f2937 !important; /* fallback */
  color: #ffffff !important;
  padding: 14px 28px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* PREMIUM */
.plan-btn.premium {
  background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
  box-shadow: 0 6px 20px rgba(59,130,246,0.45);
}

/* FREE */
.plan-btn.free {
  background: linear-gradient(135deg, #16a34a, #22c55e) !important;
  box-shadow: 0 6px 20px rgba(34,197,94,0.45);
}

/* HOVER */
.plan-btn:hover {
  transform: scale(1.12);
}

.plan-btn.premium:hover {
  box-shadow: 0 0 35px rgba(59,130,246,0.85);
}

.plan-btn.free:hover {
  box-shadow: 0 0 35px rgba(34,197,94,0.85);
}

/* PREMIUM INTERNET PLANS */

.premium-section {
  padding: 80px 20px;
  text-align: center;
}

.premium-section h2 {
  font-size: 34px;
  margin-bottom: 8px;
}

.premium-desc {
  color: #9ca3af;
  margin-bottom: 50px;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: auto;
}

.premium-box {
  background: rgba(17,24,39,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-box:hover {
  transform: scale(1.06);
  box-shadow: 0 0 35px rgba(59,130,246,0.35);
}

.premium-box h3 {
  font-size: 22px;
  margin-bottom: 18px;
}

.premium-box ul {
  list-style: none;
  text-align: left;
  margin-bottom: 20px;
}

.premium-box ul li {
  font-size: 14px;
  margin-bottom: 10px;
}

.price-box {
  background: rgba(0,0,0,0.25);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 20px;
}

.price-box p {
  font-size: 14px;
  margin: 6px 0;
  color: #22c55e;
}

/* BUY NOW BUTTON */
.buy-btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.buy-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 30px rgba(34,197,94,0.8);
}

/* BUY NOW MODAL */

.buy-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.buy-modal-box {
  background: rgba(17,24,39,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  width: 90%;
  max-width: 360px;
  animation: popIn 0.25s ease;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.buy-modal-box h3 {
  margin-bottom: 6px;
}

.buy-modal-box p {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 20px;
}

.buy-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

/* WhatsApp */
.wa-btn {
  flex: 1;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(34,197,94,0.8);
}

/* Telegram */
.tg-btn {
  flex: 1;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tg-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(56,189,248,0.8);
}

.close-btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
}

/* VLESS SECTION */
.vless-section {
  padding: 80px 20px;
  text-align: center;
}

.vless-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.vless-sub {
  color: #9ca3af;
  margin-bottom: 40px;
}

/* GRID */
.vless-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

/* BOX */
.vless-box {
  background: rgba(17,24,39,0.95);
  border-radius: 22px;
  padding: 40px;              /* slightly bigger card */
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vless-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(59,130,246,0.25);
}

/* TITLE */
.vless-box h4 {
  margin-bottom: 12px;
  color: #38bdf8;

}

/* COPY BUTTON */
.copy-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.copy-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 20px rgba(56,189,248,0.7);
}

/* ===================== */
/* TRY FREE INTRO */
/* ===================== */

.tryfree-intro {
  padding: 80px 20px 40px;
}

.intro-card {
  max-width: 720px;
  margin: auto;
  background: rgba(17,24,39,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 50px 40px;
  text-align: center;
}

.intro-card h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.intro-card p {
  color: #9ca3af;
  font-size: 15px;
  line-height: 1.7;
}

/* ===================== */
/* VLESS SECTION */
/* ===================== */

.vless-section {
  padding: 60px 20px 100px;
  text-align: center;
}

.vless-section h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.vless-sub {
  color: #9ca3af;
  margin-bottom: 50px;
}

.vless-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

/* VLESS BOX */
.vless-box {
  background: rgba(17,24,39,0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 32px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vless-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(59,130,246,0.25);
}

.vless-box h4 {
  font-size: 16px;
  color: #38bdf8;
  margin-bottom: 14px;
}

.vless-box code {
  display: block;
  background: #020617;
  color: #e5e7eb;
  padding: 18px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 22px;
  word-break: break-all;
}

/* COPY BUTTON */
.copy-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.copy-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(56,189,248,0.8);
}

.copy-btn.copied {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 0 25px rgba(34,197,94,0.8);
}

/* ===================== */
/* BOTTOM NAV BAR */
/* ===================== */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
}

/* NAV ITEM */
.bottom-nav .nav-item {
  text-decoration: none;
  color: #9ca3af;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.25s ease;
}

/* ICON */
.bottom-nav .nav-item span {
  font-size: 20px;
}

/* ACTIVE TAB */
.bottom-nav .nav-item.active {
  color: #38bdf8;
}

.bottom-nav .nav-item.active span {
  transform: translateY(-2px);
}

/* HOVER / TAP */
.bottom-nav .nav-item:hover {
  color: #38bdf8;
  transform: scale(1.1);
}

/* SPACE FOR NAV */
body {
  padding-bottom: 80px;
}

/* AUTH BUTTONS */
.auth-buttons {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
}

.auth-btn {
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
}

/* SIGN UP */
.auth-btn.signup {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: white;
}

.auth-btn.signup:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(56,189,248,0.8);
}

/* SIGN IN */
.auth-btn.signin {
  background: rgba(255,255,255,0.08);
  color: #9ca3af;
  pointer-events: none;
  opacity: 0.5;
}

.auth-btn.signin.active {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  pointer-events: auto;
  opacity: 1;
}

.auth-btn.signin.active:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(34,197,94,0.8);
}

.auth-box {
  max-width: 360px;
  margin: 120px auto;
  background: rgba(17,24,39,0.9);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
}

.auth-box h2 {
  margin-bottom: 20px;
}

.auth-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: #020617;
  color: white;
}

.auth-box button {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

/* HERO LEFT POSITION FIX */
.hero {
  display: flex;
}

.hero-left {
  max-width: 700px;      /* content width limit */
  margin-left: 120px;   /* <-- main move (adjust this) */
}

/* ACTION BUTTONS */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
  max-width: 420px;
}

.action-btn {
  padding: 16px;
  border-radius: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Telegram Channel */
.action-btn.telegram {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  box-shadow: 0 0 25px rgba(56,189,248,0.4);
}
.action-btn.telegram:hover {
  transform: scale(1.08);
  box-shadow: 0 0 40px rgba(56,189,248,0.9);
}

/* Chat Group */
.action-btn.chat {
  background: linear-gradient(135deg, #ec4899, #a855f7);
  box-shadow: 0 0 25px rgba(236,72,153,0.4);
}
.action-btn.chat:hover {
  transform: scale(1.08);
  box-shadow: 0 0 40px rgba(236,72,153,0.9);
}

/* Contact Owner */
.action-btn.owner {
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 0 25px rgba(249,115,22,0.4);
}
.action-btn.owner:hover {
  transform: scale(1.08);
  box-shadow: 0 0 40px rgba(249,115,22,0.9);
}

/* CHAT MODAL */
.chat-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.chat-box {
  background: rgba(17,24,39,0.95);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  max-width: 360px;
  width: 90%;
  animation: pop 0.25s ease;
}

@keyframes pop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.chat-actions {
  display: flex;
  gap: 14px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;   /* single column */
    padding: 60px 20px;
    text-align: center;
  }

  .hero-left {
    max-width: 420px;
    margin: 0 auto;               /* center horizontally */
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 14px;
  }
}

