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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

section { padding: 90px 0; }

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0f172a;
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

p { color: #64748b; line-height: 1.75; }

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563eb;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,0.3); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #0f172a;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: #2563eb; color: #2563eb; }

/* ===== HEADER ===== */
header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f1f5f9;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a { text-decoration: none; }
.logo img { height: 64px; width: auto; display: block; }

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

.nav-links a {
  text-decoration: none;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #0f172a; }

.nav-links .btn-nav {
  background: #2563eb;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-links .btn-nav:hover { background: #1d4ed8; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.burger span { width: 24px; height: 2px; background: #0f172a; border-radius: 2px; display: block; }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: white;
  padding: 20px 40px 24px;
  border-bottom: 1px solid #f1f5f9;
  gap: 4px;
}
.mobile-nav a {
  padding: 10px 0;
  text-decoration: none;
  color: #0f172a;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid #f8fafc;
}
.mobile-nav .btn-nav {
  background: #2563eb;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 8px;
  border-bottom: none;
}

/* ===== FOOTER ===== */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 32px;
}

.footer-brand img { height: 44px; width: auto; margin-bottom: 14px; display: block; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 260px; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  font-size: 13px;
  color: #475569;
  text-align: center;
}

/* ===== CARDS ===== */
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}
.card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 32px rgba(37,99,235,0.1);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; stroke: #2563eb; fill: none; stroke-width: 1.8; }

.card h3 { margin-bottom: 10px; }

/* ===== ALT SECTIONS ===== */
.alt-section {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  padding: 56px 0;
  border-bottom: 1px solid #f1f5f9;
}
.alt-section:last-child { border-bottom: none; padding-bottom: 0; }
.alt-section.reverse { flex-direction: row-reverse; }

.alt-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: #eff6ff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.alt-icon svg { width: 30px; height: 30px; stroke: #2563eb; fill: none; stroke-width: 1.8; }

.alt-text h2 { font-size: 22px; margin-bottom: 12px; }
.alt-text p { font-size: 15px; margin-bottom: 0; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid #f1f5f9;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.page-hero p { font-size: 17px; max-width: 600px; }

/* ===== SECTION BACKGROUNDS ===== */
.bg-light { background: #f8fafc; }
.bg-dark { background: #0f172a; }
.bg-dark h2 { color: #fff; }
.bg-dark p { color: #94a3b8; }

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

/* ===== TOOL BTN ===== */
.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563eb;
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  margin-top: 20px;
  transition: all 0.2s;
}
.tool-btn:hover { background: #1d4ed8; transform: translateY(-1px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  section { padding: 60px 0; }

  .header-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .mobile-nav { padding: 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 20px 40px; }
  .footer-bottom { padding: 0 20px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .alt-section { flex-direction: column; gap: 24px; }
  .alt-section.reverse { flex-direction: column; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-card-stack { display: none; }
}
