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

:root {
  --primary: #6C63FF;
  --primary-dark: #5549e0;
  --accent: #4CAF50;
  --accent-dark: #388E3C;
  --dark: #1a1a2e;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg: #ffffff;
  --bg-alt: #f7f8fc;
  --bg-dark: #0f0f1a;
  --border: #e4e4ef;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(108, 99, 255, 0.08);
  --shadow-lg: 0 8px 32px rgba(108, 99, 255, 0.12);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 8px 20px;
}

.btn-lg {
  font-size: 1rem;
  padding: 14px 28px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ========== BADGE ========== */
.badge {
  display: inline-block;
  background: rgba(108, 99, 255, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* ========== HERO ========== */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(170deg, #f7f8fc 0%, #fff 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========== PHONE MOCKUP ========== */
.phone-mockup {
  background: #1a1a2e;
  border-radius: 32px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 20px 60px rgba(0,0,0,0.15);
  max-width: 360px;
  margin: 0 auto;
}

.phone-screen {
  background: #e5ddd5;
  border-radius: 22px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 380px;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 85%;
  position: relative;
}

.chat-bubble.bot {
  background: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.chat-bubble.user {
  background: #dcf8c6;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

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

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
}

/* ========== PROBLEM CARDS ========== */
.section-problem {
  background: var(--bg-alt);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.problem-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ========== STEPS ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ========== FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== USE CASES ========== */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.usecase-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform var(--transition);
}

.usecase-card:hover {
  transform: translateY(-4px);
}

.usecase-emoji {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.usecase-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.usecase-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== FAQ ========== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item summary {
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 24px 18px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== CTA ========== */
.section-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, #2d2b55 100%);
}

.cta-box {
  text-align: center;
  color: #fff;
}

.cta-box h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-box > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.cta-form {
  max-width: 480px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 10px;
}

.input-group {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  overflow: hidden;
}

.input-prefix {
  padding: 0 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  white-space: nowrap;
}

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 12px 14px 0;
  font-size: 1rem;
  font-family: inherit;
  color: #fff;
}

.input-group input::placeholder {
  color: rgba(255,255,255,0.35);
}

.form-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
}

.cta-success {
  padding: 20px 0;
}

.success-icon {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  font-size: 1.6rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cta-success h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.cta-success p {
  color: rgba(255,255,255,0.7);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-brand {
  text-align: center;
}

.footer-brand p {
  font-size: 0.85rem;
}

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

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  text-align: center;
}

.footer-copy p {
  font-size: 0.8rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .problems-grid,
  .steps-grid,
  .usecases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .problems-grid,
  .steps-grid,
  .features-grid,
  .usecases-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row .btn {
    width: 100%;
  }

  .phone-mockup {
    max-width: 300px;
  }

  .cta-box h2 {
    font-size: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}
