/* ----------------------------------------------------
   FAIR TECH INITIATIVE — GLOBAL ADAPTIVE THEME
   Dark mode is default; light mode overrides below.
---------------------------------------------------- */

/* ------------------------------
   DARK THEME (DEFAULT)
------------------------------ */
:root {
  --bg: #0b0f19;
  --card: #111827;
  --accent: #22c55e;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 22px 45px rgba(0, 0, 0, 0.65);

  --radius: 26px;
  --max-width: 880px;
  --transition: 0.25s ease;
}

/* ------------------------------
   LIGHT THEME OVERRIDES
------------------------------ */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f7fa;
    --card: #ffffff;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --border-subtle: rgba(0, 0, 0, 0.12);
    --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.08);
  }
}

/* ------------------------------
   GLOBAL RESET & BASE
------------------------------ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* ------------------------------
   LAYOUT WRAPPER
------------------------------ */
.shell {
  max-width: var(--max-width);
  width: 100%;
}

/* ------------------------------
   CARD CONTAINER
------------------------------ */
.card {
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.10), transparent 55%),
    var(--card);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

/* ------------------------------
   BADGE
------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 18px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
}

/* ------------------------------
   NAVIGATION
------------------------------ */
.nav {
  display: flex;
  gap: 22px;
  margin-bottom: 24px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav a:hover,
.nav a:focus {
  color: var(--text-main);
  border-bottom: 1px solid var(--accent);
}

/* ------------------------------
   TYPOGRAPHY
------------------------------ */
h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.tagline-under {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.section {
  margin-bottom: 26px;
}

.section p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 14px;
}

h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

/* ------------------------------
   CONTACT LINKS
------------------------------ */
.contact a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity var(--transition);
}

.contact a:hover {
  opacity: 0.8;
}

/* ------------------------------
   DIVIDER
------------------------------ */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  margin: 24px 0;
}

/* ------------------------------
   FOOTER NOTE
------------------------------ */
.footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ------------------------------
   RESPONSIVE TWEAKS
------------------------------ */
@media (max-width: 720px) {
  .card {
    padding: 26px 20px 20px;
  }
}