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

:root {
  --bg: #0c0c12;
  --surface: #14141e;
  --surface2: #1c1c28;
  --surface3: #242434;
  --border: rgba(255,255,255,0.07);
  --text: #e8e8f0;
  --text-muted: #6e6e88;
  --accent: #7c6fcd;
  --accent-hover: #6b5ebf;
  --accent-glow: rgba(124,111,205,0.15);
  --green: #10b981;
  --radius: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(12,12,18,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 18px; font-weight: 700; color: var(--text);
  text-decoration: none; letter-spacing: -0.3px;
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-lang {
  padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border);
  background: transparent; color: var(--text-muted); font-size: 13px;
  font-weight: 600; cursor: pointer; transition: all 0.15s;
}
.nav-lang:hover { color: var(--text); border-color: rgba(255,255,255,0.15); }
.nav-cta {
  padding: 8px 20px; border-radius: 10px; background: var(--accent);
  color: #fff; text-decoration: none; font-size: 14px; font-weight: 600;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--accent-hover); }

/* BUTTONS */
.btn-primary-lg {
  display: inline-block; padding: 14px 36px; border-radius: 12px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-size: 16px; font-weight: 600; border: none; cursor: pointer;
  transition: all 0.2s;
}
.btn-primary-lg:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary-lg.btn-sm { padding: 11px 28px; font-size: 14px; }
.btn-outline-lg {
  display: inline-block; padding: 14px 36px; border-radius: 12px;
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border); text-decoration: none;
  font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.btn-outline-lg:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }
.btn-outline-lg:disabled { opacity: 0.5; cursor: default; }
.btn-tg { border-color: rgba(34,160,220,0.3); color: #22a0dc; }
.btn-tg:hover { border-color: rgba(34,160,220,0.5); color: #3ab6ef; }

/* HERO */
.hero {
  max-width: 1100px; margin: 0 auto; padding: 140px 24px 60px;
  text-align: center;
}
.hero-audience {
  font-size: 14px; color: var(--text-muted); margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(124,111,205,0.12); border: 1px solid rgba(124,111,205,0.2);
  color: var(--accent); font-size: 13px; font-weight: 500; margin-bottom: 24px;
}
.hero-proof {
  font-size: 13px; color: var(--text-muted); margin-top: 16px;
  letter-spacing: 0.3px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 0%, #a5a0d0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 18px; color: var(--text-muted); max-width: 600px;
  margin: 0 auto 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

/* HERO MOCKUP */
.hero-visual { max-width: 780px; margin: 0 auto; }
.hero-mockup {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 20px; overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5), 0 0 60px var(--accent-glow);
}
.mock-chat {
  background: var(--surface2); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
}
.mock-chat-header {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 600;
  color: var(--text-muted);
}
.mock-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}
.mock-messages { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mock-msg {
  padding: 8px 12px; border-radius: 10px; font-size: 12px; line-height: 1.5;
  max-width: 92%;
}
.mock-user {
  background: rgba(124,111,205,0.15); color: var(--text); align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.mock-ai {
  background: var(--surface3); color: var(--text-muted); align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.mock-check { color: var(--green); font-weight: 700; margin-right: 4px; }

.mock-canvas {
  background: var(--bg); border-radius: 12px; border: 1px solid var(--border);
  position: relative; min-height: 200px; padding: 16px; overflow: hidden;
}
.mock-canvas-label {
  position: absolute; top: 8px; right: 12px; font-size: 10px;
  color: var(--text-muted); opacity: 0.4; text-transform: uppercase; letter-spacing: 1px;
}

/* Mini canvas elements */
.mc-space {
  border: 1.5px dashed rgba(124,111,205,0.3); border-radius: 12px;
  padding: 28px 12px 12px; position: relative; margin-bottom: 10px;
}
.mc-space-dot {
  position: absolute; top: -5px; left: 14px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent);
}
.mc-space-title {
  position: absolute; top: -8px; left: 28px; font-size: 10px;
  color: var(--text-muted); background: var(--bg); padding: 0 5px;
}
.mc-card {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface2); border-radius: 8px; padding: 8px 12px;
  border: 1px solid var(--border); font-size: 11px; font-weight: 500;
  border-left: 3px solid var(--c);
}
.mc-icon { font-size: 13px; }
.mc-name { font-size: 11px; }
.mc-tasks {
  width: 40px; height: 3px; background: rgba(255,255,255,0.06);
  border-radius: 2px; margin-left: 6px; overflow: hidden;
}
.mc-task-bar { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.mc-card-solo {
  position: absolute; bottom: 16px; right: 16px;
}

/* VALUE PROPS */
.value {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}
.value-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.value-item { text-align: center; flex: 1; min-width: 180px; }
.value-num {
  font-size: 28px; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--accent) 0%, #a5a0d0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.value-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.value-divider {
  width: 1px; height: 48px; background: var(--border);
}

/* SHOWCASE SECTIONS */
.showcase { padding: 100px 24px; }
.showcase-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.showcase-reverse .showcase-inner { direction: rtl; }
.showcase-reverse .showcase-inner > * { direction: ltr; }
.showcase-label {
  display: inline-block; padding: 4px 12px; border-radius: 8px;
  background: rgba(124,111,205,0.1); color: var(--accent);
  font-size: 12px; font-weight: 600; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.showcase h2 {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 700;
  letter-spacing: -0.5px; margin-bottom: 16px; line-height: 1.2;
}
.showcase p {
  font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px;
}
.showcase-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.showcase-list li {
  font-size: 14px; color: var(--text-muted); padding-left: 24px;
  position: relative;
}
.showcase-list li::before {
  content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 600;
}

/* AI Chat Demo */
.sv-chat-demo {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.sv-line {
  padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 1.5;
}
.sv-user {
  background: rgba(124,111,205,0.12); color: var(--text);
  align-self: flex-end; max-width: 85%; border-bottom-right-radius: 4px;
}
.sv-ai {
  background: var(--surface2); color: var(--text-muted);
  align-self: flex-start; border-bottom-left-radius: 4px;
}
.sv-ai.sv-text { color: var(--text); font-style: italic; opacity: 0.8; }
.sv-ok { color: var(--green); font-weight: 700; }

/* Phone Mock */
.sv-phone {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 0; overflow: hidden; max-width: 320px;
  margin: 0 auto; box-shadow: 0 16px 60px rgba(0,0,0,0.4);
}
.sv-phone-header {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 600;
}
.sv-phone-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center;
  justify-content: center; font-size: 14px;
}
.sv-phone-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.sv-tg {
  padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.5;
  max-width: 88%;
}
.sv-tg-user {
  background: rgba(34,160,220,0.15); color: var(--text);
  align-self: flex-end; border-bottom-right-radius: 4px;
}
.sv-tg-bot {
  background: var(--surface2); color: var(--text-muted);
  align-self: flex-start; border-bottom-left-radius: 4px;
}

/* Canvas Demo */
.sv-canvas-demo {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; position: relative; min-height: 260px;
}
.sv-space {
  border: 1.5px dashed rgba(124,111,205,0.25); border-radius: 14px;
  padding: 32px 14px 14px; position: relative; margin-bottom: 14px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.sv-space-2 {
  position: absolute; right: 20px; top: 140px; width: 160px;
  border-color: rgba(245,158,11,0.25);
}
.sv-space-hdr { position: absolute; top: -9px; left: 12px; display: flex; align-items: center; gap: 6px; }
.sv-space-dot { width: 8px; height: 8px; border-radius: 50%; }
.sv-space-hdr span { font-size: 11px; color: var(--text-muted); background: var(--bg); padding: 0 4px; }
.sv-mini-card {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 12px; font-size: 11px;
  border-left: 3px solid var(--mc);
}
.sv-float { position: absolute; bottom: 20px; right: 20px; }

/* FEATURES */
.section-title {
  text-align: center; font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; letter-spacing: -0.5px; margin-bottom: 48px;
}
.features {
  max-width: 1100px; margin: 0 auto; padding: 80px 24px;
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(124,111,205,0.3); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* STEPS */
.steps { max-width: 900px; margin: 0 auto; padding: 80px 24px; }
.steps-grid {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 24px; flex-wrap: wrap;
}
.step { flex: 1; min-width: 200px; text-align: center; padding: 24px; }
.step-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(124,111,205,0.12); color: var(--accent);
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); }
.step-arrow { font-size: 24px; color: var(--text-muted); margin-top: 32px; opacity: 0.4; }

/* PRICING */
.pricing { max-width: 800px; margin: 0 auto; padding: 80px 24px; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.price-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; position: relative; text-align: center;
}
.price-card.active { border-color: rgba(124,111,205,0.35); }
.price-badge {
  display: inline-block; padding: 4px 12px; border-radius: 8px;
  background: rgba(124,111,205,0.12); color: var(--accent);
  font-size: 12px; font-weight: 600; margin-bottom: 12px;
}
.price-badge.soon { background: rgba(255,255,255,0.05); color: var(--text-muted); }
.price-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.price-amount { font-size: 42px; font-weight: 800; margin-bottom: 24px; letter-spacing: -1px; }
.price-amount span { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.price-card ul { list-style: none; margin-bottom: 28px; text-align: left; }
.price-card li {
  padding: 8px 0; font-size: 14px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before { content: '✓ '; color: var(--accent); font-weight: 600; }

/* PAIN POINTS */
.pain { max-width: 1100px; margin: 0 auto; padding: 80px 24px; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.pain-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; text-align: left;
}
.pain-emoji { font-size: 32px; margin-bottom: 14px; }
.pain-quote {
  font-size: 15px; line-height: 1.6; font-style: italic;
  color: var(--text); margin-bottom: 12px;
}
.pain-who { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.pain-transition {
  text-align: center; font-size: 18px; font-weight: 600;
  color: var(--accent); margin-top: 8px;
}

/* AI CHIPS */
.ai-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
}
.ai-chip {
  display: inline-block; padding: 8px 14px; border-radius: 10px;
  background: var(--surface2); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}

/* FEATURES SUB */
.features-sub {
  text-align: center; font-size: 16px; color: var(--text-muted);
  max-width: 600px; margin: -28px auto 48px; line-height: 1.6;
}

/* COMPARISON TABLE */
.comparison { max-width: 900px; margin: 0 auto; padding: 80px 24px; }
.comparison-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.comparison-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.comparison-table th, .comparison-table td {
  padding: 14px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  font-weight: 600; font-size: 15px; color: var(--text-muted);
}
.comparison-table td { color: var(--text-muted); }
.comparison-table .cmp-highlight {
  color: var(--accent); font-weight: 600;
}
.comparison-table th.cmp-highlight {
  color: var(--accent);
}
.comparison-note {
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
  text-align: center; max-width: 700px; margin: 0 auto;
}

/* PRICE NOTE */
.price-note {
  font-size: 12px; color: var(--text-muted); margin-top: 8px;
}

/* SECURITY COMPACT */
.security-compact {
  grid-template-columns: repeat(4, 1fr);
}
.security-compact .security-item {
  text-align: center;
}

/* USE CASES */
.usecases { max-width: 1100px; margin: 0 auto; padding: 80px 24px; }
.usecases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usecase-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; transition: border-color 0.2s;
}
.usecase-card:hover { border-color: rgba(124,111,205,0.3); }
.usecase-icon { font-size: 36px; margin-bottom: 16px; }
.usecase-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.usecase-pain {
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
  font-style: italic; margin-bottom: 12px;
  padding: 12px; background: rgba(124,111,205,0.06);
  border-radius: 8px; border-left: 3px solid var(--accent);
}
.usecase-solution { font-size: 14px; color: var(--text); line-height: 1.6; }

/* SECURITY */
.security { max-width: 1100px; margin: 0 auto; padding: 80px 24px; }
.security-sub {
  text-align: center; font-size: 16px; color: var(--text-muted);
  max-width: 600px; margin: -28px auto 48px; line-height: 1.6;
}
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.security-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: border-color 0.2s;
}
.security-item:hover { border-color: rgba(74,222,128,0.3); }
.security-icon { font-size: 28px; margin-bottom: 12px; }
.security-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.security-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* FINAL CTA */
.final-cta {
  text-align: center; padding: 80px 24px 100px;
  background: linear-gradient(180deg, transparent 0%, var(--accent-glow) 100%);
}
.final-cta h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  letter-spacing: -1px; margin-bottom: 16px;
}
.final-cta p {
  font-size: 16px; color: var(--text-muted); margin-bottom: 32px;
}

/* FOOTER */
.footer { border-top: 1px solid var(--border); padding: 24px; margin-top: 0; }
.footer-inner {
  max-width: 1100px; margin: 0 auto; display: flex;
  justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted);
}
.footer-links { display: flex; gap: 20px; }
.footer-inner a { color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.footer-inner a:hover { color: var(--text); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .showcase-inner { grid-template-columns: 1fr; gap: 40px; }
  .showcase-reverse .showcase-inner { direction: ltr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }
  .security-compact { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .sv-space-2 { position: static; width: auto; }
  .sv-float { position: static; margin-top: 10px; }
}

@media (max-width: 768px) {
  .hero { padding: 120px 16px 40px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { margin-bottom: 40px; }
  .hero-mockup { grid-template-columns: 1fr; }
  .mock-canvas { min-height: 160px; }
  .value-inner { gap: 24px; }
  .value-divider { display: none; }
  .showcase { padding: 60px 16px; }
  .features { padding: 60px 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .pain { padding: 60px 16px; }
  .comparison { padding: 60px 16px; }
  .usecases { padding: 60px 16px; }
  .security { padding: 60px 16px; }
  .security-compact { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .steps { padding: 60px 16px; }
  .step-arrow { display: none; }
  .steps-grid { flex-direction: column; gap: 0; }
  .step { min-width: unset; padding: 20px 16px; }
  .pricing { padding: 60px 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .section-title { margin-bottom: 32px; }
  .footer-inner { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 12px 16px; }
  .nav-logo { font-size: 16px; }
  .nav-cta { padding: 7px 14px; font-size: 13px; }
  .nav-lang { padding: 5px 10px; font-size: 12px; }
  .hero { padding: 100px 14px 32px; }
  .hero-badge { font-size: 12px; padding: 5px 12px; }
  .hero-sub { font-size: 15px; line-height: 1.6; }
  .btn-primary-lg { padding: 12px 28px; font-size: 15px; }
  .btn-outline-lg { padding: 12px 28px; font-size: 15px; }
  .hero-mockup { padding: 12px; }
  .mock-msg { font-size: 11px; }
  .mc-card { padding: 6px 8px; font-size: 10px; }
  .value-num { font-size: 22px; }
  .value-label { font-size: 12px; }
  .sv-phone { max-width: 280px; }
  .price-amount { font-size: 36px; }
  .final-cta { padding: 60px 16px 80px; }
}
