:root {
  --bg-color: #000000;
  --bg-secondary: #0a0a0a;
  --panel-bg: #111111;
  --panel-hover: #171717;
  --border-color: #27272a;
  --border-hover: #3f3f46;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(circle at top center, rgba(79, 70, 229, 0.15) 0%, transparent 50%);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.4);
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

header nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

header nav a:hover {
  color: var(--text-primary);
}

.btn-secondary {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 6px;
  color: var(--text-primary) !important;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: var(--panel-hover);
  border-color: var(--border-hover);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 40px 100px;
  min-height: 85vh;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.2);
  color: #818cf8;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(to right, #fff, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
  transition: all 0.2s;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--panel-hover);
  border-color: var(--border-hover);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-wrapper {
  position: relative;
}

.floating-logo {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 20%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.05);
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.5) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 1;
  animation: pulse 4s ease-in-out infinite;
}

/* Sections Global */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.15rem;
}

/* Features */
.features-section {
  padding: 100px 40px;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.bento-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.3s;
}

.bento-card:hover {
  background: var(--panel-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.bento-card.large {
  grid-column: span 2;
}

.bento-card .icon {
  font-size: 2rem;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.03);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
}

.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.bento-card p {
  color: var(--text-secondary);
}

/* Pricing */
.pricing-section {
  padding: 120px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.price-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.pro {
  border-color: rgba(79, 70, 229, 0.5);
  box-shadow: 0 10px 40px rgba(79, 70, 229, 0.1);
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.05) 0%, var(--panel-bg) 100%);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 50px;
}

.price-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.plan-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 32px;
}
.price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: normal;
}

.features-list {
  list-style: none;
  margin-bottom: 40px;
  flex: 1;
}

.features-list li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.features-list li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 12px;
  font-weight: 800;
}

.btn-buy {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-primary);
  transition: all 0.2s;
}
.btn-buy:hover {
  background: var(--panel-hover);
}

.btn-buy.primary {
  background: var(--accent);
  border: none;
  color: #fff;
}
.btn-buy.primary:hover {
  background: var(--accent-hover);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 40px;
  background: var(--bg-secondary);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.small-logo {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

footer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Checkout Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--text-secondary);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close-btn:hover { color: #fff; }

.checkout-step {
  display: none;
}
.checkout-step.active {
  display: block;
}
.checkout-step h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.package-options, .payment-methods {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pkg-card, .pay-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.pkg-card:hover, .pay-btn:hover {
  background: var(--panel-hover);
  border-color: var(--accent);
}

.pkg-card h4 { font-size: 1.2rem; margin-bottom: 5px; }
.pkg-price { color: var(--accent); font-weight: bold; }

.pay-btn.easypaisa:hover { border-color: #25d366; }
.pay-btn.jazzcash:hover { border-color: #ed1c24; }

.back-btn {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  width: 100%;
  padding: 10px;
  cursor: pointer;
  margin-top: 10px;
}
.back-btn:hover { color: #fff; text-decoration: underline; }

.modal-input {
  width: 100%;
  padding: 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #fff;
  margin-bottom: 15px;
}
.modal-input:focus { outline: none; border-color: var(--accent); }

.account-box {
  background: rgba(255,255,255,0.05);
  padding: 15px;
  border-radius: 8px;
  border: 1px dashed var(--border-color);
}
.mb-3 { margin-bottom: 15px; }
.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 25px; }
.mt-2 { margin-top: 10px; }

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  border-radius: 50px;
  box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.6);
}
.wa-icon {
  width: 35px;
  height: 35px;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.large {
    grid-column: span 1;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 3rem; }
  .floating-logo { width: 250px; height: 250px; }
  header nav { display: none; }
  .footer-content { flex-direction: column; gap: 20px; }
}
