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

:root {
  --green: #1a9e3f;
  --green-light: #22c55e;
  --green-dark: #15803d;
  --bg: #f0f7f0;
  --bg2: #e8f5e9;
  --white: #ffffff;
  --card: #ffffff;
  --border: #c8e6c9;
  --text: #1a2e1a;
  --muted: #4a7a4a;
  --purple: #7c3aed;
  --purple-light: #a855f7;
  --yellow: #d97706;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.highlight { color: var(--green); }

/* HEADER */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--green);
  box-shadow: 0 2px 12px rgba(26,158,63,0.1);
}

header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
}
.logo-bracket { color: #aaa; }
.logo-name { color: var(--green); }

nav { display: flex; gap: 24px; margin-left: auto; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
nav a:hover { color: var(--green); }

.server-ip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  transition: border-color 0.2s;
  font-size: 0.85rem;
}
.server-ip:hover { border-color: var(--green); }
.ip-label { color: var(--muted); }
.ip-text { color: var(--green); font-weight: 800; }
.ip-copy { color: var(--muted); font-size: 0.8rem; }

/* HERO */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg2) 100%);
  border-bottom: 2px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(26,158,63,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(34,197,94,0.08) 0%, transparent 50%);
}

.hero-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--text);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 36px;
}

.btn-hero {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(26,158,63,0.3);
}
.btn-hero:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* STATUS BAR */
.status-bar {
  background: var(--green);
  padding: 12px 0;
}
.status-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #fff;
  font-weight: 600;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* SECTION TITLE */
.section-title {
  text-align: center;
  margin-bottom: 56px;
}
.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--text);
}
.section-title p { color: var(--muted); font-size: 1rem; }

/* PLANS */
.vips {
  padding: 90px 0;
  background: var(--bg);
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.plan {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26,158,63,0.15);
}

.plan.featured {
  border-color: var(--purple);
  box-shadow: 0 4px 24px rgba(124,58,237,0.12);
}
.plan.featured:hover {
  box-shadow: 0 12px 40px rgba(124,58,237,0.2);
}

.plan-header {
  padding: 32px 28px 24px;
  text-align: center;
  position: relative;
}
.plan-header.vip {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-bottom: 2px solid #bbf7d0;
}
.plan-header.vipx {
  background: linear-gradient(135deg, #faf5ff, #ede9fe);
  border-bottom: 2px solid #ddd6fe;
}

.plan-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--green);
  color: #fff;
  text-transform: uppercase;
}
.plan-badge.gold {
  background: var(--purple);
  color: #fff;
}

.plan-icon { font-size: 2.5rem; margin-bottom: 10px; }

.plan-header h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 14px;
}
.plan-header.vip h3 { color: var(--green-dark); }
.plan-header.vipx h3 { color: var(--purple); }

.plan-price {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
}
.price-currency { font-size: 1.1rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.price-value { font-size: 3rem; font-weight: 900; color: var(--text); line-height: 1; }
.price-period { font-size: 0.88rem; color: var(--muted); margin-bottom: 6px; }

.plan-body { padding: 24px 28px; }

.plan-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.plan-features li { font-size: 0.88rem; color: var(--text); }

.btn-plan {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn-plan:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-plan.vip {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26,158,63,0.3);
}
.btn-plan.vipx {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 14px rgba(124,58,237,0.3);
}

/* CHECKOUT */
.checkout {
  padding: 90px 0;
  background: var(--bg2);
}

.checkout-box {
  max-width: 540px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.checkout-selected {
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.checkout-plan-label { color: var(--muted); font-size: 0.85rem; }
.checkout-plan-name { font-weight: 800; color: var(--green-dark); }
.checkout-plan-price { margin-left: auto; font-weight: 800; color: var(--text); }

.checkout-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.form-group input,
.form-group select {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--green); }

.checkout-total {
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
}
.checkout-total strong { font-size: 1.4rem; color: var(--green-dark); }

.btn-pay {
  background: #009ee3;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-size: 1rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(0,158,227,0.3);
}
.btn-pay:hover { background: #0080c0; transform: translateY(-1px); }

.checkout-info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.info-item { font-size: 0.82rem; color: var(--muted); }

/* HOW */
.how {
  padding: 90px 0;
  background: var(--white);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.step { text-align: center; max-width: 180px; }
.step-num {
  width: 52px; height: 52px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(26,158,63,0.3);
}
.step h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 5px; }
.step p { font-size: 0.82rem; color: var(--muted); }
.step-arrow { font-size: 1.5rem; color: var(--border); font-weight: 900; }

/* FAQ */
.faq { padding: 90px 0; background: var(--bg); }

.faq-list {
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-q {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
  color: var(--text);
}
.faq-q:hover { color: var(--green); }
.faq-q span { color: var(--green); font-size: 1.2rem; font-weight: 900; }

.faq-a {
  display: none;
  padding: 14px 20px 16px;
  font-size: 0.87rem;
  color: var(--muted);
  border-top: 2px solid var(--border);
  background: var(--bg2);
}
.faq-a.open { display: block; }

/* FOOTER */
footer {
  background: var(--green-dark);
  border-top: 3px solid var(--green);
  padding: 36px 0;
  text-align: center;
}
footer .footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: #fff;
}
footer .footer-logo .logo-bracket { color: rgba(255,255,255,0.4); }
footer .footer-logo .logo-name { color: #fff; }
footer p { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-bottom: 4px; }
footer .footer-small { font-size: 0.76rem; color: rgba(255,255,255,0.4); }

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  border-top: 4px solid var(--green);
}
.modal-icon { font-size: 2.5rem; margin-bottom: 12px; }
.modal-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 20px;
}
.modal-info {
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}
.modal-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-info-label { color: var(--muted); font-weight: 600; }
.modal-info-value { font-weight: 800; color: var(--text); }
.modal-info-value.green { color: var(--green-dark); font-size: 1.1rem; }
.modal-warning {
  background: #fffbeb;
  border: 2px solid #fde68a;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #92400e;
  margin-bottom: 24px;
  font-weight: 600;
}
.modal-buttons { display: flex; gap: 12px; }
.modal-btn-cancel {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s;
}
.modal-btn-cancel:hover { border-color: var(--muted); }
.modal-btn-confirm {
  flex: 2;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #009ee3;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 4px 14px rgba(0,158,227,0.3);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-btn-confirm:hover { background: #0080c0; }

/* RESPONSIVE */
@media (max-width: 768px) {
  header .container { gap: 12px; }
  nav { display: none; }
  .server-ip .ip-copy { display: none; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .checkout-box { padding: 24px; }
}
