/* ==========================================================================
   InstaUp APK - Official Niche Landing Page Stylesheet
   Theme: Vibrant Instagram Gradient & Modern Clean UI (Light & Dark Mode)
   ========================================================================== */

:root {
  /* Brand Gradient Colors */
  --brand-purple: #833ab4;
  --brand-pink: #e1306c;
  --brand-red: #fd1d1d;
  --brand-orange: #f56040;
  --brand-yellow: #fcaf45;
  --brand-gradient: linear-gradient(135deg, #833ab4 0%, #e1306c 45%, #f56040 100%);
  --brand-gradient-hover: linear-gradient(135deg, #702e9d 0%, #cc265d 45%, #e14d2e 100%);
  
  /* Light Theme Variables */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfcfd;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.07), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 10px 25px rgba(225, 48, 108, 0.35);
  --navbar-bg: rgba(255, 255, 255, 0.92);
  --code-bg: #f1f5f9;
  --accent-green: #10b981;
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #1e293b;
  --bg-card-hover: #263349;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #334155;
  --border-light: #1e293b;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 10px 25px rgba(225, 48, 108, 0.45);
  --navbar-bg: rgba(15, 23, 42, 0.92);
  --code-bg: #0f172a;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

code, .font-mono {
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

/* Top Notification Banner / Heading Slider (Mobile & PC) */
.top-banner {
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 0.875rem;
  padding: 0.65rem 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ticker-wrap {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.ticker-move {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerSlide 28s linear infinite;
  will-change: transform;
}

.ticker-move:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 2.5rem;
  gap: 0.75rem;
  font-weight: 500;
}

.banner-link {
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.22);
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.banner-link:hover {
  background: #ffffff;
  color: var(--brand-pink);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--navbar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--brand-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

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

.badge-mini {
  background: var(--brand-purple);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--brand-pink);
}

.mobile-menu-actions {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.theme-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.theme-btn:hover {
  transform: scale(1.05);
}

[data-theme="light"] .moon-icon { display: block; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: block; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2.5px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-nav {
  background: var(--brand-gradient);
  color: #ffffff;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.35);
}

.btn-nav:hover {
  box-shadow: 0 6px 18px rgba(225, 48, 108, 0.5);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(225, 48, 108, 0.5);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--brand-pink);
  color: var(--brand-pink);
  background-color: rgba(225, 48, 108, 0.05);
}

.btn-large {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(131, 58, 180, 0.06) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(225, 48, 108, 0.06) 0%, transparent 40%);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3.5rem;
}

.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(225, 48, 108, 0.1);
  color: var(--brand-pink);
  border: 1px solid rgba(225, 48, 108, 0.25);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-pink);
  box-shadow: 0 0 0 0 rgba(225, 48, 108, 0.7);
  animation: pulse 1.8s infinite;
}

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

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.hero-title span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.trust-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.trust-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-divider {
  width: 1px;
  height: 20px;
  background-color: var(--border-color);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.hero-subtext {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Hero Graphic / Mockup */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.mockup-card:hover {
  transform: translateY(-5px);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.app-avatar {
  width: 48px;
  height: 48px;
  background: var(--brand-gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.app-header-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.app-header-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-online {
  color: var(--accent-green);
  font-weight: 700;
}

.coin-badge {
  background: rgba(252, 175, 69, 0.15);
  border: 1px solid rgba(252, 175, 69, 0.4);
  padding: 0.35rem 0.7rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.coin-count {
  font-weight: 800;
  font-size: 0.95rem;
  color: #d97706;
}

[data-theme="dark"] .coin-count {
  color: #fbbf24;
}

.stat-card {
  background: var(--bg-secondary);
  border-radius: 14px;
  padding: 1.2rem;
  margin-bottom: 1.25rem;
}

.stat-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.stat-user {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.stat-progress {
  height: 8px;
  background: var(--border-color);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.stat-bar {
  height: 100%;
  background: var(--brand-gradient);
  border-radius: 50px;
}

.stat-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.green-text {
  color: var(--accent-green);
  font-weight: 700;
}

.mockup-features-pills {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.mockup-features-pills .pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.fake-btn {
  background: var(--brand-gradient);
  color: #ffffff;
  text-align: center;
  padding: 0.8rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.35);
}

/* Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  z-index: 1;
  opacity: 0.65;
  pointer-events: none;
}

.orb-1 {
  width: 280px;
  height: 280px;
  background: rgba(131, 58, 180, 0.3);
  top: -30px;
  right: -30px;
}

.orb-2 {
  width: 250px;
  height: 250px;
  background: rgba(225, 48, 108, 0.3);
  bottom: -40px;
  left: -20px;
}

/* Sections General */
.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
}

.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  background: rgba(131, 58, 180, 0.1);
  color: var(--brand-purple);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .section-tag {
  color: #c084fc;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

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

/* Specifications Table */
.specs-section {
  background-color: var(--bg-secondary);
}

.specs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  max-width: 850px;
  margin: 0 auto;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.spec-item:nth-child(odd) {
  border-right: 1px solid var(--border-color);
}

.spec-label {
  color: var(--text-secondary);
  font-weight: 600;
}

.spec-value {
  color: var(--text-primary);
  font-weight: 700;
  text-align: right;
}

.font-mono {
  font-family: monospace;
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
}

.text-success {
  color: #10b981;
}

.specs-footer {
  padding: 1.75rem;
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  width: 100%;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(225, 48, 108, 0.4);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.icon-purple { background: rgba(131, 58, 180, 0.12); }
.icon-pink { background: rgba(225, 48, 108, 0.12); }
.icon-orange { background: rgba(245, 96, 64, 0.12); }
.icon-yellow { background: rgba(252, 175, 69, 0.15); }
.icon-green { background: rgba(16, 185, 129, 0.12); }

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Steps / How to Use */
.how-section {
  background-color: var(--bg-secondary);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.highlight-step {
  border: 2px solid var(--brand-pink);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.15);
}

.badge-tip {
  background: var(--brand-pink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.35rem;
}

.step-number {
  font-size: 2.25rem;
  font-weight: 900;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

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

/* Gift Codes Section */
.codes-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.codes-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  text-align: left;
}

.codes-table th {
  padding: 0.9rem 1rem;
  background: var(--bg-secondary);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.codes-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.code-text {
  font-family: monospace;
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: var(--brand-pink);
  background: rgba(225, 48, 108, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.btn-copy {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.825rem;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy:hover {
  background: var(--brand-pink);
  color: #fff;
  border-color: var(--brand-pink);
}

.codes-note {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Dedicated Download Box & Countdown Timer */
.download-section {
  background: radial-gradient(circle at 50% 50%, rgba(131, 58, 180, 0.08) 0%, transparent 70%);
}

.download-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  padding: 3.5rem 2rem;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.download-badge {
  background: var(--brand-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1rem;
}

.download-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.download-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* Countdown Box */
.countdown-box {
  background: var(--bg-secondary);
  border: 1px dashed var(--brand-pink);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
}

.countdown-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-color);
  border-top-color: var(--brand-pink);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  animation: spin 0.9s linear infinite;
}

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

.countdown-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.countdown-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

#countdownTimer {
  font-weight: 800;
  color: var(--brand-pink);
  font-size: 1.15rem;
}

.progress-bar-container {
  width: 100%;
  max-width: 320px;
  height: 8px;
  background: var(--border-color);
  border-radius: 50px;
  margin: 0 auto;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--brand-gradient);
  border-radius: 50px;
  transition: width 0.3s ease;
}

/* Download Buttons Group */
.download-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.old-versions-wrapper {
  margin-top: 1.75rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.old-versions-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
}

.old-versions-toggle:hover {
  color: var(--brand-pink);
}

.old-versions-list {
  display: none;
  margin-top: 1rem;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.old-version-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.btn-old-dl {
  color: var(--brand-pink);
  font-weight: 700;
  text-decoration: none;
}

.btn-old-dl:hover {
  text-decoration: underline;
}

.download-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-section {
  background-color: var(--bg-secondary);
}

.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--brand-pink);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.4rem 1.75rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--brand-pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Disclaimer Section */
.disclaimer-section {
  padding: 2.5rem 0;
}

.disclaimer-card {
  background: rgba(245, 96, 64, 0.08);
  border: 1px solid rgba(245, 96, 64, 0.25);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  max-width: 950px;
  margin: 0 auto;
}

.disclaimer-icon {
  font-size: 2rem;
  line-height: 1;
}

.disclaimer-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-orange);
  margin-bottom: 0.4rem;
}

.disclaimer-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 380px;
}

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

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--brand-pink);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-badge {
  background: var(--bg-secondary);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .release-pill {
    margin: 0 auto 1.25rem;
  }
  .trust-badges {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .spec-item:nth-child(odd) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  /* Strict Mobile Overflow Prevention */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Prevent decorative glow orbs from causing horizontal scroll */
  .glow-orb {
    display: none !important;
  }

  /* Hero adjustments */
  .hero-section {
    padding: 3rem 0 2.5rem;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .hero-graphic {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .mockup-card {
    max-width: 100%;
    width: 100%;
    padding: 1.25rem 1rem;
    box-sizing: border-box;
  }

  /* Trust badges vertical stack on mobile without overflowing divider */
  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }

  .trust-divider {
    display: none !important;
  }

  /* Features & Steps 1-column on mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature-card {
    padding: 1.5rem 1.25rem;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-card {
    padding: 1.5rem 1.25rem;
  }

  /* Download box */
  .download-card {
    padding: 2rem 1rem;
    border-radius: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .countdown-box {
    padding: 1.5rem 1rem;
  }

  .download-buttons-group {
    width: 100%;
    max-width: 100%;
  }

  .download-guarantee {
    flex-direction: column;
    gap: 0.5rem;
    word-break: break-all;
  }

  /* Disclaimer card */
  .disclaimer-card {
    flex-direction: column;
    padding: 1.25rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  /* FAQ */
  .faq-question {
    padding: 1.2rem 1rem;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 0 1rem;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  /* Mobile Header: ONLY Logo on left and Hamburger Menu on right */
  .nav-actions {
    gap: 0;
  }

  .nav-actions .theme-btn,
  .nav-actions .btn-nav {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex;
    margin-left: auto;
    z-index: 1001;
  }

  /* Animated Hamburger to X */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1.5rem 1.25rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 999;
    box-sizing: border-box;
  }

  .nav-links.active {
    display: flex;
    animation: menuSlideDown 0.25s ease-out;
  }

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

  .nav-links a {
    font-size: 1.05rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }

  .mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.75rem;
    width: 100%;
  }

  .btn-mobile-dl {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }

  .mobile-theme-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    width: 100%;
  }

  .hero-title {
    font-size: 2.15rem;
  }
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  .hero-desc {
    font-size: 0.98rem;
  }
  .hero-actions .btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }
  .spec-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
  }
  .spec-value {
    text-align: left;
    width: 100%;
  }
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
  .article-card {
    padding: 1.75rem 1rem;
  }
  .contact-form-card, .contact-info-card {
    padding: 1.5rem 1rem;
  }
  .download-mirror-card {
    padding: 1.75rem 1rem;
  }
}


/* ==========================================================================
   Inner Pages Styling (About, Contact, Legal, Download)
   ========================================================================== */

.page-hero {
  padding: 3.5rem 0 2.5rem;
  background: radial-gradient(circle at 50% 10%, rgba(131, 58, 180, 0.08) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--brand-pink);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

.page-content-area {
  padding: 4rem 0;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  padding: 3rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.article-card h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.article-card h2:first-of-type {
  margin-top: 0;
}

.article-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.article-card p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.article-card ul, .article-card ol {
  color: var(--text-secondary);
  margin-left: 1.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.article-card li {
  margin-bottom: 0.5rem;
}

.callout-box {
  background: var(--bg-secondary);
  border-left: 4px solid var(--brand-pink);
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 1.75rem 0;
}

.callout-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Contact Page Form & Info */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  max-width: 1050px;
  margin: 0 auto;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(225, 48, 108, 0.1);
  color: var(--brand-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.contact-item-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-pink);
  box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.15);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  display: none;
  padding: 0.85rem;
  border-radius: 10px;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Download Page Specific Styles */
.download-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 850px;
  margin: 0 auto;
}

.download-mirror-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.server-cards-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.server-card {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.2s ease;
}

.server-card:hover {
  border-color: var(--brand-pink);
  transform: translateY(-3px);
}

.server-card.primary-server {
  border-color: var(--brand-pink);
  background: radial-gradient(circle at 50% 0%, rgba(225, 48, 108, 0.08) 0%, var(--bg-secondary) 100%);
}

.server-badge {
  display: inline-block;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.server-name {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.server-speed {
  font-size: 0.85rem;
  color: var(--accent-green);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.changelog-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 2rem;
}

.changelog-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.changelog-list {
  list-style: none;
  margin-left: 0;
}

.changelog-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.changelog-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 900;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .server-cards-group {
    grid-template-columns: 1fr;
  }
}

/* SEO Keyword Anchor Link */
.seo-keyword-link {
  color: var(--brand-pink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.seo-keyword-link:hover {
  color: var(--brand-purple);
}
