/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: "Nunito Sans", system-ui, sans-serif;
  background-color: #ffffff;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3, h4 {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
input, button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}
button { cursor: pointer; }

/* ========== LAYOUT ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  width: 36px; height: 36px;
}
.logo-text {
  font-family: "Nunito", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #1E63B8;
}
.logo-text span { color: #5DA7E8; }
.nav { display: none; }
@media (min-width: 768px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(17,24,39,0.7);
  }
  .nav a:hover { color: #1E63B8; }
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  background: #1E63B8;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 1px 2px rgba(30,99,184,0.15);
  transition: background 0.2s;
}
.btn-primary:hover { background: #174E94; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid rgba(30,99,184,0.25);
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E63B8;
  transition: background 0.2s;
}
.btn-ghost:hover { background: #E0F2FC; }
.header .btn-primary { display: none; }
@media (min-width: 768px) { .header .btn-primary { display: inline-flex; } }

/* ========== HERO ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
  padding-top: 64px;
}
@media (min-width: 1024px) { .hero { padding-top: 96px; } }
.hero-bg1 {
  position: absolute;
  right: -128px; top: -128px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: #E0F2FC;
  filter: blur(80px);
  opacity: 0.7;
  pointer-events: none;
}
.hero-bg2 {
  position: absolute;
  left: -96px; top: 160px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: #EEE7FF;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  align-items: center;
  gap: 56px;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid rgba(30,99,184,0.2);
  background: #E0F2FC;
  padding: 6px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E63B8;
}
.badge svg { width: 16px; height: 16px; }

.hero h1 {
  margin-top: 24px;
  font-size: 2.25rem;
  line-height: 1.05;
  color: #111827;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4rem; } }
.hero h1 span { color: #1E63B8; }

.hero p {
  margin-top: 24px;
  max-width: 576px;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #5D6A76;
}

.hero-buttons {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.channels {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 448px;
}
.channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 16px;
}
.channel-name {
  font-size: 11px;
  font-weight: 500;
  color: #5D6A76;
}

/* Mock UI Card */
.mock-card-wrap {
  position: relative;
}
.mock-card {
  border-radius: 28px;
  background: linear-gradient(135deg, #1E63B8, #2D7BD6);
  padding: 4px;
  box-shadow: 0 25px 50px -12px rgba(30,99,184,0.25);
}
.mock-card-inner {
  border-radius: 24px;
  background: #fff;
  padding: 20px;
}
.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 16px;
}
.dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-title { font-size: 12px; font-weight: 600; color: #5D6A76; }

.mock-body {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
}
@media (max-width: 640px) { .mock-body { grid-template-columns: 1fr; } }

.contact-list { display: flex; flex-direction: column; gap: 8px; }
.contact-item {
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-item.active { border-color: #1E63B8; background: #E0F2FC; }
.contact-item:not(.active) { background: #F7F9FC; }
.contact-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #1E63B8;
  flex-shrink: 0;
}
.contact-name {
  font-size: 11px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-msg {
  font-size: 10px;
  color: #5D6A76;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-window {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: #F7F9FC;
  padding: 12px;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
}
.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #1E63B8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.chat-name { font-size: 12px; font-weight: 600; color: #111827; }
.chat-status { font-size: 10px; color: #2BB673; }
.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
}
.msg-in, .msg-out {
  max-width: 80%;
  border-radius: 16px;
  padding: 8px 12px;
  font-size: 11px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.msg-in {
  background: #fff;
  color: #111827;
  border-top-left-radius: 4px;
  align-self: flex-start;
}
.msg-out {
  background: #1E63B8;
  color: #fff;
  border-top-right-radius: 4px;
  align-self: flex-end;
}
.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 8px 12px;
}
.chat-input span {
  font-size: 11px;
  color: #9aa3ad;
  flex: 1;
}
.chat-input svg {
  width: 14px; height: 14px;
  color: #1E63B8;
  flex-shrink: 0;
}

.floating-badge {
  position: absolute;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.05);
  display: none;
}
@media (min-width: 640px) { .floating-badge { display: block; } }
.floating-badge.left { bottom: -24px; left: -24px; }
.floating-badge.right { top: -20px; right: -16px; }
.floating-badge .fb-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.floating-badge .fb-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floating-badge .fb-icon svg { width: 20px; height: 20px; }
.floating-badge .fb-value {
  font-size: 1.125rem;
  font-weight: 900;
  color: #111827;
}
.floating-badge .fb-label {
  font-size: 11px;
  color: #5D6A76;
}

/* ========== SECTIONS COMMON ========== */
.section-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1E63B8;
}
.section-title {
  margin-top: 12px;
  font-size: 1.875rem;
}
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }

/* ========== PROBLEMS ========== */
#problems { padding: 80px 0; }
.problems-grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) { .problems-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .problems-grid { grid-template-columns: repeat(3, 1fr); } }

.problem-card {
  border-radius: 24px;
  padding: 28px;
  transition: transform 0.2s;
}
.problem-card:hover { transform: translateY(-4px); }
.problem-card .icon-box {
  width: 44px; height: 44px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.problem-card .icon-box svg { width: 20px; height: 20px; color: #1E63B8; }
.problem-card p {
  margin-top: 20px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: #111827;
}

/* ========== SOLUTION ========== */
#solution {
  background: #F5F9FE;
  padding: 96px 0;
}
.solutions-grid {
  margin-top: 48px;
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .solutions-grid { grid-template-columns: repeat(4, 1fr); } }

.solution-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, ring 0.2s;
}
.solution-card:hover {
  box-shadow: 0 10px 15px -3px rgba(30,99,184,0.05);
  box-shadow: 0 0 0 1px rgba(30,99,184,0.15), 0 10px 15px -3px rgba(30,99,184,0.05);
}
.solution-card .icon-box {
  width: 48px; height: 48px;
  border-radius: 16px;
  background: #E0F2FC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E63B8;
}
.solution-card .icon-box svg { width: 24px; height: 24px; }
.solution-card h3 {
  margin-top: 20px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
}
.solution-card p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #5D6A76;
}

/* ========== PRODUCTS ========== */
#products { padding: 96px 0; }
.products-grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(5, 1fr); } }

.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(30,99,184,0.05);
}
.product-card .icon-box {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .icon-box svg { width: 24px; height: 24px; }
.product-card h3 {
  margin-top: 20px;
  font-size: 1.125rem;
  font-weight: 800;
  color: #111827;
}
.product-card .more {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E63B8;
  opacity: 0;
  transition: opacity 0.2s;
}
.product-card:hover .more { opacity: 1; }

/* ========== RESULTS ========== */
#results {
  background: #F5F9FE;
  padding: 96px 0;
}
.results-grid {
  margin-top: 48px;
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .results-grid { grid-template-columns: repeat(4, 1fr); } }

.result-card {
  border-radius: 24px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}
.result-value {
  display: inline-flex;
  border-radius: 16px;
  padding: 8px 16px;
  font-size: 1.875rem;
  font-weight: 900;
  font-family: "Nunito", sans-serif;
}
.result-card h3 {
  margin-top: 16px;
  font-size: 1.125rem;
  font-weight: 800;
  color: #111827;
}
.result-card p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #5D6A76;
}

/* ========== STAGES ========== */
#stages { padding: 96px 0; }
.stages-wrap { position: relative; margin-top: 56px; }
.stages-line {
  position: absolute;
  left: 0; right: 0; top: 28px;
  height: 2px;
  background: linear-gradient(90deg, #E0F2FC, rgba(30,99,184,0.3), #E0F2FC);
  display: none;
}
@media (min-width: 1024px) { .stages-line { display: block; } }

.stages-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) { .stages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stages-grid { grid-template-columns: repeat(6, 1fr); } }

.stage-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stage-num {
  position: relative;
  z-index: 10;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #1E63B8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(30,99,184,0.3);
}
.stage-text {
  margin-top: 20px;
  border-radius: 16px;
  background: #F5F9FE;
  padding: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: #111827;
}

/* ========== WHY CHOOSE ========== */
#whychoose {
  background: #0F2A4D;
  padding: 96px 0;
  color: #fff;
}
#whychoose .section-label { color: #7CB2F0; }
#whychoose h2 { color: #fff; }
.reasons-grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) { .reasons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reasons-grid { grid-template-columns: repeat(3, 1fr); } }

.reason-card {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.reason-card:hover { background: rgba(255,255,255,0.08); }
.reason-card .icon-box {
  width: 48px; height: 48px;
  border-radius: 16px;
  background: #1E63B8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.reason-card .icon-box svg { width: 20px; height: 20px; }
.reason-card h3 {
  margin-top: 20px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}
.reason-card p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

/* ========== CONTACT FORM ========== */
#contact { padding: 96px 0; }
.contact-wrap {
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, #1E63B8, #2470CD, #3C8AE0);
  padding: 4px;
  box-shadow: 0 25px 50px -12px rgba(30,99,184,0.25);
}
.contact-inner {
  display: grid;
  gap: 40px;
  border-radius: 28px;
  background: #fff;
  padding: 32px;
}
@media (min-width: 1024px) {
  .contact-inner { grid-template-columns: 1.1fr 1fr; padding: 56px; }
}

.contact-form {
  border-radius: 24px;
  background: #F5F9FE;
  padding: 28px;
}
.form-group { display: block; }
.form-group + .form-group { margin-top: 16px; }
.form-group span {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}
.form-group input {
  margin-top: 6px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 12px 16px;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus {
  border-color: #1E63B8;
  box-shadow: 0 0 0 3px rgba(30,99,184,0.15);
}
.form-submit {
  margin-top: 8px;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9999px;
  background: #1E63B8;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(30,99,184,0.25);
  transition: background 0.2s;
}
.form-submit:hover { background: #174E94; }
.form-note {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: #5D6A76;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px 0;
  text-align: center;
}
.form-success.active { display: flex; }
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #E6F7E9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2BB673;
}
.success-icon svg { width: 32px; height: 32px; }
.form-success h3 {
  margin-top: 20px;
  font-size: 1.5rem;
  font-weight: 800;
}
.form-success p {
  margin-top: 8px;
  color: #5D6A76;
}

.check-list { margin-top: 28px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #111827;
}
.check-list li + li { margin-top: 12px; }
.check-list svg {
  width: 20px; height: 20px;
  color: #2BB673;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 24px;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}
.footer p {
  font-size: 0.875rem;
  color: #5D6A76;
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #5D6A76;
}
.footer-links a:hover { color: #1E63B8; }

/* ========== UTILITIES ========== */
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-300 { background-color: #cbd5e1; }
.text-center { text-align: center; }
.mt-12 { margin-top: 48px; }
