:root {
  --bg: #05060a;
  --panel: rgba(255, 255, 255, 0.05);
  --accent: #3ae2a6;
  --accent-2: #7c7cfb;
  --text: #f5f7fb;
  --muted: #c6c9d4;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  --glass: rgba(255, 255, 255, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Kalameh', 'Vazirmatn', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 16% 18%, rgba(61, 224, 181, 0.18), transparent 28%),
    radial-gradient(circle at 80% 8%, rgba(124, 124, 251, 0.16), transparent 24%),
    radial-gradient(circle at 14% 86%, rgba(124, 124, 251, 0.12), transparent 22%),
    linear-gradient(135deg, #0b0c14 0%, #080912 50%, #06070d 100%);
  color: var(--text);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.3px;
}

p {
  margin: 0;
  color: var(--muted);
}

a {
  color: var(--text);
  text-decoration: none;
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  backdrop-filter: blur(14px);
  background: rgba(5, 6, 10, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-bar nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
}

.nav-bar a {
  padding: 10px 14px;
  border-radius: 10px;
  transition: background 0.3s, color 0.3s;
  color: var(--muted);
}

.nav-bar a:hover,
.nav-bar a:focus {
  background: var(--panel);
  color: var(--text);
}

.nav-bar a.active {
  background: linear-gradient(135deg, rgba(58, 226, 166, 0.16), rgba(124, 124, 251, 0.16));
  color: var(--text);
  border: 1px solid rgba(58, 226, 166, 0.35);
}

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

.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4af0bd, #7d7dfa);
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: var(--shadow);
}

.brand-title {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

main {
  max-width: 1200px;
  margin: auto;
  padding: 32px 20px 100px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
  padding: 46px 0 20px;
}

.hero-content h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 14px 0;
  line-height: 1.3;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  max-width: 640px;
}

.tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(58, 226, 166, 0.16);
  color: #a6ffe0;
  font-weight: 600;
  border: 1px solid rgba(58, 226, 166, 0.4);
}

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

.primary,
.secondary,
.ghost {
  border: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s, color 0.3s;
  font-family: 'Kalameh', 'Vazirmatn', system-ui, -apple-system, sans-serif;
}

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #040507;
  box-shadow: 0 18px 40px rgba(122, 122, 255, 0.22);
}

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

.secondary {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
}

.secondary:hover,
.secondary:focus {
  background: rgba(255, 255, 255, 0.08);
}

.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.metric {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
}

.metric-value {
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
}

.metric-label {
  font-size: 13px;
  color: var(--muted);
}

.hero-card {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(124, 124, 251, 0.18), rgba(58, 226, 166, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.floating-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
}

.hero-card h3 {
  margin: 6px 0 12px;
  font-size: 24px;
}

.hero-card ul {
  padding: 0;
  margin: 12px 0;
  list-style: none;
}

.hero-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.hero-card li:last-child {
  border-bottom: none;
}

.price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0;
  gap: 12px;
}

.price-label {
  color: var(--muted);
  font-size: 13px;
}

.price-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.mini-preview {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(4, 5, 7, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}

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

.mini-header .pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(58, 226, 166, 0.15);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 8px rgba(58, 226, 166, 0.18); }
  50% { box-shadow: 0 0 0 12px rgba(58, 226, 166, 0.05); }
  100% { box-shadow: 0 0 0 8px rgba(58, 226, 166, 0.18); }
}

.mini-body {
  display: grid;
  gap: 10px;
}

.preview-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.preview-line.muted {
  background: rgba(255, 255, 255, 0.04);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(124, 124, 251, 0.22), rgba(58, 226, 166, 0.22));
  font-weight: 800;
}

.preview-line .title {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.preview-line p {
  margin: 2px 0 0;
}

.preview-line .badge,
.preview-line .chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.preview-line .chip {
  background: rgba(124, 124, 251, 0.18);
  border-color: rgba(124, 124, 251, 0.35);
}

.preview-footer {
  display: grid;
  gap: 6px;
}

.progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.avatars span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--border);
  margin-left: -8px;
  box-shadow: var(--shadow);
}

.avatars .more {
  padding: 0 12px;
  width: auto;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(58, 226, 166, 0.2), rgba(124, 124, 251, 0.2));
}

.section {
  margin: 32px 0 12px;
  padding: 32px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin: 10px 0 6px;
}

.section-sub {
  max-width: 620px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

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

.card h3 {
  margin: 8px 0;
}

.card p {
  color: var(--muted);
}

.card .pill {
  margin-top: 8px;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(58, 226, 166, 0.28), rgba(124, 124, 251, 0.32));
  font-size: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
  font-size: 12px;
}

.pill.light {
  background: rgba(255, 255, 255, 0.04);
}

.dark {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: 24px;
  padding: 28px 18px;
}

.previews {
  margin-top: 0;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.preview-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(58, 226, 166, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.preview-card > * {
  position: relative;
  z-index: 1;
}

.preview-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(124, 124, 251, 0.18), transparent 32%);
  pointer-events: none;
}

.preview-card h3 {
  margin: 6px 0 10px;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-text {
  color: var(--muted);
  margin: 0 0 12px;
}

.preview-window {
  position: relative;
  z-index: 1;
  padding: 12px;
  border-radius: 14px;
  background: rgba(5, 6, 10, 0.7);
  border: 1px solid var(--border);
  display: grid;
  gap: 10px;
}

.preview-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.preview-row strong {
  color: var(--text);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
}

.dot.green { background: #45e2b0; }
.dot.blue { background: #7b8cff; }
.dot.purple { background: #c49bff; }

.mosaic {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.mosaic-block {
  padding: 12px;
  border-radius: 12px;
  color: #06070d;
  text-align: center;
  font-weight: 700;
}

.mosaic-block p {
  color: #0a0b12;
}

.mosaic-block strong {
  display: block;
  font-size: 20px;
  margin-top: 4px;
}

.mosaic-block.warm { background: linear-gradient(135deg, #8efad2, #48e1a7); }
.mosaic-block.cool { background: linear-gradient(135deg, #a9b7ff, #738aff); }
.mosaic-block.dark { background: linear-gradient(135deg, #f7d0ff, #c89efc); color: #0c0c16; }

.tasks {
  display: grid;
  gap: 8px;
}

.task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.task-row .title {
  margin: 0 0 4px;
  color: var(--text);
  font-weight: 700;
}

.products .card {
  backdrop-filter: blur(4px);
}

.translucent {
  background: rgba(255, 255, 255, 0.03);
}

.highlight {
  background: linear-gradient(160deg, rgba(58, 226, 166, 0.24), rgba(124, 124, 251, 0.18));
  border: 1px solid rgba(58, 226, 166, 0.4);
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: #9aa0b5;
  margin: 0;
}

.plan-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.list li:last-child {
  border-bottom: none;
}

.full {
  width: 100%;
}

.workflow .step {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(124, 124, 251, 0.28), rgba(58, 226, 166, 0.28));
  font-weight: 800;
}

.stats {
  margin-top: 12px;
}

.quote {
  border-left: 3px solid var(--accent);
  position: relative;
}

.quote::before {
  content: '“';
  position: absolute;
  left: 12px;
  top: 8px;
  font-size: 28px;
  color: var(--accent);
}

.faq details {
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq p {
  margin-top: 8px;
}

.cta {
  background: linear-gradient(120deg, rgba(124, 124, 251, 0.2), rgba(58, 226, 166, 0.26));
  border-radius: 22px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cta-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  align-items: center;
}

.cta-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.cta-actions input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-family: 'Kalameh', 'Vazirmatn', system-ui, -apple-system, sans-serif;
}

.hint {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--muted);
}

.footer {
  max-width: 1200px;
  margin: 40px auto;
  padding: 12px 20px 40px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  align-items: center;
}

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

.copy {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 720px) {
  .nav-bar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-bar nav {
    width: 100%;
    justify-content: space-around;
  }

  .cta-actions {
    grid-template-columns: 1fr;
  }
}
