/* ==============================================================
   AutoPatcher Cloud - High-Converting Cyber Gaming SaaS Stylesheet
   ============================================================== */

:root {
  --bg: #070a12;
  --bg-alt: #0b1120;
  --card-bg: #0f172a;
  --card-border: #1e293b;
  --card-hover: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #64748b;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --cyan: #38bdf8;
  --green: #10b981;
  --amber: #f59e0b;
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Glow Background Orbs */
.glow-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.top-glow {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(59, 130, 246, 0.05) 70%, transparent 100%);
}

.mid-glow {
  top: 1400px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 10, 18, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0284c7, #3b82f6);
  border-radius: 10px;
  font-size: 18px;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.5);
}

.brand-text span {
  color: var(--cyan);
}

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

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #3b82f6 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
  background: var(--card-bg);
  color: #fff;
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: var(--card-hover);
  border-color: var(--cyan);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: #fff;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 6px;
}

.full-width {
  width: 100%;
}

.pulse-btn {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--cyan);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
}

.hero-title {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-desc b {
  color: #fff;
}

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

.hero-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px 36px;
  max-width: 900px;
  margin: 0 auto 60px;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.stat-item b {
  font-size: 24px;
  color: var(--cyan);
  font-weight: 800;
}

.stat-item span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

/* Visual Showcase */
.hero-visual {
  max-width: 1040px;
  margin: 0 auto;
}

.visual-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.15);
}

.hero-main-img {
  width: 100%;
  height: auto;
  display: block;
}

.interactive-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: flex-end;
}

.demo-card {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 16px 20px;
  width: 380px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.demo-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.demo-title {
  font-size: 12px;
  color: #fff;
  font-weight: 600;
  margin-left: 6px;
  font-family: var(--font-mono);
}

.demo-status {
  font-size: 12px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.demo-progress-wrap {
  margin-bottom: 12px;
}

.demo-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.demo-progress-bar {
  height: 6px;
  background: #1e293b;
  border-radius: 4px;
  overflow: hidden;
}

.demo-progress-fill {
  width: 88%;
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  transition: width 0.5s ease;
}

.demo-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.demo-hash {
  font-size: 10.5px;
  font-family: var(--font-mono);
  color: var(--text-sub);
}

/* Sections */
.section {
  padding: 100px 0;
}

.alt-bg {
  background: var(--bg-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.sub-head {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.feature-card code {
  background: #1e293b;
  color: var(--cyan);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px 30px;
  position: relative;
}

.step-number {
  font-size: 40px;
  font-weight: 900;
  color: rgba(56, 189, 248, 0.15);
  line-height: 1;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.step-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Showcase Splits */
.showcase-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.showcase-split.reverse {
  direction: rtl;
}
.showcase-split.reverse .showcase-content {
  direction: ltr;
}

.showcase-content h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
}

.showcase-content p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.check-list {
  list-style: none;
}

.check-list li {
  margin-bottom: 12px;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 15px;
}

.rounded-img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}

.pricing-card.popular {
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
  transform: scale(1.03);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 28px;
  background: linear-gradient(135deg, #0284c7, #3b82f6);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-sub {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 24px;
  min-height: 40px;
}

.plan-price {
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-price .amount {
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
}

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

.plan-quota {
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--cyan);
  margin-bottom: 24px;
}

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

.plan-features li {
  font-size: 14px;
  color: #cbd5e1;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* FAQ */
.faq-container {
  max-width: 800px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px 28px;
}

.faq-q {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.faq-a {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.faq-a code {
  color: var(--cyan);
  background: #1e293b;
  padding: 2px 6px;
  border-radius: 4px;
}

/* CTA Banner */
.cta-banner {
  padding: 100px 0;
  text-align: center;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
}

.cta-container h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 14px;
}

.cta-container p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 32px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--card-border);
  background: #05070d;
  padding: 70px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  margin-bottom: 50px;
}

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

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-title { font-size: 38px; }
  .showcase-split, .showcase-split.reverse { grid-template-columns: 1fr; gap: 30px; direction: ltr; }
  .footer-container { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .pricing-card.popular { transform: none; }
}
