/* ==========================================
   PMStudyLab Design System & Layout
   ========================================== */

:root {
  /* Brand Palette derived from approved Logo */
  --color-navy-dark: #041D3D;
  --color-navy: #062B5A;
  --color-navy-light: #0D3C78;
  
  --color-teal: #01A297;
  --color-teal-hover: #008980;
  --color-teal-light: #E0F6F5;
  --color-teal-glow: rgba(1, 162, 151, 0.15);
  
  --color-bg-main: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  --color-bg-subtle: #F1F5F9;
  
  --color-text-main: #0F172A;
  --color-text-muted: #475569;
  --color-text-light: #64748B;

  --color-border: #E2E8F0;
  --color-border-dark: #1E3A5F;
  
  /* Typography */
  --font-family-base: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(6, 43, 90, 0.12), 0 4px 8px rgba(6, 43, 90, 0.06);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  color: var(--color-navy-dark);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--color-text-muted);
}

.text-teal {
  color: var(--color-teal);
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
}

/* Background Geometry Accent */
.bg-geometry {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.geo-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.shape-1 {
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-teal-glow) 0%, rgba(255,255,255,0) 70%);
}

.shape-2 {
  bottom: 10%;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 43, 90, 0.05) 0%, rgba(255,255,255,0) 70%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-family-base);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-teal);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(1, 162, 151, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-teal-hover);
  box-shadow: 0 6px 20px rgba(1, 162, 151, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-bg-main);
  color: var(--color-navy);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-bg-alt);
  border-color: var(--color-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-linkedin {
  background-color: #0A66C2;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.25);
}

.btn-linkedin:hover {
  background-color: #084E96;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 102, 194, 0.35);
}

/* ==========================================
   Header & Navigation
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-teal);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--color-teal);
}

.nav-link:hover::after {
  width: 100%;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--color-teal-light);
  color: var(--color-teal-hover);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-teal);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(1, 162, 151, 0.7);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(1, 162, 151, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(1, 162, 151, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(1, 162, 151, 0);
  }
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.eyebrow-icon {
  color: var(--color-teal);
}

.hero-headline {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--color-navy-dark);
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Visual Composition */
.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  background: linear-gradient(145deg, #FFFFFF, var(--color-bg-alt));
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.card-chevron-bg {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--color-teal-glow), rgba(6, 43, 90, 0.03));
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  opacity: 0.6;
}

.card-header-accent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--color-border);
}

.card-pill {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy);
}

.card-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-teal);
  border-radius: 50%;
}

.track-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.track-tag {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-navy-dark);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.track-tag:hover {
  border-color: var(--color-teal);
  color: var(--color-teal-hover);
  transform: translateY(-2px);
}

.card-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.card-preview-item:last-child {
  margin-bottom: 0;
}

.preview-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: var(--color-teal-light);
  color: var(--color-teal-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.preview-text {
  display: flex;
  flex-direction: column;
}

.preview-text strong {
  font-size: 0.9rem;
  color: var(--color-navy-dark);
}

.preview-text span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ==========================================
   What's Coming / Offerings Section
   ========================================== */
.offerings-section {
  padding: 6rem 0;
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-header {
  margin-bottom: 3.5rem;
}

.text-center {
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal-hover);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--color-navy-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.offering-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.offering-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(1, 162, 151, 0.4);
}

.offering-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-teal-light), rgba(1, 162, 151, 0.15));
  color: var(--color-teal-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.offering-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-navy-dark);
}

.offering-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.tracks-banner {
  background-color: var(--color-navy-dark);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: #FFFFFF;
}

.tracks-banner-title {
  font-weight: 700;
  font-size: 1rem;
}

.tracks-tags-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge-track {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ==========================================
   Founder Section
   ========================================== */
.founder-section {
  padding: 6rem 0;
  position: relative;
}

.founder-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.founder-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
}

.founder-portrait {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  transition: transform var(--transition-smooth);
}

.founder-card:hover .founder-portrait {
  transform: scale(1.02);
}

.founder-image-accent {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(1, 162, 151, 0.2);
  pointer-events: none;
}

.founder-heading {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.founder-identity {
  margin-bottom: 1.25rem;
}

.founder-name {
  font-size: 1.6rem;
  color: var(--color-navy-dark);
  font-weight: 800;
}

.founder-role {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-teal-hover);
}

.founder-bio {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.founder-action {
  display: flex;
  align-items: center;
}

/* ==========================================
   Closing Section
   ========================================== */
.closing-section {
  padding: 5rem 0 6rem;
}

.closing-card {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  border-radius: 20px;
  padding: 4rem 3rem;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.closing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-teal-glow) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.closing-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.closing-title {
  color: #FFFFFF;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.closing-desc {
  color: #CBD5E1;
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
  background-color: var(--color-navy-dark);
  color: #94A3B8;
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--color-border-dark);
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-logo {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 0.75rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: #94A3B8;
}

.footer-links-col {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-teal);
}

.footer-disclaimer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #64748B;
}

/* ==========================================
   Responsive Styles
   ========================================== */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .founder-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }

  .founder-image-container {
    max-width: 400px;
    margin: 0 auto;
  }

  .tracks-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 70px;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 0;
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero-headline {
    font-size: 2.25rem;
  }

  .closing-card {
    padding: 3rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-headline {
    font-size: 1.9rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .founder-card {
    padding: 1.5rem;
  }

  .track-pills-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
