/* =========================================
   GLOBAL VARIABLES & RESETS
========================================= */
:root {
  --blue: #0866e8;
  --blue-dark: #0754c4;
  --navy: #102b57;
  --text: #526b98;
  --muted: #7184a2;
  --border: #dce9f8;
  --light-blue: #eef6ff;
  --white: #ffffff;
  --success: #16a46c;
  --shadow: 0 12px 35px rgba(26, 103, 197, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", sans-serif; color: var(--navy); background: var(--white); line-height: 1.6; font-size: 14px; }
a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
button, input, select { font-family: inherit; -webkit-tap-highlight-color: transparent; }

.container { width: min(1180px, calc(100% - 48px)); margin: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =========================================
   BUTTONS
========================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 24px; border-radius: 9px; font-size: 13px; font-weight: 700;
  transition: 0.25s ease; border: 1px solid transparent; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(8, 102, 232, 0.18); }
.btn-primary { background: linear-gradient(110deg, #0877ff, #0758d6); color: white; }
.btn-outline { background: white; color: var(--blue); border-color: #9fc3ee; }
.btn-outline:hover { background: var(--light-blue); }
.btn-white { background: white; color: var(--blue); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 12px; }

/* =========================================
   NAVBAR
========================================= */
.site-header {
  height: 76px; background: rgba(255,255,255,0.96); border-bottom: 1px solid #edf3fa;
  position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(14px);
}
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { font-size: 29px; font-weight: 800; letter-spacing: -1.5px; color: var(--blue); }
.main-nav { display: flex; align-items: center; gap: 30px; height: 100%; margin-left: auto; }
.main-nav a {
  height: 100%; display: flex; align-items: center; font-size: 13px; font-weight: 600;
  color: #526884; border-bottom: 3px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 24px; margin-left: 20px; }
.login-link { font-size: 13px; font-weight: 600; color: #526884; transition: color 0.2s; }
.login-link:hover { color: var(--blue); }
.menu-toggle { display: none; border: 0; background: none; font-size: 25px; color: var(--navy); cursor: pointer; }

/* =========================================
   FOOTER
========================================= */
.site-footer { border-top: 1px solid #edf4fd; background: #fbfcff; padding-top: 48px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.5fr; gap: 35px; padding-bottom: 42px; }
.footer-brand p, .footer-newsletter p { margin-top: 12px; color: #8291a7; font-size: 11px; line-height: 1.6; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #e9f2fc; color: #5f7696; font-size: 10px; font-weight: 800; }
.footer-col h3, .footer-newsletter h3 { margin-bottom: 14px; font-size: 12px; }
.footer-col a { display: block; margin-bottom: 9px; color: #71829b; font-size: 11px; }
.footer-col a:hover { color: var(--blue); }
.footer-newsletter form { display: flex; height: 40px; border: 1px solid #d5e6fc; border-radius: 8px; overflow: hidden; background: white; }
.footer-newsletter input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 12px; font-size: 11px; color: var(--navy); }
.footer-newsletter button { width: 40px; border: 0; background: var(--blue); color: white; cursor: pointer; }
.form-message { margin-top: 8px; color: var(--success); font-size: 10px; }
.footer-bottom { min-height: 50px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e8eef6; color: #8a99ad; font-size: 10px; padding: 15px 0; }
.footer-bottom div { display: flex; gap: 15px; }

/* =========================================
   SCROLL REVEAL UTILITY
========================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================
   GLOBAL RESPONSIVE
========================================= */
@media (max-width: 1000px) {
  .footer-main { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}
@media (max-width: 800px) {
  .site-header { height: 68px; }
  .menu-toggle { display: block; }
  .nav-actions { margin-left: auto; }
  .login-link { display: none; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 15px 24px;
    background: white; border-bottom: 1px solid var(--border); box-shadow: 0 15px 25px rgba(20, 70, 120, .08);
    flex-direction: column; gap: 0;
  }
  .main-nav.mobile-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: none; }
  .main-nav a.active { color: var(--blue); font-weight: 700; background: #f0f7ff; border-radius: 8px; padding-left: 10px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-newsletter { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; justify-content: center; }
}