:root {
  --bg: #dfdfdf;
  --bg2: #151515;
  --bg3: #181818;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: #191919;
  --text2: #191919ac;
  --text3: #5d779c;
  --text-muted: rgba(232, 235, 240, 0.45);
  --text-dim: rgba(232, 235, 240, 0.22);
  --accent: #6e92c8;
  --accent2: #8ab1e8;
  --accent-dim: rgba(110, 140, 200, 0.12);
  --accent-glow: rgba(110, 141, 200, 0.25);
  --red: #e05a3a;
  --green: #5a9e6f;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: cubic-bezier(0.4,0,0.2,1);
  --font-display: 'rvn', Georgia, serif;
}

@font-face {
  font-family: 'rvn';
  src: url('fonts/rvn.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'rvnbold';
  src: url('fonts/rvnbold.woff2') format('woff2');
  font-display: swap;
}
* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text3);
  font-family: 'rvn', 'Tahoma', 'Arial', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 2px; }

body::before {
  content:'';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s var(--transition);
}

#header.scrolled {
  height: 58px;
  background: rgba(10,10,10,0.96);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900;
  color: #0a0a0a;
  letter-spacing: -1px;
}

.logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--text3);
  letter-spacing: -0.3px;
}

.logo-sub {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: -2px;
}

#desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  background: none;
  font-family: inherit;
  position: relative;
}

.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--accent); }

.btn-buy-nav {
  margin-right: 8px;
  padding: 9px 20px;
  background: var(--accent);
  color: #0a0a0a;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-buy-nav:hover { background: var(--accent2); transform: translateY(-1px); }

#mobile-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 20px;
  height: 60px;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.07);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  margin: 4%;
  border-radius: 19px;
}

.hamburger {
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text3);
  border-radius: 2px;
  transition: all 0.3s var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-menu {
  position: fixed;
  top: 60px; left: 0; right: 0;
  z-index: 999;
  background: rgba(7, 20, 37, 0.93);
  backdrop-filter: blur(30px);
  transform: translateY(-210%);
  transition: transform 0.4s var(--transition);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  margin: 5%;
  border-radius: 19px;

}

#mobile-menu.open { transform: translateY(0); }

.mobile-nav-link {
  display: flex; align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  background: none;
  font-family: inherit;
  width: 100%;
  text-align: right;
  gap: 10px;
  margin-bottom: 4px;
}
.mobile-nav-link:hover, .mobile-nav-link.active { 
  color: var(--text3); 
  background: rgba(255,255,255,0.05); 
}
.mobile-nav-link .nav-icon { font-size: 18px; }

.btn-buy-mobile {
  margin-top: 12px;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #0a0a0a;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

#bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(27, 66, 100, 0.21);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  display: none;
  grid-template-columns: repeat(4, 1fr);
  margin-right: 8%;
  margin-left: 8%;
  margin-bottom: 4%;
  border-radius: 19px;
}

.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 6px;
  cursor: pointer; border: none; background: none;
  color: var(--text3);
  font-size: 12px; font-family: rvnbold;
  transition: all 0.2s;
}
.bottom-nav-item .bn-icon { font-size: 20px; }
.bottom-nav-item.active, .bottom-nav-item:hover { color: var(--accent); }

#app {
  min-height: 100vh;
  padding-top: 68px;
}

.page {
  display: none;
  animation: fadeUp 0.5s var(--transition) both;
}
.page.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  min-height: calc(100vh - 68px);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px 40px;
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.15) 1px, #51a2f91c 1px), 
    linear-gradient(90deg, rgba(0, 0, 0, 0.09) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,169,110,0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.14);
  letter-spacing: 0.5px;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: 'rvnbold', Courier, monospace;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -3px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #b47ed2 0%, var(--accent) 60%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(18px, 3vw, 26px);
  color: var(--text2);
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 2px;
}

.hero-desc {
  font-size: 14px;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.8;
  padding-left: 18%;
  padding-right: 18%;
}

.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 32px;
  background: var(--accent);
  color: #0a0a0a;
  border: none; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }

.btn-secondary {
  padding: 14px 28px;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(35, 35, 35, 0.18);
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500;
  cursor: pointer; font-family: inherit;
  transition: all 0.25s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

.hero-stats {
  margin-top: 72px;
  display: flex; justify-content: center; gap: 0;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 620px;
  margin-left: auto; margin-right: auto;
  background: var(--bg2);
}

.hero-stat {
  flex: 1; min-width: 130px;
  padding: 24px 20px;
  text-align: center;
  border-left: 1px solid var(--border);
}
.hero-stat:last-child { border-left: none; }
.hero-stat-num {
  font-size: 28px; font-weight: 900;
  color: var(--accent);
  display: block;
  letter-spacing: -1px;
}
.hero-stat-label {
  font-size: 12px; color: var(--text-muted);
  margin-top: 2px;
}

.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-family: rvnbold;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text2);
  max-width: 560px;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  padding: 36px 32px;
  background: var(--bg2);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { background: var(--bg3); }

.feature-icon {
  font-size: 28px; margin-bottom: 16px; display: block;
}

.feature-title {
  font-size: 17px; font-weight: 700;
  margin-bottom: 10px; letter-spacing: -0.3px;
}

.feature-desc {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
}

.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative; overflow: hidden;
  transition: all 0.3s;
}
.bento-card:hover { border-color: var(--border-strong); }
.bento-card.large { grid-row: span 2; }
.bento-card.accent-bg {
  background: linear-gradient(135deg, rgba(5, 19, 37, 0.86), rgb(1, 10, 15));
}

.bento-card-icon { font-size: 40px; margin-bottom: 20px; display: block; }
.bento-card-title { font-size: 22px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.5px; }
.bento-card-desc { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

.version-badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(200,169,110,0.3);
  color: var(--accent);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  letter-spacing: 1px;
}

.faq-list { max-width: 760px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item:hover { border-color: var(--border-strong); }

.faq-q {
  width: 100%; text-align: right;
  background: var(--bg2);
  border: none; color: var(--text3);
  padding: 18px 20px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

.faq-arrow {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--accent);
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  max-height: 0; overflow: hidden;
  background: var(--bg2);
  transition: max-height 0.4s var(--transition);
  color: var(--text-muted); font-size: 14px; line-height: 1.8;
}
.faq-a-inner { padding: 0 20px 18px; }
.faq-item.open .faq-a { max-height: 500px; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
}
.pricing-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgb(20, 20, 20), #0b0b0b);
}

.pricing-card.featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.pricing-badge {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 100px;
  margin-bottom: 20px; letter-spacing: 0.5px;
}

.pricing-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.pricing-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }

.pricing-price-old {
  font-size: 15px; color: var(--text-dim);
  text-decoration: line-through;
  margin-bottom: 4px;
}
.pricing-price {
  font-size: 30px; font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.pricing-price-unit { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }

.pricing-features { margin-bottom: 32px; }
.pricing-feature {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text-muted);
}
.pricing-feature:last-child { border-bottom: none; }
.pricing-feature-check { color: var(--green); font-size: 16px; flex-shrink: 0; }

.btn-buy {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: #0a0a0a;
  border: none; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 800;
  cursor: pointer; font-family: inherit;
  transition: all 0.25s;
}
.btn-buy:hover { background: var(--accent2); box-shadow: 0 8px 24px var(--accent-glow); }

.btn-buy-outline {
  width: 100%;
  padding: 15px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: all 0.25s;
}
.btn-buy-outline:hover { background: var(--accent-dim); }

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--bg2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 480px; width: 100%;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: all 0.35s var(--transition);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute; top: 16px; left: 16px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.08);
  border: none; border-radius: 50%;
  color: var(--text-muted); font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.15); color: var(--text); }

.modal-icon { font-size: 42px; margin-bottom: 16px; display: block; text-align: center; }
.modal-title { font-size: 22px; font-weight: 800; text-align: center; margin-bottom: 8px; }
.modal-subtitle { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: 28px; line-height: 1.7; }

.modal-card-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}
.modal-card-label { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 1px; }
.modal-card-number {
  font-size: 22px; font-weight: 800; letter-spacing: 4px;
  color: var(--accent); direction: ltr;
  cursor: pointer;
}
.modal-card-owner { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

.modal-note {
  font-size: 13px; color: var(--text-muted);
  text-align: center; line-height: 1.7;
  margin-bottom: 20px;
}

.btn-telegram {
  width: 100%;
  padding: 14px;
  background: #229ED9;
  color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-telegram:hover { background: #1a8fc7; transform: translateY(-1px); }

.copy-toast {
  position: fixed;
  bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--bg3);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  opacity: 0;
  transition: all 0.3s;
  z-index: 9999; white-space: nowrap;
  pointer-events: none;
}
.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}

.doc-card {
  background: #eaeaea;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 19px;
  transition: all 0.3s;
  cursor: pointer;
}
.doc-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }

.doc-card-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.doc-card-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.doc-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.doc-card-btn {
  font-size: 13px; color: var(--accent);
  font-weight: 600; display: flex; align-items: center; gap: 4px;
}

.structure-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  font-family: 'Courier New', monospace;
  direction: ltr;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
  overflow-x: auto;
}
.structure-box .key { color: var(--accent); }
.structure-box .comment { color: rgba(200,169,110,0.4); }

.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tech-tag {
  padding: 5px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
}

.support-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.3s;
}
.support-card:hover { border-color: var(--border-strong); }

.support-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.support-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.support-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.support-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.support-link:hover { color: var(--accent2); gap: 10px; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 40px;
}

footer {
  padding: 40px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 4px;
  color: var(--text3); font-size: 13px;
  background-color: #040d1aed;
}
.footer-brand { color: var(--accent); font-weight: 700; }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.large { grid-row: span 1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .demos-grid { grid-template-columns: 1fr 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  #header { display: none; }
  #mobile-header { display: flex; }
  #bottom-nav { display: grid; }
  #app { padding-top: 60px; padding-bottom: 80px; }

  .hero { padding: 40px 20px; min-height: calc(100vh - 140px); }
  .section { padding: 60px 20px; }
  .hero-title { letter-spacing: -2px; }
  .hero-stats { display: none; }
  .features-grid { grid-template-columns: 1fr; gap: 0; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; max-width: 100%; }
  .demos-grid { grid-template-columns: 2fr; }
  .modal { padding: 28px 20px; }
  footer { padding-bottom: 24%; flex-direction: column; text-align: center;margin: 4%;border-radius: 20px; }
  .divider { margin: 0 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; display: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.highlight-bar {
  background: linear-gradient(135deg, rgba(5, 19, 37, 0.07), rgba(1, 10, 15, 0.09));
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: var(--radius);
  padding: 28px 36px;
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.highlight-bar-icon { font-size: 36px; flex-shrink: 0; }
.highlight-bar-text { font-size: 15px; line-height: 1.8; color: var(--text2);text-align: justify; }
.highlight-bar-text strong { color: var(--text3); }


.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}


.hero-video-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 36px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  position: relative;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .hero-video-wrap {
    max-width: 100%;
    border-radius: 12px;
  }
}


.bento-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 20px;
  width: 100%;
}

.bento-img {
  max-width: 100%;
  max-height: 90%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}


.demos-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.demo-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--transition);
  display: block;
}

.demo-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.4);
}

.demo-img-wrap {
  position: relative;
  background: var(--bg3);
  overflow: hidden;
}

.demo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--transition);
}

.demo-card:hover .demo-img {
  transform: scale(1.04);
}

.demo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.demo-card:hover .demo-overlay {
  opacity: 1;
}

.demo-preview-btn {
  background: var(--accent);
  color: #0a0a0a;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
}

.demo-info {
  padding: 20px 24px 24px;
}

.demo-tag {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.demo-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text3);
  letter-spacing: -0.3px;
}

.demo-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .demos-grid-new {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


.downloads-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 0;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

.download-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
}

.download-icon-wrap {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border: 1px solid rgba(110,146,200,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}

.download-icon {
  font-size: 26px;
}

.download-info {
  flex: 1;
}

.download-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text3);
}

.download-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.download-btn {
  flex-shrink: 0;
  background: var(--accent);
  color: #0a0a0a;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: background 0.2s;
}

.download-card:hover .download-btn {
  background: var(--accent2);
}

@media (max-width: 768px) {
  .downloads-row {
    grid-template-columns: 1fr;
  }
  .download-card {
    padding: 18px 20px;
  }
}

.support-grid-single {
  max-width: 580px;
}

.support-card-tg {
  background: linear-gradient(135deg, rgba(5,19,37,0.88), rgba(1,10,15,0.95));
  border-color: rgba(34,158,217,0.3) !important;
  padding: 48px 40px;
}

.support-card-tg:hover {
  border-color: #229ED9 !important;
}

.support-made-by {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.support-lab-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-right: 4px;
  transition: color 0.2s;
}

.support-lab-link:hover {
  color: var(--accent2);
}