/* ==========================================================
   optimpc.top - Design Gaming & Esports Dark UI
   ========================================================== */

:root {
  --bg-dark: #090c10;
  --bg-card: #0d111a;
  --bg-card-hover: #121824;
  --bg-elevated: #161d2d;
  --border-card: #1f283d;
  --border-focus: #3b82f6;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --bronze-main: #f59e0b;
  --bronze-glow: rgba(245, 158, 11, 0.25);
  
  --gold-main: #eab308;
  --gold-glow: rgba(234, 179, 8, 0.35);

  --platinum-main: #a855f7;
  --platinum-glow: rgba(168, 85, 247, 0.45);
  --platinum-border: #9333ea;

  --green-check: #10b981;
  --red-cross: #ef4444;
  --blue-accent: #3b82f6;
  --cyan-accent: #06b6d4;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Cyber Grid Glow */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 15%, rgba(147, 51, 234, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(234, 179, 8, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ==========================================================
   NAVBAR
   ========================================================== */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 12, 16, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.logo-badge {
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background-color: var(--green-check);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--green-check);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: #ffffff;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #9333ea, #6366f1);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(147, 51, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(147, 51, 234, 0.6);
}

.btn-whatsapp {
  background: #25D366;
  color: #0b1e10;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  color: #000;
}

.btn-steam {
  background: #171a21;
  color: #c7d5e0;
  border: 1px solid #2a475e;
}

.btn-steam:hover {
  background: #2a475e;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(147, 51, 234, 0.4);
  color: #c084fc;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-title span.gradient-text {
  background: linear-gradient(135deg, #a855f7 20%, #38bdf8 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 40px auto 0;
}

.stat-box {
  background: rgba(13, 17, 26, 0.7);
  border: 1px solid var(--border-card);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================
   PRICING SECTION (MATCHING SCREENSHOT)
   ========================================================== */
.pricing-section {
  padding: 70px 0 90px;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* PRICING CARD */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pricing-card:hover {
  transform: translateY(-6px);
}

/* SPECIFIC CARD THEMES */
.pricing-card.bronze {
  border-top: 3px solid var(--bronze-main);
}
.pricing-card.bronze:hover {
  box-shadow: 0 15px 40px var(--bronze-glow);
  border-color: rgba(245, 158, 11, 0.5);
}

.pricing-card.gold {
  border-top: 3px solid var(--gold-main);
}
.pricing-card.gold:hover {
  box-shadow: 0 15px 40px var(--gold-glow);
  border-color: rgba(234, 179, 8, 0.5);
}

.pricing-card.platinum {
  border: 2px solid var(--platinum-border);
  box-shadow: 0 0 35px var(--platinum-glow);
  background: linear-gradient(180deg, #120e24 0%, #0d111a 100%);
}

.pricing-card.platinum:hover {
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.65);
}

/* CARD HEADER */
.card-badge-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: inline-block;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.pricing-card.bronze .card-title { color: var(--bronze-main); }
.pricing-card.gold .card-title { color: var(--gold-main); }
.pricing-card.platinum .card-title { color: var(--platinum-main); }

.card-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 24px;
}

/* PRICE TAG */
.card-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.price-currency {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

/* CURRENT BADGE (SCREENSHOT: PACHETUL TAU CURENT) */
.current-pill {
  background: #1e2638;
  color: #94a3b8;
  border: 1px solid #2e3a54;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* FEATURES LIST (EXACT FROM SCREENSHOT) */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  line-height: 1.45;
}

.feature-item.included {
  color: #e2e8f0;
}

.feature-item.included .feature-icon {
  color: var(--green-check);
  font-weight: bold;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.feature-item.excluded {
  color: #64748b;
  opacity: 0.75;
}

.feature-item.excluded .feature-icon {
  color: #64748b;
  font-weight: bold;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.feature-item.highlight-text {
  font-weight: 700;
}

/* ORDER BUTTONS */
.card-action {
  margin-top: auto;
}

.btn-card {
  width: 100%;
  padding: 13px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-bronze {
  background: rgba(245, 158, 11, 0.15);
  color: var(--bronze-main);
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.btn-bronze:hover {
  background: var(--bronze-main);
  color: #000;
}

.btn-gold {
  background: rgba(234, 179, 8, 0.15);
  color: var(--gold-main);
  border: 1px solid rgba(234, 179, 8, 0.4);
}
.btn-gold:hover {
  background: var(--gold-main);
  color: #000;
}

.btn-platinum {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.5);
}
.btn-platinum:hover {
  background: linear-gradient(135deg, #9333ea, #4f46e5);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(168, 85, 247, 0.7);
}

/* ==========================================================
   PAYMENT METHODS SECTION
   ========================================================== */
.payment-section {
  padding: 60px 0 80px;
  background: rgba(13, 17, 26, 0.5);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: var(--transition);
}

.payment-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-4px);
}

.pay-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pay-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.pay-tag {
  font-size: 0.75rem;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.pay-info-box {
  background: #090c10;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: monospace;
  font-size: 0.95rem;
  color: #cbd5e1;
  word-break: break-all;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copy-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 8px;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

/* ==========================================================
   TICKET CREATION & CHECK SECTION
   ========================================================== */
.ticket-section {
  padding: 80px 0;
}

.ticket-container-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.form-input, .form-select, .form-textarea {
  background: #090c10;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.form-help {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================
   MODAL & TOAST
   ========================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  animation: modal-pop 0.25s ease-out;
}

@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

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

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1e293b;
  border: 1px solid #3b82f6;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
  font-weight: 500;
  animation: slide-in 0.3s ease;
}

@keyframes slide-in {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================
   FLOATING CONTACT WIDGET
   ========================================================== */
.floating-contact {
  position: fixed;
  bottom: 25px;
  left: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-wa {
  background: #25D366;
  color: #fff;
}

.float-steam {
  background: #171a21;
  color: #c7d5e0;
  border: 1px solid #2a475e;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  border-top: 1px solid var(--border-card);
  padding: 40px 0;
  background: #06080b;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-muted);
}
.footer-links a:hover {
  color: #fff;
}

/* ==========================================================
   RESPONSIVE DESIGN
   ========================================================== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.platinum {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.platinum {
    grid-column: span 1;
  }
  .payment-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
