:root {
  --bg-dark: #080c16;
  --bg-card: #0f172a;
  --bg-card-hover: #1e293b;
  --border-card: #1f2e47;
  --neon-cyan: #00f0ff;
  --neon-blue: #38bdf8;
  --neon-gold: #ffb800;
  --neon-green: #22c55e;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-stack);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--neon-cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--neon-blue); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
header.site-header {
  border-bottom: 1px solid var(--border-card);
  background: rgba(8, 12, 22, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--neon-cyan);
}

.lang-select-wrap {
  position: relative;
  display: inline-block;
}

.lang-select {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

/* Hero Section */
.hero {
  padding: 64px 0 48px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--neon-cyan);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #38bdf8 60%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 32px;
}

.cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #00f0ff, #0284c7);
  color: #080c16;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 240, 255, 0.45);
  color: #080c16;
}

.btn-play svg {
  width: 24px;
  height: 24px;
  fill: #080c16;
}

.device-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Features Grid */
.section {
  padding: 56px 0;
  border-top: 1px solid var(--border-card);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--neon-cyan);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Screenshots Showcase with Real v17 WebP images */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.screen-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}

.screen-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 240, 255, 0.4);
}

.screen-media {
  background: #040711;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-card);
}

.screen-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.screen-item.screen-tv {
  grid-column: 1 / -1;
}

.screen-info {
  padding: 20px;
}

.screen-info h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: #fff;
}

.screen-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Good to know alert box */
.info-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 28px;
  margin-top: 16px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.info-item:last-child { margin-bottom: 0; }
.info-item span.bullet { color: var(--neon-gold); font-size: 1.25rem; font-weight: 900; }
.info-item p { color: var(--text-secondary); font-size: 0.95rem; }

/* Pricing Cards */
.pricing-card-pro {
  border: 2px solid var(--neon-gold);
  position: relative;
  background: linear-gradient(180deg, #162033 0%, #0f172a 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--neon-gold);
  color: #080c16;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* Legal & Documentation Pages */
.doc-page {
  padding: 48px 0 64px;
}

.doc-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 20px;
}

.doc-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.doc-header .doc-date {
  color: var(--neon-cyan);
  font-size: 0.9rem;
  font-weight: 600;
}

.doc-content section {
  margin-bottom: 32px;
}

.doc-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.doc-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.doc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border-card);
  padding: 40px 0;
  margin-top: 48px;
  background: #050810;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 16px;
  list-style: none;
  flex-wrap: wrap;
}

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

.footer-links a:hover {
  color: var(--neon-cyan);
}

/* RTL Support */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .info-item {
  flex-direction: row-reverse;
}

[dir="rtl"] .pricing-badge {
  right: auto;
  left: 20px;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2rem; }
  .hero p.lead { font-size: 1rem; }
  .footer-wrap { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}