* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #050816;
  --card: rgba(12, 18, 35, 0.85);
  --card-border: rgba(255,255,255,0.08);
  --text: #ffffff;
  --muted: #9aa4b2;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --gradient: linear-gradient(135deg, #22d3ee 0%, #3b82f6 50%, #6366f1 100%);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(34,211,238,0.18), transparent 40%),
    radial-gradient(circle at bottom right, rgba(59,130,246,0.15), transparent 35%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.25;
  z-index: -1;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1400px, calc(100% - 48px));
  margin: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(5, 8, 22, 0.7);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 0 35px rgba(59,130,246,0.45);
}

.logo h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav a {
  color: #d1d5db;
  transition: 0.25s;
  font-size: 15px;
}

nav a:hover {
  color: var(--cyan);
}

.hero {
  padding: 120px 0 90px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(34,211,238,0.25);
  background: rgba(34,211,238,0.08);
  color: var(--cyan);
  margin-bottom: 28px;
  font-size: 14px;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 1; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.hero h2 {
  font-size: clamp(52px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -3px;
  font-weight: 900;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  margin-top: 34px;
  font-size: 18px;
  color: #c0c7d2;
  line-height: 1.9;
  max-width: 760px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn {
  padding: 18px 34px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 16px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 0 35px rgba(59,130,246,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 55px rgba(59,130,246,0.55);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: white;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.stat-number {
  font-size: 38px;
  font-weight: 800;
  color: var(--cyan);
}

.stat-text {
  color: var(--muted);
  margin-top: 8px;
}

.mockup {
  position: relative;
}

.glow {
  position: absolute;
  inset: 0;
  background: rgba(34,211,238,0.15);
  filter: blur(120px);
  z-index: 0;
}

.window {
  position: relative;
  z-index: 1;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(7, 12, 24, 0.92);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.25);
}

.dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red    { background: #fb7185; }
.dot.yellow { background: #facc15; }
.dot.green  { background: #4ade80; }

.window-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 620px;
}

.sidebar {
  border-right: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  padding: 24px;
}

.sidebar-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.connection-btn {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--gradient);
  border: none;
  color: white;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 22px;
}

.server-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  margin-bottom: 16px;
  transition: 0.3s;
}

.server-card:hover {
  border-color: rgba(34,211,238,0.4);
  transform: translateY(-2px);
}

.server-name { font-weight: 700; margin-bottom: 4px; }
.server-ip   { color: var(--muted); font-size: 13px; }

.online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4ade80;
  margin-top: 10px;
  font-size: 13px;
}

.online::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
}

.terminal {
  background: black;
  padding: 26px;
  font-family: Consolas, monospace;
  font-size: 14px;
  overflow: hidden;
  position: relative;
}

.terminal-line   { color: #22d3ee; margin-bottom: 12px; }
.terminal-output { color: #d1d5db; line-height: 1.9; margin-top: 18px; }

.assistant-card {
  position: absolute;
  right: 28px;
  bottom: 30px;
  width: 320px;
  border-radius: 24px;
  background: rgba(8,15,30,0.96);
  border: 1px solid rgba(34,211,238,0.18);
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  backdrop-filter: blur(16px);
}

.assistant-title {
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 12px;
}

.assistant-card p {
  color: #c5cfdb;
  font-size: 14px;
  line-height: 1.8;
}

.code-box {
  margin-top: 16px;
  border-radius: 14px;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px;
  color: var(--cyan);
  font-size: 13px;
  overflow-x: auto;
}

section {
  padding: 110px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 70px;
}

.section-heading h3 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -2px;
  margin-top: 24px;
}

.section-heading p {
  max-width: 850px;
  margin: 24px auto 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 18px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  padding: 34px;
  transition: 0.35s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34,211,238,0.3);
  background: rgba(34,211,238,0.05);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
}

.feature-card h4 {
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: 800;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.9;
}

.screenshots {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
}

.settings-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screenshot-large,
.screenshot-small {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
}

.shot-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 600;
  color: #d1d5db;
}

.shot-content {
  padding: 16px;
  background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

.shot-content img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.screenshot-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.download-section {
  border-radius: 40px;
  border: 1px solid rgba(34,211,238,0.15);
  background: linear-gradient(135deg, rgba(34,211,238,0.08) 0%, rgba(59,130,246,0.08) 100%);
  padding: 70px;
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(34,211,238,0.12);
  filter: blur(120px);
  top: -250px;
  right: -200px;
}

.download-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.download-content h3 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -2px;
  font-weight: 900;
  margin-top: 16px;
}

.download-content p {
  margin: 28px auto 0;
  max-width: 900px;
  color: #c6cfdb;
  font-size: 18px;
  line-height: 1.9;
}

.downloads-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.download-card {
  border-radius: 28px;
  background: rgba(5,10,20,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 34px;
  text-align: left;
  transition: 0.35s;
  backdrop-filter: blur(12px);
}

.download-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34,211,238,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.download-icon {
  font-size: 52px;
  margin-bottom: 24px;
}

.download-card h4 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 800;
}

.download-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.8;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 16px;
  background: var(--gradient);
  color: white;
  font-weight: 700;
  transition: 0.3s;
}

.download-link:hover {
  transform: translateY(-2px);
}

footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 42px 0;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-left h5 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-left p { color: var(--muted); }

.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #c0c7d2;
  transition: 0.25s;
}

.footer-links a:hover { color: var(--cyan); }

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 1200px) {
  .hero,
  .screenshots {
    grid-template-columns: 1fr;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

@media (max-width: 900px) {
  nav { display: none; }

  .hero { padding-top: 90px; }

  .assistant-card {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
    margin-top: 40px;
  }

  .download-section { padding: 42px 28px; }

  section { padding: 80px 0; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }

  .hero-buttons,
  .stats {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .download-link {
    width: 100%;
    justify-content: center;
  }
}
