/* ═══════════════════════════════════════
   SwiftDrop — Shared Styles
   shared.css  ·  used by all pages
═══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:      #1D9E75;
  --brand-dark: #0F6E56;
  --brand-light:#E1F5EE;
  --brand-mid:  #085041;
  --danger:     #E24B4A;
  --danger-light:#FCEBEB;
  --amber:      #BA7517;
  --amber-light:#FAEEDA;
  --bg:   #F7F7F5;
  --bg2:  #EFEFEC;
  --bg3:  #E8E8E4;
  --border:  #E2E2DC;
  --border2: #D5D5CE;
  --text:  #1A1A18;
  --text2: #6B6B63;
  --text3: #9B9B91;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:  #1C1C1A; --bg2: #252523; --bg3: #2E2E2B;
    --border: #3A3A36; --border2: #454540;
    --text: #F0F0EC; --text2: #A0A098; --text3: #6A6A62;
  }
}

body {
  font-family: 'Syne', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ── ANIMATIONS ── */
@keyframes pdot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: .6; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes slideIn {
  from { transform: translateX(-16px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ── NAV ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.5rem;
  background: var(--bg);
  border-bottom: .5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.logo-dot {
  width: 9px; height: 9px;
  background: var(--brand);
  border-radius: 50%;
  animation: pdot 2s ease-in-out infinite;
  flex-shrink: 0;
}
.logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 1.25rem; align-items: center; }
.nav-links a {
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  color: var(--brand-dark);
  font-weight: 700;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
}
.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 6px 14px;
  border-radius: var(--radius-md);
}
.nav-admin-btn {
  background: var(--brand-dark);
  color: #fff !important;
  padding: 6px 14px;
  border-radius: var(--radius-md);
}
.nav-ham {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--text);
}

/* ── MOBILE DRAWER ── */
.drawer { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.45); }
.drawer.open { display: block; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 240px;
  background: var(--bg);
  border-left: .5px solid var(--border);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.drawer-close { align-self: flex-end; background: none; border: none; cursor: pointer; font-size: 20px; color: var(--text); }
.drawer-panel a {
  font-size: 16px; font-weight: 500; color: var(--text);
  text-decoration: none; padding: .5rem 0;
  border-bottom: .5px solid var(--border);
  display: block;
}
.drawer-cta {
  background: var(--brand); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600;
  text-align: center; text-decoration: none;
  display: block;
}

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 1.25rem; right: 1.25rem;
  background: var(--bg); border: .5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: .75rem 1rem;
  font-size: 13px; color: var(--text);
  display: flex; align-items: center; gap: 8px;
  z-index: 500;
  opacity: 0; transform: translateY(8px);
  transition: opacity .2s, transform .2s;
  pointer-events: none; max-width: 300px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ── SECTION LABEL ── */
.section-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text2); margin-bottom: .75rem;
}

/* ── CTA FOOTER (shared by about + tracking) ── */
.cta-footer {
  background: var(--brand-dark);
  padding: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.cta-title { font-size: 18px; font-weight: 700; color: #fff; }
.cta-sub   { font-size: 13px; color: #9FE1CB; margin-top: 3px; }
.cta-btns  { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-btn   { padding: 9px 18px; border-radius: var(--radius-md); font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; border: none; }
.cta-btn.primary { background: #fff; color: var(--brand-dark); }
.cta-btn.outline { background: transparent; color: #fff; border: .5px solid #9FE1CB88; }

/* ── RESPONSIVE NAV ── */
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-ham   { display: flex; }
  .cta-footer { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
}

/* ── SITE FOOTER ── */
.site-footer {
  background: var(--brand-dark);
  padding: 1.1rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.footer-copy {
  font-size: 12px; color: #9FE1CB; line-height: 1.6;
}
.footer-copy a { color: #fff; text-decoration: none; }
.footer-copy a:hover { text-decoration: underline; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: #ffffff14; color: #9FE1CB;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; text-decoration: none;
  transition: background .15s, color .15s;
}
.footer-social a:hover { background: #ffffff26; color: #fff; }

@media (max-width: 680px) {
  .site-footer { padding: 1.1rem 1.25rem; flex-direction: column; align-items: flex-start; }
}
