:root {
  --bg: #08131d;
  --bg-soft: rgba(7, 18, 28, 0.82);
  --panel: rgba(9, 26, 41, 0.78);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f8fb;
  --muted: #d1dae2;
  --accent: #16a8e6;
  --accent-dark: #0a8fc6;
  --accent-2: #ff9c2a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 20px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}


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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 12, 20, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 180px;
  max-width: 100%;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.nav a.cta {
  background: linear-gradient(120deg, #5e5e5d, var(--accent));
  border-color: transparent;
}

.hero,
.section {
  position: relative;
}

.hero::before,
.section::before,
.legal-page::before {
  content: "";
  position: absolute;
  inset: 0;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: url("images/home.jpg") center center / cover no-repeat;
}

.hero::before {
  background: linear-gradient(rgba(5, 15, 24, 0.45), rgba(5, 15, 24, 0.78));
}

.hero .container,
.section .container,
.legal-page .container {
  position: relative;
  z-index: 1;
}

.hero-card,
.section-card,
.legal-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 40px;
  text-align: center;
}

.hero-logo {
  width: min(320px, 72%);
  margin: 0 auto 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #9ad8f4;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.quick-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow);
}

.quick-link:hover {
  text-decoration: none;
  background: rgba(21, 169, 232, 0.14);
}

.section {
  padding: 90px 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section::before {
  background: rgba(7, 18, 28, 0.58);
}

.section-security {
  background-image: url("images/security.jpg");
}

.section-affiliate {
  background-image: linear-gradient(rgba(7, 18, 28, 0.35), rgba(7, 18, 28, 0.72)), url("images/affiliate_banner.jpg");
}

.section-software {
  background-image: url("images/software.jpg");
}

.section-contact {
  background-image: url("images/home.jpg");
}

.section-card {
  padding: 32px;
}

.banner {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.columns-visual {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
}

.box,
.contact-card,
.sub-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.box,
.contact-card {
  padding: 22px;
}

.sub-panel {
  margin-top: 24px;
  padding: 24px;
}

.box ul,
.box ol {
  margin: 0;
  padding-left: 20px;
}

.section-tagline {
  color: #9ad8f4;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #06111a;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  color: var(--muted);
}

.sep {
  margin: 0 8px;
  color: var(--muted);
}

.legal-page {
  position: relative;
  min-height: 100vh;
  padding: 56px 0;
  background: url("images/home.jpg") center center / cover fixed no-repeat;
}

.legal-page::before {
  background: linear-gradient(rgba(5, 15, 24, 0.65), rgba(5, 15, 24, 0.82));
}

.legal-card {
  padding: 36px;
  background: rgba(8, 18, 30, 0.9);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card strong {
  color: var(--text);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 10px 14px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.notice {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--accent-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: center;
  }

  .nav {
    justify-content: center;
  }

  .quick-grid,
  .columns,
  .columns-visual,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .section-card,
  .legal-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .hero {
    min-height: auto;
    padding: 48px 0;
  }

  .brand img {
    width: 150px;
  }

  .nav a {
    width: 100%;
  }

  .hero-logo {
    width: min(260px, 86%);
  }

  .footer-inner {
    text-align: center;
  }
}
