/* =========================================================
   OrchestroHub — Auxiliary Pages Stylesheet (Redesigned)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  --bg:          #0a0a0b;
  --surface:     #111113;
  --surface-alt: #1a1a1d;
  --primary:     #ffffff;
  --secondary:   #a1a1aa;
  --accent:      #6366f1;
  --accent-soft: #1e1b4b;
  --accent-mid:  #3730a3;
  --success:     #10b981;
  --warning:     #f59e0b;
  --error:       #ef4444;
  --text:        #e4e4e7;
  --muted:       #71717a;
  --border:      #27272a;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.3);
  --shadow-md:   0 4px 16px rgba(0,0,0,.4);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.5);
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --space-xs:    12px;
  --space-sm:    20px;
  --space-md:    40px;
  --space-lg:    80px;
  --font:        'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;
  --max-w:       1400px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { 
  font-family: var(--font); 
  background: var(--bg); 
  color: var(--text); 
  line-height: 1.6; 
  min-height: 100vh; 
  display: flex; 
  flex-direction: column; 
}
main { flex: 1; }

a { color: var(--accent); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--primary); }
img { display: block; max-width: 100%; }
img { height: auto; }
ul { list-style: none; }

/* ----- Layout ----- */
.container { 
  width: 100%; 
  max-width: var(--max-w); 
  margin: 0 auto; 
  padding: 0 var(--space-md); 
}

/* ----- Header ----- */
.site-header {
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--space-md);
  height: 80px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo img { 
  width: 40px; 
  height: 40px; 
  filter: brightness(0) invert(1);
}

.site-logo__name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  font-family: var(--font);
}

.site-logo__name span { 
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----- Page Hero ----- */
.page-hero {
  background: var(--bg);
  padding: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero__inner { 
  max-width: 800px; 
  position: relative;
  z-index: 1;
}

.page-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-mid);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-hero__sub {
  font-size: 1.2rem;
  color: var(--secondary);
  line-height: 1.6;
  max-width: 600px;
  font-weight: 400;
}

/* ----- Page Content ----- */
.page-content { padding: var(--space-lg) 0; }

/* About page blocks */
.about-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  transition: all 0.3s ease;
}

.about-block:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.about-block:last-child { margin-bottom: 0; }

.about-block__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-mid);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-block__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.about-block__body {
  font-size: 1rem;
  color: var(--secondary);
  line-height: 1.7;
  max-width: 800px;
}

.about-block__body p + p { margin-top: 16px; }

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.leader-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.leader-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--accent);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.leader-title {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.leader-bio {
  font-size: 0.95rem;
  color: var(--secondary);
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

/* Leadership Team */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.leader-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.leader-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.leader-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  border: 3px solid var(--accent);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.leader-title {
  font-size: .9rem;
  font-weight: 500;
  color: var(--accent);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.leader-bio {
  font-size: .95rem;
  color: var(--secondary);
  line-height: 1.6;
}

/* Visual Elements */
.about-visual, .mission-visual, .tech-visual, .location-visual {
  margin-top: var(--space-sm);
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-visual svg, .mission-visual svg, .tech-visual svg, .location-visual svg {
  filter: drop-shadow(0 4px 20px rgba(99, 102, 241, 0.3));
}

/* Contact Actions */
.contact-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-sm);
  flex-wrap: wrap;
}

/* Button Styles for About Page */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
  font-family: var(--font);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary { 
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-mid) 100%);
  color: var(--primary); 
  border-color: var(--accent); 
}
.btn-primary:hover { 
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.btn-outline { 
  background: transparent; 
  color: var(--accent); 
  border-color: var(--accent); 
}
.btn-outline:hover { 
  background: var(--accent); 
  color: var(--bg);
  transform: translateY(-2px);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.about-value {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-value::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-mid) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.about-value:hover::before {
  transform: scaleX(1);
}

.about-value:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.about-value__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-mid) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.about-value__icon svg { 
  width: 22px; 
  height: 22px; 
  color: var(--accent); 
}

.about-value__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.about-value__desc {
  font-size: .9rem;
  color: var(--secondary);
  line-height: 1.6;
}

/* Policy Sections */
.policy-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  transition: all 0.3s ease;
}

.policy-section:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.policy-section:last-child { margin-bottom: 0; }

.policy-section__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.policy-section__content {
  font-size: 1rem;
  color: var(--secondary);
  line-height: 1.7;
}

.policy-section__content p + p { margin-top: 16px; }

.policy-list {
  margin: 16px 0;
  padding-left: 20px;
}

.policy-list li {
  margin-bottom: 8px;
  position: relative;
  list-style: none;
}

.policy-list li::before {
  content: '•';
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: -20px;
}

.cookie-type {
  margin: 24px 0;
  padding: 20px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.cookie-type h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-details {
  margin-top: 16px;
  padding: 20px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contact-details p {
  margin-bottom: 8px;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

/* Text alignment utilities */
.text-center { text-align: center; }
.text-center .about-block__body,
.text-center .policy-section__content { 
  max-width: 800px; 
  margin-left: auto; 
  margin-right: auto; 
}

/* Policy / Terms placeholder */
.policy-placeholder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.policy-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(99, 102, 241, 0.03) 20px,
    rgba(99, 102, 241, 0.03) 40px
  );
}

.policy-placeholder__icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-mid) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.policy-placeholder__icon svg { 
  width: 36px; 
  height: 36px; 
  color: var(--accent); 
}

.policy-placeholder__title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.policy-placeholder__desc {
  font-size: 1rem;
  color: var(--secondary);
  max-width: 400px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.image-placeholder {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-md);
}

.footer__brand {
  max-width: 400px;
}

.footer__logo { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  margin-bottom: 16px; 
}
.footer__logo img { 
  width: 36px; 
  height: 36px; 
  filter: brightness(0) invert(1);
}

.footer__brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font);
}

.footer__brand-name span { 
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__brand-desc {
  font-size: .95rem;
  color: var(--secondary);
  line-height: 1.6;
  max-width: 320px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__col-title {
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer__nav { 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
}

.footer__nav a {
  font-size: .95rem;
  color: var(--secondary);
  transition: all 0.2s ease;
}

.footer__nav a:hover { 
  color: var(--accent); 
  transform: translateX(4px);
}

ul.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

ul.footer__links a {
  font-size: .95rem;
  color: var(--secondary);
  transition: all 0.2s ease;
}

ul.footer__links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer__bottom {
  text-align: center;
}

.footer__copy { 
  font-size: .85rem; 
  color: var(--muted); 
  font-family: var(--font-mono);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-md);
}

.footer__legal {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: 8px;
}

.footer__legal a {
  font-size: .85rem;
  color: var(--secondary);
}

.footer__legal a:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr; gap: var(--space-lg); }
}

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; align-items: center; gap: 8px; }
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .footer__content { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .leadership-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --space-lg: 60px; }
  .about-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; align-items: center; }
  .footer__links { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; align-items: center; }
  .contact-actions .btn { width: 100%; max-width: 300px; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-sm); }
}