
:root {
  --blue: #1798ea;
  --blue-dark: #0b67c2;
  --blue-deep: #084b8f;
  --text: #182331;
  --muted: #617083;
  --white: #ffffff;
  --line: rgba(16, 105, 194, 0.10);
  --shadow: 0 18px 45px rgba(7, 54, 105, 0.12);
  --radius: 24px;
  --bg-main:
    radial-gradient(circle at top left, rgba(23, 152, 234, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(11, 103, 194, 0.10), transparent 22%),
    linear-gradient(180deg, #f4f8fc 0%, #ffffff 55%, #eef6fc 100%);
  --card-bg: #ffffff;
  --card-soft: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  --topbar-bg: rgba(255, 255, 255, 0.85);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

section[id] { scroll-margin-top: 100px; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg-main);
  line-height: 1.6;
  transition: background 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

body.dark {
  --text: #edf4ff;
  --muted: #aab8cb;
  --line: rgba(160, 196, 255, 0.10);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  --bg-main:
    radial-gradient(circle at top left, rgba(23, 152, 234, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(11, 103, 194, 0.14), transparent 20%),
    linear-gradient(180deg, #07111c 0%, #0b1624 55%, #08111d 100%);
  --card-bg: #101b29;
  --card-soft: linear-gradient(180deg, #122033 0%, #0f1a2a 100%);
  --topbar-bg: rgba(10, 18, 29, 0.82);
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.theme-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1200;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.theme-toggle-track {
  width: 58px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.theme-toggle-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateX(0);
  transition: transform 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

body:not(.dark) .theme-toggle-track {
  border-color: rgba(11, 103, 194, 0.28);
  background: rgba(255, 255, 255, 0.9);
}

body.dark .theme-toggle-track {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
}

body.dark .theme-toggle-thumb {
  transform: translateX(26px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--topbar-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-right: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 1.1rem;
  min-width: 0;
}

.brand span { white-space: nowrap; }

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(8, 75, 143, 0.08);
  flex-shrink: 0;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
  flex-wrap: wrap;
}

.menu a:hover { color: var(--blue-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
  border: 0;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow: 0 14px 28px rgba(23, 152, 234, 0.22);
}

.btn-secondary {
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(11, 103, 194, 0.16);
}

body.dark .btn-secondary {
  background: rgba(18, 31, 49, 0.95);
  color: #d8ebff;
  border-color: rgba(160, 196, 255, 0.16);
}

.btn-light {
  color: var(--blue-deep);
  background: var(--white);
}

.hero { padding: 64px 0 42px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 34px;
  align-items: center;
}

.hero-content, .hero-visual { min-width: 0; }

.badge, .section-kicker, .light-kicker, .chip {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.badge, .section-kicker, .chip {
  background: rgba(23, 152, 234, 0.10);
  color: var(--blue-dark);
}

.light-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #dff1ff;
}

body.dark .badge,
body.dark .section-kicker,
body.dark .chip {
  background: rgba(23, 152, 234, 0.16);
  color: #8ccfff;
}

body.dark .light-kicker,
.section-kicker.light-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #dff1ff;
}

h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.3rem, 7vw, 5rem);
  line-height: 1;
  font-weight: 900;
  overflow-wrap: break-word;
  word-break: break-word;
}

h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.75rem, 5vw, 3.2rem);
  line-height: 1.06;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.hero-text,
.section-heading p,
.feature-card p,
.offer-card p,
.contact-card p,
.info-item p,
.cta-box p {
  color: var(--muted);
}

.hero-text {
  max-width: 640px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 16px;
}

.stat {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.6rem;
  color: var(--blue-dark);
}

body.dark .stat strong { color: #8ccfff; }

.hero-visual { position: relative; }

.logo-card {
  background: var(--card-soft);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 28px;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-card img {
  width: min(100%, 520px);
  max-height: 300px;
  object-fit: contain;
}

.info-panel {
  margin-top: -34px;
  margin-left: auto;
  width: min(92%, 430px);
  display: grid;
  gap: 14px;
}

.info-item,
.feature-card,
.offer-card,
.contact-card,
.check-list,
.note-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.section { padding: 46px 0; }

.alt-section {
  background: linear-gradient(180deg, rgba(23, 152, 234, 0.05) 0%, rgba(255,255,255,0.7) 100%);
  border-top: 1px solid rgba(16, 105, 194, 0.06);
  border-bottom: 1px solid rgba(16, 105, 194, 0.06);
}

body.dark .alt-section {
  background: linear-gradient(180deg, rgba(23, 152, 234, 0.06) 0%, rgba(11, 20, 34, 0.9) 100%);
  border-top-color: rgba(160, 196, 255, 0.06);
  border-bottom-color: rgba(160, 196, 255, 0.06);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.feature-grid,
.offer-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 18px;
}

.cta-box {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white);
  border-radius: 32px;
  box-shadow: 0 22px 46px rgba(8, 75, 143, 0.26);
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
}

.footer { padding: 26px 0 46px; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.chip { font-size: 0.86rem; }

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

.check-list {
  margin: 0;
  padding: 26px;
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}

.check-list li strong { color: var(--text); }

.note-card .btn { margin-top: 8px; }

.contact-note {
  margin-bottom: 0;
  font-size: 0.94rem;
}

@media (max-width: 1180px) {
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .hero-grid, .cta-box, .detail-grid { grid-template-columns: 1fr; }
  .info-panel {
    width: 100%;
    margin-top: 18px;
  }
  .menu, .nav-cta { display: none; }
  .nav { padding-right: 86px; }
  .hero { padding-top: 42px; }
}

@media (max-width: 640px) {
  section[id] { scroll-margin-top: 84px; }
  .container { width: calc(100% - 20px); }
  .theme-toggle {
    top: 14px;
    right: 14px;
  }
  .theme-toggle-track {
    width: 52px;
    height: 30px;
  }
  .theme-toggle-thumb {
    width: 20px;
    height: 20px;
  }
  body.dark .theme-toggle-thumb { transform: translateX(22px); }
  .nav {
    min-height: 72px;
    padding-right: 66px;
    gap: 10px;
  }
  .brand {
    gap: 10px;
    font-size: 1rem;
  }
  .brand img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    padding: 5px;
  }
  .hero {
    padding: 28px 0 28px;
  }
  .badge, .section-kicker, .light-kicker, .chip {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
  h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    margin: 14px 0 14px;
  }
  h2 { font-size: clamp(1.55rem, 7vw, 2.2rem); }
  h3 { font-size: 1.1rem; }
  .hero-text { font-size: 1rem; }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
  }
  .hero-actions .btn,
  .cta-box .btn {
    width: 100%;
  }
  .stats,
  .feature-grid,
  .offer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .stat,
  .info-item,
  .feature-card,
  .offer-card,
  .contact-card,
  .check-list,
  .note-card {
    padding: 20px;
  }
  .chip-row {
    gap: 8px;
    margin-bottom: 18px;
  }
  .logo-card {
    min-height: 220px;
    padding: 18px;
    border-radius: 24px;
  }
  .logo-card img { max-height: 160px; }
  .info-panel { gap: 12px; }
  .section { padding: 34px 0; }
  .section-heading { margin-bottom: 18px; }
  .cta-box {
    padding: 22px;
    border-radius: 24px;
    gap: 16px;
  }
  .footer {
    padding: 18px 0 28px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
    padding-top: 18px;
  }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 16px); }
  .brand span { font-size: 0.94rem; }
  .nav { padding-right: 62px; }
  .logo-card { min-height: 190px; }
  .logo-card img { max-height: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover { transform: none; }
}
