*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #06080f;
  --surface: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.92);
  --text-sub: rgba(255,255,255,0.5);
  --text-dim: rgba(255,255,255,0.3);
  --accent: #2563eb;
  --accent-light: #60a5fa;
  --green: #4ade80;
  --yellow: #facc15;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Blobs ── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.blob-1 { width: 500px; height: 500px; top: -150px; left: 50%; transform: translateX(-50%); background: rgba(37,99,235,0.14); }
.blob-2 { width: 400px; height: 400px; bottom: -100px; right: -100px; background: rgba(29,78,216,0.18); }
.blob-3 { width: 300px; height: 300px; top: 40%; left: -100px; background: rgba(37,99,235,0.09); }
.blob-4 { width: 600px; height: 600px; top: -200px; left: 50%; transform: translateX(-50%); background: rgba(37,99,235,0.12); }

/* ── Buttons ── */
.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 40px rgba(37,99,235,0.4), 0 8px 24px rgba(37,99,235,0.25);
}
.btn-hero:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 0 60px rgba(37,99,235,0.5), 0 12px 32px rgba(37,99,235,0.3); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-sub);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--accent-light); }

.btn-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #229ED9;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-tg:hover { background: #1a8ab5; transform: translateY(-1px); }

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,8,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 28px; height: 28px; object-fit: contain; mix-blend-mode: screen; filter: drop-shadow(0 0 6px rgba(37,99,235,0.7)); }
.logo-text { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  color: var(--text-sub); font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.3);
  color: var(--accent-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.badge a { color: inherit; font-weight: 600; }
.badge a:hover { text-decoration: underline; }
.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 460px;
}
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 12px; color: var(--text-dim); }

/* ── App window ── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-window {
  width: 280px;
  background: rgba(10,12,24,0.95);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 32px 80px rgba(0,0,0,0.65),
    0 0 60px rgba(37,99,235,0.12);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 1;
  animation: float-app 4s ease-in-out infinite;
}

@keyframes float-app {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* Title bar */
.aw-titlebar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px 9px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.88);
}
.aw-logo { width: 16px; height: 16px; object-fit: contain; mix-blend-mode: screen; filter: drop-shadow(0 0 5px rgba(37,99,235,0.7)); }
.aw-controls { margin-left: auto; display: flex; gap: 5px; }
.aw-controls span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.12); }

/* Status */
.aw-status {
  text-align: center; font-size: 17px; font-weight: 700;
  padding: 16px 0 0;
}
.aw-status.connected { color: #4ade80; }
.aw-timer {
  text-align: center; font-size: 11px; font-family: monospace;
  color: rgba(255,255,255,0.28); padding: 3px 0 10px;
}

/* Power button */
.aw-btn {
  width: 76px; height: 76px; border-radius: 50%;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #16a34a, #15803d);
  box-shadow: 0 0 36px rgba(22,163,74,0.45), 0 0 80px rgba(22,163,74,0.15);
}

/* Server list */
.aw-servers { padding: 0 12px; display: flex; flex-direction: column; gap: 6px; }
.aw-server {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 8px 10px;
}
.aw-server.active { background: rgba(37,99,235,0.12); border-color: rgba(37,99,235,0.35); }
.flag { font-size: 18px; flex-shrink: 0; }
.aw-flag {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.srv-name { font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.85); }
.srv-proto { font-size: 9px; color: rgba(255,255,255,0.3); }
.srv-ping { font-size: 10px; font-family: monospace; margin-left: auto; flex-shrink: 0; }
.srv-ping.green  { color: #4ade80; }
.srv-ping.yellow { color: #facc15; }

/* Bottom nav */
.aw-navbar {
  display: flex; justify-content: center; gap: 32px;
  padding: 12px 0 14px;
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.aw-tab { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.3); cursor: default; }
.aw-tab.active { color: #60a5fa; }

/* Glow behind the window */
.aw-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 65%);
  pointer-events: none;
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%,-50%) scale(1.08); }
}

/* ── Features ── */
.features {
  padding: 96px 0;
  position: relative;
}
.section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 56px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(37,99,235,0.35); transform: translateY(-3px); }
.feature-card.card-accent {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.25);
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(37,99,235,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-sub); line-height: 1.65; }
.feature-card p a { color: var(--accent-light); }
.feature-card p a:hover { text-decoration: underline; }

/* ── Bot section ── */
.bot-section { padding: 0 0 80px; }
.bot-card {
  position: relative;
  overflow: hidden;
  background: rgba(34,158,217,0.1);
  border: 1px solid rgba(34,158,217,0.25);
  border-radius: 24px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.bot-blob {
  position: absolute;
  width: 300px; height: 300px;
  top: -100px; right: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,158,217,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.bot-content { display: flex; align-items: flex-start; gap: 20px; flex: 1; }
.tg-icon {
  width: 56px; height: 56px;
  background: #229ED9;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bot-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.bot-content p { font-size: 14px; color: var(--text-sub); line-height: 1.6; }
.bot-content strong { color: #229ED9; }

/* ── Download section ── */
.download-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  text-align: center;
}
.download-inner { position: relative; z-index: 1; }
.dl-logo {
  width: 72px; height: 72px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 20px rgba(37,99,235,0.8));
  margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
}
.download-section h2 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.download-section p {
  font-size: 18px;
  color: var(--text-sub);
  margin-bottom: 36px;
}
.dl-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
}
.dl-links a {
  display: flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 500;
  color: var(--text-sub);
  transition: color 0.2s;
}
.dl-links a:hover { color: var(--accent-light); }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.footer-logo img { width: 22px; height: 22px; object-fit: contain; mix-blend-mode: screen; }
.footer-copy { font-size: 13px; color: var(--text-dim); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-sub); }

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: #0d1225;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  max-width: 480px;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.25s;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--text-sub);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.modal-close:hover { background: rgba(255,255,255,0.1); }
.platforms { display: flex; flex-direction: column; gap: 10px; }
.platform {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 14px 18px;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.platform.available {
  cursor: pointer;
  border-color: rgba(37,99,235,0.3);
  background: rgba(37,99,235,0.08);
}
.platform.available:hover { border-color: rgba(37,99,235,0.6); background: rgba(37,99,235,0.14); transform: translateX(4px); }
.platform.soon { opacity: 0.6; cursor: default; }
.platform-icon {
  width: 44px; height: 44px;
  background: rgba(37,99,235,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
  flex-shrink: 0;
}
.platform-icon.dim { background: rgba(255,255,255,0.07); color: var(--text-dim); }
.platform-info { flex: 1; }
.platform-name { display: block; font-size: 15px; font-weight: 600; }
.platform-sub { display: block; font-size: 12px; color: var(--text-sub); margin-top: 2px; }
.platform-badge {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.dl-badge {
  display: flex; align-items: center; gap: 5px;
  background: var(--accent);
  color: white;
}
.soon-badge { background: rgba(255,255,255,0.08); color: var(--text-dim); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .laptop-3d { transform: rotateX(8deg) rotateY(-15deg) scale(0.85); }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 1; }
  .hero-visual { order: 0; }
  .badge, .hero-actions, .hero-note { justify-content: center; }
  .hero-sub { margin: 0 auto 32px; }
  .laptop-3d { transform: rotateX(8deg) rotateY(-15deg) scale(0.65); transform-origin: center top; }
  .features-grid { grid-template-columns: 1fr; }
  .bot-card { flex-direction: column; text-align: center; }
  .bot-content { flex-direction: column; align-items: center; text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .nav .btn-primary { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .nav-link span { display: none; }
}
