/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #030307;
  color: #f0f0f0;
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0a0a12; }
::-webkit-scrollbar-thumb { background: #2a2a40; border-radius: 2px; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(3,3,7,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 40px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; letter-spacing: -0.5px;
  color: #fff;
}
.logo-icon {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: white; font-weight: 900;
  box-shadow: 0 0 20px rgba(124,58,237,0.4);
}
.nav-links { display: flex; gap: 8px; margin-left: auto; }
.nav-links a {
  padding: 6px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* Lang switcher */
.lang-switcher { position: relative; }
.lang-btn {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500;
  padding: 6px 12px; border-radius: 8px; cursor: pointer;
  font-family: inherit; transition: all 0.2s;
}
.lang-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #111118; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; overflow: hidden; min-width: 160px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5); z-index: 200;
}
.lang-dropdown.open { display: block; animation: fadeIn 0.15s ease; }
.lang-dropdown button {
  display: block; width: 100%; padding: 10px 16px;
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 13px; font-family: inherit; text-align: left; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-dropdown button:hover { background: rgba(255,255,255,0.06); color: #fff; }

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: #fff; font-weight: 600; font-size: 14px;
  padding: 8px 18px; border-radius: 10px;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(124,58,237,0.3);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; padding-top: 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px;
  position: relative;
}
.hero-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
}
#heroCanvas { width: 100%; height: 100%; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.3);
  color: #a78bfa; font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(48px, 6vw, 80px); font-weight: 900;
  line-height: 1.05; letter-spacing: -3px; color: #fff;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 60%, rgba(255,255,255,0.5));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17px; color: rgba(255,255,255,0.5); max-width: 480px;
  line-height: 1.7; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-hero-primary {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 14px;
  box-shadow: 0 8px 32px rgba(124,58,237,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124,58,237,0.5); }
.btn-hero-secondary {
  color: rgba(255,255,255,0.6); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  transition: all 0.2s;
}
.btn-hero-secondary:hover { color: #fff; background: rgba(255,255,255,0.08); }

.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 500; }
.stat-div { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

/* ===== MOCKUP ===== */
.hero-mockup { display: flex; justify-content: flex-end; }
.mockup-window {
  width: 520px; border-radius: 16px; overflow: hidden;
  background: #0d0d18; border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(124,58,237,0.1);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.mockup-bar {
  height: 40px; background: #111120; border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; padding: 0 16px; gap: 6px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }
.mockup-title { margin-left: auto; margin-right: auto; font-size: 12px; color: rgba(255,255,255,0.3); }
.mockup-body { display: flex; height: 320px; }
.mockup-sidebar {
  width: 140px; background: #0a0a14; border-right: 1px solid rgba(255,255,255,0.06);
  padding: 12px 8px;
}
.mockup-logo { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5); padding: 8px; margin-bottom: 8px; }
.mockup-chat-item {
  font-size: 11px; color: rgba(255,255,255,0.35); padding: 7px 10px;
  border-radius: 8px; cursor: default; margin-bottom: 2px;
}
.mockup-chat-item.active { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.7); }
.mockup-main { flex: 1; display: flex; flex-direction: column; padding: 12px; gap: 10px; overflow: hidden; }
.mockup-msg { display: flex; align-items: flex-start; gap: 8px; }
.mockup-msg.user { flex-direction: row-reverse; }
.msg-avatar {
  width: 24px; height: 24px; border-radius: 50%; background: rgba(124,58,237,0.3);
  display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0;
}
.msg-bubble {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 8px 12px; font-size: 11px; color: rgba(255,255,255,0.7);
  line-height: 1.5; max-width: 200px;
}
.mockup-msg.user .msg-bubble { background: rgba(124,58,237,0.2); border-color: rgba(124,58,237,0.3); }
.code-block { font-family: monospace; color: #a78bfa; font-size: 10px; }
.mockup-input {
  margin-top: auto; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between;
}
.input-field { font-size: 11px; color: rgba(255,255,255,0.25); }
.input-send {
  width: 22px; height: 22px; background: linear-gradient(135deg, #7c3aed, #3b82f6);
  border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11px;
}

/* ===== SECTIONS ===== */
section { padding: 100px 0; }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #7c3aed; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -2px;
  color: #fff; margin-bottom: 16px; line-height: 1.1;
}
.section-desc { font-size: 17px; color: rgba(255,255,255,0.45); max-width: 560px; }

/* ===== FEATURES ===== */
.features { background: linear-gradient(180deg, #030307 0%, #07070f 100%); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px;
}
.feature-large { grid-column: span 2; }
.feature-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px; padding: 32px; transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover { border-color: rgba(124,58,237,0.3); transform: translateY(-4px); }
.feature-icon { font-size: 28px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; }
.feature-models { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.feature-models span {
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.2);
  color: #a78bfa; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px;
}
.feature-flags { font-size: 24px; margin-top: 16px; letter-spacing: 4px; }

/* ===== MODELS ===== */
.models-section { background: #07070f; }
.models-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.model-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 16px;
  display: flex; align-items: center; gap: 12px;
  transition: all 0.2s;
}
.model-card:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); }
.model-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.model-dot.green { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,0.5); }
.model-dot.yellow { background: #eab308; box-shadow: 0 0 8px rgba(234,179,8,0.5); }
.model-dot.red { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,0.5); }
.model-info { flex: 1; min-width: 0; }
.model-name { display: block; font-size: 13px; font-weight: 600; color: #fff; }
.model-level { display: block; font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 2px; }
.model-tag {
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05); padding: 3px 8px; border-radius: 6px; flex-shrink: 0;
}

/* ===== PRICING ===== */
.pricing { background: #030307; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.pricing-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; padding: 36px; position: relative;
  transition: border-color 0.3s;
}
.pricing-card.popular {
  background: rgba(124,58,237,0.08); border-color: rgba(124,58,237,0.4);
  box-shadow: 0 0 40px rgba(124,58,237,0.1);
}
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: white; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 14px; border-radius: 100px;
}
.plan-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  padding: 4px 12px; border-radius: 6px; margin-bottom: 20px;
}
.plan-badge.free { background: rgba(34,197,94,0.1); color: #22c55e; }
.plan-badge.premium { background: rgba(124,58,237,0.15); color: #a78bfa; }
.plan-badge.pro { background: rgba(234,179,8,0.1); color: #eab308; }
.plan-price { font-size: 52px; font-weight: 900; color: #fff; letter-spacing: -3px; line-height: 1; }
.plan-period { font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 28px; margin-top: 4px; }
.plan-features { list-style: none; space-y: 8px; margin-bottom: 32px; }
.plan-features li { font-size: 14px; color: rgba(255,255,255,0.6); padding: 6px 0; display: flex; gap: 10px; }
.plan-features li.dim { color: rgba(255,255,255,0.25); }
.plan-btn {
  display: block; text-align: center; font-weight: 700; font-size: 14px;
  padding: 14px; border-radius: 12px; transition: all 0.2s;
}
.plan-btn-primary {
  background: linear-gradient(135deg, #7c3aed, #3b82f6); color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.plan-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,0.5); }
.plan-btn-outline {
  border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.04);
}
.plan-btn-outline:hover { border-color: rgba(255,255,255,0.3); color: #fff; background: rgba(255,255,255,0.08); }

/* ===== DOWNLOAD ===== */
.download { background: linear-gradient(180deg, #07070f 0%, #030307 100%); }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.download-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; padding: 36px; display: flex; flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.download-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-4px); }
.download-card-center { border-color: rgba(59,130,246,0.3); background: rgba(59,130,246,0.05); }
.download-icon { font-size: 40px; margin-bottom: 20px; }
.download-card h3 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.download-card p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; flex: 1; margin-bottom: 24px; }
.download-meta { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.download-meta span {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 6px;
}
.btn-download {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; border-radius: 14px; font-weight: 600;
  transition: all 0.2s;
}
.dl-icon { font-size: 20px; }
.dl-sub { font-size: 11px; opacity: 0.7; }
.dl-main { font-size: 15px; font-weight: 700; }
.btn-windows {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}
.btn-windows:hover { background: rgba(255,255,255,0.1); }
.btn-web {
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(99,102,241,0.2));
  border: 1px solid rgba(59,130,246,0.3); color: #93c5fd;
}
.btn-web:hover { background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(99,102,241,0.3)); }
.btn-android {
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.25);
  color: #86efac;
}
.btn-android:hover { background: rgba(34,197,94,0.15); }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 60px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.25); }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-mockup { justify-content: center; }
  .mockup-window { width: 100%; max-width: 520px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-large { grid-column: span 1; }
  .models-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .pricing-grid, .download-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 44px; }
  section { padding: 64px 0; }
  .footer-top { flex-direction: column; }
}
