/* =========================================
   Base Styles for accounts.aibiofusion.org
   Inspired by aibiofusion.org design language
   ========================================= */

/* Theme variables */
:root {
  --indigo: #1a1f2b;
  --cyan: #00b4d8;
  --sand: #fdf6ec;
  --green: #90e0ef;
  --white: #ffffff;
  --muted: #6b7280;
  --glass: rgba(255,255,255,0.6);
  --shadow: 0 8px 30px rgba(26,31,43,0.08);
  --radius: 12px;
  --max-width: 1100px;
}

/* Reset / base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, var(--sand) 0%, #fbfdfd 60%);
  color: #0f1724;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  padding-bottom: 4rem;
}

/* Layout container */
.wrap {
  max-width: var(--max-width);
  margin: 2.25rem auto;
  padding: 0 1.25rem;
}

/* Header / hero */
header.hero {
  background: linear-gradient(135deg, rgba(26,31,43,0.96), rgba(0,180,216,0.92));
  color: var(--white);
  padding: 2.25rem 1rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}
.logo {
  width: 56px; height: 56px; border-radius: 10px;
  background: linear-gradient(180deg, var(--white), rgba(255,255,255,0.9));
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo); font-weight: 800; font-size: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.brand h1 { font-size: 1.6rem; font-weight: 700; margin: 0; }
.brand p { font-size: 0.95rem; opacity: 0.95; margin: 0; color: rgba(255,255,255,0.95); }
.hero-tag {
  text-align: center;
  margin-top: 0.5rem;
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
}

/* Navigation */
nav.main-nav {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
nav a {
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
  background: rgba(255,255,255,0.03);
  transition: background .18s ease, transform .12s ease;
}
nav a:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* Sections */
main { margin-top: 2rem; }
.section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 26px rgba(11,14,20,0.04);
  margin-bottom: 1.5rem;
}
.section h2 { color: var(--indigo); font-size: 1.25rem; margin-bottom: 0.6rem; }
.muted { color: var(--muted); font-size: 0.98rem; }

/* Pills */
.pill {
  background: linear-gradient(180deg, var(--sand), #fff);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-weight: 600;
  color: var(--indigo);
  box-shadow: 0 6px 14px rgba(14,20,30,0.04);
}

/* Cards */
.card {
  background: linear-gradient(180deg, var(--green), #e6faff);
  border-radius: 12px;
  padding: 1.25rem;
  transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid rgba(20,30,40,0.03);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(13,18,24,0.08);
}
.card h3 { color: var(--indigo); margin-bottom: 0.55rem; font-size: 1.05rem; }
.card p { color: #06202a; font-size: 0.98rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 0.95rem;
  border-radius: 10px;
  background: var(--cyan);
  color: var(--indigo);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,180,216,0.14);
  transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { transform: translateY(-4px); opacity: 0.98; }

/* Footer */
footer {
  background: var(--indigo);
  color: var(--white);
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
}
footer a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}
footer a:hover { text-decoration: underline; }

/* Responsive tweaks */
@media (max-width: 720px) {
  .hero-inner { padding: 0 0.25rem; }
  .brand h1 { font-size: 1.2rem; }
  .brand p { font-size: 0.92rem; }
}
