@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Onest:wght@400;500;600&display=swap');

:root {
  --accent: #5B4FFF;
  --accent-light: #EEF0FF;
  --accent-mid: #C5C2FF;
  --accent-dark: #3B30CC;
  --red: #FF4D6D;
  --green: #22C55E;
  --text: #0F0F1A;
  --text2: #6B6B8A;
  --text3: #A0A0B8;
  --border: #E8E8F2;
  --border2: #D0D0E8;
  --bg: #FFFFFF;
  --bg2: #F7F7FD;
  --bg3: #F0F0FA;
  --shadow: 0 2px 16px rgba(91,79,255,0.08);
  --shadow-lg: 0 8px 40px rgba(91,79,255,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Onest', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Bricolage Grotesque', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ── CONTAINER ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  flex-shrink: 0;
  margin-right: 32px;
}

.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), #A855F7);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: white;
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > a.active { background: var(--bg3); color: var(--text); }

.nav-arrow {
  width: 14px; height: 14px;
  opacity: 0.5;
  transition: transform 0.2s;
}

.nav-links > li:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all 0.18s;
  z-index: 200;
}

.nav-links > li:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background 0.1s;
}

.dropdown-item:hover { background: var(--bg2); }

.dd-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.dd-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.dd-desc {
  font-size: 11px;
  color: var(--text3);
  line-height: 1.4;
}

.dd-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--accent-light);
  color: var(--accent);
  margin-left: 6px;
  vertical-align: middle;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.btn-ghost {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.btn-ghost:hover { background: var(--bg3); color: var(--text); }

.btn-primary {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  transition: all 0.18s;
  box-shadow: 0 2px 12px rgba(91,79,255,0.25);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(91,79,255,0.35); }
.btn-primary:active { transform: none; }

.btn-outline {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: 1.5px solid var(--accent-mid);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.btn-outline:hover { background: var(--accent-light); border-color: var(--accent); }

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { color: white; margin-bottom: 12px; }
.footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.5); max-width: 260px; }

.footer-col-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-links a:hover { color: white; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.1;
}

.section-sub {
  font-size: 18px;
  color: var(--text2);
  max-width: 560px;
  line-height: 1.6;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--accent-mid); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s;
}
.faq-q:hover { background: var(--bg2); }

.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--text2);
  transition: all 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { background: var(--accent-light); color: var(--accent); transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; }

/* ── CHIPS / BADGES ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg3);
  color: var(--text2);
}

.chip.accent { background: var(--accent-light); color: var(--accent); }
.chip.green { background: #DCFCE7; color: #16A34A; }
.chip.red { background: #FEE2E2; color: #DC2626; }

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--text3); }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 32px 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex !important; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .btn-lg { padding: 12px 22px; font-size: 15px; }
}

.mobile-menu-btn {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: none;
  margin-left: auto;
  color: var(--text);
}

/* ── FEATURE CARD ── */
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s;
}
.feature-card:hover { border-color: var(--accent-mid); box-shadow: var(--shadow); transform: translateY(-2px); }

.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.feature-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

/* ── TAG BETA ── */
.tag-beta {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: #FEF3C7;
  color: #D97706;
  vertical-align: middle;
  margin-left: 5px;
}

/* animate in */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim { animation: fadeUp 0.5s ease both; }
.anim-d1 { animation-delay: 0.05s; }
.anim-d2 { animation-delay: 0.12s; }
.anim-d3 { animation-delay: 0.19s; }
.anim-d4 { animation-delay: 0.26s; }
