:root {
  --bg-main: #0B0D1F;
  --bg-dark: #141833;
  --panel-1: #1C2145;
  --panel-2: #262C58;
  --rainbow: linear-gradient(90deg, #FF3D81, #FF8A00, #FFE14D, #2ED47A, #00C2FF, #5B5BFF, #B93DFF);
  --rainbow-vertical: linear-gradient(180deg, #FF3D81, #FF8A00, #FFE14D, #2ED47A, #00C2FF, #5B5BFF, #B93DFF);
  --border-pink: rgba(255, 61, 129, .18);
  --border-yellow: rgba(255, 225, 77, .16);
  --border-cyan: rgba(0, 194, 255, .18);
  --text-light: #F0F2FF;
  --text-muted: #9CA3D4;
  --text-dark: #0B0D1F;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 90px; /* Space for fixed download bar */
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  background: rgba(11, 13, 31, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-pink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 32px;
  width: auto;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: none;
}

.nav-links a {
  color: var(--text-muted);
  margin-left: 20px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: #FFE14D;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-dark);
  padding: 16px;
  border-bottom: 1px solid var(--border-cyan);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* Hero Section */
.hero {
  padding: 40px 0 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(185, 61, 255, 0.15) 0%, transparent 70%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  margin-bottom: 30px;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 24px;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  background: var(--rainbow);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 61, 129, 0.4);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 61, 129, 0.6);
}

/* Marquee */
.marquee-wrap {
  background: var(--panel-1);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--border-yellow);
  border-bottom: 1px solid var(--border-cyan);
  margin-bottom: 40px;
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.marquee-content span {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 20px;
}

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

/* Grid Layouts */
.section-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.showcase-card {
  background: var(--panel-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-pink);
  transition: var(--transition);
}

.showcase-card:hover {
  border-color: #FF8A00;
}

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-info {
  padding: 12px;
}

.showcase-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-light);
}

.showcase-info .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.showcase-info .tag {
  background: rgba(255, 225, 77, 0.1);
  color: #FFE14D;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 225, 77, 0.3);
}

.showcase-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Reviews */
.review-list {
  display: grid;
  gap: 16px;
}

.review-item {
  background: var(--panel-1);
  padding: 16px;
  border-radius: var(--radius-md);
  border-left: 4px solid #00C2FF;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.review-user {
  font-weight: 700;
  font-size: 0.9rem;
  color: #FFE14D;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* FAQ */
.faq-item {
  background: var(--panel-1);
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-pink);
}

.faq-item summary {
  padding: 16px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  color: #FF8A00;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-content {
  padding: 0 16px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  padding: 40px 0 20px;
  border-top: 1px solid var(--border-pink);
  margin-top: 40px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: #FF8A00;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.75rem;
  color: #666;
}

.footer-bottom a {
  color: #666;
}

/* About Us Details */
.about-us-section {
  font-size: 0.75rem;
  color: #888;
  margin-top: 10px;
}

.about-us-section summary {
  cursor: pointer;
  display: inline-block;
  outline: none;
}

.about-us-section summary:hover {
  color: var(--text-light);
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 0;
}

.about-links a {
  color: #888;
  text-decoration: underline;
}

.about-links a:hover {
  color: #FF8A00;
}

/* Fixed Bottom Bar */
.fixed-download-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 400px;
  background: var(--panel-2);
  border-radius: 50px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 61, 129, 0.4);
  z-index: 1000;
}

.fixed-download-bar img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  margin-right: 12px;
}

.fixed-info {
  flex: 1;
  display: flex;
  align-items: center;
}

.fixed-text {
  display: flex;
  flex-direction: column;
}

.fixed-text span:first-child {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
}

.fixed-text span:last-child {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.fixed-btn {
  background: var(--rainbow);
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Media Queries */
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .review-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .footer-brand {
    text-align: left;
  }
  .footer-links {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .review-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-content h1 {
    font-size: 3rem;
  }
}