:root {
  color-scheme: dark;
  --bg: #0b0c0f;
  --panel: #15171c;
  --panel-2: #1b1e24;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f5f8;
  --muted: #9a9da7;
  --blue: #377df6;
  --violet: #9a79e8;
  --green: #37db6a;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 70% -10%, rgba(83, 66, 151, .16), transparent 36%), var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 20; width: 260px;
  padding: 28px 22px; border-right: 1px solid var(--line);
  background: rgba(15, 16, 20, .92); backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 760; letter-spacing: -.03em; }
.brand-logo { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; object-fit: cover; box-shadow: 0 10px 30px rgba(79, 113, 245, .2); }
.side-nav { display: grid; gap: 8px; margin-top: 44px; }
.nav-link { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 13px; color: var(--muted); font-weight: 650; transition: .2s; }
.nav-link:hover, .nav-link.active { color: white; background: rgba(255,255,255,.07); }
.nav-icon { width: 22px; text-align: center; color: #b7b9c2; }
.sidebar-bottom { margin-top: auto; color: var(--muted); font-size: 14px; line-height: 1.5; }
.sidebar-bottom a { display: block; margin-top: 10px; color: #c8cbd4; }
.content { margin-left: 260px; padding: 32px clamp(24px, 4vw, 70px) 70px; }
.topbar { max-width: 1480px; margin: 0 auto 28px; display: flex; gap: 16px; align-items: center; }
.search { position: relative; flex: 1; }
.search input { width: 100%; min-height: 56px; padding: 0 52px 0 20px; border: 1px solid var(--line); border-radius: 16px; outline: none; background: rgba(255,255,255,.045); color: white; }
.search input:focus { border-color: rgba(74, 128, 255, .65); box-shadow: 0 0 0 3px rgba(55,125,246,.13); }
.search svg { position: absolute; right: 18px; top: 17px; width: 22px; color: var(--muted); }
.top-link { white-space: nowrap; color: #c5c7cf; font-weight: 650; }
.page { max-width: 1480px; margin: 0 auto; }
.hero {
  position: relative; height: 560px; overflow: hidden; border: 1px solid var(--line); border-radius: 30px;
  background: linear-gradient(110deg, #171922 0%, #19182a 48%, #221750 100%); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1.05fr; align-items: center;
}
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -80px; top: -220px; border-radius: 50%; background: rgba(109,74,255,.3); filter: blur(70px); }
.hero-copy { position: relative; z-index: 2; padding: 42px 32px 42px 48px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.06); border-radius: 999px; color: #c8b6ff; font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 22px 0 16px; font-size: clamp(38px, 4vw, 62px); line-height: .98; letter-spacing: -.055em; }
.hero p { max-width: 600px; margin-bottom: 24px; color: #b8bbc5; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.45; }
.hero .actions { flex-wrap: nowrap; }
.hero .button { padding-inline: 15px; font-size: 14px; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border: 1px solid var(--line); border-radius: 13px; font-weight: 750; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--blue); border-color: var(--blue); box-shadow: 0 14px 30px rgba(55,125,246,.25); }
.button.secondary { background: rgba(255,255,255,.065); }
.hero-visual { position: relative; z-index: 1; min-width: 0; align-self: stretch; padding: 38px 34px 38px 0; display: flex; align-items: center; }
.hero-window { width: 100%; aspect-ratio: 2318 / 1526; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: #1c1d22; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.hero-window img { width: 100%; height: 100%; object-fit: contain; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 58px 0 22px; }
.section-head h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.04em; }
.section-head p { margin: 8px 0 0; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { cursor: pointer; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: #b9bbc4; background: rgba(255,255,255,.035); }
.filter.active { color: white; border-color: rgba(55,125,246,.5); background: rgba(55,125,246,.18); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); transition: transform .22s, border-color .22s; }
.card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.18); }
.card-media { min-height: 210px; padding: 26px; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #252735, #15161b); }
.card-media.purple { background: radial-gradient(circle at 50% 35%, rgba(149,92,255,.4), transparent 45%), #18151f; }
.card-media.blue { background: radial-gradient(circle at 50% 30%, rgba(55,125,246,.34), transparent 45%), #131923; }
.app-icon { width: 112px; height: 112px; border-radius: 25%; filter: drop-shadow(0 18px 26px rgba(0,0,0,.38)); }
.service-glyph { width: 110px; height: 110px; border-radius: 28px; display: grid; place-items: center; font-size: 46px; font-weight: 850; color: white; background: linear-gradient(145deg, #347dff, #6d58e7); box-shadow: 0 18px 38px rgba(43,102,230,.3); }
.service-glyph.chrono { background: linear-gradient(145deg, #ff7c45, #ef3e72); box-shadow: 0 18px 38px rgba(238,76,91,.25); }
.card-body { padding: 22px; }
.tags { display: flex; gap: 7px; margin-bottom: 14px; }
.tag { padding: 5px 8px; border-radius: 7px; color: #aeb1bb; background: rgba(255,255,255,.055); font-size: 12px; font-weight: 700; }
.tag.new { color: #6cf08b; background: rgba(55,219,106,.11); }
.card h3 { margin-bottom: 9px; font-size: 22px; letter-spacing: -.02em; }
.card p { min-height: 66px; margin-bottom: 18px; color: var(--muted); line-height: 1.5; }
.card-link { color: #6fa2ff; font-weight: 750; }
.empty { display: none; margin: 30px 0; color: var(--muted); text-align: center; }
.footer { margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }

/* Product page */
.product-nav { max-width: 1240px; margin: 0 auto; padding: 22px clamp(20px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; }
.back { color: #c5c8d1; font-weight: 650; }
.product-main { width: 100%; max-width: 1240px; min-width: 0; margin: 0 auto; padding: 32px clamp(20px, 4vw, 44px) 90px; }
.product-hero { display: grid; grid-template-columns: .9fr 1.15fr; gap: clamp(30px, 6vw, 80px); align-items: center; min-height: 560px; }
.product-hero > * { min-width: 0; }
.product-title-row { display: flex; align-items: center; gap: 18px; }
.product-title-row .app-icon { width: 86px; height: 86px; }
.product-hero h1 { margin: 22px 0 20px; font-size: clamp(44px, 6vw, 78px); line-height: .98; letter-spacing: -.06em; }
.lead { color: #b5b8c2; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.microcopy { margin: 15px 0 0; color: #7f838d; font-size: 13px; }
.product-shot { position: relative; min-width: 0; width: 100%; aspect-ratio: 2318 / 1526; overflow: hidden; border-radius: 22px; }
.product-shot::before { content: ""; position: absolute; inset: 8% 8% -5%; z-index: -1; border-radius: 50%; background: rgba(91,73,209,.32); filter: blur(70px); }
.product-shot img { width: 100%; height: 100%; object-fit: contain; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; box-shadow: 0 35px 90px rgba(0,0,0,.48); }
.review-showcase { position: relative; min-width: 0; min-height: 520px; }
.review-showcase::before { content: ""; position: absolute; inset: 12% 8% 5%; z-index: -1; border-radius: 50%; background: rgba(55,125,246,.22); filter: blur(70px); }
.review-screen { position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: #14171d; box-shadow: 0 30px 80px rgba(0,0,0,.48); }
.review-screen img { width: 100%; height: 100%; object-fit: contain; }
.review-screen.main { inset: 54px 15% 54px 0; padding: 18px; }
.review-screen.comment { z-index: 2; width: 64%; height: 27%; right: 0; bottom: 20px; padding: 12px; }
.review-screen.session { z-index: 1; width: 46%; height: 45%; right: 0; top: 0; padding: 12px; }
.review-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.review-gallery figure { margin: 0; min-width: 0; padding: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); display: grid; align-content: center; gap: 14px; }
.review-gallery figure:nth-child(1) { grid-column: span 7; }
.review-gallery figure:nth-child(2) { grid-column: span 5; }
.review-gallery figure:nth-child(3), .review-gallery figure:nth-child(4) { grid-column: span 6; }
.review-gallery img { width: 100%; height: auto; max-height: 520px; object-fit: contain; border-radius: 12px; }
.review-gallery figcaption { color: var(--muted); line-height: 1.45; }
.trust { margin: 20px 0 80px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.trust div { padding: 22px; text-align: center; border-right: 1px solid var(--line); }
.trust div:last-child { border: 0; }
.trust strong { display: block; margin-bottom: 5px; }
.trust span { color: var(--muted); font-size: 14px; }
.block { margin-top: 90px; }
.block-head { max-width: 720px; margin-bottom: 30px; }
.block h2 { margin-bottom: 12px; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.045em; }
.block-head p { color: var(--muted); font-size: 18px; line-height: 1.55; }
.steps, .features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step, .feature { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.step-number { width: 34px; height: 34px; margin-bottom: 40px; border-radius: 10px; display: grid; place-items: center; color: #a9c4ff; background: rgba(55,125,246,.15); font-weight: 800; }
.step h3, .feature h3 { margin-bottom: 9px; }
.step p, .feature p { margin: 0; color: var(--muted); line-height: 1.5; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); display: grid; place-items: center; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; height: auto; object-fit: contain; }
.features { grid-template-columns: repeat(3, 1fr); }
.feature-icon { margin-bottom: 24px; font-size: 28px; }
.requirements { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.requirements > div { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.requirements ul { margin: 18px 0 0; padding-left: 20px; color: #b5b8c2; line-height: 1.8; }
.cta { margin-top: 90px; padding: clamp(34px, 6vw, 70px); overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; text-align: center; background: radial-gradient(circle at 50% 120%, rgba(128,77,255,.44), transparent 55%), #181920; }
.cta h2 { margin-bottom: 12px; font-size: clamp(34px, 5vw, 58px); }
.cta p { color: var(--muted); font-size: 18px; }
.cta .actions { justify-content: center; margin-top: 25px; }

@media (max-width: 1050px) {
  .sidebar { display: none; }
  .content { margin-left: 0; }
  .hero, .product-hero { grid-template-columns: 1fr; }
  .hero { height: auto; }
  .hero-visual { padding: 0 24px 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust div:nth-child(2) { border-right: 0; }
  .trust div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .review-showcase { min-height: 480px; }
}
@media (max-width: 720px) {
  .content { padding: 18px 16px 45px; }
  .topbar { flex-wrap: wrap; }
  .top-link { width: 100%; text-align: right; }
  .hero { border-radius: 22px; }
  .hero-copy { padding: 32px 24px; }
  .hero .actions { flex-wrap: wrap; }
  .hero-visual { padding: 0 14px; }
  .cards, .features, .requirements { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .footer { flex-direction: column; }
  .product-nav .brand span:last-child { display: none; }
  .product-main { max-width: 100vw; padding-top: 10px; }
  .product-hero { width: 100%; max-width: 100%; min-height: auto; overflow: hidden; }
  .product-hero h1 { font-size: clamp(34px, 10vw, 44px); overflow-wrap: anywhere; }
  .product-hero .actions { flex-direction: column; }
  .product-hero .button { width: 100%; }
  .product-title-row .app-icon { width: 64px; height: 64px; }
  .trust, .steps { grid-template-columns: 1fr; }
  .trust div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust div:nth-child(3) { border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: auto; }
  .review-showcase { min-height: 360px; }
  .review-screen.main { inset: 36px 8% 42px 0; padding: 10px; }
  .review-screen.session { width: 48%; height: 42%; padding: 7px; }
  .review-screen.comment { width: 72%; height: 25%; padding: 7px; }
  .review-gallery { grid-template-columns: 1fr; }
  .review-gallery figure:nth-child(n) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
