/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #1a1a24;
  --border: #2a2a3a;
  --accent: #6c63ff;
  --accent2: #4ade80;
  --text: #e8e8f0;
  --text2: #9090a8;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(108,99,255,0.4); }
.btn-primary.btn-large { padding: 18px 36px; font-size: 17px; }

.btn-ghost {
  display: inline-block;
  color: var(--text2);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  border: 1px solid var(--border);
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline {
  display: inline-block;
  color: var(--accent);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid var(--accent);
  transition: background 0.15s, color 0.15s;
  width: 100%;
  text-align: center;
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { font-size: 22px; font-weight: 800; color: var(--white); }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text2); font-size: 14px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }

/* ===== HERO ===== */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(108,99,255,0.12) 0%, transparent 70%);
}
.hero-inner { max-width: 760px; margin: 0 auto; }

.badge {
  display: inline-block;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }

.hero-sub {
  font-size: 18px;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }

.hero-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text2);
  font-size: 14px;
}

/* ===== MAIN PRODUCT ===== */
.main-product { padding: 80px 24px; }

.product-hero-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-tag {
  display: inline-block;
  background: rgba(74,222,128,0.12);
  color: var(--accent2);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.product-hero-left h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.product-desc { color: var(--text2); margin-bottom: 24px; line-height: 1.7; }

.feature-list { list-style: none; margin-bottom: 32px; }
.feature-list li { padding: 8px 0; color: var(--text); font-size: 15px; border-bottom: 1px solid var(--border); }
.feature-list li:last-child { border-bottom: none; }

.price-block { margin-bottom: 24px; }
.price { font-size: 40px; font-weight: 800; color: var(--white); }
.price-note { color: var(--text2); font-size: 14px; margin-left: 8px; }

/* ===== TERMINAL ===== */
.terminal {
  background: #0d0d12;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  font-family: 'Courier New', monospace;
  font-size: 13px;
}
.terminal-bar {
  background: var(--bg3);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.terminal-title { color: var(--text2); font-size: 12px; margin-left: 8px; font-family: 'Inter', sans-serif; }
.terminal-body { padding: 20px; line-height: 2; }
.terminal-body p { color: #b0b0c8; }
.t-green { color: #4ade80; }
.t-blue { color: #60a5fa; }
.t-indent { padding-left: 20px; }

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 80px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title { font-size: 36px; font-weight: 800; color: var(--white); text-align: center; margin-bottom: 12px; }
.section-sub { color: var(--text2); text-align: center; margin-bottom: 56px; font-size: 17px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.step-num {
  width: 48px; height: 48px;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 17px; color: var(--white); margin-bottom: 10px; }
.step p { color: var(--text2); font-size: 14px; }

/* ===== PRODUCTS GRID ===== */
.products { padding: 80px 24px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.product-card.featured { border-color: var(--accent); background: rgba(108,99,255,0.07); }
.card-badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
}
.card-icon { font-size: 36px; }
.product-card h3 { font-size: 18px; font-weight: 700; color: var(--white); }
.product-card p { color: var(--text2); font-size: 14px; flex: 1; }
.card-price { font-size: 26px; font-weight: 800; color: var(--white); }

/* ===== FAQ ===== */
.faq {
  padding: 80px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.faq-item h4 { color: var(--white); font-size: 16px; margin-bottom: 10px; }
.faq-item p { color: var(--text2); font-size: 15px; }

/* ===== FOOTER ===== */
footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
footer p { color: var(--text2); font-size: 14px; }
.footer-small { font-size: 12px; }

/* ===== CHAT BUBBLE ===== */
.chat-bubble {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.chat-toggle {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 24px rgba(108,99,255,0.5);
  transition: transform 0.15s;
  font-family: 'Inter', sans-serif;
}
.chat-toggle:hover { transform: scale(1.04); }

.chat-window {
  display: none;
  flex-direction: column;
  width: 340px;
  height: 460px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.chat-window.open { display: flex; }

.chat-header {
  background: var(--bg3);
  padding: 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar { font-size: 28px; }
.chat-name { font-weight: 700; color: var(--white); font-size: 14px; }
.chat-status { color: var(--accent2); font-size: 12px; }
.chat-close { background: none; border: none; color: var(--text2); cursor: pointer; font-size: 16px; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.message.bot p {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 12px 12px 12px 4px;
  font-size: 14px;
  color: var(--text);
  max-width: 90%;
}
.message.user p {
  background: var(--accent);
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px 12px 4px 12px;
  font-size: 14px;
  max-width: 90%;
  margin-left: auto;
}
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
}
.chat-input-row input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
}
.chat-input-row input:focus { border-color: var(--accent); }
.chat-input-row button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .product-hero-card { grid-template-columns: 1fr; padding: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .product-hero-right { display: none; }
  .chat-window { width: calc(100vw - 48px); }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
