/**
 * about.css — PravaApp About / Company page
 * Dark cinematic theme with purple brand accents.
 */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --about-primary: #2a0080;
  --about-secondary: #6B00FF;
  --about-gradient: linear-gradient(135deg, #2a0080, #6B00FF, #9b40ff);
  --about-dark: #050510;
  --about-dark-mid: #08081a;
  --about-dark-alt: #0d0d22;
  --about-card-bg: rgba(255, 255, 255, 0.04);
  --about-card-border: rgba(255, 255, 255, 0.08);
  --about-text: #e5e5e5;
  --about-text-muted: rgba(229, 229, 229, 0.6);
  --about-glow: 0 0 40px rgba(107, 0, 255, 0.2);
}

/* ============================================================
   BASE
   ============================================================ */
body.page-about {
  background-color: var(--about-dark);
  color: var(--about-text);
  font-family: 'Instrument Sans', 'Lexend', Arial, sans-serif;
}

body.page-about::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
}

body.page-about a {
  color: var(--about-secondary);
  text-decoration: none;
}

body.page-about a:hover {
  color: #fff;
}

body.page-about a.button {
  color: #fff;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.about-hero {
  background: linear-gradient(160deg, #050510 0%, #10002b 40%, #1a0044 60%, #050510 100%);
  color: #fff;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 160px 0 80px;
  text-align: center;
}

.about-hero__logo {
  margin-bottom: 2rem;
}

.about-hero__logo img {
  height: 56px;
  width: auto;
}

.about-hero__tagline {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--about-secondary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.about-hero__description {
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
  opacity: 0.85;
}

/* ============================================================
   ABOUT PRODUCT
   ============================================================ */
.about-product {
  background: var(--about-dark-mid);
  padding: 100px 0;
}

.about-product__content {
  max-width: 720px;
}

.about-product__description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--about-text);
  margin-bottom: 2.5rem;
}

.about-product__philosophy {
  background: var(--about-card-bg);
  border: 1px solid var(--about-card-border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(12px);
}

.about-product__philosophy h3 {
  color: var(--about-secondary);
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.about-product__philosophy p {
  margin: 0;
  font-size: 1.15rem;
  font-style: italic;
  opacity: 0.9;
}

.about-product__platforms {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-product__platforms h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--about-text-muted);
}

.about-product__platforms span {
  font-size: 1rem;
}

/* Feature pills */
.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.about-feature-pill {
  background: var(--about-card-bg);
  border: 1px solid var(--about-card-border);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--about-text);
  white-space: nowrap;
}

/* ============================================================
   SESSION TYPES
   ============================================================ */
.about-sessions {
  padding: 100px 0;
  background: var(--about-dark);
}

.about-sessions__subtitle {
  color: var(--about-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 3rem;
}

.about-sessions__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.session-card {
  background: var(--about-card-bg);
  border: 1px solid var(--about-card-border);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.session-card:hover {
  transform: translateY(-4px);
}

.session-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.session-card__icon svg {
  width: 24px;
  height: 24px;
}

.session-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--about-text);
  margin-bottom: 0.5rem;
}

.session-card__impact {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.session-card__desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--about-text-muted);
}

/* Session type colors */
.session-card--deep-work { --sc-color: #6A4C93; }
.session-card--shallow-work { --sc-color: #1982C4; }
.session-card--screen-free { --sc-color: #939393; }
.session-card--dispersed-mode { --sc-color: #9D7C24; }
.session-card--screen-sink { --sc-color: #FF595E; }

.session-card:hover {
  border-color: var(--sc-color, rgba(255,255,255,0.15));
  box-shadow: 0 0 30px color-mix(in srgb, var(--sc-color) 25%, transparent);
}

.session-card__icon {
  background: color-mix(in srgb, var(--sc-color) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--sc-color) 30%, transparent);
}

.session-card__icon svg {
  fill: var(--sc-color);
}

.session-card__name {
  color: var(--sc-color);
}

.session-card__impact {
  color: var(--sc-color);
}

/* Responsive */
@media screen and (max-width: 991px) {
  .about-sessions__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .about-sessions__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 480px) {
  .about-sessions__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BRAND ASSETS
   ============================================================ */
.about-brand {
  padding: 100px 0;
  background: var(--about-dark);
}

.about-brand__subtitle {
  color: var(--about-text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.about-brand__download-all {
  margin-bottom: 3rem;
}

.about-brand__download-all .button {
  background: var(--about-secondary);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.about-brand__download-all .button:hover {
  background: #7c3aed;
  transform: translateY(-1px);
}

.about-brand__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.brand-card {
  background: var(--about-card-bg);
  border: 1px solid var(--about-card-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
  border-color: rgba(107, 0, 255, 0.3);
  box-shadow: var(--about-glow);
}

.brand-card__preview {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.brand-card__preview--dark {
  background: #0a0a1a;
}

.brand-card__preview--light {
  background: #f5f5f5;
}

.brand-card__preview img {
  max-height: 48px;
  max-width: 80%;
  object-fit: contain;
}

.brand-card__preview--icon img {
  max-height: 56px;
  max-width: 56px;
}

.brand-card__info {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--about-card-border);
}

.brand-card__name {
  font-size: 0.85rem;
  color: var(--about-text);
  margin-bottom: 0.75rem;
}

.brand-card__downloads {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.brand-card__downloads a {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--about-text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.brand-card__downloads a:hover {
  background: rgba(107, 0, 255, 0.15);
  border-color: var(--about-secondary);
  color: #fff;
}

/* ============================================================
   BRAND GUIDELINES
   ============================================================ */
.about-guidelines {
  padding: 100px 0;
  background: var(--about-dark-mid);
}

.about-guidelines__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.guideline-card {
  background: var(--about-card-bg);
  border: 1px solid var(--about-card-border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.guideline-card h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--about-secondary);
}

.color-swatches {
  display: flex;
  gap: 1rem;
}

.color-swatch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.color-swatch__circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.color-swatch__label {
  font-size: 0.85rem;
  color: var(--about-text-muted);
}

.color-swatch__value {
  font-size: 0.8rem;
  font-family: monospace;
  color: var(--about-text);
}

.type-sample {
  margin-bottom: 1.5rem;
}

.type-sample:last-child {
  margin-bottom: 0;
}

.type-sample__label {
  font-size: 0.8rem;
  color: var(--about-text-muted);
  margin-bottom: 0.25rem;
}

.type-sample__font-name {
  font-size: 1.5rem;
  color: var(--about-text);
}

.type-sample__font-name--sora {
  font-family: 'Sora', sans-serif;
}

.type-sample__font-name--dm-sans {
  font-family: 'DM Sans', sans-serif;
}

/* Logo usage do's and don'ts */
.about-guidelines__usage {
  margin-top: 2rem;
}

.usage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.usage-card {
  background: var(--about-card-bg);
  border: 1px solid var(--about-card-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.usage-card h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.usage-card h4.usage-do {
  color: #14b8a6;
}

.usage-card h4.usage-dont {
  color: #ff4444;
}

.usage-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.usage-card li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--about-text-muted);
}

.usage-card li::before {
  margin-right: 0.5rem;
}

.usage-do-list li::before {
  content: '\2713';
  color: #14b8a6;
}

.usage-dont-list li::before {
  content: '\2717';
  color: #ff4444;
}

/* ============================================================
   FOOTER
   ============================================================ */
.about-footer {
  background: var(--about-dark);
  border-top: 1px solid var(--about-card-border);
  padding: 2.5rem 0;
  text-align: center;
}

.about-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.about-footer__brand img {
  height: 24px;
}

.about-footer__brand span {
  font-size: 0.9rem;
  color: var(--about-text-muted);
}

.about-footer__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.about-footer__links a {
  font-size: 0.85rem;
  color: var(--about-text-muted);
}

.about-footer__links a:hover {
  color: #fff;
}

.about-footer__copy {
  font-size: 0.8rem;
  color: var(--about-text-muted);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media screen and (max-width: 991px) {
  .about-guidelines__grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .about-hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .about-hero__description {
    font-size: 1.1rem;
  }

  .about-brand__grid {
    grid-template-columns: 1fr;
  }

  .usage-grid {
    grid-template-columns: 1fr;
  }

  .about-footer__links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .color-swatches {
    flex-direction: column;
  }
}
