:root {
  --bg: #f3f7fb;
  --bg-strong: #edf3f9;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --surface-soft: #f7fbff;
  --line: #d9e4ef;
  --line-strong: #c4d3e3;
  --text: #1e2f3f;
  --muted: #698096;
  --brand: #2d9cf0;
  --brand-dark: #1979c7;
  --brand-soft: #e8f5ff;
  --shadow-lg: 0 24px 60px rgba(23, 74, 118, 0.12);
  --shadow-md: 0 16px 36px rgba(23, 74, 118, 0.1);
  --shadow-sm: 0 8px 18px rgba(23, 74, 118, 0.07);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

.theme-toggle {
  cursor: pointer;
}

body[data-theme="dark"] {
  --bg: #0f1620;
  --bg-strong: #121d29;
  --surface: rgba(17, 27, 40, 0.86);
  --surface-solid: #131f2d;
  --surface-soft: #18283a;
  --line: #2a3c52;
  --line-strong: #38516b;
  --text: #e7eef7;
  --muted: #99abc0;
  --brand: #44a8f6;
  --brand-dark: #2a86d1;
  --brand-soft: #14324a;
  --shadow-lg: 0 24px 60px rgba(2, 8, 16, 0.5);
  --shadow-md: 0 16px 36px rgba(2, 8, 16, 0.42);
  --shadow-sm: 0 8px 18px rgba(2, 8, 16, 0.32);
}

body[data-theme="dark"] {
  color-scheme: dark;
}

body[data-theme="dark"] {
  background: linear-gradient(180deg, #0f1824 0%, #0d1520 42%, #0a121c 100%);
}

body[data-theme="dark"] .site-header {
  border-bottom-color: rgba(50, 68, 90, 0.72);
  background: rgba(14, 22, 33, 0.84);
}

body[data-theme="dark"] .main-nav a,
body[data-theme="dark"] .footer-links a {
  color: #a9bfd4;
}

body[data-theme="dark"] .btn-ghost,
body[data-theme="dark"] .btn-soft {
  background: rgba(17, 27, 40, 0.9);
  border-color: var(--line);
  color: #d0e0ef;
}

body[data-theme="dark"] code {
  border-color: #2f4963;
  background: #13273a;
  color: #8ac7ff;
}

body[data-theme="dark"] .news-item {
  border-bottom-color: #243547;
}

body[data-theme="dark"] .news-item a {
  color: #8bc7ff;
}

body[data-theme="dark"] .step-card,
body[data-theme="dark"] .security-note {
  background: linear-gradient(180deg, #162433, #132130);
  border-color: #2a3f54;
}

body[data-theme="dark"] .benefit-card,
body[data-theme="dark"] .faq-item {
  background: linear-gradient(180deg, #152434, #11202e);
  border-color: #2b4055;
}

body[data-theme="dark"] .benefit-card h3,
body[data-theme="dark"] .faq-item summary,
body[data-theme="dark"] .section-title,
body[data-theme="dark"] .panel h2 {
  color: #eaf3fd;
}

body[data-theme="dark"] .benefit-card p,
body[data-theme="dark"] .faq-item p {
  color: #a8bbcf;
}

body[data-theme="dark"] .site-footer {
  border-top-color: rgba(50, 68, 90, 0.72);
  background: rgba(13, 22, 32, 0.9);
}
body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--text);
  background: linear-gradient(180deg, #f9fcff 0%, var(--bg) 42%, #eef4fa 100%);
  line-height: 1.55;
}

a {
  color: inherit;
}

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

code {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #d4e7f8;
  background: #eef8ff;
  color: #21689e;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.92em;
}

.page-bg {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  filter: blur(50px);
  opacity: 0.55;
}

.page-bg-a {
  top: 72px;
  left: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(45, 156, 240, 0.16), transparent 68%);
}

.page-bg-b {
  top: 340px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(134, 211, 255, 0.24), transparent 70%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(202, 219, 235, 0.7);
  background: rgba(248, 251, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.hero-main h1,
.section-title,
.panel h2,
.step-card strong,
.faq-item summary,
.footer-title {
  font-family: var(--font-display);
}

.brand-copy strong {
  font-size: 16px;
  line-height: 1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.main-nav,
.header-actions,
.footer-links,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.main-nav {
  justify-content: center;
}

.main-nav a,
.footer-links a {
  text-decoration: none;
  color: #4f6d87;
  font-weight: 600;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--brand-dark);
}

.btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(45, 156, 240, 0.2);
}

.btn-ghost,
.btn-soft {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
  color: #31516b;
}

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

.hero {
  padding: 56px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.hero-main,
.panel {
  background: var(--surface);
  border: 1px solid rgba(214, 226, 239, 0.86);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-main {
  border-radius: var(--radius-xl);
  padding: 52px 54px;
  text-align: center;
}

.hero-logo {
  width: 110px;
  height: 110px;
  margin: 0 auto 18px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(45, 156, 240, 0.22);
}

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

.hero-main h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1;
}

.hero-subtitle {
  margin: 14px auto 0;
  max-width: 620px;
  font-size: clamp(21px, 2.8vw, 32px);
  font-weight: 600;
  color: #5a7289;
}

.hero-text {
  margin: 22px auto 0;
  max-width: 690px;
  font-size: 18px;
  color: #426176;
}

.hero-actions {
  justify-content: center;
  margin-top: 30px;
}

.hero-news {
  display: flex;
}

.panel {
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.section-mini-title {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.panel-news {
  display: grid;
  align-content: start;
  gap: 12px;
}

.news-item {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7eef5;
}

.news-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.news-date {
  color: #89a0b4;
  font-size: 13px;
  font-weight: 700;
}

.news-item a {
  text-decoration: none;
  color: #2f6d9e;
  font-size: 15px;
  line-height: 1.45;
}

.news-item a:hover {
  color: var(--brand-dark);
}

.apps {
  padding: 12px 0 18px;
}

.apps-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 28px;
}

.app-tile {
  text-align: center;
}

.app-tile a {
  display: inline-block;
  margin-top: 14px;
  text-decoration: none;
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 24px;
}

.app-tile p {
  margin: 10px auto 0;
  max-width: 280px;
  color: var(--muted);
}

.app-visual {
  min-height: 260px;
  display: grid;
  place-items: end center;
}

.web-window {
  width: min(100%, 340px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  box-shadow: var(--shadow-lg);
}

.web-window-top {
  height: 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fbff, #eef4fa);
}

.web-window-main {
  min-height: 200px;
  display: grid;
  grid-template-columns: 100px 1fr;
}

.web-sidebar {
  background: linear-gradient(180deg, #203548, #24394e);
}

.web-chat {
  background: linear-gradient(180deg, #fafcff, #eff5fb);
}

.profile-card-demo {
  width: min(100%, 260px);
  padding: 26px 20px;
  border-radius: 26px;
  background: linear-gradient(180deg, #243748, #1d2f3f);
  box-shadow: var(--shadow-lg);
}

.profile-avatar-demo {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #57bcff, #2686d3);
  color: #ffffff;
  font-weight: 800;
  font-size: 30px;
}

.profile-line {
  height: 12px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.profile-line.long {
  width: 100%;
}

.profile-line.short {
  width: 58%;
}

.download-laptop {
  width: min(100%, 320px);
  display: grid;
  justify-items: center;
}

.download-screen {
  width: 100%;
  height: 188px;
  border-radius: 20px 20px 10px 10px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(45, 156, 240, 0.14), rgba(91, 191, 255, 0.08)),
    linear-gradient(180deg, #f7fbff, #edf3f9);
  box-shadow: var(--shadow-lg);
}

.download-base {
  width: 82%;
  height: 14px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c4d4e4, #aebfd1);
}

.benefits {
  padding: 22px 0 12px;
}

.section-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(30px, 4vw, 42px);
}

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

.benefit-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 226, 239, 0.82);
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  font-size: 32px;
}

.benefit-card h3 {
  margin: 14px 0 10px;
  font-size: 24px;
}

.benefit-card p,
.security-copy p,
.security-note p,
.step-card p,
.faq-item p,
.footer-text,
.footer-year {
  margin: 0;
  color: var(--muted);
}

.how-it-works {
  padding: 24px 0 12px;
}

.simple-panel {
  display: grid;
  gap: 24px;
}

.simple-panel h2,
.security-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
}

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

.step-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f8fbff, #f1f7fd);
  border: 1px solid #dbe8f4;
}

.step-card span {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #ffffff;
  font-weight: 800;
}

.step-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.security {
  padding: 24px 0 12px;
}

.security-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 22px;
}

.security-copy {
  display: grid;
  gap: 14px;
}

.security-side {
  display: grid;
  gap: 16px;
}

.security-note {
  padding: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f7fbff, #edf4fa);
  border: 1px solid #d7e5f2;
}

.security-note strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 20px;
}

.faq {
  padding: 24px 0 54px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 226, 239, 0.82);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 0 22px;
}

.site-footer {
  border-top: 1px solid rgba(211, 224, 236, 0.82);
  background: rgba(249, 252, 255, 0.94);
}

.footer-inner {
  min-height: 108px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
}

.footer-title {
  margin: 0;
  font-size: 22px;
}

.footer-text {
  margin-top: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.16s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 16px 0;
  }

  .hero,
  .security-panel {
    grid-template-columns: 1fr;
  }

  .hero-news {
    order: -1;
  }

  .apps-panel,
  .benefits-grid,
  .steps-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    align-items: start;
  }
}

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

  .site-header {
    position: static;
  }

  .header-inner,
  .main-nav,
  .header-actions,
  .hero-actions,
  .footer-links {
    justify-content: center;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-main,
  .panel,
  .benefit-card,
  .faq-item {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-main {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .apps-panel,
  .benefits-grid,
  .steps-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-text {
    font-size: 16px;
  }

  .app-tile a {
    font-size: 22px;
  }

  .faq-item summary {
    font-size: 18px;
  }
}
