@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #1a56db;
  --brand-dark: #1240a8;
  --brand-light: #e8effc;
  --surface: #f8f9fb;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --accent: #f59e0b;
  --border: #e2e8f0;
  --radius: 12px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

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

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--brand);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-shrink: 0;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.search-bar {
  flex: 1;
  max-width: 420px;
  margin-left: auto;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  width: 18px;
  height: 18px;
}

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

/* ========== HERO ========== */
.hero {
  padding: 80px 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.hero h1 span { color: var(--brand); }

.hero-text p {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
}

.hero-img {
  width: 100%;
  height: 420px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand-light) 0%, #dbeafe 50%, #c7d2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #94a3b8;
  position: relative;
  overflow: hidden;
}

.hero-img::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(26,86,219,0.07);
  top: -60px;
  right: -60px;
}

.hero-img::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(245,158,11,0.08);
  bottom: -40px;
  left: -40px;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 14px 32px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

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

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

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

.section h2 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.section h2 span { color: var(--brand); }

.section-desc {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 680px;
}

/* ========== CTA SECTION (h2 + text + button) ========== */
.cta-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-block .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ========== STEPS SECTION (ol 7 items + image) ========== */
.steps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 40px;
}

.steps-list {
  padding-left: 0;
  counter-reset: steps;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.steps-list li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.section-alt .steps-list li {
  background: #fff;
}

.steps-list li:hover {
  border-color: var(--brand);
  box-shadow: 0 2px 12px rgba(26,86,219,0.06);
}

.steps-list li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
}

.steps-list li span {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  padding-top: 4px;
}

.steps-image {
  width: 100%;
  height: 480px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f0f4ff 0%, #e0e7ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 14px;
}

/* ========== FEATURES GRID (6x h3+text) ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 20px rgba(26,86,219,0.06);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ========== FAQ ========== */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item.active { border-color: var(--brand); }

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question:hover { color: var(--brand); }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: #94a3b8;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--brand);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.faq-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-img {
  width: 100%;
  height: 180px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 14px;
}

.faq-img:nth-child(2) {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.faq-img:nth-child(3) {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

/* ========== NEWS ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.news-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.news-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 20px rgba(26,86,219,0.06);
}

.news-thumb {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 13px;
}

.news-body {
  padding: 20px;
}

.news-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.news-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--text-primary);
  color: #cbd5e1;
  padding: 64px 0 32px;
}

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

.footer-brand .logo {
  color: #fff;
  font-size: 24px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.2s;
}

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

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .hero-img { height: 320px; }
  .steps-layout { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-images { flex-direction: row; }
  .faq-img { height: 140px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .navbar-inner { gap: 16px; }
  .nav-links { display: none; }
  .search-bar { max-width: none; }
  .hero h1 { font-size: 32px; }
  .section h2 { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .faq-images { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}