/* Lunar Crimson Theme */
:root {
  --c-bg: #fcfcfc;
  --c-surface: #ffffff;
  --c-dark: #121212;
  --c-crimson: #be123c;
  --c-crimson-light: #f43f5e;
  --c-gold: #d97706;
  --c-gold-light: #fbbf24;
  --c-text: #27272a;
  --c-text-mut: #71717a;
  --c-border: #e4e4e7;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius-md: 12px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--c-text); background: var(--c-bg); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* Navigation */
.navbar { position: fixed; top: 0; width: 100%; height: 72px; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-border); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.nav-inner { width: 1200px; max-width: 90%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 800; color: var(--c-crimson); letter-spacing: -0.5px; }
.nav-menu { display: flex; gap: 32px; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--c-text-mut); padding: 8px 0; transition: color 0.3s; position: relative; }
.nav-link:hover { color: var(--c-crimson); }
.nav-link.active { color: var(--c-crimson); }
.nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--c-crimson); border-radius: 2px; }

/* Layout & Typography */
.wrap { width: 1200px; max-width: 90%; margin: 0 auto; }
section { padding: 100px 0; }
.sec-title { font-size: 40px; font-weight: 800; text-align: center; margin-bottom: 20px; letter-spacing: -1px; }
.sec-sub { font-size: 18px; color: var(--c-text-mut); text-align: center; max-width: 600px; margin: 0 auto 60px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 32px; height: 52px; font-size: 16px; font-weight: 600; border-radius: 26px; transition: all 0.3s; }
.btn-primary { background: linear-gradient(135deg, var(--c-crimson), var(--c-crimson-light)); color: #fff; box-shadow: 0 8px 16px rgba(190, 18, 60, 0.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 20px rgba(190, 18, 60, 0.3); }
.btn-outline { border: 2px solid var(--c-border); color: var(--c-text); background: transparent; }
.btn-outline:hover { border-color: var(--c-crimson); color: var(--c-crimson); }
.btn-dark { background: var(--c-dark); color: #fff; }
.btn-dark:hover { background: #000; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Hero */
#hero { padding: 160px 0 120px; text-align: center; background: radial-gradient(circle at 50% -20%, rgba(244,63,94,0.1) 0%, transparent 70%); }
.hero-tag { display: inline-block; padding: 6px 16px; background: rgba(190, 18, 60, 0.1); color: var(--c-crimson); border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.hero-title { font-size: 64px; font-weight: 900; line-height: 1.1; margin-bottom: 24px; letter-spacing: -2px; }
.hero-title span { background: linear-gradient(135deg, var(--c-crimson), var(--c-gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 20px; color: var(--c-text-mut); max-width: 700px; margin: 0 auto 40px; }
.hero-actions { display: flex; justify-content: center; gap: 16px; margin-bottom: 80px; }
.stats-bar { display: flex; justify-content: center; gap: 64px; padding: 40px; background: var(--c-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--c-border); }
.stat-box h4 { font-size: 36px; font-weight: 800; color: var(--c-dark); margin-bottom: 8px; }
.stat-box p { font-size: 14px; color: var(--c-text-mut); font-weight: 500; }

/* Features */
#features { background: var(--c-surface); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 60px; }
.feat-card { padding: 40px; border-radius: var(--radius-lg); background: var(--c-bg); border: 1px solid var(--c-border); transition: all 0.3s; }
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(190, 18, 60, 0.3); }
.fc-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: rgba(190, 18, 60, 0.1); color: var(--c-crimson); margin-bottom: 24px; }
.feat-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.feat-card p { color: var(--c-text-mut); font-size: 15px; }

.feat-deep { display: flex; align-items: center; gap: 60px; margin-top: 80px; }
.feat-deep.rev { flex-direction: row-reverse; }
.fd-content { flex: 1; }
.fd-content h3 { font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.fd-content p { font-size: 18px; color: var(--c-text-mut); margin-bottom: 24px; }
.fd-visual { flex: 1; background: var(--c-bg); height: 320px; border-radius: var(--radius-lg); border: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; }

/* Platforms */
#platforms { background: var(--c-bg); }
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.plat-card { background: var(--c-surface); padding: 40px 30px; border-radius: var(--radius-lg); border: 1px solid var(--c-border); text-align: center; }
.plat-icon { width: 64px; height: 64px; margin: 0 auto 20px; color: var(--c-dark); }
.plat-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.plat-card p { font-size: 14px; color: var(--c-text-mut); margin-bottom: 24px; height: 44px; }

/* Reviews */
#reviews { background: var(--c-surface); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rev-card { padding: 32px; background: var(--c-bg); border-radius: var(--radius-lg); border: 1px solid var(--c-border); }
.rev-stars { color: var(--c-gold-light); display: flex; gap: 4px; margin-bottom: 16px; width: 20px; }
.rev-text { font-size: 16px; font-style: italic; color: var(--c-dark); margin-bottom: 24px; min-height: 72px; }
.rev-user { display: flex; align-items: center; gap: 12px; }
.ru-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #e4e4e7, #f4f4f5); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--c-dark); }
.ru-info h4 { font-size: 16px; font-weight: 600; }
.ru-info p { font-size: 13px; color: var(--c-text-mut); }

/* Security */
#security { background: var(--c-dark); color: #fff; }
.sec-title-light { color: #fff; }
.sec-sub-light { color: #a1a1aa; }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 80px; }
.sec-item { text-align: center; }
.si-icon { width: 48px; height: 48px; margin: 0 auto 20px; color: var(--c-crimson-light); }
.sec-item h4 { font-size: 18px; margin-bottom: 8px; }
.sec-item p { color: #a1a1aa; font-size: 14px; }
.cmp-table-wrap { background: rgba(255,255,255,0.05); border-radius: var(--radius-lg); padding: 40px; border: 1px solid rgba(255,255,255,0.1); }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 16px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
.cmp-table th { font-weight: 600; color: #fff; }
.cmp-table td:first-child { text-align: left; color: #e4e4e7; }
.cmp-hl { background: rgba(190, 18, 60, 0.2); color: #fff; font-weight: 600; border-radius: 8px; }
.cmp-icon { width: 24px; height: 24px; margin: 0 auto; }

/* Versions */
#versions { background: var(--c-surface); }
.ver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ver-card { padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--c-border); background: var(--c-bg); display: flex; flex-direction: column; }
.ver-card.featured { border-color: var(--c-crimson); box-shadow: var(--shadow-lg); transform: translateY(-10px); position: relative; }
.ver-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--c-crimson); color: #fff; padding: 4px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.ver-name { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.ver-price { font-size: 48px; font-weight: 900; color: var(--c-crimson); margin-bottom: 24px; }
.ver-price span { font-size: 16px; color: var(--c-text-mut); font-weight: 500; }
.ver-list { margin-bottom: 32px; flex: 1; }
.ver-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 15px; }
.ver-list svg { width: 20px; height: 20px; color: var(--c-crimson); flex-shrink: 0; }

/* FAQ */
#faq { background: var(--c-bg); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-md); margin-bottom: 16px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 24px; font-size: 18px; font-weight: 600; color: var(--c-dark); text-align: left; }
.faq-chevron { width: 24px; height: 24px; color: var(--c-text-mut); transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; transition: max-height 0.3s ease-out; }
.faq-a-inner { padding: 0 24px 24px; color: var(--c-text-mut); font-size: 15px; }
.faq-item.open .faq-a { max-height: 200px; }

/* Footer */
footer { background: var(--c-surface); border-top: 1px solid var(--c-border); padding: 40px 0; text-align: center; }
.footer-text { color: var(--c-text-mut); font-size: 14px; margin-bottom: 8px; }

/* Responsive */
@media (max-width: 1024px) {
  .feat-grid, .plat-grid, .rev-grid, .sec-grid, .ver-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-deep, .feat-deep.rev { flex-direction: column; }
  .nav-menu { display: none; }
}
@media (max-width: 768px) {
  .feat-grid, .plat-grid, .rev-grid, .sec-grid, .ver-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 40px; }
  .stats-bar { flex-direction: column; gap: 24px; padding: 24px; }
}
