/* Global Reset & Design System - REVOLT STORE (Sky Blue & Deep Royal Blue Theme) */
:root {
  --bg-dark: #070c18;
  --bg-card: rgba(14, 25, 48, 0.85);
  --bg-input: #0f1d36;
  --border-color: rgba(56, 189, 248, 0.18);
  --border-highlight: #38bdf8;
  
  --sky-blue: #38bdf8;
  --sky-glow: rgba(56, 189, 248, 0.45);
  --royal-blue: #2563eb;
  --deep-navy: #0f172a;
  --pure-white: #ffffff;
  --danger-red: #ef4444;
  --warning-amber: #f59e0b;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-family: 'Cairo', 'Space Grotesk', 'Rajdhani', system-ui, sans-serif;
  --radius-lg: 16px;
  --radius-md: 10px;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  direction: ltr;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(37, 99, 235, 0.12) 0%, transparent 40%);
  background-attachment: fixed;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Announcement Ticker Bar */
.top-bar {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.18), rgba(37, 99, 235, 0.18));
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-icon {
  color: var(--sky-blue);
  animation: pulse 1.5s infinite;
}

.support-link {
  color: var(--sky-blue);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Header Navbar */
.navbar {
  background: rgba(7, 12, 24, 0.9);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--sky-blue), var(--royal-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 0 20px var(--sky-glow);
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.brand-name span {
  color: var(--sky-blue);
}

.brand-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  font-weight: 700;
}

/* Search Box */
.search-box {
  position: relative;
  flex: 1;
  max-width: 450px;
}

.search-box input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 10px 40px 10px 16px;
  border-radius: 24px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--sky-blue);
  box-shadow: 0 0 20px var(--sky-glow);
}

.search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Stats Badge */
.stat-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--sky-blue);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--sky-blue);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* Hero Section */
.hero {
  padding: 45px 0 25px;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--sky-blue);
  color: var(--sky-blue);
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Category Filter Bar */
.category-scroll {
  overflow-x: auto;
  padding: 15px 0 25px;
  scrollbar-width: thin;
}

.categories {
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.cat-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 9px 20px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cat-btn:hover {
  border-color: var(--sky-blue);
  color: #fff;
}

.cat-btn.active {
  background: linear-gradient(135deg, var(--sky-blue), var(--royal-blue));
  color: #fff;
  font-weight: 800;
  border-color: var(--sky-blue);
  box-shadow: 0 0 20px var(--sky-glow);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 24px;
  padding-bottom: 60px;
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(12px);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--sky-blue);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px var(--sky-glow);
}

.product-img-wrap {
  height: 165px;
  position: relative;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}

.badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 12, 24, 0.85);
  border: 1px solid var(--sky-blue);
  color: var(--sky-blue);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
}

.category-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(37, 99, 235, 0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
}

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 14px;
  height: 38px;
  overflow: hidden;
}

.feature-list {
  list-style: none;
  margin-bottom: 16px;
  flex: 1;
}

.feature-list li {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.feature-list li::before {
  content: "✓";
  color: var(--sky-blue);
  font-weight: bold;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: auto;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.price-val {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--sky-blue);
}

.btn-buy {
  width: 100%;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--sky-blue), var(--royal-blue));
  color: #fff;
  border: none;
  padding: 11px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.btn-buy:hover {
  box-shadow: 0 0 25px var(--sky-glow);
  transform: scale(1.02);
}

/* Modals Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-card {
  background: #0b1426;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 550px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(56, 189, 248, 0.15);
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
}

.close-modal:hover {
  color: #fff;
}

.modal-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--sky-blue);
  color: var(--sky-blue);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.modal-header h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #e2e8f0;
}

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

.form-input, .form-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--sky-blue);
  box-shadow: 0 0 15px var(--sky-glow);
}

/* Plan Options Radio Grid */
.plan-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.plan-card {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.2s ease;
}

.plan-card input {
  display: none;
}

.plan-card.active {
  border-color: var(--sky-blue);
  background: rgba(56, 189, 248, 0.15);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

.plan-name {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.plan-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--sky-blue);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--sky-blue), var(--royal-blue));
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 20px var(--sky-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--sky-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-block {
  width: 100%;
}

/* Crypto Wallets Box */
.crypto-wallets-box {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 16px;
}

.wallets-header {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--sky-blue);
  margin-bottom: 12px;
}

.wallet-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(56, 189, 248, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  gap: 10px;
}

.wallet-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.net-tag {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}

.net-trc { background: rgba(56, 189, 248, 0.2); color: var(--sky-blue); }
.net-bep { background: rgba(234, 179, 8, 0.2); color: #eab308; }
.net-btc { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.net-sol { background: rgba(168, 85, 247, 0.2); color: #a855f7; }

.wallet-addr {
  font-size: 0.75rem;
  color: #e2e8f0;
  word-break: break-all;
}

.btn-copy-addr {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
}

.btn-copy-addr:hover {
  background: var(--sky-blue);
  color: #000;
}

/* Promo Code & Price Calculation Styling */
.promo-input-row {
  display: flex;
  gap: 8px;
}

.btn-apply-promo {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--sky-blue);
  color: var(--sky-blue);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-apply-promo:hover {
  background: var(--sky-blue);
  color: #000;
}

.promo-notice-box {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
}

.promo-success {
  background: rgba(56, 189, 248, 0.15);
  color: var(--sky-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.promo-error {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.total-price-box {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.total-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}

.total-amount-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.original-price-strike {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.final-price-val {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--sky-blue);
}

.status-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.order-id-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-id-tag span {
  color: var(--sky-blue);
  font-weight: bold;
}

.order-product-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 4px;
}

.status-step {
  display: none;
}

.status-step.active {
  display: block;
}

.spinner-pulse {
  width: 70px;
  height: 70px;
  margin: 20px auto;
  border: 4px solid rgba(56, 189, 248, 0.1);
  border-top-color: var(--sky-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.live-indicator {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--sky-blue);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

#smsInput {
  background: var(--bg-input);
  border: 2px solid var(--sky-blue);
  color: var(--sky-blue);
  font-size: 1.8rem;
  letter-spacing: 6px;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-md);
  width: 100%;
  font-weight: bold;
}

.phone-mockup {
  width: 100px;
  height: 140px;
  border: 4px solid var(--sky-blue);
  border-radius: 20px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.progress-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--sky-blue), var(--royal-blue));
  animation: progressPulse 2s linear infinite;
}

@keyframes progressPulse {
  0% { width: 0%; }
  100% { width: 100%; }
}

.check-circle {
  width: 70px;
  height: 70px;
  background: var(--sky-blue);
  color: #000;
  font-size: 2.5rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 16px;
  box-shadow: 0 0 30px var(--sky-glow);
}

.text-sky { color: var(--sky-blue); }
.text-red { color: var(--danger-red); }

.license-box {
  background: var(--bg-input);
  border: 1px dashed var(--sky-blue);
  padding: 14px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  text-align: left;
}

.license-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.license-key-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.license-key-row code {
  font-size: 1rem;
  color: var(--sky-blue);
  font-weight: bold;
}

.btn-copy {
  background: var(--sky-blue);
  color: #000;
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.approved-actions {
  display: flex;
  gap: 10px;
}

.approved-actions a {
  text-decoration: none;
  text-align: center;
  flex: 1;
}

@media (max-width: 640px) {
  .form-grid, .plan-options {
    grid-template-columns: 1fr;
  }
}
