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

:root {
  --brand: #6c47ff;
  --brand-light: #8b6aff;
  --brand-dark: #4f2de0;
  --chatgpt: #10a37f;
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #18181f;
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f8;
  --text-muted: #888899;
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

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

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-light); transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.14); }
.btn-large { padding: 14px 28px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }
.btn-logo { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.claude-svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }
.btn-white .claude-svg { fill: #cc7940; }
.claude-svg-lg { width: 48px; height: 48px; fill: #cc7940; flex-shrink: 0; }
.ai-logo { width: 48px; height: 48px; object-fit: contain; }
.btn-card {
  background: transparent;
  color: var(--brand-light);
  border: 1px solid rgba(108,71,255,0.3);
  padding: 8px 14px;
  font-size: 13px;
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}
.btn-card:hover { background: rgba(108,71,255,0.1); }
.btn-chatgpt {
  background: var(--chatgpt);
  color: #fff;
}
.btn-chatgpt:hover { background: #0d8f6f; transform: translateY(-1px); }
.btn-white {
  background: #fff;
  color: #111;
}
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }
.btn-white-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px;
}
.hero-inner { max-width: 560px; }
.hero-badge {
  display: inline-block;
  background: rgba(108,71,255,0.15);
  border: 1px solid rgba(108,71,255,0.3);
  color: var(--brand-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--brand-light) 0%, #a78bff 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: center; }
.stat-number { display: block; font-size: 24px; font-weight: 800; color: var(--text); }
.stat-label { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ─── CHAT DEMO ─── */
.chat-demo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
}
.chat-window {
  width: 100%;
  max-width: 460px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
.chat-header {
  background: var(--bg2);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.chat-header-dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.chat-header-title {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.chat-messages {
  padding: 20px 16px;
  min-height: 300px;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg-user { flex-direction: row-reverse; }
.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.msg-bubble {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-top-left-radius: 4px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 80%;
  color: var(--text);
}
.msg-user .msg-bubble {
  background: var(--brand);
  border-color: transparent;
  border-top-left-radius: 14px;
  border-top-right-radius: 4px;
}
.product-result {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-top: 4px;
  font-size: 13px;
}
.product-result-title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.product-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: var(--bg3);
  border-radius: 8px;
  margin-bottom: 6px;
}
.product-result-item:last-child { margin-bottom: 0; }
.item-emoji { font-size: 18px; margin-right: 8px; }
.item-name { color: var(--text); font-weight: 500; }
.item-price { color: var(--brand-light); font-weight: 700; }
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 4px 0;
}
.typing-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typing 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}
.chat-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--brand); }
.chat-input::placeholder { color: var(--text-muted); }
.chat-send {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.1s;
}
.chat-send:hover { background: var(--brand-light); transform: scale(1.05); }
.chat-send:active { transform: scale(0.95); }

/* ─── SECTIONS ─── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-light);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

/* ─── HOW IT WORKS ─── */
.how-it-works { background: var(--bg2); }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 40px;
}
.step {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.step-number {
  position: absolute;
  top: -16px;
  left: 28px;
  width: 32px; height: 32px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon { font-size: 36px; margin-bottom: 16px; }
.step-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.step-arrow {
  font-size: 24px;
  color: var(--text-muted);
  padding: 0 16px;
  padding-top: 48px;
  flex-shrink: 0;
}

/* ─── PRODUCTS ─── */
.products { background: var(--bg); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(108,71,255,0.3); }
.product-card-featured { border-color: rgba(108,71,255,0.4); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-hot { background: #f97316; }
.badge-value { background: var(--chatgpt); }
.product-img-wrap {
  background: var(--bg3);
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.product-card:hover .product-img { transform: scale(1.04); }
.product-info { padding: 20px; }
.product-category { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.product-name { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stars { color: #f59e0b; font-size: 13px; }
.rating-count { font-size: 12px; color: var(--text-muted); }
.product-price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-price { font-size: 22px; font-weight: 800; color: var(--text); }
.product-original { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.product-discount { font-size: 12px; font-weight: 700; color: #4ade80; background: rgba(74,222,128,0.1); padding: 2px 8px; border-radius: 100px; }

/* ─── AI SECTION ─── */
.ai-section { background: var(--bg2); }
.ai-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.ai-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.ai-card-claude { border-color: rgba(108,71,255,0.3); }
.ai-card-chatgpt { border-color: rgba(16,163,127,0.3); }
.ai-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.ai-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.ai-tag { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.ai-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ai-features li { font-size: 14px; color: var(--text-muted); }

/* ─── CTA ─── */
.cta-section {
  background: linear-gradient(135deg, rgba(108,71,255,0.15) 0%, rgba(79,45,224,0.1) 100%);
  border-top: 1px solid rgba(108,71,255,0.2);
  border-bottom: 1px solid rgba(108,71,255,0.2);
}
.cta-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.cta-title { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-subtitle { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cta-note { font-size: 13px; color: var(--text-muted); }

/* ─── FOOTER ─── */
.footer { background: var(--bg); border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.footer-tagline { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.footer-copy { font-size: 12px; color: rgba(136,136,153,0.6); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .chat-demo { display: none; }
  .steps { flex-direction: column; gap: 24px; }
  .step-arrow { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .ai-cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .nav-actions .nav-link { display: none; }
  .hero-ctas { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .hero-stats { gap: 16px; }
}
