@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

:root {
  --bg: #f5f7fa;
  --card-bg: #ffffff;
  --radius: 12px;
  --shadow: 0 24px 48px -8px rgba(31, 45, 61, 0.07);
  --text: #1f2d3d;
  --muted: #6b7280;
  --border: #e8eaee;
  --brand: #6366f1;
  --brand-gradient: linear-gradient(90deg, #6366f1 0%, #a78bfa 100%);
  --transition: .2s ease;
  font-family: "Inter", system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 1rem 3rem; }
h1 { font-size: 2.4rem; margin: 0; font-weight: 700; line-height: 1.1; }
p { margin: 0; }

/* HEADER */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(31, 45, 61, 0.04);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer a,
.footer a:visited {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--brand);
  text-decoration: none;
}

.footer-note {
  font-size: 0.7rem;
  line-height: 1.4;
  color: #8b96a3;
  margin-top: 12px;
}


/* Logo */
.logo { display:flex; align-items:center; gap:8px; text-decoration:none; color:var(--text); font-weight:600; font-size:1.125rem; flex-shrink:0; white-space:nowrap; }
.logo .mark {
  width: 36px; height: 36px; background: var(--brand-gradient); border-radius: 8px;
  display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:1rem;
}
.tagline { font-size: 0.65rem; color: var(--muted); margin-left: 4px; }

/* NAV */
.nav { display:flex; gap:1.25rem; align-items:center; margin-left:auto; flex-wrap:wrap; position:relative; font-size:0.9rem; }
.nav a { position:relative; text-decoration:none; color:#374151; font-weight:500; padding:6px 4px; transition: color .2s ease; }
.nav a:hover { color: var(--brand); }
.nav a.active { color: var(--brand); font-weight:600; }
.nav a.active::after { content:""; position:absolute; left:0; bottom:-4px; width:100%; height:3px; border-radius:2px; background: var(--brand-gradient); }

.divider { width:1px; height:28px; background:#d1d5db; margin:0 12px; }

/* BUTTONS */
.button, .btn { cursor:pointer; border:none; border-radius:999px; padding:10px 18px; font-weight:600; font-size:0.85rem; display:inline-flex; align-items:center; gap:6px; transition:all var(--transition); outline:none; }
.button-primary, .btn-primary { background: var(--brand-gradient); color:#fff; box-shadow:0 8px 30px rgba(99, 102, 241, 0.15); }
.button-primary:hover, .btn-primary:hover { filter:brightness(1.07); transform:translateY(-1px); }
.button-outline, .btn-outline { background:#fff; border:1px solid var(--border); color:#374151; }
.button-outline:hover, .btn-outline:hover { background:#f9f9fb; box-shadow:0 8px 24px rgba(31, 45, 61, 0.04); }

/* CARD / GRID */
.card { background:var(--card-bg); border-radius:var(--radius); box-shadow:var(--shadow); padding:2rem; position:relative; }
.grid-2 { display:grid; gap:2rem; grid-template-columns:1fr 1fr; }
@media (max-width: 1024px) { .grid-2 { grid-template-columns:1fr; } }

/* FORM FIELDS */
.field-label { display:block; font-size:0.55rem; font-weight:600; letter-spacing:1px; text-transform:uppercase; margin-bottom:6px; color:var(--muted); }
.input { width:100%; padding:12px 14px; border-radius:8px; border:1px solid var(--border); background:#f9f9fb; font-size:0.9rem; outline:none; transition: box-shadow .2s ease, border .2s ease; }
.input:focus { border-color:var(--brand); box-shadow:0 0 0 4px rgba(99, 102, 241, 0.2); }

/* TEXT */
.small { font-size:0.75rem; color: var(--muted); }

/* FOOTER */
.footer { background:#fff; border-top:1px solid var(--border); padding-top:3rem; padding-bottom:2rem; margin-top:4rem; }
.footer-inner { max-width:1160px; margin:0 auto; padding:0 1rem; display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:2rem; }
.footer-section { display:flex; flex-direction:column; gap:6px; }
.footer-title { font-weight:600; margin-bottom:4px; }
.footer-note { font-size:0.65rem; color:#8b96a3; margin-top:12px; }

/* spacing helpers */
.main-content { padding-top:120px; padding-bottom:64px; }
.hero { margin-bottom:48px; }
.cards-row { gap:2rem; margin-bottom:64px; }

/* Mobile dropdown links only — modern font & style */
.mobile-nav a:link,
.mobile-nav a:visited {
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif; /* clean modern font */
  font-size: 0.95rem; /* slightly smaller for mobile */
  font-weight: 500;   /* medium weight for readability */
  color: #111827;     /* neutral dark grey instead of browser blue/purple */
  text-decoration: none; /* remove underline */
  letter-spacing: 0.2px; /* subtle spacing for cleaner look */
  display: block;
  padding: 10px 0;
}

/* Active page link */
.mobile-nav a.active {
  color: var(--brand);
}

/* Hover/tap feedback */
.mobile-nav a:hover {
  color: var(--brand);
}




@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items:flex-start; height:auto; gap:12px; padding:16px 1rem; }
  .nav { flex-direction: column; align-items:flex-start; margin-left:0; gap:8px; }
  .btn-primary { width:100%; text-align:center; }
  .divider { display:none; }
  .logo { font-size:1rem; }
  .tagline { font-size:0.55rem; }
}

.header-right { display:flex; align-items:center; gap:12px; margin-left:auto; }
.hamburger { background:none; border:none; font-size:1.5rem; cursor:pointer; padding:8px; line-height:1; }
.mobile-nav { display:none; }

@media (max-width: 640px) {
  .header-inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 16px 1rem; }
  .header-right { display:flex; gap:8px; align-items:center; }
  .mobile-nav { display:flex; flex-direction:column; gap:8px; width:100%; padding-top:8px; }
  .nav, .divider { display:none; }
}

/* Hide hamburger in desktop */
@media (min-width: 641px) {
  .hamburger { display:none; }
  .mobile-nav { display:none !important; }
}

.desktop-only { display:flex; }
.mobile-only { display:none; }
@media (max-width:640px) {
  .desktop-only { display:none; }
  .mobile-only { display:inline-flex; }
}



.template-fields {
  display: none;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.template-fields.active {
  display: block;
  opacity: 1;
  max-height: 1000px;
}
