/* ===========================
   Orborb — Global Styles
   =========================== */

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('fonts/IBMPlexSans-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('fonts/IBMPlexSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg:          #000000;
  --bg-card:     #0d0d0d;
  --bg-nav:      rgba(0, 0, 0, 0.85);
  --white:       #ffffff;
  --off-white:   #a0a0a0;
  --purple:      #9b5de5;
  --purple-dim:  rgba(155, 93, 229, 0.15);
  --border:      rgba(255, 255, 255, 0.08);
  --border-hover:rgba(155, 93, 229, 0.4);
  --radius:      12px;
  --transition:  0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1 { font-size: clamp(2.4rem, 8vw, 6rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 5vw, 3.5rem); font-weight: 400; letter-spacing: -0.025em; line-height: 1.1; }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
p  { color: var(--off-white); line-height: 1.7; }
a  { color: inherit; text-decoration: none; }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 60px;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--white); }
.nav-logo span { color: var(--purple); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.85rem; font-weight: 500; color: var(--off-white); transition: color var(--transition); }
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
section { padding: 7rem 0; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0 4rem;
}

.hero h1 { margin-bottom: 1.5rem; max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--purple); }
.hero-sub { font-size: 1.1rem; color: var(--off-white); max-width: 500px; margin-bottom: 2.5rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary { background: var(--white); color: #000; }
.btn-primary:hover { background: #e0e0e0; }
.btn-ghost { background: transparent; color: var(--off-white); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.2); }

/* ── Divider ── */
.rule { border: none; border-top: 1px solid var(--border); }

/* ── Section label ── */
.section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 1.5rem; display: block;
}

/* ── Stats row ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.stat { padding: 0 2rem; border-right: 1px solid var(--border); }
.stat:first-child { padding-left: 0; }
.stat:last-child  { border-right: none; }
.stat-number { font-size: 2.8rem; font-weight: 700; letter-spacing: -0.04em; color: var(--white); line-height: 1; margin-bottom: 0.4rem; }
.stat-label  { font-size: 0.82rem; color: var(--off-white); font-weight: 500; }

/* ── Cards ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.card { background: var(--bg-card); padding: 2.5rem; transition: background var(--transition); }
.card:hover { background: #111; }
.card h3 { margin-bottom: 0.75rem; color: var(--white); }
.card p { font-size: 0.92rem; }

/* ── Founder cards ── */
.founder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; border: 1px solid var(--border); border-radius: var(--radius); }
.founder-card { background: var(--bg-card); padding: 2.5rem; transition: background var(--transition), transform 0.35s ease, box-shadow 0.35s ease; position: relative; z-index: 0; }
.founder-card:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.founder-card:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }
.founder-card:hover { background: #111; transform: scale(1.05); z-index: 2; box-shadow: 0 16px 56px rgba(0,0,0,0.7), 0 0 0 1px rgba(155,93,229,0.3); }

.founder-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 1.25rem;
  display: block;
  border: 1px solid var(--border);
  background-repeat: no-repeat;
}
.founder-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.2rem; letter-spacing: -0.01em; }
.founder-role { font-size: 0.78rem; color: var(--purple); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.founder-card p { font-size: 0.9rem; text-align: justify; }

/* ── Page header ── */
.page-header { padding-top: 160px; padding-bottom: 5rem; }
.page-header h1 { margin-bottom: 1rem; max-width: 700px; }
.page-header p  { font-size: 1.05rem; max-width: 520px; }

/* ── Coming soon ── */
.coming-soon { padding: 8rem 2rem; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; }
.coming-soon h2 { margin-bottom: 0.75rem; font-size: 2rem; }
.coming-soon p  { max-width: 400px; margin: 0 auto; }

/* ── Callout ── */
.callout { margin-top: 5rem; padding: 4rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); text-align: center; }
.callout h2 { margin-bottom: 1rem; font-size: 2rem; }
.callout p  { max-width: 560px; margin: 0 auto; }

/* ── Footer ── */
footer { border-top: 1px solid var(--border); padding: 2rem 1.5rem; text-align: center; }
footer p { font-size: 0.82rem; color: var(--off-white); overflow-wrap: break-word; }
footer span { color: var(--purple); }

/* ── Mobile ── */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-logo { font-size: 1rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.8rem; }

  .container { padding: 0 1.25rem; }
  section { padding: 4rem 0; }

  /* Mobile: full-width blocks, text stays left-aligned */
  .hero h1 { max-width: 100%; }
  .hero-sub { max-width: 100%; }

  .page-header h1 { max-width: 100%; }
  .page-header p  { max-width: 100%; }

  /* Stats: all 4 in one row */
  .stats-row { grid-template-columns: repeat(4, 1fr); padding: 1.5rem 0; }
  .stat { padding: 0 0.5rem; border-right: none; text-align: center; }
  .stat-number { font-size: 1.5rem; }
  .stat-label  { font-size: 0.6rem; }

  .callout { padding: 2rem 1.25rem; }
  .card-grid    { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-card:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .founder-card:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
  .founder-card:hover { transform: scale(1.02); }
}
