/* ============================================
   FF SENS PRO - GAMING THEME CSS
   ============================================ */

:root {
  --bg-dark: #0a0c14;
  --bg-card: #111520;
  --bg-card2: #161b2e;
  --accent: #ff6b00;
  --accent2: #ffaa00;
  --accent-glow: rgba(255, 107, 0, 0.35);
  --blue: #00c8ff;
  --blue-glow: rgba(0, 200, 255, 0.3);
  --text: #e8eaf0;
  --text-muted: #8892a4;
  --border: rgba(255, 107, 0, 0.2);
  --border-blue: rgba(0, 200, 255, 0.2);
  --green: #00ff88;
  --red: #ff3366;
  --yellow: #ffd600;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, .nav-logo { font-family: 'Orbitron', monospace; }
.accent { color: var(--accent); }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  background: rgba(10, 12, 20, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.3rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(255, 107, 0, 0.1);
}

.nav-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--accent);
  background: none;
  border: none;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7rem 4rem 4rem;
  position: relative;
  overflow: hidden;
  gap: 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(255, 107, 0, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(0, 200, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,107,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,0,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--accent);
  animation: float linear infinite;
  opacity: 0.6;
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  background: rgba(255,107,0,0.15);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff8800);
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(0, 200, 255, 0.1);
  transform: translateY(-2px);
}

/* ── Generator Form Buttons ── */
.btn-generate {
  width: 100%;
  background: linear-gradient(135deg, #ff6b00, #ff8800);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 25px rgba(255, 107, 0, 0.4);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(255, 107, 0, 0.6);
  background: linear-gradient(135deg, #ff8800, #ffaa00);
}

.btn-generate:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-reset {
  width: 100%;
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-reset:hover {
  background: rgba(0, 200, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 200, 255, 0.3);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.stat { display: flex; flex-direction: column; }
.stat .num {
  font-family: 'Orbitron', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}
.stat span:last-child {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ PHONE MOCKUP ============ */
.hero-img {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.phone-mockup {
  width: 220px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem 1rem;
  box-shadow:
    0 0 40px rgba(255,107,0,0.2),
    0 0 80px rgba(255,107,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.05);
  animation: levitate 3s ease-in-out infinite;
}

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

.phone-screen { width: 100%; }

.sens-preview { display: flex; flex-direction: column; gap: 0.5rem; }

.sens-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,107,0,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.sens-row .val {
  color: var(--accent);
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
}

/* ============ CONTAINER ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ============ FEATURES ============ */
.features {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(255,107,0,0.15);
}

.feature-card:hover::before { opacity: 1; }

.feature-card .icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--accent);
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
  padding: 5rem 0;
  background: linear-gradient(180deg, transparent, rgba(255,107,0,0.03), transparent);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.step {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  min-width: 180px;
  transition: all 0.3s;
}

.step:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.step-num {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1;
}

.step-info h3 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.step-info p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }

.step-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.5;
}

/* ============ PAGE HEADER ============ */
.page-header {
  padding: 8rem 2rem 3rem;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,107,0,0.1) 0%, transparent 70%);
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ============ GENERATOR ============ */
.generator-section { padding: 2rem 0 5rem; }

.generator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.gen-form-card,
.gen-output-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.gen-form-card h2 {
  font-size: 1.2rem;
  margin-bottom: 1.8rem;
  color: var(--accent);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.form-group select {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ff6b00' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

.form-group select option { background: var(--bg-card); }

.generate-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

.generate-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255,255,255,0.15);
  transform: skewX(-20deg);
  transition: left 0.5s;
}

.generate-btn:hover::after { left: 120%; }

/* OUTPUT */
.output-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
  color: var(--text-muted);
}

.placeholder-icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.5; }

.output-result.hidden,
.output-placeholder.hidden { display: none !important; }

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.result-header h2 { font-size: 1.1rem; color: var(--green); }

.device-tag {
  background: rgba(0,200,255,0.1);
  border: 1px solid var(--border-blue);
  color: var(--blue);
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.sens-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.sens-item {
  background: rgba(255,107,0,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
}

.sens-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.sens-value {
  font-family: 'Orbitron', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.sens-bar {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}

.sens-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-tips {
  background: rgba(0,200,255,0.04);
  border: 1px solid var(--border-blue);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}

.result-tips h3 { font-size: 0.95rem; color: var(--blue); margin-bottom: 0.7rem; }
.result-tips ul { list-style: none; }
.result-tips li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.result-tips li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--blue);
}

.result-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.result-actions .btn-primary,
.result-actions .btn-secondary { flex: 1; text-align: center; }

.copy-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--green);
  color: #000;
  font-weight: 700;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  z-index: 9999;
  animation: slideUp 0.3s ease;
}

.copy-toast.hidden { display: none; }

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

/* HOW TO APPLY */
.extra-tips {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.extra-tips h2 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.apply-steps { display: flex; flex-direction: column; gap: 0.8rem; }

.apply-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,107,0,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
}

.step-badge {
  background: var(--accent);
  color: #fff;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 0.8rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============ BEST SENSITIVITY PAGE ============ */
.best-sens-section { padding: 2rem 0 5rem; }

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;
}

.tab-btn.active,
.tab-btn:hover {
  background: rgba(255,107,0,0.12);
  border-color: var(--accent);
  color: var(--accent);
}

.sens-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.sens-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sens-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255,107,0,0.12);
}

.card-badge {
  position: absolute;
  top: -10px;
  right: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  letter-spacing: 1px;
}

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

.card-header h3 { font-size: 1.05rem; }

.card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card-tag.rush { background: rgba(255,51,102,0.15); color: var(--red); border: 1px solid rgba(255,51,102,0.3); }
.card-tag.sniper { background: rgba(0,200,255,0.1); color: var(--blue); border: 1px solid rgba(0,200,255,0.3); }
.card-tag.balanced { background: rgba(0,255,136,0.1); color: var(--green); border: 1px solid rgba(0,255,136,0.3); }
.card-tag.pro { background: rgba(255,214,0,0.1); color: var(--yellow); border: 1px solid rgba(255,214,0,0.3); }

.card-device { font-size: 0.8rem; color: var(--text-muted); }

.card-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.cv {
  background: rgba(255,107,0,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.cv span { color: var(--text-muted); }
.cv strong { color: var(--accent); font-family: 'Orbitron', monospace; font-size: 0.88rem; }

.card-tip { font-size: 0.82rem; color: var(--text-muted); font-style: italic; }

.btn-copy-card {
  background: rgba(255,107,0,0.1);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 0.5rem;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
  width: 100%;
}

.btn-copy-card:hover {
  background: rgba(255,107,0,0.2);
  border-color: var(--accent);
}

.info-box {
  background: rgba(255,107,0,0.06);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2.5rem;
}

.info-box h3 { font-size: 1rem; color: var(--accent); margin-bottom: 0.7rem; }
.info-box p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* ============ LAG FIX PAGE ============ */
.lagfix-section { padding: 2rem 0 5rem; }

.quick-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,51,102,0.08);
  border: 1px solid rgba(255,51,102,0.3);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.alert-icon { font-size: 1.5rem; flex-shrink: 0; }

.fix-categories { display: flex; flex-direction: column; gap: 2.5rem; }

.fix-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.cat-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1.5rem;
  background: rgba(255,107,0,0.06);
  border-bottom: 1px solid var(--border);
}

.cat-icon { font-size: 1.3rem; }
.cat-header h2 { font-size: 1.1rem; color: var(--accent); }

.fix-list { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.2rem; }

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

.fix-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,107,0,0.15);
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: 'Orbitron', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.fix-content h4 { font-size: 1rem; color: var(--text); margin-bottom: 0.3rem; }
.fix-content p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.5rem; }

.fix-impact {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 3px;
  letter-spacing: 1px;
}

.fix-impact.high { background: rgba(0,255,136,0.1); color: var(--green); border: 1px solid rgba(0,255,136,0.3); }
.fix-impact.medium { background: rgba(255,214,0,0.1); color: var(--yellow); border: 1px solid rgba(255,214,0,0.3); }
.fix-impact.low { background: rgba(0,200,255,0.1); color: var(--blue); border: 1px solid rgba(0,200,255,0.3); }

.device-tips { margin-top: 3rem; }
.device-tips h2 { font-size: 1.3rem; color: var(--accent); margin-bottom: 1.5rem; }

.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.device-card .device-icon { font-size: 2rem; margin-bottom: 0.7rem; }
.device-card h3 { font-size: 1rem; color: var(--accent); margin-bottom: 0.8rem; }
.device-card ul { list-style: none; }
.device-card li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}
.device-card li::before { content: '•'; position: absolute; left: 0; color: var(--accent); }

/* ============ ABOUT PAGE ============ */
.about-section { padding: 2rem 0 5rem; }

.about-card {
  display: flex;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.about-icon { font-size: 4rem; flex-shrink: 0; }
.about-text h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); line-height: 1.7; margin-bottom: 0.8rem; font-size: 0.95rem; }

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.astat { display: flex; flex-direction: column; }
.astat span { font-family: 'Orbitron', monospace; font-size: 1.5rem; color: var(--accent); font-weight: 700; }
.astat small { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ACCORDION */
.guide-accordion { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 3rem; }

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

.accord-item.open { border-color: var(--accent); }

.accord-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
  user-select: none;
}

.accord-header:hover { background: rgba(255,107,0,0.06); }
.accord-header span:first-child { flex: 1; }
.accord-arrow { color: var(--accent); transition: transform 0.3s; flex-shrink: 0; margin-left: 1rem; }
.accord-item.open .accord-arrow { transform: rotate(180deg); }

.accord-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.accord-item.open .accord-body {
  max-height: 800px;
  padding: 0 1.5rem 1.5rem;
}

.accord-body ul { list-style: none; margin-top: 0.8rem; }
.accord-body li {
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}
.accord-body li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); }
.accord-body p { margin-bottom: 0.7rem; }

/* SETTINGS TABLE */
.settings-table { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-top: 1rem; }
.st-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
}
.st-row span {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 0.88rem;
}
.st-row.header span { background: rgba(255,107,0,0.08); color: var(--accent); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; }
.st-row:last-child span { border-bottom: none; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
}
.faq-item h4 { font-size: 1rem; color: var(--blue); margin-bottom: 0.6rem; }
.faq-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

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

.copy { font-size: 0.78rem; color: var(--text-muted); opacity: 0.5; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 7rem 2rem 4rem;
    text-align: center;
  }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-img { flex: unset; width: 100%; }
  .generator-wrapper { grid-template-columns: 1fr; }
  .about-card { flex-direction: column; align-items: center; text-align: center; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,12,20,0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.2rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .container { padding: 0 1rem; }
  .hero { padding: 6rem 1rem 3rem; }
  .gen-form-card, .gen-output-card { padding: 1.3rem; }
  .card-values { grid-template-columns: 1fr; }
  .about-stats { justify-content: center; gap: 1rem; }
  .st-row { grid-template-columns: 2fr 1fr 1fr; }
  .st-row span:last-child { display: none; }
  .cat-header h2 { font-size: 0.95rem; }
  .result-actions { flex-direction: column; }
  .hero-img { display: none; }
}

/* Hidden class */
.hidden { display: none !important; }

/* ── Auth user bar ── */
.user-bar {
  background: rgba(0,200,255,0.07);
  border-bottom: 1px solid var(--border-blue);
  padding: 0.55rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--blue);
  font-weight: 600;
}
.user-bar span { display: flex; align-items: center; gap: 0.5rem; }
.user-bar button {
  background: rgba(255,51,102,0.12);
  border: 1px solid rgba(255,51,102,0.3);
  color: #ff3366;
  padding: 0.3rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.83rem;
  transition: all 0.2s;
}
.user-bar button:hover { background: rgba(255,51,102,0.2); }

/* ── Select auto-fill highlight ── */
select.auto-filled {
  border-color: rgba(0,255,136,0.4) !important;
  box-shadow: 0 0 0 2px rgba(0,255,136,0.1) !important;
}
