/* ============================================================
   INSIYO — Shared Styles
   All pages link to this file. Page-specific styles remain
   in each HTML file's <style> block.
   ============================================================ */

/* ===================== VARIABLES ===================== */
:root {
  --white: #FFFFFF;
  --off-white: #F7F9FC;
  --light-blue: #EBF1FF;
  --blue-50: #DBEAFE;
  --blue-100: #C3D9FC;
  --blue-200: #93B4F5;
  --blue-400: #5B8DEF;
  --blue-500: #3B6FE0;
  --blue-600: #2B5BC0;
  --blue-700: #1E429A;
  --blue-900: #0F1F4D;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0F172A;
  --radius: 16px;
  --radius-sm: 10px;
}

/* ===================== RESET ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--slate-900);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===================== NAV ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59,111,224,0.06);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 1px 24px rgba(15,31,77,0.06); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
}
.logo {
  font-family: 'Instrument Serif', serif;
  font-size: 26px; font-weight: 400;
  color: var(--blue-700);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.logo span { color: var(--blue-400); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--slate-600);
  text-decoration: none; letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue-600); }
.nav-cta {
  background: var(--blue-600) !important; color: var(--white) !important;
  padding: 10px 24px !important; border-radius: 50px !important;
  font-weight: 600 !important; font-size: 13px !important;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--blue-700) !important; transform: translateY(-1px); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ===================== BUTTONS ===================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-600); color: var(--white);
  padding: 14px 32px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; letter-spacing: 0.01em;
  transition: all 0.2s;
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,111,224,0.25);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--slate-700);
  padding: 14px 32px; border-radius: 50px;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(15,31,77,0.12);
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--blue-400); color: var(--blue-600); }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--blue-700);
  padding: 14px 32px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }

/* ===================== SECTION COMMON ===================== */
section { padding: 120px 32px; }
.section-label {
  font-size: 11px; font-weight: 700;
  color: var(--blue-500);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--slate-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 16px; line-height: 1.7;
  color: var(--slate-500);
  max-width: 560px;
}
.section-header { margin-bottom: 64px; }

/* ===================== FOOTER ===================== */
footer {
  background: var(--blue-900);
  color: var(--white);
  padding: 80px 32px 40px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .logo { color: var(--white); font-size: 28px; display: inline-block; margin-bottom: 16px; }
.footer-brand .logo span { color: var(--blue-200); }
.footer-brand p {
  font-size: 14px; line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none; padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-size: 13px; color: rgba(255,255,255,0.3);
  text-decoration: none; transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ===================== ANIMATIONS ===================== */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1), transform 0.7s cubic-bezier(0.23,1,0.32,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===================== SHARED RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 80px 20px; }
  .nav-inner { padding: 14px 20px; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px; gap: 16px;
    border-bottom: 1px solid rgba(59,111,224,0.08);
    box-shadow: 0 8px 24px rgba(15,31,77,0.06);
  }
  .nav-links a { font-size: 16px; padding: 8px 0; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .mobile-toggle { display: block; }
  .section-title { font-size: 26px; }
  .section-subtitle { font-size: 14px; }
  .section-header { margin-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
