/* Base Reset and Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --font-headings: 'Raleway', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --primary-navy: #001B71;
  --primary-blue: #3452FF;
  --primary-red: #FF3300;
  --secondary-purple: #6B36C4;
  --secondary-yellow: #F0C452;
  --secondary-cyan: #00AEEF;
  --secondary-green: #36C487;
}

body {
  font-family: var(--font-body);
  line-height: 1.5;
  color: #374151;
  background: #fafafa;
  min-height: 100vh;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
}

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

/* Header / Navigation */
header {
  background: #fafafa;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  position: relative;
  border-bottom: 1px solid #f3f4f6;
}

header nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

header nav .logo img {
  height: 3rem;
  width: auto;
}

header nav .nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

header nav .nav-links a,
header nav .nav-links button {
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}

header nav .nav-links a:hover,
header nav .nav-links button:hover {
  color: var(--primary-blue);
}

header nav .nav-links .btn-login {
  background: var(--primary-blue);
  color: white;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 0.25rem;
  line-height: 1.25rem;
}

header nav .nav-links .btn-login:hover {
  background: var(--primary-navy);
}

/* Dropdown Navigation */
header nav .nav-dropdown {
  position: relative;
}

header nav .nav-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0;
}

header nav .nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  padding-top: 0.5rem;
  background: transparent;
  min-width: 10rem;
  z-index: 50;
}

header nav .nav-dropdown:hover .dropdown-menu {
  display: block;
}

header nav .nav-dropdown .dropdown-menu::before {
  content: '';
  display: block;
  height: 0.5rem;
}

header nav .nav-dropdown .dropdown-menu-inner {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

header nav .nav-dropdown .dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
}

header nav .nav-dropdown .dropdown-menu a:hover {
  background: #f9fafb;
  color: var(--primary-blue);
}

/* Mobile Menu Toggle Button - Hidden by default, shown on mobile */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
}

.mobile-menu-toggle span {
  width: 2rem;
  height: 0.2rem;
  background: #374151;
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.mobile-menu-toggle.active span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Mobile-specific styles - only apply below 768px */
@media (max-width: 767px) {
  /* Show hamburger button on mobile */
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Hide nav links by default on mobile */
  header nav .nav-links {
    display: none;
    position: fixed;
    right: 0;
    top: 72px;
    height: calc(100vh - 72px);
    width: 100%;
    max-width: 300px;
    background: white;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    z-index: 90;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  
  /* Show nav when active */
  header nav .nav-links.active {
    display: flex;
  }
  
  header nav .nav-links > a,
  header nav .nav-links .nav-dropdown {
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
  }
  
  header nav .nav-links .nav-dropdown .dropdown-toggle {
    padding: 0;
    width: 100%;
    justify-content: space-between;
  }
  
  /* Mobile dropdown */
  header nav .nav-links .nav-dropdown .dropdown-menu {
    position: static;
    display: none;
    padding: 0;
    margin-top: 0.75rem;
    background: transparent;
  }
  
  header nav .nav-links .nav-dropdown.active .dropdown-menu {
    display: block;
  }
  
  header nav .nav-links .nav-dropdown .dropdown-menu-inner {
    box-shadow: none;
    border: none;
    background: #f9fafb;
    border-radius: 0.25rem;
  }
  
  /* Lock body scroll when mobile menu is open */
  body.menu-open {
    overflow: hidden;
  }
}

/* Desktop styles - 768px and above */
@media (min-width: 768px) {
  header nav {
    padding: 1rem 1.25rem;
  }
  header nav .nav-links {
    display: flex;
  }
}

@media (min-width: 1024px) {
  header nav {
    padding: 1rem 1.5rem;
  }
}

/* Footer */
footer {
  background: #fafafa;
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid #f3f4f6;
}

footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

footer .footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 2rem;
}

footer .footer-logo {
  margin-bottom: 2rem;
}

footer .footer-logo img {
  height: 3rem;
  width: auto;
}

footer .footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

footer .footer-section h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

footer .footer-section ul {
  list-style: none;
}

footer .footer-section ul li {
  margin-bottom: 0.5rem;
}

footer .footer-section ul li a {
  color: #6b7280;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

footer .footer-section ul li a:hover {
  color: #111827;
}

footer .footer-section ul li a svg {
  width: 1rem;
  height: 1rem;
}

footer .footer-bottom {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

footer .footer-bottom-text {
  font-size: 0.875rem;
  color: #6b7280;
}

footer .footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 0.875rem;
}

footer .footer-bottom-links a {
  color: #6b7280;
  text-decoration: none;
}

footer .footer-bottom-links a:hover {
  color: #374151;
}

@media (min-width: 768px) {
  footer .footer-content {
    flex-direction: row;
  }
  
  footer .footer-logo {
    margin-bottom: 0;
  }
  
  footer .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Homepage Styles */
.hero-section {
  padding: 4rem 0 0 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 0 0 auto;
  padding: 0 1.5rem 0 3rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-text {
  z-index: 10;
  position: relative;
  text-align: left;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-text p {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2rem;
  max-width: 32rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.strato-button-large {
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--secondary-yellow);
  color: var(--primary-navy);
  text-decoration: none;
  border-radius: 2rem;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(240, 196, 82, 0.4);
}

.strato-button-large:hover {
  background: #e0b442;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 196, 82, 0.5);
}

.strato-button-large svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.strato-button-large:hover svg {
  transform: translateX(4px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 20rem;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-text {
    width: 50%;
    padding-right: 3rem;
  }

  .hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .hero-image {
    width: 50%;
    height: 24rem;
  }
}

/* Stats Section */
.stats-section {
  background: #ffffff;
  padding: 3rem 0;
  border-bottom: 1px solid #f3f4f6;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-value {
    font-size: 2.5rem;
  }
}

/* Start Growing Section */
.start-growing-section {
  padding: 5rem 0 1.5rem 0;
  background: #fafafa;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Modern Feature Cards */
.features-grid-modern {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 0;
}

.feature-card-modern {
  position: relative;
  border-radius: 1.5rem;
  padding: 2.5rem;
  min-height: 280px;
  overflow: hidden;
  transition: transform 0.3s;
}

.feature-card-modern:hover {
  transform: translateY(-4px);
}

.card-decorative-pattern {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 60%;
  opacity: 0.3;
}

.pattern-circles {
  position: relative;
  width: 100%;
  height: 100%;
}

.pattern-circles::before,
.pattern-circles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.pattern-circles::before {
  width: 150px;
  height: 150px;
  bottom: -50px;
  right: -30px;
}

.pattern-circles::after {
  width: 100px;
  height: 100px;
  bottom: 20px;
  right: 50px;
}

.pattern-waves {
  position: relative;
  width: 100%;
  height: 100%;
}

.pattern-waves::before {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 30%, currentColor 30%, currentColor 35%, transparent 35%, transparent 45%, currentColor 45%, currentColor 50%, transparent 50%);
  opacity: 0.4;
}

.pattern-squares {
  position: relative;
  width: 100%;
  height: 100%;
}

.pattern-squares::before,
.pattern-squares::after {
  content: '';
  position: absolute;
  border: 2px solid currentColor;
}

.pattern-squares::before {
  width: 120px;
  height: 120px;
  bottom: -40px;
  right: -20px;
  transform: rotate(15deg);
}

.pattern-squares::after {
  width: 80px;
  height: 80px;
  bottom: 30px;
  right: 60px;
  transform: rotate(-10deg);
}

.card-decorative-icon {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  opacity: 0.2;
}

.card-decorative-icon svg {
  width: 100px;
  height: 100px;
}

.card-decorative-icon img {
  width: 400px;
  height: 400px;
  object-fit: contain;
}

.feature-card-cyan .card-decorative-pattern {
  display: block;
}

.feature-card-cyan .card-decorative-icon {
  position: absolute;
  bottom: .5rem;
  left: 0;
  opacity: 1;
  display: none;
}

@media (min-width: 768px) {
  .feature-card-cyan .card-decorative-icon {
    display: block;
  }
}

.card-decorative-icon-right {
  position: absolute;
  bottom: .5rem;
  right: 0;
  opacity: 1;
  display: none;
}

.card-decorative-icon-right img {
  width: 250px;
  height: 250px;
  object-fit: contain;
}

.feature-card-full-width .card-decorative-pattern {
  display: block;
}

@media (min-width: 768px) {
  .card-decorative-icon-right {
    display: block;
  }
}

.card-content-modern {
  position: relative;
  z-index: 1;
}

.card-content-modern h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.card-content-modern p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 90%;
}

.feature-card-full-width {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .features-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .feature-card-modern:first-child {
    grid-row: span 2;
  }

  .card-content-modern h3 {
    font-size: 1.5rem;
  }

  .card-content-modern p {
    font-size: 1rem;
  }
}

/* Investment Options Section */
.investment-options-section {
  padding: 5rem 0;
  background: #fafafa;
}

.investment-options-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-navy);
}

.investment-options-section .section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.investment-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.investment-card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.investment-card-with-bg {
  background-image: url('/images/stratomercata.com/2025.10.11/home-card-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.investment-card-with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1rem;
  z-index: 0;
}

.investment-card-with-bg > * {
  position: relative;
  z-index: 1;
}

.investment-card-with-bg-gold {
  background-image: url('/images/stratomercata.com/2025.10.11/home-card-background2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.investment-card-with-bg-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1rem;
  z-index: 0;
}

.investment-card-with-bg-gold > * {
  position: relative;
  z-index: 1;
}

.investment-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.investment-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.investment-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s ease;
}

.investment-card:hover .investment-icon img {
  transform: rotate(180deg);
}

.investment-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.investment-description {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.investment-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

.investment-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #374151;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.investment-features li svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.investment-features li:hover svg {
  transform: translateX(4px);
}

.investment-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--secondary-yellow);
  color: var(--primary-navy);
  text-decoration: none;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  width: 100%;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(240, 196, 82, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.investment-button:hover {
  background: #e0b442;
  box-shadow: 0 6px 20px rgba(240, 196, 82, 0.5);
  transform: translateY(-2px);
}

.investment-button svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.investment-button:hover svg {
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .investment-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .investment-card {
    padding: 3rem;
  }
}

/* How It Works Section */
.how-it-works-section {
  padding: 4rem 0;
  background: #f6fafb;
  position: relative;
  overflow: hidden;
}

.how-it-works-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(0, 0, 0, 0.03) 35px, rgba(0, 0, 0, 0.03) 36px),
    repeating-linear-gradient(60deg, transparent, transparent 35px, rgba(0, 0, 0, 0.03) 35px, rgba(0, 0, 0, 0.03) 36px),
    repeating-linear-gradient(120deg, transparent, transparent 35px, rgba(0, 0, 0, 0.03) 35px, rgba(0, 0, 0, 0.03) 36px);
  opacity: 0.1;
  z-index: 0;
}

.how-it-works-section .container {
  position: relative;
  z-index: 10;
}

.how-it-works-section .process-label {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  color: #374151;
  font-size: 0.875rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.how-it-works-section h2 {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--primary-navy);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.step-card {
  padding: 2rem 2rem 0 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.step-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.step-number {
  font-size: 1.25rem;
  font-weight: 300;
  color: #9ca3af;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.step-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
  margin-bottom: auto;
  padding-bottom: 2rem;
}

.step-color-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1rem;
  border-radius: 0 0 1rem 1rem;
}

.step-card-yellow .step-color-bar {
  background: rgb(73,134,242);
}

.step-card-red .step-color-bar {
  background: rgb(233,51,34);
}

.step-card-dark .step-color-bar {
  background: rgb(18,43,114);
}

.step-card-blue .step-color-bar {
  background: rgb(240,196,81);
}

.step-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  opacity: 0.15;
}

.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem 1.5rem;
}

main h2 {
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
}

main h1 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
}

main p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

/* People Page */
.people-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Shared Card Styling - Used by person cards and embed cards */
.person-card,
.blog-embed-card,
.content-embed-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
}

.person-card:hover,
.blog-embed-card:hover,
.content-embed-card:hover {
  box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.1);
}

/* Embed card specific spacing */
.blog-embed-card,
.content-embed-card {
  overflow: hidden;
  margin: 1.5rem 0;
}

.person-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.person-photo {
  display: flex;
  justify-content: center;
}

.person-photo img {
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  object-fit: cover;
}

.person-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.person-info h3 a {
  color: #1f2937;
  text-decoration: none;
}

.person-info h3 a:hover {
  color: var(--primary-blue);
}

.person-role {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.person-description {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.person-social-links-index {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.person-social-links-index a {
  color: #6b7280;
  transition: color 0.2s;
}

.person-social-links-index a:hover {
  color: var(--primary-blue);
}

.person-social-links-index .wikipedia-icon {
  width: 16px;
  height: 16px;
}

.person-interview-link {
  margin-top: 0.75rem;
}

.interview-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 700;
}

.interview-link:hover {
  color: var(--primary-navy);
}

.interview-svg {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .people-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .person-header {
    flex-direction: row;
    gap: 1.5rem;
  }
  
  .person-photo {
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  .people-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Blog/Articles Page */
.blog-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}

.blog-main {
  flex: 1;
}

.blog-main h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Shared Content Card Base Styles */
.blog-post-card,
.video-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
}

.blog-post-card:hover,
.video-card:hover {
  box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.1);
}

/* Blog-specific: vertical layout on all screens */
.blog-post-card {
  display: flex;
  flex-direction: column;
}

.blog-post-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #f3f4f6;
}

.blog-post-thumbnail a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.blog-post-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.blog-post-card:hover .blog-post-thumbnail img {
  opacity: 0.9;
}

/* Shared Content Info/Meta Styles */
.blog-post-info,
.video-info {
  padding: 1.5rem;
}

.blog-post-info h3,
.video-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  margin-top: 0;
  line-height: 1.3;
}

.video-info h3 {
  font-size: 1.125rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.blog-post-info h3 a,
.video-info h3 a {
  color: #1f2937;
  text-decoration: none;
}

.blog-post-info h3 a:hover,
.blog-post-card:hover .blog-post-info h3 a {
  color: var(--primary-blue);
}

.video-card:hover .video-info h3 a {
  color: #2563eb;
}

.blog-post-meta,
.video-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.video-meta {
  margin-bottom: 0.75rem;
}

.blog-post-description,
.blog-post-excerpt,
.video-description,
.video-excerpt {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Removed obsolete blog-post-footer, blog-post-category, and blog-read-more styles
   as blog cards now match video card structure */

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-section {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sidebar-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  margin-top: 0;
}

.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts-list li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.recent-posts-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-posts-list a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.5;
  display: block;
}

.recent-posts-list a:hover {
  color: var(--primary-blue);
}

.sidebar-select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: #374151;
  background: white;
  cursor: pointer;
}

.sidebar-select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(52, 82, 255, 0.1);
}

/* Person Detail Page Spacing */
.person-content {
  margin-top: 3rem;
}

/* Blog Featured Image */
.blog-featured-image {
  margin-bottom: 2rem;
}

.blog-featured-image img {
  max-width: 50%;
  height: auto;
  display: block;
}

/* Person detail page photo - make consistent with blog/video */
.person-card-size .person-photo img {
  max-width: 50%;
  height: auto;
  border-radius: 9999px;
  object-fit: cover;
  width: auto;
}

@media (min-width: 768px) {
  article .blog-content img,
  .video-content img,
  .person-content img {
    max-width: 50%;
  }
}

@media (min-width: 1024px) {
  .blog-container {
    flex-direction: row;
    gap: 3rem;
  }
  
  .blog-main {
    flex: 1;
    max-width: 66.666667%;
  }
  
  .blog-sidebar {
    width: 300px;
    flex-shrink: 0;
  }
}

/* Videos Page */
.videos-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Video-specific: vertical on mobile, horizontal on desktop */
.video-card {
  display: flex;
  flex-direction: column;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.video-thumbnail a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}

.video-card:hover .video-thumbnail img {
  opacity: 0.8;
}

.video-thumbnail .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  font-size: 1.5rem;
  transition: all 0.2s;
  padding-left: 0.25rem;
  pointer-events: none;
}

.video-card:hover .play-button {
  background: rgba(255, 255, 255, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 1.5rem;
}

.video-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.video-info h3 a {
  color: #1f2937;
  text-decoration: none;
}

.video-card:hover .video-info h3 a {
  color: var(--primary-blue);
}

.video-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.video-description,
.video-excerpt {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
}

@media (min-width: 768px) {
  /* Cards: horizontal layout on desktop */
  .video-card,
  .blog-post-card {
    flex-direction: row;
    min-height: 160px;
  }

  .video-thumbnail,
  .blog-post-thumbnail {
    width: 40%;
    min-width: 240px;
    max-width: 320px;
    padding-bottom: 0;
    flex-shrink: 0;
    overflow: hidden;
    background: #f3f4f6;
    position: relative;
  }

  .video-thumbnail a,
  .blog-post-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }

  .blog-post-thumbnail img,
  .video-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
  }

  .video-info,
  .blog-post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* No image cards - full width content */
  .blog-post-card.no-image .blog-post-info {
    padding-left: 1.5rem;
  }
}

/* Article and Video Detail Pages */
.back-link {
  margin-bottom: 2rem;
}

.back-link a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.back-link a:hover {
  color: var(--primary-blue);
}

article header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

article header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
  margin-bottom: 1rem;
}

article .content-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

article .content-meta a {
  color: #6b7280;
  text-decoration: none;
}

article .content-meta a:hover {
  color: var(--primary-blue);
}

article .blog-description {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.75;
  margin-top: 1.5rem;
  font-style: italic;
}

/* Shared Content Body Styles - applies to both blog and video detail pages */
article .blog-content,
.video-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
}

article .blog-content h2,
.video-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

article .blog-content h3,
.video-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

article .blog-content p,
.video-content p {
  margin-bottom: 1.25rem;
}

article .blog-content ul,
article .blog-content ol,
.video-content ul,
.video-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

article .blog-content li,
.video-content li {
  margin-bottom: 0.5rem;
}

article .blog-content a,
.video-content a {
  color: #2563eb;
  text-decoration: underline;
}

article .blog-content a:hover,
.video-content a:hover {
  color: #1d4ed8;
}

article .blog-content img,
.video-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

article .blog-content blockquote,
.video-content blockquote {
  border-left: 4px solid #e5e7eb;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #6b7280;
  font-style: italic;
}

article .blog-content code,
.video-content code {
  background: #f3f4f6;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

article .blog-content pre,
.video-content pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

article .blog-content pre code,
.video-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

article .blog-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.875rem;
}

article .blog-tags .tag {
  display: inline-block;
  background: #f3f4f6;
  color: #4b5563;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-right: 0.5rem;
}

@media (min-width: 768px) {
  article header h1 {
    font-size: 2.5rem;
  }
}

/* Category count styling */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 0.75rem;
}

.category-list a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-list a:hover {
  color: var(--primary-blue);
}

.category-count {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

/* Back-links indent fix */
.back-links-list {
  padding-left: 1.5rem;
}

/* Category and archive page metadata */
.category-meta,
.archive-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

/* Video embed spacing improvements */
.video-episode .content-embed-container {
  margin: 1.5rem auto;
  padding: 0;
  max-width: 100%;
}

.video-episode .content-embed-container iframe {
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Video transcript section spacing */
.video-content a[id] {
  display: block;
  padding-top: 1rem;
  margin-top: -0.5rem;
}

.video-content h2,
.video-content h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
}

/* Table of contents styling */
.table-of-contents {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin: 1.5rem 0 2rem 0;
}

.table-of-contents h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 1rem 0;
}

.table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents li {
  margin-bottom: 0.5rem;
}

.table-of-contents a {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.table-of-contents a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.video-hosts-guests {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.episode-hosts,
.episode-guests {
  margin-bottom: 0.5rem;
}

.episode-hosts a,
.episode-guests a,
.video-hosts-guests a {
  color: #2563eb !important;
  text-decoration: underline !important;
}

.episode-hosts a:hover,
.episode-guests a:hover,
.video-hosts-guests a:hover {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
}

/* Embed Card Content Styling */
.blog-embed-image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.blog-embed-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-embed-video-container {
  width: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.blog-embed-video-wrapper {
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-embed-minimal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: transparent;
}

.blog-embed-meta {
  background: white;
}

.blog-embed-title,
.blog-embed-title-with-padding {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.blog-embed-title-with-padding {
  margin-bottom: 1rem;
}

.blog-embed-description {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.content-embed-metadata {
  font-size: 0.875rem;
  color: #6b7280;
}

.content-embed-metadata-mb {
  margin-bottom: 0.5rem;
}

.blog-embed-author,
.content-embed-author-link {
  color: #2563eb;
  text-decoration: none;
}

.blog-embed-author:hover,
.content-embed-author-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.blog-embed-date {
  color: #6b7280;
}

.content-embed-site-link {
  color: #2563eb;
  text-decoration: none;
}

.content-embed-site-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .video-episode .content-embed-container {
    margin: 2rem 0;
    padding: 0;
    width: 50%;
    max-width: 50%;
  }
  
  .video-episode .content-embed-container .blog-embed-card,
  .video-episode .content-embed-container .content-embed-card {
    width: 100%;
    max-width: 100%;
  }
}

/* Responsive Embed Width Control */
.blog-embed-card,
.content-embed-card {
  width: 100%;
  max-width: 100%;
}

/* Twitter embed container responsive width */
.twitter-embed-container {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .blog-embed-card,
  .content-embed-card,
  .twitter-embed-container {
    width: 50%;
    max-width: 50%;
  }
}
/* Telegram CTA Section */
.telegram-cta-section {
  background: #fafafa;
  padding: 4rem 0;
  margin: 0;
}

.telegram-cta-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.telegram-cta-inner {
  background: var(--primary-blue);
  border-radius: 1.5rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.telegram-cta-content {
  text-align: center;
}

.telegram-cta-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.telegram-cta-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.telegram-cta-button {
  flex-shrink: 0;
}

.telegram-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: white;
  color: var(--primary-blue);
  text-decoration: none;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.telegram-button:hover {
  background: var(--secondary-yellow);
  color: var(--primary-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.telegram-button svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.telegram-button:hover svg {
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .telegram-cta-inner {
    flex-direction: row;
    gap: 3rem;
    padding: 3rem;
  }

  .telegram-cta-content {
    text-align: left;
  }

  .telegram-cta-content h3 {
    font-size: 1.75rem;
  }

  .telegram-cta-content p {
    font-size: 1.125rem;
  }
}
