/* ═══════════════════════════════════════════════
   Filelifty — Shared Secondary Page Styles
   (About, Careers, Privacy, TOS)
═══════════════════════════════════════════════ */

body.secondary-page { background: var(--gray-50); }

/* ── Page Hero (shared) ── */
.page-hero {
  background: linear-gradient(160deg, var(--bg-darkest) 0%, #0D0D2B 60%, #12102A 100%);
  padding: 130px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-glow {
  position: absolute;
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(108,99,255,0.14) 0%, transparent 70%);
  top: 0; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-back-link {
  display: inline-block;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem; font-weight: 500;
  margin-bottom: 28px;
  transition: color 0.2s;
}
.page-back-link:hover { color: var(--accent); }
.page-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; letter-spacing: -1.5px; line-height: 1.1;
  color: var(--white); margin-bottom: 16px;
}
.page-subtitle {
  font-size: 1rem; color: rgba(255,255,255,0.45);
  max-width: 480px; margin: 0 auto; line-height: 1.65;
}

/* ── Page Content Wrapper ── */
.page-content { padding: 70px 0 100px; }
.page-content.legal-content { padding: 60px 0 100px; }

/* ══════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.about-story-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.8px;
  color: var(--gray-900); margin-bottom: 20px; line-height: 1.2;
}
.about-story-text p {
  font-size: 0.97rem; line-height: 1.75;
  color: var(--text-muted); margin-bottom: 16px;
}
.about-story-text p:last-child { margin-bottom: 0; }

.about-quick-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.about-stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}
.about-stat-card:hover {
  border-color: rgba(249,115,22,0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(249,115,22,0.08);
}
.about-stat-card:nth-child(2) {
  background: linear-gradient(135deg, #FFF7F0, #FFFAF7);
  border-color: rgba(249,115,22,0.2);
}
.about-stat-card:nth-child(4) {
  background: linear-gradient(135deg, #FFF7F0, #FFFAF7);
  border-color: rgba(249,115,22,0.2);
}
.asc-num {
  font-size: 2.2rem; font-weight: 900;
  color: var(--gray-900); letter-spacing: -1.5px; line-height: 1;
}
.asc-suf { color: var(--accent); font-size: 1.5rem; font-weight: 800; }
.asc-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.04em; }

/* Mission */
.about-mission {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-medium));
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  margin-bottom: 80px;
  position: relative; overflow: hidden;
}
.about-mission::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(249,115,22,0.1) 0%, transparent 65%);
}
.about-mission-inner { position: relative; z-index: 1; }
.about-mission .section-badge { margin-bottom: 20px; }
.about-mission h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800; letter-spacing: -1px;
  color: var(--white); margin-bottom: 16px; line-height: 1.2;
}
.about-mission p {
  font-size: 1.05rem; line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 580px; margin: 0 auto;
}

/* Values */
.about-values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 80px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249,115,22,0.2);
  box-shadow: 0 10px 36px rgba(249,115,22,0.1);
}
.value-icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.value-card p  { font-size: 0.85rem; line-height: 1.6; color: var(--text-muted); }

/* What sets us apart */
.about-diff {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; margin-bottom: 80px;
}
.about-diff-list { display: flex; flex-direction: column; gap: 20px; }
.diff-item {
  display: flex; gap: 14px; align-items: flex-start;
}
.diff-check {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(249,115,22,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.diff-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.diff-item p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }
.about-diff-visual {
  background: linear-gradient(135deg, #FFF7F0, #FFFAF7);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1.5px solid rgba(249,115,22,0.15);
}
.diff-visual-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(249,115,22,0.1);
  font-size: 0.9rem; font-weight: 500; color: var(--gray-700);
}
.diff-visual-item:last-child { border-bottom: none; }
.diff-visual-item span:first-child { font-size: 1.1rem; }

/* ══════════════════════════════════════════
   CAREERS PAGE
══════════════════════════════════════════ */
.careers-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start; margin-bottom: 64px;
}
.careers-intro-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: -0.8px; color: var(--gray-900);
  margin-bottom: 16px; line-height: 1.2;
}
.careers-intro-text p {
  font-size: 0.95rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 12px;
}
.perks-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.perk-item {
  display: flex; gap: 10px; align-items: center;
  font-size: 0.88rem; font-weight: 500; color: var(--gray-700);
}
.perk-item span:first-child { font-size: 1.1rem; }

.open-roles { display: flex; flex-direction: column; gap: 12px; }
.role-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  border: 1.5px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.role-card:hover {
  border-color: rgba(249,115,22,0.2);
  transform: translateX(4px);
}
.role-info h4 { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.role-info p  { font-size: 0.8rem; color: var(--text-muted); }
.role-tag {
  font-size: 0.72rem; font-weight: 600; padding: 4px 10px;
  border-radius: 50px; background: var(--accent-dim); color: var(--accent);
  white-space: nowrap; flex-shrink: 0;
}

/* Careers form card */
.careers-form-section { margin-top: 16px; }
.careers-form-section h2 {
  font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px;
  color: var(--gray-900); margin-bottom: 8px;
}
.careers-form-section .sub {
  color: var(--text-muted); font-size: 0.95rem; margin-bottom: 36px;
}

/* ══════════════════════════════════════════
   LEGAL PAGES (Privacy + TOS)
══════════════════════════════════════════ */
.legal-wrap {
  max-width: 780px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 60px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}
.legal-meta {
  font-size: 0.82rem; color: var(--gray-400);
  margin-bottom: 40px; padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}
.legal-wrap h2 {
  font-size: 1.25rem; font-weight: 700; color: var(--gray-900);
  margin: 36px 0 12px; letter-spacing: -0.3px;
}
.legal-wrap h2:first-of-type { margin-top: 0; }
.legal-wrap p {
  font-size: 0.92rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 12px;
}
.legal-wrap ul {
  list-style: disc; padding-left: 20px;
  margin-bottom: 12px;
}
.legal-wrap ul li {
  font-size: 0.92rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 6px;
}
.legal-wrap a { color: var(--accent); }
.legal-wrap a:hover { text-decoration: underline; }
.legal-section-divider {
  border: none; border-top: 1px solid var(--gray-100); margin: 32px 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-story  { grid-template-columns: 1fr; gap: 40px; }
  .about-diff   { grid-template-columns: 1fr; gap: 40px; }
  .careers-intro { grid-template-columns: 1fr; gap: 40px; }
  .about-values-grid { grid-template-columns: 1fr 1fr; }
  .legal-wrap { padding: 36px 28px; }
}
@media (max-width: 600px) {
  .about-values-grid { grid-template-columns: 1fr; }
  .about-quick-stats { grid-template-columns: 1fr 1fr; }
  .legal-wrap { padding: 24px 16px; }
}
