/* Reused from SoulLinkr codebase */

:root {
  --color-bg: #f5f6fa;
  --color-card: #fff;
  --color-card-alt: #f7f8fa;
  --color-hero: #f3f4f8;
  --color-primary: #444750;
  --color-secondary: #6d7280;
  --color-highlight: #3b82f6;
  --color-fade: #a0a4b8;
  --font-main: 'Inter', system-ui, sans-serif;
}

html,
body {
  background: var(--color-bg);
  color: var(--color-primary);
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

.soul-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-card {
  width: 100%;
  background: var(--color-hero);
  text-align: center;
  padding: 0 0 0 0;
  box-shadow: 0 8px 48px rgba(35, 39, 47, 0.06);
  margin-bottom: 0.5rem;
  position: static;
  top: 0;
  z-index: 100;
}

.hero-nav {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
}

.hero-nav a {
  color: var(--color-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero-nav a:hover {
  color: var(--color-highlight);
}

.hero-card h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin: 0.3em 0 0.05em 0;
  color: var(--color-highlight);
  letter-spacing: -2px;
}

.hero-tag {
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0 0.3em 0;
  color: var(--color-secondary);
  letter-spacing: 0.02em;
}

.blocks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 2vw;
}

.block {
  background: var(--color-card);
  border-radius: 1.4rem;
  box-shadow: 0 4px 24px rgba(35, 39, 47, 0.07);
  padding: 1.4rem 2.2rem 1.4rem 2.2rem;
  font-size: 1.32rem;
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
  border: 1.5px solid #edeef2;
}

.block p {
  margin: 0.4em 0;
}

/* Text styling classes (from SoulLinkr) */

.highlight {
  color: var(--color-highlight);
  font-weight: 600;
}

.strong {
  color: var(--color-secondary);
  font-weight: 700;
}

.fade {
  color: var(--color-fade);
  font-style: italic;
}

footer {
  text-align: center;
  margin: 4.5rem 0 1.5rem 0;
  opacity: 0.77;
  font-size: 1.1rem;
  color: var(--color-secondary);
}

/* Minimal additions for Aarohanam-specific content */

.cta-block {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-block p {
  margin: 0;
}

.cta-block a {
  color: var(--color-highlight);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5em;
}

.cta-block a:hover {
  text-decoration: underline;
}

/* About page styling */

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 2vw;
  line-height: 1.75;
}

.about-section {
  margin-bottom: 4rem;
}

.about-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
  margin-top: 3rem;
  letter-spacing: -0.02em;
}

.about-section:first-of-type h2 {
  margin-top: 0;
}

.about-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.6rem;
  margin-top: 2rem;
}

.about-section p {
  margin: 1em 0;
  color: var(--color-primary);
}

.about-section p:first-of-type {
  font-size: 1.05em;
  color: var(--color-secondary);
}

.about-section > p + p {
  margin-top: 1.2em;
}

.about-section .spaced-lines {
  line-height: 2;
}

.about-section .closing-statement {
  margin-top: 1.8em;
}

.about-section ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5em 0;
}

.about-section ul li {
  margin: 0.7em 0;
  padding-left: 1.3em;
  position: relative;
  line-height: 1.6;
}

.about-section ul li:before {
  content: "•";
  position: absolute;
  left: 0.3em;
  color: var(--color-fade);
  font-size: 0.9em;
}

.examples-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.85rem;
  opacity: 0.95;
}

.examples-table th,
.examples-table td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(237, 238, 242, 0.6);
}

.examples-table th {
  background: rgba(247, 248, 250, 0.5);
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.examples-table td {
  background: transparent;
  color: var(--color-primary);
  line-height: 1.5;
}

.back-link {
  margin-top: 3rem;
}

.back-link a {
  color: var(--color-highlight);
  text-decoration: none;
  font-weight: 600;
}

.back-link a:hover {
  text-decoration: underline;
}

/* Responsive breakpoints */

@media (max-width: 900px) {
  html,
  body {
    font-size: 18px;
  }

  .blocks-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0 0.5rem;
  }

  .block {
    font-size: 1.08rem;
    padding: 1.4rem 1rem 1.2rem 1rem;
  }

  .hero-card h1 {
    font-size: 2.1rem;
  }

  .hero-tag {
    font-size: 1.07rem;
  }

  .hero-nav {
    top: 0.5rem;
    right: 0.5rem;
  }

  .hero-nav a {
    font-size: 0.75rem;
  }

  .hero-card h1 {
    margin-top: 1.2em;
  }

  .about-content {
    padding: 1.5rem 1rem;
    line-height: 1.65;
  }

  .about-section {
    margin-bottom: 3rem;
  }

  .about-section h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
  }

  .about-section h3 {
    font-size: 1.15rem;
  }

  .about-section h3 {
    font-size: 1.2rem;
  }

  .examples-table {
    font-size: 0.7rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .examples-table thead,
  .examples-table tbody,
  .examples-table tr {
    display: block;
  }

  .examples-table thead {
    display: none;
  }

  .examples-table tr {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(237, 238, 242, 0.8);
    border-radius: 8px;
    padding: 0.8rem;
    background: rgba(247, 248, 250, 0.3);
  }

  .examples-table td {
    display: block;
    text-align: left;
    padding: 0.4rem 0;
    border: none;
    position: relative;
  }

  .examples-table td:before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--color-secondary);
    display: block;
    font-size: 0.65rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .examples-table td:first-child {
    font-weight: 600;
    color: var(--color-highlight);
    font-size: 0.8rem;
    padding-top: 0;
  }

  .examples-table td:last-child {
    padding-bottom: 0;
  }
}