:root {
  --bg: #020817;
  --bg-soft: rgba(255, 255, 255, 0.05);
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.08);
  --text: #f8fbff;
  --muted: rgba(248, 251, 255, 0.72);
  --soft: rgba(248, 251, 255, 0.55);
  --border: rgba(255, 255, 255, 0.12);
  --cyan: #67e8f9;
  --cyan-strong: #22d3ee;
  --blue: #2563eb;
  --purple: #8b5cf6;
  --radius: 28px;
  --shadow: 0 24px 80px rgba(1, 10, 24, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

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

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.32), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(34, 211, 238, 0.16), transparent 22%),
    linear-gradient(180deg, #020617 0%, #020617 45%, #04111f 100%);
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
}

.glow-1 {
  width: 520px;
  height: 520px;
  left: 50%;
  top: 180px;
  transform: translateX(-50%);
  background: rgba(34, 211, 238, 0.12);
}

.glow-2 {
  width: 320px;
  height: 320px;
  right: 12%;
  top: 80px;
  background: rgba(37, 99, 235, 0.14);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 26px 26px;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 8, 23, 0.72);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

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

.brand.large {
  gap: 18px;
}

.brand-logo-wrap {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-logo-wrap.big {
  width: 66px;
  height: 66px;
  border-radius: 20px;
}

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

.brand-name {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-name.large-title {
  font-size: 2rem;
}

.brand-tag {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--soft);
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-store-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.store-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 700;
}

.store-mini-android {
  background: rgba(255, 255, 255, 0.96);
  color: #08101d;
}

.nav-links a:hover,
.footer-links a:hover,
.store-mini:hover {
  color: var(--text);
}

.hero {
  padding: 72px 0 84px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}

.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.2);
  background: rgba(34, 211, 238, 0.1);
  color: #c6f8ff;
  font-size: 0.92rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
}

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  background: linear-gradient(90deg, #9eeeff 0%, #93c5fd 52%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text,
.section-intro p,
.panel p,
.download-box p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.hero-text {
  max-width: 720px;
  margin-top: 24px;
  font-size: 1.16rem;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 700;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: var(--cyan-strong);
  color: #06111e;
  box-shadow: 0 18px 40px rgba(34, 211, 238, 0.18);
}

.btn-secondary,
.btn-outline,
.btn-static {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.84);
}

.btn-light {
  background: #ffffff;
  color: #08101d;
}

.btn-icon,
.store-mini {
  gap: 10px;
}

.store-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.store-icon svg {
  width: 100%;
  height: 100%;
}

.hero-points {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.point {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.hero-card {
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(37, 99, 235, 0.12));
  filter: blur(30px);
}

.hero-card-inner {
  position: relative;
  padding: 22px;
  border-radius: 34px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.mockup-stack {
  display: grid;
  gap: 18px;
}

.mockup-card {
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 17, 29, 0.96), rgba(16, 20, 34, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.offset-card {
  margin-left: 38px;
}

.accent-purple {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 44px rgba(139, 92, 246, 0.12);
}

.accent-blue {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 44px rgba(37, 99, 235, 0.12);
}

.mockup-topbar,
.screen-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.mockup-app,
.screen-header strong {
  font-size: 1.2rem;
  font-weight: 800;
}

.mockup-status,
.mockup-price,
.screen-header span {
  color: var(--soft);
  font-size: 0.92rem;
}

.mockup-tabs,
.mini-tabs,
.screen-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  color: rgba(255,255,255,.68);
  font-size: .92rem;
}

.mockup-tabs .active,
.mini-tabs .active,
.chip.active {
  color: #c6b6ff;
}

.mockup-fields,
.tool-list,
.screen-cards {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mockup-fields div,
.tool-list div,
.screen-cards div {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255,255,255,.82);
}

.calendar-head {
  margin-top: 18px;
  font-weight: 800;
  text-align: center;
  letter-spacing: .08em;
}

.calendar-grid,
.mini-calendar {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  text-align: center;
}

.calendar-grid span,
.mini-calendar span {
  padding: 10px 0;
  border-radius: 14px;
  color: rgba(255,255,255,.85);
}

.active-day,
.selected {
  background: linear-gradient(180deg, #8b5cf6, #7c3aed);
}

.muted-day,
.off {
  color: rgba(255,255,255,.32) !important;
}

.section {
  padding: 32px 0 100px;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-intro.center {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 42px;
}

.section-kicker {
  color: rgba(103, 232, 249, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  font-weight: 700;
}

.section-kicker.light {
  color: rgba(255,255,255,.75);
}

.section h2,
.section-intro h2,
.download-box h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

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

.feature-card,
.panel,
.showcase-phone {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  border-radius: 28px;
  padding: 24px;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(37, 99, 235, 0.16));
  color: #b6f6ff;
  font-size: 1.1rem;
}

.feature-card h3,
.panel h3,
.showcase-caption {
  margin: 16px 0 10px;
  font-size: 1.24rem;
}

.feature-card p,
.panel p {
  margin: 0;
}

.app-showcase {
  padding-top: 0;
}

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

.showcase-phone {
  padding: 18px;
}

.featured-phone {
  transform: translateY(-20px);
}

.showcase-screen {
  min-height: 560px;
  border-radius: 34px;
  padding: 22px;
  background: linear-gradient(180deg, #090d16 0%, #111522 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.screen-bilan {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 48px rgba(124, 58, 237, 0.14);
}

.screen-planning {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 48px rgba(37, 99, 235, 0.14);
}

.screen-tools {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 48px rgba(34, 211, 238, 0.14);
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}

.mini-calendar span {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.02);
}

.showcase-caption {
  margin: 18px 6px 4px;
  color: rgba(255,255,255,.9);
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: stretch;
}

.panel-main {
  padding: 32px;
}

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

.download-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  border: 1px solid rgba(103, 232, 249, 0.16);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(37, 99, 235, 0.12));
  box-shadow: var(--shadow);
}

.legal-section {
  padding-top: 0;
}

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

.legal-item {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
}

.legal-item span {
  display: block;
  font-size: 0.94rem;
  color: var(--soft);
}

.legal-item strong {
  display: block;
  margin-top: 10px;
  font-size: 1.02rem;
  font-weight: 700;
}

.legal-full {
  grid-column: 1 / -1;
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(2, 8, 23, 0.65);
}

.footer-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--soft);
}

.footer-links {
  display: flex;
  gap: 22px;
}

@media (max-width: 1140px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .hero,
  .split-section,
  .download-box {
    grid-template-columns: 1fr;
  }

  .showcase-grid,
  .feature-grid,
  .feature-grid-large,
  .legal-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offset-card,
  .featured-phone {
    margin-left: 0;
    transform: none;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(1200px, calc(100% - 28px));
  }

  .nav-links,
  .nav-store-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-points,
  .feature-grid,
  .feature-grid-large,
  .showcase-grid,
  .legal-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .showcase-screen {
    min-height: 0;
  }

  .btn,
  .store-mini {
    width: 100%;
  }

  .footer-inner {
    min-height: 0;
    padding: 22px 0;
    flex-direction: column;
    text-align: center;
  }
}
