/* =========================================================
   ZASEDO UI
   Night / Moon / Secure Network
   ========================================================= */

:root {
  /* Backgrounds */
  --bg:            #060b14;
  --bg-soft:       #0a1220;
  --surface:       #0d1726;
  --surface-hover: #122039;
  --surface-glass: rgba(13, 23, 38, 0.72);

  /* Borders */
  --border:        #1d2b3d;
  --border-light:  #2a3c54;

  /* Brand */
  --primary:       #2997ff;
  --primary-hover: #53adff;
  --primary-soft:  rgba(41, 151, 255, 0.12);
  --primary-glow:  rgba(41, 151, 255, 0.28);

  /* Moon */
  --moon:          #fff6d5;
  --moon-soft:     #dbe8ff;

  /* Text */
  --text:          #f4f7fb;
  --text-soft:     #aab8ca;
  --text-muted:    #6f8198;

  /* Status */
  --success:       #46d69a;
  --warning:       #f0bd5b;
  --danger:        #ff647c;

  /* Geometry */
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     22px;

  /* Effects */
  --shadow:
    0 18px 50px rgba(0, 0, 0, 0.35);

  --glow:
    0 0 30px rgba(41, 151, 255, 0.18);
}


/* ---------------------------------------------------------
   Base
   --------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--text);

  background:
    radial-gradient(
      circle at 75% 5%,
      rgba(41, 151, 255, 0.10),
      transparent 32%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(31, 79, 140, 0.10),
      transparent 30%
    ),
    var(--bg);

  line-height: 1.55;
}


/* ---------------------------------------------------------
   Typography
   --------------------------------------------------------- */

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

p {
  color: var(--text-soft);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover);
}


/* ---------------------------------------------------------
   Layout
   --------------------------------------------------------- */

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}


/* ---------------------------------------------------------
   Navigation
   --------------------------------------------------------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 72px;
  padding: 0 28px;

  background: rgba(6, 11, 20, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(18px);
}

.logo {
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.logo span {
  color: var(--primary);
}


/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.hero {
  min-height: calc(100vh - 72px);

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;

  gap: 60px;
}

.hero h1 strong {
  color: var(--primary);
}

.hero-image {
  position: relative;
}

.hero-image img {
  display: block;
  width: 100%;
  border-radius: 50%;

  filter:
    drop-shadow(0 0 45px rgba(41, 151, 255, 0.15));
}


/* ---------------------------------------------------------
   Cards
   --------------------------------------------------------- */

.card {
  padding: 26px;

  background:
    linear-gradient(
      145deg,
      rgba(18, 32, 57, 0.78),
      rgba(10, 18, 32, 0.9)
    );

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow);

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-3px);

  border-color: rgba(41, 151, 255, 0.45);

  box-shadow:
    var(--shadow),
    var(--glow);
}


/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 0 22px;

  border: 0;
  border-radius: var(--radius);

  font: inherit;
  font-weight: 650;

  cursor: pointer;

  transition:
    transform 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.btn-primary {
  color: #fff;

  background:
    linear-gradient(
      135deg,
      #1689f4,
      #3aa5ff
    );

  box-shadow:
    0 8px 30px rgba(41, 151, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);

  box-shadow:
    0 10px 38px rgba(41, 151, 255, 0.38);
}

.btn-secondary {
  color: var(--text);

  background: var(--surface);

  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-hover);
}


/* ---------------------------------------------------------
   Inputs
   --------------------------------------------------------- */

.input {
  width: 100%;
  min-height: 48px;

  padding: 0 15px;

  color: var(--text);

  background: #080f1b;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  outline: none;

  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.input::placeholder {
  color: var(--text-muted);
}

.input:focus {
  border-color: var(--primary);

  box-shadow:
    0 0 0 3px var(--primary-soft);
}


/* ---------------------------------------------------------
   Status
   --------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;

  padding: 5px 10px;

  border-radius: 999px;

  font-size: 0.8rem;
  font-weight: 650;
}

.badge-success {
  color: var(--success);
  background: rgba(70, 214, 154, 0.10);
}

.badge-warning {
  color: var(--warning);
  background: rgba(240, 189, 91, 0.10);
}

.badge-danger {
  color: var(--danger);
  background: rgba(255, 100, 124, 0.10);
}


/* ---------------------------------------------------------
   Server / VPN node
   --------------------------------------------------------- */

.server {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 16px 18px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.server-status {
  width: 9px;
  height: 9px;

  flex: 0 0 auto;

  background: var(--success);
  border-radius: 50%;

  box-shadow:
    0 0 12px rgba(70, 214, 154, 0.6);
}

.server-name {
  font-weight: 650;
}

.server-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
}


/* ---------------------------------------------------------
   Moon decorative element
   --------------------------------------------------------- */

.moon {
  width: 420px;
  aspect-ratio: 1;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 35% 30%,
      #fffef2,
      #fff2c2 45%,
      #cbd9ef 100%
    );

  box-shadow:
    0 0 60px rgba(223, 235, 255, 0.18),
    0 0 140px rgba(41, 151, 255, 0.10);
}


/* ---------------------------------------------------------
   Glass panel
   --------------------------------------------------------- */

.glass {
  background: var(--surface-glass);

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);

  backdrop-filter: blur(20px);

  box-shadow: var(--shadow);
}


/* ---------------------------------------------------------
   Selection
   --------------------------------------------------------- */

::selection {
  color: white;
  background: rgba(41, 151, 255, 0.55);
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 800px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 55px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;

    min-height: auto;
    padding: 60px 0;
  }

  .hero-image {
    max-width: 520px;
    margin-inline: auto;
  }

  .moon {
    width: min(85vw, 420px);
  }
}