:root{
  --bg: #070A12;
  --panel: rgba(255,255,255,.06);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.55);
  --stroke: rgba(255,255,255,.12);
  --accent: #7C5CFF;
  --accent2: #22D3EE;
  --shadow: 0 20px 80px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 26px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% 10%, rgba(124,92,255,.18), transparent 60%),
              radial-gradient(900px 700px at 85% 15%, rgba(34,211,238,.12), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a{ color:inherit; text-decoration:none; }
.container{ width:min(1120px, 92vw); margin:0 auto; }

/* NAV */
.nav{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(7,10,18,.62);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:-.02em; }
.brand-dot{
  width:10px; height:10px; border-radius:99px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 6px rgba(124,92,255,.15);
}
.nav-links{
  display:flex; gap:18px;
  padding: 10px 14px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
}
.nav-links a{ color: var(--muted); font-weight:700; font-size:14px; }
.nav-links a:hover{ color: var(--text); }

.nav-toggle{
  display:none;
  width:44px; height:44px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.03);
}
.nav-toggle span{
  display:block;
  height:2px; width:18px;
  background: rgba(255,255,255,.85);
  margin: 5px auto;
  border-radius: 2px;
}

.mobile-menu{
  border-top: 1px solid var(--stroke);
  background: rgba(7,10,18,.72);
}
.mobile-links{
  padding: 14px 0 18px;
  display:flex;
  flex-direction:column;
  gap: 12px;
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-weight:900;
  font-size: 14px;
  letter-spacing: -.01em;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{
  border-color: rgba(124,92,255,.35);
  background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(34,211,238,.85));
  color: #071018;
}
.btn-ghost{
  background: rgba(255,255,255,.03);
  color: var(--text);
}

/* HERO */
.hero{
  position:relative;
  padding: 56px 0 26px;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 26px;
  align-items: start;
}
.pill{
  display:inline-block;
  font-weight:900;
  font-size: 12px;
  color: rgba(255,255,255,.88);
  border: 1px solid rgba(124,92,255,.35);
  background: rgba(124,92,255,.10);
  padding: 8px 12px;
  border-radius: 999px;
}
h1{
  margin: 14px 0 12px;
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.accent{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.lead{
  margin: 0 0 18px;
  color: rgba(255,255,255,.84);
  font-size: 16px;
  max-width: 56ch;
}
.hero-cta{ display:flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 18px; }

.hero-stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 16px;
}
.stat{
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding: 12px 12px;
}
.stat-top{ font-weight:900; letter-spacing:-.02em; }
.stat-bottom{ color: var(--muted2); font-weight:700; font-size: 13px; margin-top: 4px; }

.hero-card{
  border-radius: var(--radius2);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-card-inner{ display:flex; flex-direction:column; }
.hero-img{
  height: 240px;
  background:
    linear-gradient(135deg, rgba(124,92,255,.22), rgba(34,211,238,.14)),
    url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--stroke);
}
.hero-card-content{ padding: 18px 18px 18px; }
.hero-card h3{ margin: 0 0 10px; letter-spacing:-.02em; }
.checklist{ margin: 0 0 14px; padding-left: 18px; color: rgba(255,255,255,.84); }
.checklist li{ margin: 8px 0; }
.note{
  margin-top: 10px;
  border: 1px dashed rgba(255,255,255,.20);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding: 12px;
  color: rgba(255,255,255,.86);
}
.hero-glow{
  position:absolute;
  inset:auto -20% -40% -20%;
  height: 520px;
  background: radial-gradient(closest-side, rgba(124,92,255,.22), transparent 70%);
  filter: blur(20px);
  pointer-events:none;
}

/* SECTIONS / GRIDS */
.section{ padding: 52px 0; }
.section.alt{
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  background: rgba(255,255,255,.02);
}
.section-head{ margin-bottom: 18px; }
.section-head h2{
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.03em;
}
.section-head p{ margin:0; color: var(--muted); max-width: 70ch; }

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.card{
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.card h3{ margin: 0 0 10px; letter-spacing: -0.02em; }
.card p{ margin: 0 0 10px; color: rgba(255,255,255,.84); }
.muted{ color: var(--muted); }

.bullets{ margin: 0; padding-left: 18px; color: rgba(255,255,255,.84); }
.bullets li{ margin: 8px 0; }

.callout{
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(124,92,255,.30);
  background: linear-gradient(135deg, rgba(124,92,255,.15), rgba(34,211,238,.06));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

/* TEAM */
.person .avatar{
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  background-size: cover;
  background-position: center;
  margin-bottom: 12px;
}
.tag{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  font-weight:900;
  font-size: 12px;
  color: rgba(255,255,255,.82);
  margin: 0 0 10px;
}

/* PRICING */
.price-tier-label{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(124,92,255,.12);
  border: 1px solid rgba(124,92,255,.25);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 8px;
}
.price .price-num{
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 6px 0 10px;
}
.featured{
  border-color: rgba(124,92,255,.35);
  background: linear-gradient(180deg, rgba(124,92,255,.12), rgba(255,255,255,.03));
}
.badge{
  display:inline-block;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(124,92,255,.18);
  border: 1px solid rgba(124,92,255,.35);
  color: rgba(255,255,255,.90);
  margin-bottom: 10px;
}
.fineprint{
  margin-top: 14px;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}

/* CONTACT */
.contact-card{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding: 18px;
}
.contact-actions{ display:flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 14px; }
.mini{ display:grid; gap: 6px; color: rgba(255,255,255,.75); }
.divider{ height:1px; background: var(--stroke); margin: 16px 0; }

details{
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding: 12px;
  margin-top: 10px;
}
summary{
  cursor:pointer;
  font-weight:900;
  color: rgba(255,255,255,.90);
}
details p{ margin: 10px 0 0; color: rgba(255,255,255,.80); }

.footer{
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--stroke);
}

/* TABS */
.tabs{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 16px;
}
.tab{
  flex: 1 1 240px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.82);
  font-weight: 900;
  letter-spacing: -0.02em;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.tab:hover{ transform: translateY(-1px); }
.tab-sub{
  font-weight: 800;
  font-size: 12px;
  color: var(--muted2);
}
.tab.is-active{
  border-color: rgba(124,92,255,.38);
  background: linear-gradient(135deg, rgba(124,92,255,.16), rgba(34,211,238,.06));
  color: rgba(255,255,255,.95);
}
.tab-panel{ border-radius: var(--radius2); }
.tab-panel[hidden]{ display:none; }

/* RESPONSIVE */
@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .contact-card{ grid-template-columns: 1fr; }
  .nav-links{ display:none; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
}


/* Tutor cards: balanced height + aligned buttons */
.grid-3{
  align-items: stretch;
}

.card.person{
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px;            /* back to original padding */
}

.card.person p{
  margin: 0 0 10px;         /* restore normal paragraph spacing */
  line-height: 1.52;        /* a bit looser */
  font-size: 15px;          /* slightly bigger */
}

.card.person .tag{
  margin: 0 0 10px;
}

.person-actions{
  margin-top: auto;         /* keep buttons pinned to bottom */
  padding-top: 12px;
}

/* Tutor Availability (Google Calendar embeds) */
.availability{ margin-top: 12px; }

.availability .small{
  font-size: 13px;
  margin-top: 10px;
}

.calendar-embed{
  margin-top: 10px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
}

.calendar-embed iframe{
  width: 100%;
  height: 420px; /* adjust if you want */
  border: 0;
  display: block;
}

