/* =========================
   profile.css (page-only)
   Minimal subset for profile page
   ========================= */

/* Variables */
:root{
  --bg: #F7F8FF;

  --text: #12182C;
  --muted: #4B5568;
  --line: rgba(18, 24, 44, .12);

  --accent:  #7C3AED;
  --accent2: #06B6D4;
  --accent3: #F97316;

  --radius: 18px;
  --shadow: 0 16px 44px rgba(16, 24, 40, .10);
  --max: 1050px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  background:
    radial-gradient(1200px 700px at 14% 10%, rgba(124,58,237,.16), transparent 60%),
    radial-gradient(900px 650px at 86% 18%, rgba(6,182,212,.14), transparent 58%),
    radial-gradient(900px 650px at 55% 95%, rgba(249,115,22,.12), transparent 62%),
    linear-gradient(180deg, #FFFFFF, var(--bg));
}

a{ color: inherit; text-decoration:none; }
.container{ max-width: var(--max); margin:0 auto; padding: 22px; }

/* Topbar */
.topbar{
  position: sticky; top:0; z-index:10;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
}
.topbar .row{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding: 14px 22px;
  max-width: var(--max); margin:0 auto;
}

.brand{ display:flex; align-items:center; gap:10px; }
.brand .title{ font-weight: 900; letter-spacing: .2px; }
.brand .sub{ font-size: 12px; color: var(--muted); margin-top:2px; }

.pills{ display:flex; gap:8px; flex-wrap:wrap; }
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

/* Grid + base card */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.card{
  grid-column: span 12;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  background: rgba(255,255,255,.96);
}

/* Buttons */
.btn{
  cursor:pointer;
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform .10s ease, box-shadow .12s ease, border-color .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(16,24,40,.10);
  border-color: rgba(124,58,237,.22);
}
.btn:active{ transform: translateY(0px) scale(.985); }

.btn.primary{
  border-color: rgba(124,58,237,.25);
  background: linear-gradient(90deg, rgba(124,58,237,.96), rgba(6,182,212,.82));
  color: #FFFFFF;
  box-shadow: 0 16px 34px rgba(124,58,237,.18);
}

/* -------------------------
   HERO
-------------------------- */
.heroWrap{
  background: radial-gradient(1200px 600px at 20% 0%, rgba(124,58,237,.14), transparent 55%),
              radial-gradient(900px 520px at 80% 10%, rgba(59,130,246,.12), transparent 55%),
              linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
}

.hero{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 18px;
  align-items:center;
}
@media (max-width: 760px){
  .hero{ grid-template-columns: 1fr; }
}

.avatar{
  width: 160px;
  height: 160px;
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.8);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 24px rgba(16,24,40,.08);
}
.avatar img{ width:100%; height:100%; object-fit:cover; display:block; }

.heroTitle{
  font-size: 26px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -.02em;
  margin: 0;
}
.heroSub{
  margin: 8px 0 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 650;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 12px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 850;
  color: rgba(17,24,39,.80);
}

.ctaRow{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 14px;
}
.btnBig{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(124,58,237,.25);
  background: linear-gradient(90deg, rgba(124,58,237,.95), rgba(59,130,246,.92));
  color: white;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 14px 26px rgba(124,58,237,.20);
}
.btnGhost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  color: var(--text);
  font-weight: 900;
  white-space: nowrap;
}

/* -------------------------
   ROW-BASED COLLAPSIBLE STRIP
-------------------------- */
/* ensure the strip spans full grid width like the hero card */
.infoStrip{
  grid-column: span 12;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}

.infoItem{
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 26px rgba(16,24,40,.06);
  overflow: clip;
}

.infoItem > summary{
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.infoItem > summary::-webkit-details-marker{ display:none; }

.infoHead{ display:flex; flex-direction: column; gap: 4px; }

.infoChevron{
  font-weight: 900;
  color: var(--muted);
  transition: transform .18s ease;
  flex: 0 0 auto;
}
.infoItem[open] .infoChevron{ transform: rotate(180deg); }

.infoKicker{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
}
.infoTitle{
  font-size: 16px;
  font-weight: 950;
  color: var(--text);
  line-height: 1.15;
}

.infoBody{
  padding: 0 14px 14px 14px;
  border-top: 1px solid rgba(17,24,39,.08);
}
.infoBody p{ margin: 10px 0 0 0; line-height: 1.6; }
.infoBody ul{ margin: 10px 0 0 18px; line-height: 1.65; }

.infoBtns{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.muted{ color: var(--muted); }

.footerNote{
  text-align:center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  padding: 18px 0 8px;
  grid-column: span 12;
}

@media (prefers-reduced-motion: reduce){
  .btn{ transition:none; }
  .btn:hover{ transform:none; }
}