:root {
  --bg-primary: #0a0c14;
  --bg-secondary: #121524;
  --bg-card: rgba(22, 27, 46, 0.75);
  --bg-card-hover: rgba(30, 36, 61, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 107, 0, 0.35);
  --text-primary: #f3f4f8;
  --text-secondary: #9aa2bc;
  --text-muted: #67718e;
  
  --fire-orange: #ff5e00;
  --fire-amber: #ff9d00;
  --fire-yellow: #ffc400;
  --fire-red: #ff2a00;
  --fire-gradient: linear-gradient(135deg, #ff2a00 0%, #ff5e00 50%, #ffa200 100%);
  --fire-gradient-glow: linear-gradient(135deg, rgba(255, 42, 0, 0.25) 0%, rgba(255, 126, 0, 0.3) 100%);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

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

/* Background Ambient Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  transition: opacity 0.5s ease;
}

.glow-top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 94, 0, 0.35) 0%, rgba(255, 42, 0, 0.15) 50%, transparent 70%);
}

.glow-bottom {
  bottom: -150px;
  right: -50px;
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 162, 0, 0.2) 0%, transparent 70%);
}

.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* Glass Panel Utility */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px -10px rgba(255, 94, 0, 0.18);
  transform: translateY(-3px);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 40px;
}

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

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(255, 94, 0, 0.4);
  border: 1px solid rgba(255, 140, 0, 0.4);
}

.nav-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-title .badge {
  background: rgba(255, 94, 0, 0.15);
  color: var(--fire-amber);
  border: 1px solid rgba(255, 94, 0, 0.3);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--fire-amber);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 94, 0, 0.1);
  border: 1px solid rgba(255, 94, 0, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fire-amber);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 16px #10b981; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.logo-container {
  position: relative;
  margin-bottom: 24px;
}

.hero-logo {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 2px solid rgba(255, 140, 0, 0.5);
  box-shadow: 0 12px 36px rgba(255, 94, 0, 0.35);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 94, 0, 0.6) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 1;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.gradient-text {
  background: var(--fire-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 680px;
  margin-bottom: 36px;
}

.hero-subtitle strong {
  color: var(--text-primary);
}

/* IP Container */
.ip-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ip-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(18, 22, 38, 0.95);
  border: 1px solid rgba(255, 120, 0, 0.4);
  padding: 8px 10px 8px 20px;
  border-radius: 100px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 94, 0, 0.15);
}

.ip-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fire-amber);
  letter-spacing: 1px;
}

.ip-address {
  font-family: 'Outfit', monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.copy-btn {
  background: var(--fire-gradient);
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 70, 0, 0.35);
  transition: all 0.2s ease;
}

.copy-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(255, 70, 0, 0.55);
}

.copy-btn:active {
  transform: scale(0.97);
}

.ip-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  color: var(--fire-amber);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

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

.download-card {
  padding: 36px 30px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.download-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--fire-gradient);
  opacity: 0.8;
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 94, 0, 0.12);
  border: 1px solid rgba(255, 94, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.card-content {
  flex-grow: 1;
}

.card-badge {
  display: inline-block;
  background: rgba(255, 94, 0, 0.15);
  color: var(--fire-amber);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.card-meta strong {
  color: var(--text-secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-primary {
  background: var(--fire-gradient);
  color: #fff;
  box-shadow: 0 4px 18px rgba(255, 70, 0, 0.3);
}

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

/* Tabs */
.tab-switcher {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 12px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn.active {
  background: var(--fire-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 18px rgba(255, 94, 0, 0.35);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.step-card {
  padding: 32px 26px;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--fire-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.step-card kbd {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--fire-amber);
}

.step-card code {
  background: rgba(255, 94, 0, 0.1);
  color: var(--fire-amber);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.step-callout {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--fire-orange);
  padding: 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.feature-card {
  padding: 30px;
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 22px 26px;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-arrow {
  font-size: 1.4rem;
  color: var(--fire-amber);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-arrow {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 26px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 10px;
  text-align: center;
  margin-top: 60px;
}

.footer-content {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-ip code {
  color: var(--fire-amber);
  font-size: 0.95rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.toast.show {
  bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 16px;
  }
  .nav-links {
    gap: 18px;
    font-size: 0.85rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .ip-box {
    flex-direction: column;
    padding: 16px;
    border-radius: var(--radius-lg);
    width: 100%;
  }
  .copy-btn {
    width: 100%;
    justify-content: center;
  }
}
