/* =========================================================
   Aaqib StreamForce - components.css (Premium / Eye-Catchy)
   Requires: default.css (variables + reset)
   ========================================================= */

/* ---------- Global component helpers ---------- */
.glow-cyan {
  box-shadow: 0 18px 55px rgba(34, 211, 238, 0.18);
}
.glow-gold {
  box-shadow: 0 18px 55px rgba(245, 196, 81, 0.18);
}

.hr {
  height: 1px;
  background: var(--border);
  width: 100%;
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  user-select: none;
  white-space: nowrap;
}

.btn:focus-visible { box-shadow: var(--ring); }

.btn-primary {
  background: var(--secondary);
  color: #071420;
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(34, 211, 238, 0.30);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid rgba(34, 211, 238, 0.55);
  color: var(--primary);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.9);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.05);
  color: var(--primary);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-dark {
  background: var(--primary);
  color: #F8FAFC;
  border: 1px solid rgba(226, 232, 240, 0.18);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-sm { padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.btn-lg { padding: 14px 20px; border-radius: 16px; font-size: 16px; }

.btn-block { width: 100%; }

/* ---------- Pill & Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--primary);
}

.chip-cyan {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.10);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.badge-popular {
  background: rgba(34, 211, 238, 0.12);
  color: #0B1220;
  border-color: rgba(34, 211, 238, 0.35);
}

.badge-premium {
  background: rgba(245, 196, 81, 0.18);
  color: #3A2A00;
  border-color: rgba(245, 196, 81, 0.38);
}

.badge-offer {
  background: rgba(239, 68, 68, 0.12);
  color: #7F1D1D;
  border-color: rgba(239, 68, 68, 0.30);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(34, 211, 238, 0.26);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.card-subtitle {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Service Card (Eye-catchy) */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(600px circle at 20% 0%, rgba(34,211,238,.18), transparent 60%),
              radial-gradient(520px circle at 90% 20%, rgba(245,196,81,.14), transparent 60%);
  pointer-events: none;
}

.service-card .service-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.25);
  margin-bottom: 12px;
}

.service-card .service-desc {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

/* ---------- Plan Card (Pricing) ---------- */
.plan-card {
  position: relative;
  overflow: hidden;
}

.plan-card .plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plan-card .plan-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
}

.plan-card .plan-price {
  font-family: var(--font-numbers);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-top: 10px;
}
.plan-card .plan-price span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
}

.plan-card .plan-meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.plan-card .plan-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.plan-card .plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
}

.plan-card .tick {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  flex: 0 0 18px;
  margin-top: 2px;
  background: rgba(22, 163, 74, 0.10);
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.plan-card.is-popular {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 18px 55px rgba(34, 211, 238, 0.14);
}
.plan-card.is-popular::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(650px circle at 10% 0%, rgba(34,211,238,.18), transparent 60%);
  pointer-events: none;
}

/* ---------- Navbar (Premium, light) ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 255, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.70);
}

.navbar .nav-wrap {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand .logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.25);
}
.brand .name {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.brand .tag {
  font-size: 12px;
  color: var(--muted);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-links a {
  font-weight: 650;
  color: var(--primary);
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav-links a:hover {
  background: rgba(34, 211, 238, 0.10);
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Dropdown (basic; JS can toggle .open) */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 10px;
  display: none;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
  display: flex;
  justify-content: space-between;
  padding: 10px 10px;
  border-radius: 12px;
}
.dropdown-menu a:hover { background: rgba(15, 23, 42, 0.04); }

/* Mobile nav toggle (JS can add .open on .nav-mobile) */
.nav-mobile-btn { display: none; }
.nav-mobile { display: none; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: inline-flex; }
  .nav-mobile {
    display: none;
    padding: 14px 0 18px;
  }
  .navbar.open .nav-mobile { display: block; }
  .nav-mobile a {
    display: block;
    padding: 12px 12px;
    border-radius: 14px;
    font-weight: 650;
    color: var(--primary);
  }
  .nav-mobile a:hover { background: rgba(34, 211, 238, 0.10); }
}

/* ---------- Hero (Premium Light) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(900px circle at 15% 0%, rgba(34,211,238,.20), transparent 55%),
    radial-gradient(800px circle at 90% 10%, rgba(245,196,81,.16), transparent 55%);
  pointer-events: none;
}

.hero .hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.hero .hero-panel {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(226,232,240,0.85);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  padding: 22px;
  backdrop-filter: blur(10px);
}

.hero .hero-points {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.hero .hero-points li {
  display: flex;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Tabs (Plans categories) ---------- */
.tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.tab {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  transition: background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.tab.active {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(34, 211, 238, 0.25);
}

/* ---------- Accordion (FAQ) ---------- */
.accordion {
  display: grid;
  gap: 12px;
}

.acc-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.acc-btn {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 750;
  color: var(--primary);
}

.acc-content {
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 14px;
  display: none;
}
.acc-item.open .acc-content { display: block; }

/* ---------- Modal (basic) ---------- */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(2, 6, 23, 0.45);
  padding: 20px;
  z-index: 100;
}
.modal.open { display: grid; }

.modal-card {
  width: min(520px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 18px;
}

/* ---------- Toast (basic) ---------- */
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(360px, calc(100% - 36px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 14px;
  display: none;
  z-index: 120;
}
.toast.show { display: block; }

/* ---------- Subtle reveal animation ---------- */
.reveal {
  animation: revealUp var(--t-med) var(--ease) both;
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}