/* ─────────────────────────────────────────────
   Psycora — Investor-Ready Landing Page
   Professional pharmaceutical / biotech aesthetic
   ───────────────────────────────────────────── */

/* --- Variables --- */
:root {
  --navy:       #0B2E3A;
  --teal:       #0D5C6A;
  --teal-light: #1A8494;
  --orange:     #E8652B;
  --orange-dim: #C4521F;
  --white:      #FFFFFF;
  --off-white:  #F4F7F8;
  --gray-100:   #EBF0F1;
  --gray-200:   #D5DCDE;
  --gray-400:   #94A3AE;
  --gray-600:   #5C7784;
  --gray-800:   #2E3F47;
  --font-head:  'Georgia', 'Times New Roman', serif;
  --font-body:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-w:      1120px;
  --section-py: 96px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 400;
}
.section-sub {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 640px;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 46, 58, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-logo img {
  height: 38px;
  width: auto;
}
.navbar-logo-text {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.navbar-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--white); }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-btn svg { fill: var(--white); }

/* --- Hero --- */
.hero {
  background: var(--navy);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(13,92,106,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(232,101,43,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.hero-logo-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.hero-logo-wrap img {
  height: 72px;
  width: auto;
}
.hero-logo-wordmark {
  font-family: var(--font-head);
  font-size: 2.25rem;
  color: var(--white);
  letter-spacing: 0.06em;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 24px;
  font-weight: 400;
  max-width: 640px;
}
.hero-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dim);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
}
.btn-sm { padding: 9px 20px; font-size: 0.8125rem; }

/* --- Stat Strip --- */
.stat-strip {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
}
.stat-strip-inner {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-strip-item {
  padding: 0 48px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-strip-item:last-child { border-right: none; }
.stat-strip-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--white);
  font-weight: 400;
}
.stat-strip-num span { color: var(--orange); }
.stat-strip-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* --- Section base --- */
section { padding: var(--section-py) 0; }
section.alt-bg { background: var(--off-white); }
section.navy-bg { background: var(--navy); color: var(--white); }

/* --- Problem Section --- */
.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 48px;
}
.problem-stat {
  background: var(--white);
  padding: 40px 32px;
  text-align: center;
}
.problem-stat-num {
  font-family: var(--font-head);
  font-size: 2.75rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.problem-stat-num em { font-style: normal; color: var(--orange); }
.problem-stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* --- Product Overview --- */
.mech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
  align-items: start;
}
.mech-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 36px;
}
.mech-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.mech-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.mech-tag {
  display: inline-block;
  background: rgba(232,101,43,0.1);
  color: var(--orange);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,101,43,0.1);
  border: 1px solid rgba(232,101,43,0.25);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 3px;
  margin-bottom: 24px;
}
.stage-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* --- Comparison Table --- */
.comp-table-wrap {
  overflow-x: auto;
  margin-top: 40px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.comp-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 20px;
  text-align: left;
  white-space: nowrap;
}
.comp-table th:first-child { border-radius: 8px 0 0 0; }
.comp-table th:last-child { border-radius: 0 8px 0 0; }
.comp-table th.highlight-col {
  background: var(--teal);
}
.comp-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
  vertical-align: top;
}
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:nth-child(even) td { background: var(--off-white); }
.comp-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  background: rgba(11,46,58,0.03);
}
.comp-table td.highlight-col {
  background: rgba(13,92,106,0.06);
}
.comp-check { color: #1B8A6A; font-size: 1rem; }
.comp-dash { color: var(--gray-400); }
.comp-warn { color: #D97706; }
.comp-table-caption {
  padding: 12px 20px;
  font-size: 0.75rem;
  color: var(--gray-400);
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  font-style: italic;
}

/* --- How It Works (tabs) --- */
.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--gray-100);
  margin-bottom: 40px;
}
.tab-btn {
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-content {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 40px;
}
.tab-content h3 {
  font-family: var(--font-head);
  font-size: 1.375rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.tab-content p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}
.tab-content p:last-child { margin-bottom: 0; }

/* --- About Founder --- */
.founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.founder-photo-wrap {
  position: relative;
}
.founder-photo-wrap img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}
.founder-name-block {
  padding: 20px 0 0;
}
.founder-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.founder-title {
  font-size: 0.875rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.founder-bio p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}
.founder-credentials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.cred-pill {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8125rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* --- Company Structure --- */
.structure-section { background: var(--navy); }
.structure-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 64px 0;
}
.structure-entity {
  text-align: center;
}
.structure-logo-box {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.structure-logo-box img { height: 60px; width: auto; }
.structure-entity-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 4px;
}
.structure-entity-sub {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}
.structure-arrow {
  color: var(--teal-light);
  font-size: 2rem;
  opacity: 0.6;
}

/* --- Footer --- */
.footer {
  background: #071921;
  padding: 48px 0 32px;
  color: rgba(255,255,255,0.45);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
  max-width: 240px;
}
.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col ul li a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 28px;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.3);
  max-width: 600px;
}
.footer-legal strong { color: rgba(255,255,255,0.5); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
}

/* --- Smooth scroll offset for fixed nav --- */
html { scroll-padding-top: 80px; }

/* --- Responsive --- */
@media (max-width: 900px) {
  :root { --section-py: 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 80px; }
  .mech-grid { grid-template-columns: 1fr; }
  .problem-stats { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo-wrap { max-width: 280px; }
  .structure-card { flex-direction: column; gap: 32px; }
  .structure-arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr; }
  .navbar-links { display: none; }
  .mobile-menu-btn { display: block; }
  .stat-strip-item { padding: 0 24px; }
}

@media (max-width: 600px) {
  :root { --section-py: 48px; }
  .hero-tagline { font-size: 1.875rem; }
  .hero-logo-wrap img { height: 56px; }
  .tab-nav { overflow-x: auto; white-space: nowrap; }
  .stat-strip-inner { flex-direction: column; gap: 16px; }
  .stat-strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0 0 16px; }
  .comp-table-wrap { font-size: 0.8125rem; }
}