/* ORIS HUB — Shared styles (navbar, footer, layout, theme) */

:root {
  --color-cyan: #06b6d4;
  --color-blue: #2563eb;
  --color-purple: #7c3aed;
  --color-violet: #8b5cf6;
  --gradient-brand: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-text: linear-gradient(135deg, #06b6d4, #3b82f6, #8b5cf6);
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --header-height: 5rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --container-max: 76rem;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html.dark,
html.theme-dark {
  --bg-page: #020617;
  --bg-card: #0f172a;
  --bg-card-hover: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #334155;
  --border-light: #1e293b;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.has-oris-header { padding-top: var(--header-height); }

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

/* Gradient text utility */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Container */
.page-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

.page-container-wide {
  max-width: 96rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .page-container { padding: 0 1.5rem; }
  .page-container-wide { padding-left: 0.75rem; padding-right: 0.75rem; }
}
@media (min-width: 1024px) {
  .page-container { padding: 0 2rem; }
  .page-container-wide { padding-left: 1rem; padding-right: 1rem; }
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}


/* ─── SHARED PAGE COMPONENTS ─── */
.page-hero {
  padding: 3rem 0 4rem;
  text-align: center;
}

@media (min-width: 768px) { .page-hero { padding: 4rem 0 5rem; } }

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--color-blue);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.page-hero h1 {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.page-hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 42rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.page-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (max-width: 639px) {
  .page-hero {
    padding: 2rem 0 2.5rem;
  }

  .page-hero h1 {
    font-size: clamp(1.625rem, 7.5vw, 2.125rem);
    padding: 0 0.25rem;
  }

  .page-hero-desc {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
    line-height: 1.65;
  }

  .page-hero-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
  }

  .page-hero-btns .btn-primary,
  .page-hero-btns .btn-outline {
    justify-content: center;
    width: 100%;
  }

  .page-section {
    padding: 2rem 0;
  }

  .section-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.75rem;
    padding: 0 0.25rem;
  }

  .cta-banner {
    margin: 1.5rem 0 2.5rem;
    padding: 2rem 1.25rem;
  }

  .cta-banner h2 {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .cta-banner p {
    font-size: 0.9375rem;
  }

  .cta-banner .btn-white {
    width: 100%;
    max-width: 18rem;
    justify-content: center;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--color-blue);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid var(--color-blue);
  transition: all var(--transition);
}

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-2px);
}

.page-section {
  padding: 3rem 0;
}

@media (min-width: 768px) { .page-section { padding: 4rem 0; } }

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Card grid — equal height */
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: stretch;
  width: 100%;
}

.card-grid > .info-card,
.card-grid > .pillar-card,
.card-grid > article {
  align-self: stretch;
  min-height: 0;
}

@media (min-width: 640px) { .card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  height: 100%;
}

.info-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.info-card-icon.blue { background: rgba(37, 99, 235, 0.1); color: var(--color-blue); }
.info-card-icon.cyan { background: rgba(6, 182, 212, 0.1); color: var(--color-cyan); }
.info-card-icon.purple { background: rgba(124, 58, 237, 0.1); color: var(--color-purple); }
.info-card-icon.green { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.info-card-icon.orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.info-card-icon.pink { background: rgba(236, 72, 153, 0.1); color: #ec4899; }

.info-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.3;
  min-height: 1.5rem;
}

.info-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  flex: 1 1 auto;
}

.card-grid.cols-3 .info-card p { min-height: 4.75rem; }
.card-grid.cols-4 .info-card p { min-height: 5rem; }

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  align-items: stretch;
  width: 100%;
}

@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 100%;
  min-height: 6.5rem;
}

.stat-num {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* CTA banner */
.cta-banner {
  margin: 2rem 0 4rem;
  padding: 3rem 2rem;
  border-radius: var(--radius-xl);
  background: var(--gradient-brand);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-banner h2 {
  position: relative;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.75rem;
}

.cta-banner p {
  position: relative;
  color: rgba(255,255,255,0.9);
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
}

.cta-banner .btn-white {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #fff;
  color: var(--color-blue);
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.cta-banner .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}


