/* MWi — ModWorks Interactive | Night City Neon Theme v2 */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Sans+KR:wght@400;500;700&display=swap');

:root {
  --bg-matte: #08080c;
  --bg-card: #0e0e14;
  --bg-elevated: #14141c;
  --bg-header: rgba(8, 8, 12, 0.92);
  --neon-turquoise: #00ffcc;
  --neon-sky: #38bdf8;
  --neon-gold: #ffd700;
  --neon-red: #ff2d55;
  --neon-green: #00ff9d;
  --text-primary: #f2f2f7;
  --text-secondary: #a8a8c0;
  --text-muted: #6e6e88;
  --border-neon: rgba(0, 255, 204, 0.22);
  --glow-turq: 0 0 18px rgba(0, 255, 204, 0.45), 0 0 36px rgba(0, 255, 204, 0.15);
  --glow-sky: 0 0 18px rgba(56, 189, 248, 0.4);
  --glow-gold: 0 0 18px rgba(255, 215, 0, 0.35);
  --glow-red: 0 0 18px rgba(255, 45, 85, 0.4);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-y: auto;
  font-family: 'Rajdhani', 'Noto Sans SC', 'Noto Sans JP', 'Noto Sans KR', sans-serif;
  background: var(--bg-matte);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 15%, rgba(0, 255, 204, 0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 75%, rgba(56, 189, 248, 0.04) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 45, 85, 0.03) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4, h5, .nav-brand, .logo-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 0.8px;
}
a { color: var(--neon-turquoise); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--neon-gold); text-shadow: 0 0 10px rgba(255, 215, 0, 0.45); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: var(--bg-header); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-neon); padding: 0.7rem 0;
  transition: var(--transition);
}
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 1.3rem; color: var(--text-primary); flex-shrink: 0;
}
.nav-brand img {
  height: 38px; width: auto;
  filter: drop-shadow(0 0 8px rgba(0, 255, 204, 0.5));
}
.nav-brand span {
  background: linear-gradient(90deg, var(--neon-turquoise), var(--neon-sky), var(--neon-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; gap: 0.15rem; list-style: none; flex-wrap: wrap; }
.nav-links a {
  display: block; padding: 0.4rem 0.85rem; color: var(--text-secondary);
  font-weight: 600; font-size: 0.88rem; border-radius: 8px;
  letter-spacing: 0.4px; text-transform: uppercase;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--neon-turquoise); background: rgba(0, 255, 204, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 204, 0.3);
}
.nav-right { display: flex; align-items: center; gap: 0.8rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-neon);
  color: var(--neon-turquoise); padding: 0.35rem 0.6rem; border-radius: 6px;
  cursor: pointer; font-size: 1.1rem;
}

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--bg-elevated); border: 1px solid var(--border-neon);
  color: var(--neon-turquoise); padding: 0.4rem 0.75rem; border-radius: 8px;
  cursor: pointer; font-family: 'Rajdhani', sans-serif; font-weight: 600;
  font-size: 0.85rem; transition: var(--transition);
}
.lang-btn:hover { background: rgba(0, 255, 204, 0.1); box-shadow: var(--glow-turq); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--bg-elevated); border: 1px solid var(--border-neon);
  border-radius: 10px; min-width: 180px; max-height: 320px; overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5); z-index: 1100;
  animation: fadeIn 0.2s ease;
}
.lang-dropdown.open { display: block; }
.lang-dropdown button {
  display: block; width: 100%; text-align: left; padding: 0.55rem 1rem;
  background: none; border: none; color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif; font-size: 0.9rem; font-weight: 500;
  cursor: pointer; transition: var(--transition);
}
.lang-dropdown button:hover, .lang-dropdown button.active {
  background: rgba(0, 255, 204, 0.1); color: var(--neon-turquoise);
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 6.5rem 1.4rem 4rem; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.18; z-index: 0; filter: brightness(0.65);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 10; max-width: 920px;
  background: transparent;
}
.hero h1, .hero .tagline, .hero .subtitle, .hero .btn-group, .hero .price-tag, .hero-logo {
  position: relative; z-index: 11;
}
.hero-logo {
  max-width: 240px; margin: 0 auto 1.3rem;
  filter: drop-shadow(0 0 28px rgba(0, 255, 204, 0.55));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.4rem); margin-bottom: 0.65rem;
  background: linear-gradient(135deg, var(--neon-turquoise) 0%, var(--neon-sky) 40%, var(--neon-gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.2;
}
.hero .tagline { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 1.2rem; font-weight: 500; }
.hero .subtitle {
  font-size: 1.02rem; color: var(--text-muted); max-width: 640px;
  margin: 0 auto 2.2rem; line-height: 1.7;
}
.btn-group { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.75rem 1.6rem;
  font-family: 'Orbitron', sans-serif; font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.8px; text-transform: uppercase; border-radius: 8px;
  border: none; cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--neon-turquoise), #00d4aa); color: #000;
  box-shadow: var(--glow-turq);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(0, 255, 204, 0.6); color: #000; }
.btn-secondary {
  background: transparent; color: var(--neon-sky); border: 1px solid var(--neon-sky);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}
.btn-secondary:hover { background: rgba(56, 189, 248, 0.1); transform: translateY(-2px); color: var(--neon-sky); }
.btn-gold {
  background: transparent; color: var(--neon-gold); border: 1px solid var(--neon-gold);
}
.btn-gold:hover { background: rgba(255, 215, 0, 0.1); color: var(--neon-gold); }
.btn-red {
  background: transparent; color: var(--neon-red); border: 1px solid var(--neon-red);
}
.btn-red:hover { background: rgba(255, 45, 85, 0.12); color: var(--neon-red); }

/* ===== SECTIONS ===== */
.section { padding: 4.2rem 1.4rem; max-width: 1180px; margin: 0 auto; }
.section-title {
  text-align: center; font-size: clamp(1.6rem, 3.8vw, 2.4rem); margin-bottom: 0.65rem;
  background: linear-gradient(90deg, var(--neon-turquoise), var(--neon-sky));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-subtitle {
  text-align: center; color: var(--text-secondary); font-size: 1.08rem;
  margin-bottom: 2.6rem; max-width: 680px; margin-left: auto; margin-right: auto;
}

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--bg-card); border: 1px solid var(--border-neon); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition); position: relative;
}
.card:hover { transform: translateY(-5px); border-color: var(--neon-turquoise); box-shadow: var(--glow-turq); }
.card-img { width: 100%; height: 180px; object-fit: cover; border-bottom: 1px solid var(--border-neon); }
.card-body { padding: 1.35rem; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 0.45rem; color: var(--neon-gold); }
.card-body p { color: var(--text-secondary); font-size: 0.94rem; margin-bottom: 1rem; }
.card-features { list-style: none; margin-bottom: 1.2rem; }
.card-features li {
  padding: 0.22rem 0; color: var(--text-secondary); font-size: 0.88rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.card-features li::before { content: '◆'; color: var(--neon-turquoise); font-size: 0.55rem; }

/* TABLE */
.comparison-wrapper {
  overflow-x: auto; margin: 1.7rem 0; border-radius: var(--radius); border: 1px solid var(--border-neon);
}
.comparison-table {
  width: 100%; border-collapse: collapse; min-width: 680px; background: var(--bg-card);
}
.comparison-table th, .comparison-table td {
  padding: 0.8rem 0.85rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.comparison-table th {
  background: var(--bg-elevated); font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.4px; color: var(--neon-sky);
}
.comparison-table th:first-child, .comparison-table td:first-child {
  text-align: left; font-weight: 600; color: var(--text-primary);
}
.comparison-table tr:hover td { background: rgba(0, 255, 204, 0.04); }
.score-high { color: var(--neon-turquoise); font-weight: 700; text-shadow: 0 0 8px rgba(0,255,204,0.4); }
.score-mid { color: var(--neon-gold); font-weight: 600; }
.score-low { color: var(--text-muted); }
.rank-badge {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: 20px;
  font-size: 0.76rem; font-weight: 700; font-family: 'Orbitron', sans-serif;
}
.rank-1 { background: linear-gradient(90deg, #ffd700, #ffaa00); color: #000; }
.rank-2 { background: rgba(192,192,192,0.2); color: #c0c0c0; border: 1px solid #888; }
.rank-3 { background: rgba(205,127,50,0.2); color: #cd7f32; border: 1px solid #cd7f32; }

/* FEATURES */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.3rem; margin-top: 1.7rem;
}
.feature-item {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius); padding: 1.25rem; transition: var(--transition);
}
.feature-item:hover { border-color: var(--neon-turquoise); background: var(--bg-elevated); }
.feature-item .icon { font-size: 1.6rem; margin-bottom: 0.55rem; }
.feature-item h4 { font-size: 1.02rem; color: var(--neon-gold); margin-bottom: 0.35rem; }
.feature-item p { color: var(--text-secondary); font-size: 0.9rem; }

/* CONTENT */
.content-block {
  background: var(--bg-card); border: 1px solid var(--border-neon);
  border-radius: var(--radius); padding: 1.7rem; margin-bottom: 1.7rem;
}
.content-block h2 { color: var(--neon-turquoise); margin-bottom: 0.85rem; font-size: 1.45rem; }
.content-block h3 { color: var(--neon-gold); margin: 1.3rem 0 0.55rem; font-size: 1.15rem; }
.content-block p { color: var(--text-secondary); margin-bottom: 0.85rem; font-size: 1rem; }
.content-block ul { margin: 0.85rem 0 0.85rem 1.05rem; color: var(--text-secondary); }
.content-block li { margin-bottom: 0.3rem; }
.highlight-box {
  background: linear-gradient(135deg, rgba(0,255,204,0.07), rgba(56,189,248,0.04));
  border-left: 3px solid var(--neon-turquoise); padding: 1rem 1.3rem;
  border-radius: 0 var(--radius) var(--radius) 0; margin: 1.3rem 0;
}
.highlight-box p { margin: 0; color: var(--text-primary); font-weight: 500; }

/* FOOTER */
.footer {
  background: var(--bg-elevated); border-top: 1px solid var(--border-neon);
  padding: 2.6rem 1.4rem 1.6rem; margin-top: 3.2rem;
}
.footer-content {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.7rem;
}
.footer-brand img {
  height: 50px; margin-bottom: 0.8rem;
  filter: drop-shadow(0 0 10px rgba(0,255,204,0.4));
}
.footer-brand p { color: var(--text-muted); font-size: 0.86rem; }
.footer h4 { color: var(--neon-gold); margin-bottom: 0.8rem; font-size: 0.92rem; }
.footer-links { list-style: none; }
.footer-links a {
  color: var(--text-secondary); display: block; padding: 0.22rem 0; font-size: 0.9rem;
}
.footer-links a:hover { color: var(--neon-turquoise); }
.footer-bottom {
  text-align: center; margin-top: 2rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.8rem;
}

/* COLOR IDENTITY */
.color-identity {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin: 1.7rem 0;
}
.color-item {
  display: flex; align-items: center; gap: 0.5rem; background: var(--bg-card);
  padding: 0.55rem 1rem; border-radius: 30px; border: 1px solid rgba(255,255,255,0.06);
  font-weight: 600; font-size: 0.88rem;
}
.color-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 8px currentColor; }

.price-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--neon-turquoise), var(--neon-sky));
  color: #000; font-family: 'Orbitron', sans-serif; font-weight: 700;
  padding: 0.4rem 1rem; border-radius: 8px; font-size: 1rem; margin: 0.7rem 0;
}
.badge {
  display: inline-block; padding: 0.15rem 0.5rem; border-radius: 4px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
}
.badge-pro { background: var(--neon-red); color: #fff; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: rgba(8,8,12,0.97); flex-direction: column; padding: 0.85rem;
    border-bottom: 1px solid var(--border-neon);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding-top: 5.5rem; }
  .section { padding: 3rem 1rem; }
}
.text-center { text-align: center; }
.mt-2 { margin-top: 1.7rem; }
.mb-2 { margin-bottom: 1.7rem; }
.neon-turq { color: var(--neon-turquoise); }
.neon-sky { color: var(--neon-sky); }
.neon-gold { color: var(--neon-gold); }
.neon-red { color: var(--neon-red); }

/* RTL support for Persian */
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .content-block ul { margin: 0.85rem 1.05rem 0.85rem 0; }
[dir="rtl"] .highlight-box { border-left: none; border-right: 3px solid var(--neon-turquoise); border-radius: var(--radius) 0 0 var(--radius); }
