/* ==========================================================================
   Athernix Hosting - Modern Cyberpunk / Dark Cloud Theme
   ========================================================================== */

:root {
  --bg-dark: #070b14;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --blue-primary: #2563eb;
  --blue-light: #38bdf8;
  --blue-glow: rgba(56, 189, 248, 0.35);
  --red-primary: #dc2626;
  --red-light: #f87171;
  --red-glow: rgba(239, 68, 68, 0.35);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --border-light: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(255, 255, 255, 0.3);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background: radial-gradient(circle at 10% 15%, #172554 0%, #070b14 45%, #7f1d1d 85%, #3b0710 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Background Watermark */
.bg-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 850px;
  max-width: 90vw;
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 50px rgba(239, 68, 68, 0.5));
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  transition: all 0.3s ease;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.6));
}

.nav-brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--text-main);
}

.nav-brand span {
  color: var(--red-light);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: #fff;
  text-shadow: 0 0 12px var(--blue-light);
}

.nav-badge-discount {
  background: rgba(220, 38, 38, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5 !important;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.nav-btn {
  background: linear-gradient(135deg, var(--blue-primary), var(--red-primary));
  color: white;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 18px var(--red-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(239, 68, 68, 0.5);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 90px 0 60px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 24px;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 10px var(--blue-light);
  animation: pulse 2s 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 10px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hero-title {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(90deg, #38bdf8, #f87171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  color: #cbd5e1;
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-primary), #1d4ed8);
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 25px var(--blue-glow);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.5);
}

.btn-voucher {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid var(--red-light);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 25px var(--red-glow);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-voucher:hover {
  background: rgba(220, 38, 38, 0.35);
  transform: translateY(-2px);
}

/* Stats Row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-box {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
}

.stat-val {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-light);
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-tag.tag-emerald {
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(52, 211, 153, 0.3);
}

.section-tag.tag-cyan {
  color: #22d3ee;
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(34, 211, 238, 0.3);
}

.section-tag.tag-red {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(248, 113, 113, 0.3);
}

.section-title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 48px;
}

/* ==========================================================================
   Pricing Cards Grid
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-light);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.25);
}

.pricing-card.featured {
  border: 2px solid rgba(239, 68, 68, 0.8);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.85) 100%);
  box-shadow: 0 12px 35px var(--red-glow);
}

.pricing-card.featured:hover {
  box-shadow: 0 20px 50px rgba(239, 68, 68, 0.4);
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--blue-primary), var(--red-primary));
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.card-badge-free {
  background: #10b981;
  color: #000;
}

.plan-header {
  margin-bottom: 24px;
}

.plan-level {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--blue-light);
  margin-bottom: 8px;
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

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

.plan-subtext {
  font-size: 13px;
  color: #34d399;
  font-weight: 700;
  margin-top: 6px;
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  font-size: 14px;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li strong {
  color: #fff;
}

.plan-features li .icon {
  font-size: 16px;
}

.btn-card {
  width: 100%;
  padding: 12px 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-card:hover {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  box-shadow: 0 4px 15px var(--blue-glow);
}

.pricing-card.featured .btn-card {
  background: linear-gradient(135deg, var(--red-primary), #b91c1c);
  border-color: var(--red-light);
  box-shadow: 0 4px 15px var(--red-glow);
}

.pricing-card.featured .btn-card:hover {
  background: linear-gradient(135deg, #ef4444, var(--red-primary));
}

/* Feature Ribbon / Banner */
.info-ribbon {
  background: linear-gradient(90deg, rgba(30, 58, 138, 0.6) 0%, rgba(136, 19, 55, 0.6) 100%);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px 28px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ribbon-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ribbon-icon {
  font-size: 32px;
}

.ribbon-title {
  font-size: 18px;
  font-weight: 800;
}

.ribbon-desc {
  font-size: 13px;
  color: #cbd5e1;
}

.ribbon-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

/* ==========================================================================
   Voucher Section
   ========================================================================== */
.voucher-section {
  background: radial-gradient(circle at center, rgba(220, 38, 38, 0.15) 0%, rgba(15, 23, 42, 0.6) 70%);
  border: 2px dashed rgba(239, 68, 68, 0.6);
  border-radius: 28px;
  padding: 60px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin: 40px 0;
}

.voucher-box {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--red-light);
  border-radius: 16px;
  padding: 16px 32px;
  margin: 28px 0;
  box-shadow: 0 0 35px var(--red-glow);
}

.voucher-code {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 4px;
  font-family: monospace;
  color: #fff;
  text-shadow: 0 0 20px var(--red-light);
}

.copy-btn {
  background: #fff;
  color: #000;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: #f1f5f9;
  transform: scale(1.05);
}

/* ==========================================================================
   Flyer Download Showcase
   ========================================================================== */
.flyer-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.flyer-thumb-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.flyer-thumb-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-light);
}

.flyer-thumb-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.flyer-thumb-info {
  padding: 12px;
}

.flyer-thumb-info h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}

.flyer-thumb-info a {
  display: inline-block;
  font-size: 12px;
  color: var(--blue-light);
  text-decoration: none;
  font-weight: 700;
}

.flyer-thumb-info a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Order Modal
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: #0f172a;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-close:hover {
  color: white;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #cbd5e1;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 16px;
  color: white;
  font-size: 14px;
  outline: none;
}

.form-control:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 10px var(--blue-glow);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #10b981;
  color: black;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #030712;
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #0a0f1d;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-toggle { display: block; }
  .hero-title { font-size: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .voucher-code { font-size: 28px; }
  .voucher-box { flex-direction: column; padding: 20px; }
}
