:root {
  --bg-color: #0b071e;
  --bg-gradient: linear-gradient(135deg, #070314 0%, #120b33 50%, #03010b 100%);
  --card-bg: rgba(30, 20, 58, 0.4);
  --card-border: rgba(255, 255, 255, 0.06);
  
  --primary-color: #ff0050; /* TikTok Pink / Neon Pink */
  --secondary-color: #00f2fe; /* TikTok Cyan / Neon Cyan */
  --accent-color: #9d4edd; /* Deep Purple */
  
  --text-main: #f3effa;
  --text-muted: #8c81ad;
  
  --color-success: #00ff87;
  --color-error: #ff3838;
  
  --font-sans: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 7, 30, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.logo-icon {
  color: var(--primary-color);
  filter: drop-shadow(0 0 5px var(--primary-color));
}

.nav-logo span {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 15px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 30px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.admin-link {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-link:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

/* Hero Section */
.hero-section {
  padding: 150px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.badge {
  background: rgba(255, 0, 80, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(255, 0, 80, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 25px;
}

.hero-section h1 {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-section h1 span {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
}

.hero-stat-item h4 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  background: linear-gradient(90deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 5px;
}

/* Packages section */
.packages-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Platform Bar */
.platform-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.platform-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.platform-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
}

.platform-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

#btn-ig.active { border-color: #e1306c; box-shadow: 0 0 15px rgba(225, 48, 108, 0.2); }
#btn-tt.active { border-color: var(--primary-color); box-shadow: 0 0 15px rgba(255, 0, 80, 0.2); }
#btn-yt.active { border-color: #ff0000; box-shadow: 0 0 15px rgba(255, 0, 0, 0.2); }
#btn-tw.active { border-color: var(--secondary-color); box-shadow: 0 0 15px rgba(0, 242, 254, 0.2); }

/* Category Filters */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.filter-btn.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  box-shadow: 0 4px 12px rgba(157, 78, 221, 0.3);
}

/* Packages Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* Package Card */
.pkg-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.pkg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0.7;
}

.pkg-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pkg-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.pkg-platform-instagram .pkg-icon { background: rgba(225, 48, 108, 0.1); color: #e1306c; }
.pkg-platform-tiktok .pkg-icon { background: rgba(255, 0, 80, 0.1); color: var(--primary-color); }
.pkg-platform-youtube .pkg-icon { background: rgba(255, 0, 0, 0.1); color: #ff0000; }
.pkg-platform-twitter .pkg-icon { background: rgba(0, 242, 254, 0.1); color: var(--secondary-color); }

.pkg-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pkg-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pkg-features-list {
  list-style: none;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pkg-features-list li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pkg-features-list li i {
  color: var(--color-success);
  font-size: 12px;
}

.pkg-pricing {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.pkg-price-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
}

.pkg-currency {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 0, 80, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 80, 0.4);
  filter: brightness(1.1);
}

.btn-success {
  background: linear-gradient(135deg, #00ff87 0%, #60efff 100%);
  color: #0b071e;
  box-shadow: 0 4px 15px rgba(0, 255, 135, 0.25);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 135, 0.4);
  filter: brightness(1.05);
}

.btn-danger {
  background: rgba(255, 56, 56, 0.15);
  color: var(--color-error);
  border: 1px solid rgba(255, 56, 56, 0.3);
}

.btn-danger:hover {
  background: var(--color-error);
  color: white;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 4, 18, 0.85);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: rgba(22, 14, 43, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: 20px 25px;
  background: rgba(10, 6, 22, 0.5);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.modal-header h3 i {
  color: var(--secondary-color);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--primary-color);
}

.modal-body {
  padding: 25px;
}

.selected-package-summary {
  background: rgba(0, 0, 0, 0.25);
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  margin-bottom: 25px;
}

.pkg-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.selected-package-summary h4 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 4px;
  margin-bottom: 8px;
}

.pkg-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.pkg-price span {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-color);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

.input-wrapper input, .input-wrapper select {
  width: 100%;
  padding: 14px 15px 14px 42px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.input-wrapper select {
  cursor: pointer;
}

.input-wrapper select option {
  background-color: #120b33;
  color: var(--text-main);
}

.input-wrapper input:focus, .input-wrapper select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
  background: rgba(0, 0, 0, 0.5);
}

.input-wrapper input:focus + .input-icon, .input-wrapper select:focus + .input-icon {
  color: var(--secondary-color);
}

/* Payment Sim Cards */
.payment-summary {
  background: rgba(0, 255, 135, 0.05);
  border: 1px solid rgba(0, 255, 135, 0.2);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 25px;
  color: var(--color-success);
}

.payment-summary strong {
  font-size: 20px;
}

.credit-card-form {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.card-input {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 1px;
}

.secure-badge {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.secure-badge i {
  color: var(--color-success);
}

/* Success Card */
.success-card {
  max-width: 420px;
}

.text-center {
  text-align: center;
}

.success-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 255, 135, 0.1);
  border: 2px solid var(--color-success);
  color: var(--color-success);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(0, 255, 135, 0.2);
}

.success-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.success-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.order-receipt-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  text-align: left;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.order-receipt-box strong {
  color: var(--secondary-color);
}

.order-receipt-box span {
  color: var(--text-main);
}

.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
}

/* Footer */
.footer {
  border-top: 1px solid var(--card-border);
  background: rgba(6, 4, 18, 0.9);
  padding: 40px 20px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 10px;
}

.footer-info {
  text-align: right;
}

@media (max-width: 768px) {
  .footer-info {
    text-align: center;
  }
}

.footer-info p {
  color: var(--text-muted);
  font-size: 13px;
}

.secure-payments {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .secure-payments {
    justify-content: center;
  }
}

.secure-payments i {
  font-size: 18px;
}
