:root {
  color-scheme: dark;
  --bg: #05101f;
  --bg-2: #071a33;
  --panel: rgba(8, 28, 54, 0.82);
  --panel-solid: #0b213f;
  --line: rgba(91, 184, 255, 0.28);
  --text: #eef7ff;
  --muted: #a9c0d5;
  --blue: #1677ff;
  --cyan: #37d5ff;
  --green: #35f0b0;
  --danger: #ff5f78;
  --shadow: 0 24px 70px rgba(0, 9, 28, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top right, rgba(22, 119, 255, 0.16), transparent 34%), var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 58, 114, 0.14);
  box-shadow: 0 10px 34px rgba(0, 13, 34, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 132px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(2, 20, 48, 0.14));
}

.brand strong,
.footer span:first-child {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  color: #06214a;
}

.brand small {
  display: block;
  color: #42607d;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #17395f;
  font-size: 14px;
}

.nav-links a {
  color: #17395f;
  font-weight: 700;
}

.admin-toggle,
.secondary-action,
.primary-action,
.map-link,
.icon-button,
.reset-button,
.admin-tabs button,
.item-actions button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
}

.admin-toggle,
.secondary-action,
.icon-button,
.admin-tabs button,
.item-actions button,
.reset-button {
  background: rgba(12, 42, 78, 0.74);
}

.site-header .admin-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: linear-gradient(135deg, #1677ff, #37d5ff);
  border-color: rgba(22, 119, 255, 0.3);
  color: #03101f;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.22);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  align-items: center;
  padding: 120px clamp(20px, 6vw, 76px) 72px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 13, 29, 0.95) 0%, rgba(4, 16, 34, 0.82) 38%, rgba(4, 16, 34, 0.36) 72%),
    linear-gradient(180deg, rgba(5, 16, 31, 0.02), var(--bg));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

h3 {
  font-size: 22px;
  line-height: 1.18;
}

.hero-content > p:not(.eyebrow),
.intro-section > p,
.contact-copy,
.signal-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions,
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action,
.secondary-action,
.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 800;
}

.primary-action {
  border-color: rgba(55, 213, 255, 0.7);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #03101f;
  box-shadow: 0 0 32px rgba(55, 213, 255, 0.34);
}

.hero-metrics span {
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 22, 44, 0.72);
  color: var(--muted);
}

.hero-metrics strong {
  display: block;
  color: var(--green);
}

.section {
  padding: 82px clamp(20px, 6vw, 76px);
}

.section-heading,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 42px;
  align-items: start;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
  gap: 42px;
  align-items: start;
}

.profile-feature {
  display: grid;
  gap: 18px;
}

.profile-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-heading {
  align-items: end;
  margin-bottom: 32px;
}

.scan-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px rgba(55, 213, 255, 0.5);
}

.grid {
  display: grid;
  gap: 18px;
}

.cards-grid,
.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.package-card,
.contact-panel,
.signal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(13, 45, 85, 0.86), rgba(7, 25, 50, 0.82));
  box-shadow: var(--shadow);
}

.card,
.package-card {
  min-height: 190px;
  overflow: hidden;
}

.card {
  display: flex;
  flex-direction: column;
}

.card-body {
  padding: 22px 24px 24px;
}

.feature-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.4), rgba(55, 213, 255, 0.12)),
    radial-gradient(circle at 30% 20%, rgba(53, 240, 176, 0.24), transparent 34%),
    #071a33;
}

.feature-image.placeholder {
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  background: rgba(55, 213, 255, 0.12);
  color: var(--cyan);
}

.card p,
.package-card p,
.contact-panel span {
  color: var(--muted);
  line-height: 1.65;
}

.dark-band {
  background: linear-gradient(180deg, rgba(3, 12, 26, 0.2), rgba(8, 28, 54, 0.7));
  border-block: 1px solid rgba(91, 184, 255, 0.14);
}

.internet-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
}

.signal-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 28px;
}

.orbital {
  position: relative;
  height: 220px;
  margin-bottom: 20px;
}

.orbital::before {
  position: absolute;
  inset: 78px 38%;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 54px var(--cyan);
}

.orbital span {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(55, 213, 255, 0.34);
  border-radius: 50%;
  transform: rotate(var(--tilt, 0deg)) scaleX(1.35);
}

.orbital span:nth-child(2) {
  --tilt: 55deg;
}

.orbital span:nth-child(3) {
  --tilt: -55deg;
}

.package-list {
  display: grid;
  gap: 16px;
}

.package-card {
  display: grid;
  min-height: 120px;
  grid-template-columns: 150px 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 18px;
}

.price {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(53, 240, 176, 0.12);
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

.contact-panel {
  padding: 28px;
}

.contact-panel p {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.map-link {
  width: 100%;
}

.footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 76px);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(15, 58, 114, 0.14);
  color: #17395f;
  box-shadow: 0 -10px 34px rgba(0, 13, 34, 0.12);
  font-weight: 700;
}

.footer-logo {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(2, 20, 48, 0.14));
}

.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  justify-content: flex-end;
  background: rgba(1, 8, 18, 0.72);
  backdrop-filter: blur(12px);
}

.admin-panel.open {
  display: flex;
}

.admin-shell {
  width: min(560px, 100%);
  height: 100%;
  overflow: auto;
  padding: 24px;
  background: var(--panel-solid);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.admin-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.icon-button {
  width: 42px;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 22px 0;
}

.admin-tabs button {
  padding: 0 8px;
  color: var(--muted);
}

.admin-tabs .active {
  background: rgba(55, 213, 255, 0.15);
  color: var(--text);
  border-color: var(--cyan);
}

.admin-form {
  display: none;
}

.admin-form.active {
  display: block;
}

.admin-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #d8ebfb;
  font-weight: 700;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid rgba(91, 184, 255, 0.35);
  border-radius: 8px;
  background: rgba(2, 12, 26, 0.74);
  color: var(--text);
  padding: 11px 12px;
  resize: vertical;
}

.full {
  width: 100%;
}

.admin-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.admin-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 14, 30, 0.48);
}

.admin-thumb {
  width: 74px;
  height: 58px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(55, 213, 255, 0.1);
}

.admin-thumb.placeholder {
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
}

.admin-item p {
  margin: 4px 0 0;
  color: var(--muted);
}

.item-actions {
  display: flex;
  gap: 8px;
}

.item-actions button,
.item-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 42, 78, 0.74);
  color: var(--text);
  cursor: pointer;
}

.item-actions .delete {
  border-color: rgba(255, 95, 120, 0.5);
  color: #ffd2d9;
}

.reset-button {
  width: 100%;
  margin-top: 22px;
}

.admin-page {
  min-height: 100vh;
}

.admin-page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.admin-page-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.admin-page-head h1 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 58px);
}

.admin-page-head p:not(.section-kicker) {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.admin-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-message,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(13, 45, 85, 0.92), rgba(7, 25, 50, 0.88));
  box-shadow: var(--shadow);
}

.admin-message {
  margin-bottom: 18px;
  padding: 14px 16px;
  color: var(--green);
  font-weight: 800;
}

.admin-card {
  padding: 24px;
}

.admin-login {
  width: min(440px, 100%);
}

.admin-login p {
  margin: 14px 0 0;
  color: var(--muted);
}

.admin-login code {
  color: var(--cyan);
}

.page-tabs {
  margin: 0 0 22px;
}

.page-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 42, 78, 0.74);
  color: var(--muted);
  font-weight: 800;
}

.page-tabs a.active {
  background: rgba(55, 213, 255, 0.15);
  color: var(--text);
  border-color: var(--cyan);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: start;
}

.admin-current-image {
  width: 100%;
  max-height: 230px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 14px;
}

.admin-item form {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    position: sticky;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .intro-section,
  .section-heading,
  .contact-section,
  .internet-layout,
  .admin-page-head,
  .admin-layout,
  .cards-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .admin-page-head {
    display: grid;
  }

  .scan-line {
    display: none;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 38px;
  }

  .section {
    padding-block: 58px;
  }

  .hero-actions a,
  .admin-toggle {
    width: 100%;
  }

  .package-card,
  .admin-item,
  .footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .price {
    white-space: normal;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-logo {
    width: 118px;
  }
}
