:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --fg-dim: #55556a;
  --accent-1: #7b5cff;
  --accent-2: #ff5caa;
  --accent-3: #5cddff;
  --accent-4: #ffaa5c;
  --gradient: linear-gradient(135deg, #7b5cff, #ff5caa, #5cddff);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1100px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- HERO ---- */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 6vw 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123,92,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(123,92,255,0.35);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-strip {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.strip-item {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 20px;
}

.strip-item:first-child {
  padding-left: 0;
}

.strip-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fg-dim);
  flex-shrink: 0;
}

/* ---- HOW IT WORKS ---- */
.how {
  padding: 100px 6vw;
  max-width: var(--max-width);
  margin: 0 auto;
}

.how-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 48px;
}

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

.how-step {
  position: relative;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--bg-card);
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.how-step h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}

.how-step p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- SERVICES ---- */
.services {
  padding: 80px 6vw 100px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.services-header {
  margin-bottom: 56px;
}

.services-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.services-sub {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 480px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.card-accent-1::before { background: var(--accent-1); }
.card-accent-2::before { background: var(--accent-2); }
.card-accent-3::before { background: var(--accent-3); }
.card-accent-4::before { background: var(--accent-4); }

.service-card:hover {
  border-color: rgba(255,255,255,0.08);
}

.service-icon {
  font-size: 1.6rem;
  margin-bottom: 20px;
  opacity: 0.7;
}

.card-accent-1 .service-icon { color: var(--accent-1); }
.card-accent-2 .service-icon { color: var(--accent-2); }
.card-accent-3 .service-icon { color: var(--accent-3); }
.card-accent-4 .service-icon { color: var(--accent-4); }

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---- NUMBERS ---- */
.numbers {
  padding: 80px 6vw;
  background: var(--bg-elevated);
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.numbers-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.number-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.number-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 6vw;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.closing h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.closing-text {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 48px 6vw;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-tagline {
  color: var(--fg-dim);
  font-size: 0.85rem;
}

/* ---- RESPONSIVE ---- */
/* ---- NAV ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 6vw;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--fg);
}

.nav-cta {
  padding: 8px 20px;
  border: 1px solid var(--accent-1);
  border-radius: 8px;
  color: var(--accent-1) !important;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--accent-1);
  color: #fff !important;
}

/* ---- PAGE HERO (shared by demo/services/contact) ---- */
.demo-hero {
  padding: 140px 6vw 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.demo-hero-inner {
  max-width: 640px;
}

.demo-badge {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid rgba(255, 92, 170, 0.35);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 28px;
}

.demo-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.demo-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.75;
}

/* ---- DEMO PAGE ---- */
.demo-section {
  padding: 40px 6vw 100px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.demo-chat-wrap {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.demo-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-1);
  opacity: 0.7;
}

.demo-bot-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
}

.demo-bot-status {
  font-size: 0.8rem;
  color: #4caf50;
}

.chat-window {
  padding: 24px;
  min-height: 320px;
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-msg {
  display: flex;
}

.chat-msg-bot {
  justify-content: flex-start;
}

.chat-msg-user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.chat-msg-bot .chat-bubble {
  background: var(--bg-elevated);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}

.chat-msg-user .chat-bubble {
  background: var(--accent-1);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-input-row {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.chat-input {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
}

.chat-input:focus {
  border-color: var(--accent-1);
}

.chat-send {
  background: var(--accent-1);
  border: none;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: opacity 0.2s;
}

.chat-send:hover {
  opacity: 0.85;
}

/* ---- DEMO FEATURES SIDEBAR ---- */
.demo-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.df-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.df-icon {
  font-size: 1.4rem;
  color: var(--accent-1);
  flex-shrink: 0;
  margin-top: 2px;
}

.df-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--fg);
}

.df-item p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.demo-cta-row {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent-1);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-ghost {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: var(--fg-muted);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: var(--accent-1);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--accent-1);
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}

.btn-outline:hover {
  background: rgba(123, 92, 255, 0.1);
}

.btn-full {
  width: 100%;
}

/* ---- PRICING PAGE ---- */
.pricing-section {
  padding: 0 6vw 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pc-featured {
  border-color: rgba(123, 92, 255, 0.35);
  background: linear-gradient(180deg, rgba(123, 92, 255, 0.06) 0%, var(--bg-card) 60%);
}

.pc-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-1);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 18px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pc-top {
  margin-bottom: 28px;
}

.pc-tier {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 10px;
}

.pc-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.pc-price span {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--fg-muted);
}

.pc-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.pc-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pc-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  line-height: 1.4;
}

.pc-features li::before {
  content: '·';
  color: var(--accent-1);
  margin-right: 10px;
  font-weight: 700;
}

.pricing-card .btn-primary,
.pricing-card .btn-outline {
  margin-top: auto;
  text-align: center;
  display: block;
}

.pricing-note {
  text-align: center;
  color: var(--fg-dim);
  font-size: 0.88rem;
  margin-top: 40px;
}

/* ---- COMPARE TABLE ---- */
.compare-section {
  padding: 60px 6vw 100px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.compare-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 36px;
  text-align: center;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-elevated);
}

.compare-table th:not(:first-child) {
  text-align: center;
}

.compare-table td {
  padding: 14px 20px;
  color: var(--fg-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.compare-table td:not(:first-child) {
  text-align: center;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

.check {
  color: #4caf50;
  font-size: 1.1rem;
}

.compare-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}

/* ---- CONTACT PAGE ---- */
.contact-section {
  padding: 0 6vw 100px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
}

.required {
  color: var(--accent-2);
}

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--fg-dim);
}

.form-error {
  background: rgba(255, 92, 170, 0.1);
  border: 1px solid rgba(255, 92, 170, 0.3);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--accent-2);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.form-success {
  background: var(--bg-card);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
}

.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(76, 175, 80, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: #4caf50;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

/* ---- CONTACT INFO SIDEBAR ---- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 8px;
}

.ci-block h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--fg);
}

.ci-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ci-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

.ci-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(123, 92, 255, 0.15);
  color: var(--accent-1);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.ci-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ci-tag {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 80px 24px 60px;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .how {
    padding: 60px 24px;
  }

  .services {
    padding: 60px 24px 80px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .numbers {
    padding: 60px 24px;
  }

  .numbers-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .closing {
    padding: 80px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-strip {
    gap: 8px;
  }

  .strip-item {
    font-size: 12px;
    padding: 0 12px;
  }

  .site-nav {
    position: relative;
  }

  .nav-inner {
    padding: 0 24px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-link {
    font-size: 0.82rem;
  }

  .demo-hero {
    padding: 100px 24px 60px;
  }

  .demo-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .demo-features {
    order: -1;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .compare-section {
    padding: 40px 24px 80px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}