/* ═══════════════════════════════════════════════
   AMINO MAGNET — Global Stylesheet
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=DM+Serif+Display&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:       #0B3C5D;
  --navy-dark:  #072c44;
  --blue:       #5FA8E8;
  --blue-light: #EAF4FC;
  --bg:         #F3F2F2;
  --white:      #ffffff;
  --muted:      #6b7280;
  --border:     rgba(11,60,93,0.10);
  --gold:       #e8a020;
  --success:    #16a34a;
  --danger:     #c0392b;
  --grad:       linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: #222;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── TYPOGRAPHY ──────────────────────────── */
h1, h2, h3 { font-family: 'DM Serif Display', serif; }
h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.1; color: var(--navy); }
h2 { font-size: clamp(26px, 4vw, 44px); line-height: 1.2; color: var(--navy); }
h3 { font-size: 20px; color: var(--navy); }
p  { line-height: 1.75; color: #555; }

a { color: var(--navy); }

.section-label {
  display: inline-block;
  text-transform: uppercase; letter-spacing: 2px; font-size: 11px;
  font-weight: 700; color: var(--blue); margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}

/* ── NAV ─────────────────────────────────── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex; justify-content: space-between; align-items: center;
  height: 68px;
}

.nav-logo {
  font-size: 18px; font-weight: 800; letter-spacing: 0.5px;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}

.nav-logo img { height: 34px; width: auto; }

.nav-links { display: flex; gap: 8px; list-style: none; align-items: center; }

.nav-links a {
  text-decoration: none; color: #444; font-weight: 500; font-size: 14px;
  padding: 6px 14px; border-radius: 8px; transition: all 0.2s;
}
.nav-links a:hover { color: var(--navy); background: var(--blue-light); }
.nav-links a.active { color: var(--navy); font-weight: 700; }

.nav-cta {
  padding: 9px 22px;
  background: var(--grad);
  color: #fff !important; border-radius: 50px;
  font-weight: 700 !important; font-size: 14px;
  text-decoration: none; transition: opacity 0.2s;
  box-shadow: 0 4px 14px rgba(11,60,93,0.25);
}
.nav-cta:hover { opacity: 0.88; background: var(--blue-light) !important; color: var(--navy) !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: all 0.3s;
}

.nav-mobile {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 16px 24px; flex-direction: column; gap: 4px; z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  text-decoration: none; color: #333; font-weight: 500;
  padding: 12px 16px; border-radius: 10px; font-size: 15px;
  transition: background 0.2s;
}
.nav-mobile a:hover { background: var(--blue-light); }
.nav-mobile .nav-cta { text-align: center; margin-top: 8px; }

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 50px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  cursor: pointer; border: none; transition: all 0.25s; font-family: 'DM Sans', sans-serif;
}

.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 22px rgba(11,60,93,0.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(11,60,93,0.36); color: #fff; }

.btn-ghost {
  background: transparent; border: 2px solid var(--navy); color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }

.btn-white {
  background: #fff; color: var(--navy);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.18); }

.btn-sm { padding: 9px 20px; font-size: 13px; border-radius: 10px; }

/* ── CARDS ───────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px;
  box-shadow: 0 6px 20px rgba(11,60,93,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(11,60,93,0.11); }

/* ── LAYOUT ──────────────────────────────── */
.page-wrap { padding-top: 68px; flex: 1; }

.section { padding: 80px 24px; }
.section-sm { padding: 50px 24px; }

.container { max-width: 1160px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }
.container-xs { max-width: 640px; margin: 0 auto; }

.text-center { text-align: center; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }

/* ── TRUST BAR ───────────────────────────── */
.trust-bar {
  background: var(--navy); padding: 16px 40px;
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 500;
}
.trust-icon { font-size: 18px; }

/* ── NOTICE / ALERT ──────────────────────── */
.notice { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 14px; }
.notice-info  { background: #ecf8ff; border: 1px solid #bfe3ff; color: #1a5c8a; }
.notice-warn  { background: #fff8eb; border: 1px solid #ffe3b0; color: #6b4605; }
.notice-error { background: #ffe9e9; border: 1px solid #ffcccc; color: #7a1414; }
.notice-ok    { background: #edfbf0; border: 1px solid #a3e6b0; color: #15522a; }

/* ── FORM ELEMENTS ───────────────────────── */
label { font-weight: 600; font-size: 14px; color: var(--navy); display: block; margin-bottom: 6px; margin-top: 16px; }
input, select, textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid #dde2e8; border-radius: 12px;
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: #222;
  background: #fff; transition: border 0.2s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(95,168,232,0.15);
}
input[type=number] { width: auto; min-width: 80px; }

/* ── FOOTER ──────────────────────────────── */
footer {
  background: rgba(255,255,255,0.9); border-top: 1px solid var(--border);
  text-align: center; padding: 22px 40px; font-size: 13px; color: #999;
}
footer a { color: var(--navy); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }

/* ── ANIMATIONS ──────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

.anim-1 { animation: fadeUp 0.7s ease 0.0s both; }
.anim-2 { animation: fadeUp 0.7s ease 0.1s both; }
.anim-3 { animation: fadeUp 0.7s ease 0.2s both; }
.anim-4 { animation: fadeUp 0.7s ease 0.3s both; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .trust-bar { gap: 20px; padding: 14px 20px; }
  .section { padding: 60px 20px; }
  h1 { font-size: clamp(30px, 8vw, 48px); }
}