/* ===========================
   Base / Reset
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #0a0a0f;
  color: #e0e0e0;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: #8b5cf6;
  transition: color 0.25s;
}

a:hover {
  color: #a78bfa;
}

::selection {
  background: #8b5cf640;
  color: #fff;
}

/* ===========================
   Navigation
=========================== */
.main-nav {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 10px;
}

.nav-brand {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1em;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 15px 12px 0;
  white-space: nowrap;
  background: linear-gradient(135deg, #a78bfa, #8b5cf6, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom: none;
  flex-shrink: 0;
}

.nav-brand:hover {
  opacity: 0.85;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: block;
  padding: 14px 18px;
  color: #999;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: color 0.3s, border-bottom 0.3s;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: #8b5cf6;
  border-bottom: 2px solid #8b5cf6;
}

/* ===========================
   Header / Hero
=========================== */
header {
  text-align: center;
  padding: 40px 20px 35px;
  background: linear-gradient(170deg, #0a0a0f 0%, #0e0a1a 40%, #0a0a0f 100%);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-banner {
  max-width: 420px;
  margin: 0 auto 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.08);
}

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

header h1 {
  font-size: 3em;
  color: #fff;
  margin: 0 0 15px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
  position: relative;
}

header p {
  font-size: 1.2em;
  color: #b0b0b0;
  margin: 0 0 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ===========================
   CTA Button
=========================== */
.btn {
  display: inline-block;
  padding: 16px 36px;
  margin: 20px auto;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
  color: #fff;
}

.btn:hover::after {
  left: 120%;
}

.btn:active {
  transform: translateY(0);
}

/* ===========================
   Sections
=========================== */
.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  position: relative;
}

.section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section h2 {
  color: #fff;
  margin-bottom: 25px;
  text-align: center;
  font-size: 1.8em;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
  border-radius: 2px;
}

.section p {
  line-height: 1.7;
  text-align: center;
  color: #c0c0c0;
}

/* ===========================
   Video
=========================== */
.section iframe {
  width: 100%;
  height: 315px;
  max-width: 560px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* ===========================
   Screenshots
=========================== */
.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  justify-items: center;
}

.screenshots img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.screenshots img:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.2);
}

/* ===========================
   FAQ
=========================== */
.faq {
  margin-top: 20px;
}

.faq details {
  background: linear-gradient(135deg, #161620 0%, #1a1a25 100%);
  padding: 18px 20px;
  margin-bottom: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq details:hover {
  border-color: rgba(139, 92, 246, 0.2);
}

.faq details[open] {
  background: linear-gradient(135deg, #1a1a28 0%, #160e28 100%);
  border-color: rgba(139, 92, 246, 0.15);
}

.faq summary {
  font-weight: 600;
  font-size: 1.05em;
  outline: none;
  color: #e8e8e8;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq summary::after {
  content: '+';
  color: #8b5cf6;
  font-size: 1.3em;
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  margin-top: 12px;
  color: #b0b0b0;
  line-height: 1.7;
}

/* ===========================
   Blog / News
=========================== */
.blog {
  margin-top: 40px;
}

.blog article {
  background: linear-gradient(135deg, #141420 0%, #1a1a25 100%);
  padding: 25px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s, transform 0.3s;
}

.blog article:hover {
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-2px);
}

.blog h3 {
  color: #8b5cf6;
  margin-bottom: 10px;
  font-weight: 600;
}

.blog h3 a {
  text-decoration: none;
}

.blog h3 a:hover {
  text-decoration: underline;
}

/* ===========================
   Features Grid
=========================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
  background: linear-gradient(145deg, #141420 0%, #1a1a28 100%);
  padding: 30px 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

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

.feature-card h3 {
  color: #8b5cf6;
  margin: 0 0 12px 0;
  font-size: 1.15em;
  font-weight: 600;
}

.feature-card p {
  text-align: left;
  margin: 0;
  color: #a0a0a0;
  line-height: 1.6;
  font-size: 0.95em;
}

/* ===========================
   Follow Us Section
=========================== */
section.follow-us {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 20px;
}

section.follow-us h2 {
  color: #fff;
  margin-bottom: 25px;
  font-size: 1.8em;
}

section.follow-us .social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

section.follow-us .social-links a {
  color: #ccc;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  transition: all 0.3s;
  font-size: 0.95em;
}

section.follow-us .social-links a:hover {
  color: #8b5cf6;
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.08);
  text-decoration: none;
}

/* ===========================
   Guide / Download sections
=========================== */
.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 25px auto;
}

.steps-list li {
  counter-increment: step;
  background: linear-gradient(135deg, #141420 0%, #1a1a25 100%);
  padding: 18px 18px 18px 60px;
  margin-bottom: 12px;
  border-radius: 10px;
  position: relative;
  line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s;
}

.steps-list li:hover {
  border-color: rgba(139, 92, 246, 0.15);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85em;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.platform-card {
  background: linear-gradient(145deg, #141420 0%, #1a1a28 100%);
  padding: 35px 25px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}

.platform-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.platform-card h3 {
  color: #8b5cf6;
  margin: 0 0 12px;
  font-size: 1.25em;
}

.platform-card p {
  color: #a0a0a0;
  line-height: 1.6;
  font-size: 0.95em;
}

.section ul.tips-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 25px auto;
}

.section ul.tips-list li {
  background: linear-gradient(135deg, #141420 0%, #1a1a25 100%);
  padding: 16px 20px;
  margin-bottom: 10px;
  border-radius: 10px;
  line-height: 1.6;
  border-left: 3px solid #8b5cf6;
  transition: background 0.3s;
}

.section ul.tips-list li:hover {
  background: linear-gradient(135deg, #181828 0%, #1e1a2a 100%);
}

.section ul.tips-list li strong {
  color: #8b5cf6;
}

/* ===========================
   Internal links block
=========================== */
.internal-links-block {
  border: 1px solid rgba(139, 92, 246, 0.12) !important;
  background: linear-gradient(135deg, #141420 0%, #1a1a25 100%) !important;
}

/* ===========================
   Tables
=========================== */
table {
  border-collapse: collapse;
}

table th {
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.5px;
}

table td {
  font-size: 0.95em;
}

/* ===========================
   Language Switcher
=========================== */
nav.lang {
  text-align: center;
  margin: 30px 0;
  padding: 15px;
}

nav.lang a {
  margin: 0 8px;
  color: #666;
  text-decoration: none;
  font-size: 0.9em;
  transition: color 0.3s;
}

nav.lang a:hover {
  color: #8b5cf6;
}

/* ===========================
   Footer
=========================== */
footer {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(180deg, #0a0a0f 0%, #000 100%);
  font-size: 0.9em;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

footer p {
  margin: 5px 0;
  color: #666;
}

footer a {
  text-decoration: none;
  color: #888;
  transition: color 0.3s;
}

footer a:hover {
  color: #8b5cf6;
}

/* ===========================
   Breadcrumb
=========================== */
nav[aria-label="Breadcrumb"] a {
  color: #8b5cf6;
  text-decoration: none;
}

nav[aria-label="Breadcrumb"] a:hover {
  text-decoration: underline;
}

/* ===========================
   Scrollbar
=========================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8b5cf6;
}

/* ===========================
   Animations
=========================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header h1 {
  animation: fadeInUp 0.6s ease-out;
}

header p {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

header .btn {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
  header { padding: 30px 15px 25px; }
  header h1 { font-size: 2.2em; }
  .btn { padding: 14px 28px; font-size: 0.95em; }
  iframe { width: 100%; height: 220px; }
  .section { padding: 40px 15px; }
  .section h2 { font-size: 1.5em; }
  .main-nav a { padding: 10px 12px; font-size: 0.8em; }
  .main-nav-inner { flex-wrap: wrap; justify-content: center; }
  .nav-brand { width: 100%; text-align: center; padding: 10px 0 2px; font-size: 1em; }
  .hero-banner { max-width: 320px; }
}

@media (max-width: 480px) {
  header { padding: 25px 15px 20px; }
  header h1 { font-size: 1.7em; }
  .btn { width: 100%; max-width: 300px; display: block; margin: 15px auto; padding: 14px; }
  .main-nav ul { gap: 0; }
  .main-nav a { padding: 8px 10px; font-size: 0.75em; }
  .section h2 { font-size: 1.3em; }
  .features-grid { grid-template-columns: 1fr; }
  .platform-cards { grid-template-columns: 1fr; }
  section.follow-us { padding: 30px 15px; }
  section.follow-us h2 { font-size: 1.4em; }
  section.follow-us .social-links { gap: 8px; }
  section.follow-us .social-links a { padding: 8px 16px; font-size: 0.85em; }
}
