:root {
  /* Neon/Cyberpunk Color Palette */
  --bg-dark: #050510;
  --bg-card: rgba(26, 11, 46, 0.6);
  --primary-glow: #00f0ff;
  --secondary-glow: #bf00ff;
  --accent-color: #7000ff;
  --text-main: #ffffff;
  --text-muted: #e0e0e0;
  --gradient-main: linear-gradient(135deg, #050510 0%, #1a0b2e 100%);
  --gradient-text: linear-gradient(45deg, #00f0ff, #bf00ff);

  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-dark);
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(112, 0, 255, 0.1) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(0, 240, 255, 0.1) 0%,
      transparent 20%
    );
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(191, 0, 255, 0.3);
}

h2 {
  font-size: 2.5rem;
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-glow);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-shadow: 0 0 10px var(--primary-glow);
  color: #fff;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: rgba(5, 5, 16, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo img {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  border-radius: 8px;
  box-shadow: 0 0 15px var(--primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: var(--primary-glow);
}

/* Buttons */
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: transparent;
  color: var(--primary-glow);
  border: 1px solid var(--primary-glow);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
  background: var(--primary-glow);
  color: #000;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-glow);
  border: 1px solid var(--secondary-glow);
  box-shadow: 0 0 15px rgba(191, 0, 255, 0.2);
}

.btn-secondary:hover {
  background: var(--secondary-glow);
  color: #fff;
  box-shadow: 0 0 30px rgba(191, 0, 255, 0.6);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.hero p.lead {
  font-size: 1.4rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  opacity: 0.8;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-image {
  max-width: 800px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(191, 0, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  display: block;
}

/* Feature Cards */
.features {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-glow),
    var(--secondary-glow)
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: rgba(26, 11, 46, 0.8);
}

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

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(191, 0, 255, 0.3));
}

.feature-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

/* Blog Layout */
.blog-layout {
  padding-top: 120px;
  padding-bottom: 80px;
}

.back-to-blog {
  margin-bottom: 2rem;
}

article {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 3rem;
}

.article-meta {
  color: var(--primary-glow);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.featured-image {
  width: 100%;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

article h2,
article h3 {
  color: #fff;
  margin-top: 2.5rem;
}

article ul,
article ol {
  margin: 1.5rem 0 1.5rem 2rem;
  color: var(--text-muted);
}

article li {
  margin-bottom: 0.8rem;
}

.highlight-box {
  background: rgba(0, 240, 255, 0.05);
  border-left: 4px solid var(--primary-glow);
  padding: 2rem;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
}

.highlight-box h3 {
  margin-top: 0;
  color: var(--primary-glow);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    rgba(191, 0, 255, 0.1),
    rgba(0, 240, 255, 0.1)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 20px;
  margin-top: 4rem;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem 2rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.faq-question:hover {
  color: var(--primary-glow);
}

.faq-question span:first-child {
  flex: 1;
  padding-right: 1rem;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary-glow);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-question[aria-expanded="true"] {
  color: var(--primary-glow);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 2rem;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  max-height: 1000px;
  padding: 1.5rem 2rem 2rem;
}

.faq-answer p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin: 1rem 0 1rem 2rem;
  color: var(--text-muted);
}

.faq-answer li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.faq-answer strong {
  color: var(--primary-glow);
  font-weight: 600;
}

.faq-answer a {
  color: var(--primary-glow);
  text-decoration: underline;
}

.faq-answer a:hover {
  color: var(--secondary-glow);
  text-shadow: 0 0 5px rgba(191, 0, 255, 0.5);
}

/* Footer */
footer {
  background: #02020a;
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-links a {
  color: var(--text-muted);
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-glow);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 120px 0 60px;
  }

  article {
    padding: 1.5rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .faq-section {
    padding: 60px 0;
  }

  .faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
  }

  .faq-question[aria-expanded="true"] + .faq-answer {
    padding: 1.2rem 1.5rem 1.5rem;
  }

  .faq-answer ul,
  .faq-answer ol {
    margin-left: 1.5rem;
  }
}

/* Page Headers (Common for subpages) */
.page-header {
  padding: 160px 0 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(112, 0, 255, 0.1) 0%, transparent 60%);
}

.page-header h1 {
  margin-bottom: 20px;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Legal Content (Privacy & Terms) */
.legal-content {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 4rem;
}

.legal-content h2 {
  color: var(--primary-glow);
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: none;
}

.legal-content h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p, .legal-content li {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.legal-content .highlight-box {
  background: rgba(112, 0, 255, 0.1);
  border-left: 4px solid var(--secondary-glow);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 10px 10px 0;
}

.legal-content .warning-box {
  background: rgba(255, 87, 87, 0.1);
  border-left: 4px solid #ff5757;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 10px 10px 0;
}

.legal-content .last-updated {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  font-style: italic;
  color: var(--text-muted);
  display: inline-block;
}

.legal-content .contact-info {
  background: rgba(0, 240, 255, 0.05);
  border-left: 4px solid var(--primary-glow);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 10px 10px 0;
}

/* Download Page */
.download-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.download-container {
  text-align: center;
  max-width: 500px;
  width: 100%;
  padding: 40px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(112, 0, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-app-icon {
  width: 120px;
  height: 120px;
  border-radius: 25px;
  box-shadow: 0 0 30px var(--primary-glow);
  margin-bottom: 30px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.download-info {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 15px;
  margin: 30px 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.download-info h3 {
  color: var(--primary-glow);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.download-info p {
  margin: 5px 0;
  font-size: 0.95rem;
}

.download-features {
  text-align: left;
  margin: 30px 0;
}

.download-features h4 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #fff;
}

.download-features ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.download-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-features li::before {
  content: '✨';
}

.download-spinner {
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top: 3px solid var(--primary-glow);
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.manual-download {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 404 Page */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding-top: var(--header-height);
}

.error-content h1 {
  font-size: 8rem;
  margin-bottom: 0;
  line-height: 1;
}


/* Blog Listing */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: rgba(26, 11, 46, 0.8);
  border-color: rgba(0, 240, 255, 0.3);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  color: var(--primary-glow);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.blog-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
  line-height: 1.4;
}

.blog-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
}

.read-more {
  color: var(--secondary-glow);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: padding-left 0.3s;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.blog-card:hover .read-more {
  padding-left: 5px;
  color: var(--primary-glow);
}
