:root {
  --bg: #0b141a;
  --bg-elevated: #111b21;
  --surface: #1f2c33;
  --surface-hover: #253540;
  --border: #2a3942;
  --text: #e9edef;
  --text-muted: #8696a0;
  --accent: #00a884;
  --accent-hover: #00bf95;
  --accent-deep: #008f72;
  --badge: #25d366;
  --danger: #f15c6d;
  --gradient-start: #0b141a;
  --gradient-mid: #111b21;
  --gradient-end: #0d1f1a;
  --shadow: rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --radius-sm: 10px;
  --max-width: 1120px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(11, 20, 26, 0.82);
  border-bottom: 1px solid rgba(42, 57, 66, 0.7);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 8px 24px rgba(0, 168, 132, 0.28);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

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

.lang-toggle {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #04130a;
  box-shadow: 0 10px 28px rgba(0, 168, 132, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn.is-disabled,
.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 168, 132, 0.18), transparent 42%),
    radial-gradient(circle at 80% 10%, rgba(37, 211, 102, 0.12), transparent 36%),
    linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 168, 132, 0.12);
  border: 1px solid rgba(0, 168, 132, 0.24);
  color: #7dffd9;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero h1 span {
  background: linear-gradient(135deg, #ffffff, #7dffd9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 168, 132, 0.28);
  background: rgba(0, 168, 132, 0.1);
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.trust-badge::before {
  content: '↑';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 168, 132, 0.18);
  color: #7dffd9;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}

.trust-badge strong {
  color: #7dffd9;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.trust-badge--download {
  margin: 18px 0 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-meta strong {
  color: var(--text);
}

.hero-visual {
  position: relative;
}

.product-shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 28px 80px var(--shadow);
  background: #111b21;
}

.product-shot img,
.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.product-shot--hero img {
  aspect-ratio: 1280 / 800;
  object-fit: cover;
  object-position: top left;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.screenshot-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.screenshot-card figcaption {
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: rgba(17, 27, 33, 0.92);
}

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

.testimonial-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(31, 44, 51, 0.92), rgba(17, 27, 33, 0.96));
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}

.testimonial-card.featured {
  border-color: rgba(0, 168, 132, 0.45);
  box-shadow: 0 16px 40px rgba(0, 168, 132, 0.1);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.testimonial-card blockquote {
  margin: 0;
  flex: 1;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #04130a;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.92rem;
  font-weight: 600;
}

.testimonial-role {
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.app-window {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #202c33, #111b21);
  box-shadow: 0 28px 80px var(--shadow);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #54656f;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.window-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 360px;
}

.sidebar {
  border-right: 1px solid var(--border);
  background: #202c33;
  padding: 16px 12px;
}

.sidebar-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-inline: 8px;
}

.account-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 10px;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.account-item.active {
  background: rgba(0, 168, 132, 0.16);
  color: var(--text);
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #54656f, #8696a0);
  flex-shrink: 0;
}

.account-item.active .avatar {
  background: linear-gradient(135deg, var(--accent), var(--badge));
}

.account-meta {
  min-width: 0;
  flex: 1;
}

.account-name {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-status {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--badge);
  color: #04130a;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.chat-pane {
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(0, 168, 132, 0.08), transparent 40%),
    #0b141a;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.chat-title {
  font-weight: 700;
}

.chat-chip {
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 168, 132, 0.14);
  color: #7dffd9;
}

.chat-bubbles {
  display: grid;
  gap: 12px;
}

.bubble {
  max-width: 78%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
}

.bubble.in {
  background: #202c33;
  border-top-left-radius: 4px;
}

.bubble.out {
  margin-left: auto;
  background: #005c4b;
  border-top-right-radius: 4px;
}

.bubble small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.section {
  padding: 84px 0;
}

.section-alt {
  background:
    radial-gradient(circle at top center, rgba(0, 168, 132, 0.06), transparent 42%),
    #0d151b;
  border-block: 1px solid rgba(42, 57, 66, 0.65);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

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

.feature-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(31, 44, 51, 0.9), rgba(17, 27, 33, 0.9));
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 168, 132, 0.35);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 168, 132, 0.14);
  color: #7dffd9;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.price-card {
  padding: 24px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(0, 168, 132, 0.55);
  background: linear-gradient(180deg, rgba(0, 168, 132, 0.12), rgba(17, 27, 33, 0.95));
  box-shadow: 0 18px 48px rgba(0, 168, 132, 0.12);
}

.price-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.price-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.price-amount {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 10px 0 4px;
}

.price-amount small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-note {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}

.price-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.price-list li.disabled {
  opacity: 0.45;
}

.price-list li.disabled::before {
  content: '—';
  color: var(--text-muted);
}

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

.step-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 168, 132, 0.16);
  color: #7dffd9;
  font-weight: 700;
  margin-bottom: 14px;
}

.download-panel {
  padding: 36px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top left, rgba(0, 168, 132, 0.14), transparent 42%),
    linear-gradient(180deg, #1f2c33, #111b21);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.download-panel h2 {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-mac-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-panel p {
  margin: 0 0 20px;
  color: var(--text-muted);
}

.download-meta {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border);
  font-size: 0.92rem;
}

.download-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.download-meta span:last-child {
  color: var(--text-muted);
  text-align: right;
}

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.support-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
}

.support-popup {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: 240px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #1f2c33, #111b21);
  box-shadow: 0 20px 48px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  pointer-events: none;
}

.support-float:hover .support-popup,
.support-float.open .support-popup,
.support-float:focus-within .support-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.support-popup::after {
  content: '';
  position: absolute;
  right: 22px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: #111b21;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}

.support-hint {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.support-qr {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
}

.support-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #04130a;
  box-shadow: 0 12px 32px rgba(0, 168, 132, 0.32);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.support-trigger:hover,
.support-trigger:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 168, 132, 0.38);
  outline: none;
}

.support-trigger svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.support-trigger-label {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.mobile-nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero-grid,
  .download-panel,
  .window-body {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .pricing-grid,
  .steps,
  .screenshots-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sidebar {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px 20px 20px;
    background: rgba(11, 20, 26, 0.96);
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    display: flex;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .features-grid,
  .pricing-grid,
  .steps,
  .screenshots-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  .support-float {
    right: 16px;
    bottom: 16px;
  }

  .support-popup {
    width: min(240px, calc(100vw - 32px));
  }

  .support-trigger-label {
    display: none;
  }

  .support-trigger {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

.auth-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, var(--gradient-start), var(--gradient-end)),
    var(--bg);
}

.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  min-height: 68px;
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 48px;
}

.auth-card {
  width: min(420px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 52px var(--shadow);
  padding: 28px;
}

.auth-header {
  margin-bottom: 22px;
}

.auth-header h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.auth-header p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.auth-form,
.auth-success {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
}

.auth-field input {
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  padding: 0 12px;
  font-size: 14px;
  outline: none;
}

.auth-field input:focus {
  border-color: var(--accent);
}

.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.auth-alert {
  font-size: 13px;
  line-height: 1.5;
}

.auth-alert-error {
  color: var(--danger);
}

.auth-success-text {
  margin: 0;
  color: var(--accent);
  font-size: 14px;
  line-height: 1.5;
}

.hidden {
  display: none !important;
}
