:root {
  --bg: #120B22;
  --panel: #221641;
  --panel-2: #2E2058;
  --primary: #A46BFF;
  --secondary: #6E4BD6;
  --highlight: linear-gradient(135deg, #4FE3B0 0%, #A46BFF 100%);
  --text: #F0EBFF;
  --text-muted: #A99FC8;
  --border: rgba(190,175,255,.10);
  --border-strong: rgba(190,175,255,.20);
  --gold: #FFCE86;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 11, 34, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: var(--gold);
}
.brand img {
  height: 32px;
  border-radius: 6px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}
.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}
.nav-links a {
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover, .nav-links a:focus {
  color: var(--primary);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight);
  transition: width 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.hero-top {
  text-align: center;
  margin-bottom: 30px;
}
.hero-top h1 {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1.3;
}
.hero-top h1 span {
  background: var(--highlight);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-top p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}
.hero-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  transition: transform 0.3s;
}
.hero-gallery img:hover {
  transform: scale(1.02);
}
.hero-download {
  background: var(--panel);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-download h2 {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 10px;
}
.hero-download p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  color: var(--gold);
  background: var(--panel-2);
  border: 1px solid var(--border-strong);
  transition: all 0.3s;
  cursor: pointer;
  flex: 1 1 calc(50% - 6px);
  text-align: center;
}
.btn:hover {
  background: var(--secondary);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--highlight);
  color: #120B22;
  border: none;
  flex: 1 1 100%;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.marquee {
  width: 100%;
  overflow: hidden;
  background: var(--panel-2);
  padding: 10px 0;
  margin-top: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}
.marquee-content span {
  font-size: 16px;
  font-weight: bold;
  background: var(--highlight);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 20px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 20px;
  text-align: center;
}
.section-title span {
  background: var(--highlight);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--panel);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.card-body {
  padding: 15px;
}
.card-body h3 {
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 6px;
}
.card-body p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.tag {
  font-size: 11px;
  padding: 2px 8px;
  background: var(--panel-2);
  border-radius: 4px;
  color: var(--primary);
  border: 1px solid var(--border-strong);
}
.meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.timeline-time {
  font-size: 16px;
  font-weight: bold;
  color: var(--highlight);
  min-width: 60px;
  text-align: right;
  padding-top: 4px;
}
.timeline-content {
  background: var(--panel);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--border);
  flex: 1;
  position: relative;
}
.timeline-content::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 15px;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--bg);
}
.timeline-content h4 {
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 4px;
}
.timeline-content p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.review-card {
  background: var(--panel);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  gap: 15px;
}
.review-card img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
}
.review-body h4 {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 4px;
}
.review-body p {
  font-size: 13px;
  color: var(--text-muted);
}
.stars {
  color: var(--gold);
  font-size: 12px;
  margin-top: 4px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--panel);
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  padding: 15px;
  font-size: 15px;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  padding: 0 15px 15px;
  font-size: 14px;
  color: var(--text-muted);
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}

/* Bottom Download */
.bottom-download {
  background: var(--panel-2);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  border: 1px solid var(--border-strong);
  margin: 40px auto;
  max-width: 800px;
}
.bottom-download img {
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 12px;
}
.bottom-download h2 {
  color: var(--gold);
  margin-bottom: 15px;
}
.bottom-download p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 30px 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
footer a {
  color: var(--text-muted);
  text-decoration: underline;
}
footer a:hover {
  color: var(--primary);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-links {
  margin: 10px 0;
}
.footer-links a {
  margin: 0 8px;
}

/* Floating Download */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel-2);
  border: 1px solid var(--border-strong);
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  z-index: 200;
  cursor: pointer;
  transition: transform 0.3s;
}
.floating-download:hover {
  transform: translateX(-50%) scale(1.02);
}
.floating-download img {
  height: 24px;
  border-radius: 4px;
}
.floating-download span {
  font-size: 14px;
  color: var(--gold);
  font-weight: bold;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 300;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  background: var(--panel);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 90%;
  width: 360px;
  border: 1px solid var(--border-strong);
}
.modal-content p {
  color: var(--text);
  margin-bottom: 15px;
  font-size: 14px;
}
.modal-content input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}
.modal-content button {
  padding: 10px 20px;
  background: var(--highlight);
  border: none;
  border-radius: 6px;
  color: #120B22;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-gallery { grid-template-columns: repeat(4, 1fr); }
  .hero-gallery img { height: 140px; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--panel);
    position: absolute;
    top: 56px;
    left: 0;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
  .hero-top h1 { font-size: 24px; }
  .hero-gallery { grid-template-columns: 1fr 1fr; }
  .hero-gallery img { height: 120px; }
  .download-buttons { flex-direction: column; }
  .btn { flex: 1 1 100%; width: 100%; }
  .grid-cards { grid-template-columns: 1fr; }
  .timeline-item { flex-direction: column; gap: 5px; }
  .timeline-time { text-align: left; }
  .timeline-content::before { display: none; }
  .bottom-download { padding: 20px 15px; }
  .floating-download { width: 90%; justify-content: center; }
}