/* Fordham Innovations in Technology LLC — Lightweight, modern CSS */
:root {
  --bg: #0b1020;
  --panel: #0f1529;
  --muted: #8a93a6;
  --text: #e6e8ee;
  --accent: #7c3aed;      /* violet */
  --accent-2: #00e5ff;    /* cyan */
  --ok: #10b981;
  --warn: #f59e0b;
  --err: #ef4444;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(124,58,237,.15), transparent 45%),
    radial-gradient(1200px 700px at 110% 10%, rgba(0,229,255,.12), transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.no-header-logo .brand img { display: none; }
.brand { min-width: 140px; }  /* optional but keeps spacing tidy */


a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Layout */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 0 20px; }
.section { padding: 72px 0; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 980px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Header/Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(11,16,32, .72);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav .row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 140px; height: auto; }
.nav a { color: #c9d3ea; font-weight: 600; }
.nav .links { display: flex; align-items: center; gap: 18px; }
.nav .cta { padding: 10px 16px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #0b1020; border-radius: 999px; font-weight: 800; box-shadow: var(--shadow); }

/* Mobile menu */
.menu-btn { display: none; background: none; border: 0; color: #c9d3ea; font-size: 20px; }
@media (max-width: 880px) {
  .nav .links { display: none; }
  .menu-btn { display: inline-block; }
}
.mobile-panel {
  display: none; background: var(--panel); border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-panel.open { display: block; }
.mobile-panel a { display: block; padding: 14px 22px; border-top: 1px solid rgba(255,255,255,.06); }

/* Hero */
.hero { padding: 80px 0; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 42px; align-items: center; }
.hero h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -0.02em; }
.lead { font-size: clamp(16px, 2vw, 20px); color: #c9d3ea; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.badge { padding: 8px 12px; font-size: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #c9d3ea; }

.cta-row { display: flex; gap: 12px; margin-top: 24px; }
.btn { padding: 12px 18px; border-radius: 12px; font-weight: 800; border: 1px solid rgba(255,255,255,.1); color: #eaf2ff; }
.btn.accent { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #0b1020; border: 0; }
.btn.ghost { background: rgba(255,255,255,.04); }
.btn.block { display: inline-block; width: 100%; text-align: center; }

/* Cards */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.0));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 6px; letter-spacing: -0.01em; }
.card p { color: #c9d3ea; margin: 0; }

/* Pricing */
.pricing { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 980px) { .pricing { grid-template-columns: 1fr; } }
.price-card { position: relative; overflow: hidden; }
.price { font-size: 42px; font-weight: 900; letter-spacing: -0.02em; margin: 12px 0; }
.price small { font-size: 14px; color: #9db0d9; font-weight: 500; }

.tag {
  position: absolute; top: 14px; right: -40px; transform: rotate(35deg);
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  color: #0b1020; font-weight: 900; padding: 6px 60px;
}

/* Steps */
.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #0b1020;
  font-weight: 900;
}

/* Ensure all actual content in .step sits in column 2 */
.step > * { 
  grid-column: 2;
}

/* (optional) keep the dot aligned to the top-left nicely */
.step::before {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
}


/* Footer */
footer { border-top: 1px solid rgba(255,255,255,.06); padding: 40px 0; color: #c9d3ea; }
footer .cols { display: grid; gap: 18px; grid-template-columns: 2fr 1fr 1fr 1fr; }
footer a { color: #c9d3ea; }
footer .small { color: #98a1b5; font-size: 13px; margin-top: 16px; }
@media (max-width: 980px) { footer .cols { grid-template-columns: 1fr; } }

/* Forms */
.input, select, textarea {
  width: 100%; padding: 12px 14px;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03); color: var(--text);
}
label { display: block; margin: 12px 0 6px; color: #c9d3ea; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 880px) { .form-row { grid-template-columns: 1fr; } }
.help { font-size: 12px; color: #9db0d9; }
.success { color: var(--ok); }
.error { color: var(--err); }

/* Tables */
table { width: 100%; border-collapse: collapse; }
td, th { padding: 12px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; }
thead th { color: #c9d3ea; font-weight: 700; }

/* Utility */
.center { text-align: center; }
.m0 { margin: 0; }
.mt1 { margin-top: 8px; }
.mt2 { margin-top: 16px; }
.mt3 { margin-top: 24px; }
.mt4 { margin-top: 36px; }
.mt5 { margin-top: 48px; }
.hidden { display: none; }

/* Legacy slide-out menu support (only if you still use it) */
.menu { position: fixed; top: 16px; right: 16px; z-index: 60; cursor: pointer; }
.menu .bar { width: 26px; height: 3px; background: #c9d3ea; margin: 5px 0; border-radius: 2px; }
#navMenu { position: fixed; top: 0; right: 0; width: 280px; height: 100vh; background: var(--panel);
  box-shadow: var(--shadow); padding: 24px; z-index: 55; transform: translateX(100%); transition: transform .25s ease; }
#navMenu.hidden { transform: translateX(100%); }
#navMenu:not(.hidden) { transform: translateX(0); }
#navMenu ul { list-style: none; padding: 0; margin: 48px 0 0; }
#navMenu a { display: block; padding: 12px 0; color: #c9d3ea; font-weight: 600; }
#navMenu .closeBtn { position: absolute; top: 10px; right: 16px; font-size: 28px; color: #c9d3ea; cursor: pointer; }

#overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
#overlay.active { opacity: 1; pointer-events: auto; }
.brand { min-width: 140px; }

/* === Center the header logo site-wide === */
.nav .row{
  display: flex;
  flex-direction: column;   /* logo on top, links below */
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: auto;             /* let the header grow to the logo height */
  padding: 12px 0;
}

.brand{
  margin: 0 auto;           /* center the brand block */
}

.brand img{
  width: 140px;             /* adjust if you want it smaller/larger */
  height: auto;
  display: block;
}

.nav .links{
  display: flex;
  gap: 18px;
  justify-content: center;  /* center the nav links below the logo */
  align-items: center;
}

/* Mobile keeps your existing slide-out */
@media (max-width: 880px){
  .nav .links{ display:none; }
}
/* Slide-away header */
.nav { transition: transform .25s ease; }
.nav.nav--hidden { transform: translateY(-100%); }

/* slide-away animation (keep if already present) */
.nav { transition: transform .25s ease; }
.nav.nav--hidden { transform: translateY(-100%); }

/* Mobile: use fixed header + safe layout below it */
@media (max-width: 880px) {
  :root { --nav-h: 64px; }                /* fallback height */
  body { padding-top: var(--nav-h); }     /* prevent content jump under fixed header */
  .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }

  /* Make the slide-out panel sit below the fixed header and scroll if tall */
  .mobile-panel {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--nav-h));
    overflow: auto;
    z-index: 49;
  }
}

/* --- HOMEPAGE FIXES --- */
/* 1) Collapse the hero to one column on phones */
@media (max-width: 980px){
  .hero .wrap { grid-template-columns: 1fr !important; gap: 24px; }
}

/* 2) Make the pricing grid inside the hero responsive & stable */
.hero .pricing {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media (max-width: 980px){
  .hero .pricing { grid-template-columns: 1fr; }
}

/* 3) Stretch cards so buttons align at the bottom */
.price-card { display: flex; flex-direction: column; height: 100%; }
.price-card .btn { margin-top: auto; }

/* 4) Ensure any images in cards can’t overflow */
.card img { width: 100%; height: auto; display: block; }

/* --- Terms page contrast fix --- */
.legal .card.muted {                /* or .card.callout if you used that */
  background: var(--panel, #101826);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text, #e5e7eb);
  opacity: 1;                       /* kill inherited fade */
}
.legal .card.muted * {
  color: inherit;
  opacity: 1;
}

/* Floating LinkedIn button (bottom-right) */
.fi-linkedin-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  z-index: 9999; /* above header/menu layers */
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.fi-linkedin-float svg{
  width: 20px;
  height: 20px;
  fill: #c9d3ea;
}

.fi-linkedin-float:hover{
  transform: translateY(-2px);
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-color: rgba(255,255,255,.22);
}

.fi-linkedin-float:hover svg{
  fill: #0b1020;
}

.fi-linkedin-float:focus-visible{
  outline: 2px solid rgba(0,229,255,.8);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  .fi-linkedin-float{ transition: none; }
  .fi-linkedin-float:hover{ transform: none; }
}

/* small tooltip on hover/focus (subtle, not cheesy) */
.social-float::after{
  content: attr(aria-label);
  position: absolute;
  right: 62px;
  white-space: nowrap;
  background: rgba(15,21,41,.92);
  border: 1px solid rgba(255,255,255,.10);
  color: #c9d3ea;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}

.social-float:hover::after,
.social-float:focus-visible::after{
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 880px){
  .social-float{ right: 14px; bottom: 14px; width: 48px; height: 48px; }
  .social-float::after{ display: none; }
}
