﻿/* ============================================================
   ABOUT PAGE — Books & Memories (Full Redesign)
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', 'Merriweather', serif;
  background-color: #0c1829;
  color: #e2e8f0;
  line-height: 1.6;
  cursor: none;
}
@media (max-width: 768px) { body { cursor: auto; } }

/* Film grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Shared gold shimmer ── */
h1, h2 {
  background: linear-gradient(135deg, #f4d03f 0%, #ffe993 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: goldShimmer 6s linear infinite;
}
@keyframes goldShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Reusable tokens ── */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f4d03f;
  -webkit-text-fill-color: #f4d03f;
  background: none;
  animation: none;
  border: 1px solid rgba(244,208,63,0.3);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.center-tag  { display: block; text-align: center; }
.center-h2   { text-align: center; }
.gold-bar {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, #f4d03f, #d4af37);
  border-radius: 2px;
  margin: 1rem 0 1.8rem;
  box-shadow: 0 0 10px rgba(244,208,63,0.3);
}
.center-bar  { margin: 1rem auto 1.8rem; }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Custom cursor ── */
.custom-cursor {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px;
  background: #f4d03f; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s, background-color .3s;
  box-shadow: 0 0 10px rgba(244,208,63,0.6);
  mix-blend-mode: screen;
}
.custom-cursor.hover {
  width: 44px; height: 44px;
  background: rgba(244,208,63,0.12);
  border: 1px solid #f4d03f;
}
@media (max-width: 768px) { .custom-cursor { display: none !important; } }

/* ══════════════════════════════════════════════
   1. HERO
══════════════════════════════════════════════ */
.about-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(8,14,26,0.85) 0%, rgba(12,24,41,0.7) 100%),
    url('../../images/about_image.png') center/cover no-repeat;
}
.about-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,14,26,0.3) 0%, rgba(8,14,26,0.95) 100%);
}
.about-hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 5%;
  margin-top: 70px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f4d03f;
  border: 1px solid rgba(244,208,63,0.35);
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}
.about-hero-content h1.hero-quote {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.9s 0.15s ease both;
}
.hero-sub {
  font-size: 1.1rem;
  color: #a0b4cc;
  margin-bottom: 2.5rem;
  font-style: italic;
  animation: fadeUp 1s 0.3s ease both;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, #f4d03f, #e0bb30);
  color: #0a1220;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(244,208,63,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 1s 0.45s ease both;
}
.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(244,208,63,0.5);
}
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(244,208,63,0.5);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════════
   2. STATS BAR
══════════════════════════════════════════════ */
.about-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: linear-gradient(90deg, #0f1d30 0%, #162235 50%, #0f1d30 100%);
  border-top: 1px solid rgba(244,208,63,0.15);
  border-bottom: 1px solid rgba(244,208,63,0.15);
  padding: 2.5rem 5%;
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0 3rem;
  text-align: center;
}
.stat-card .stat-icon {
  font-size: 1.8rem;
  color: #f4d03f;
  margin-bottom: 0.4rem;
}
.stat-card .stat-num {
  font-size: 2.6rem;
  font-weight: 700;
  color: #f4d03f;
  font-family: 'Inter', sans-serif;
  line-height: 1;
  display: inline;
}
.stat-card .stat-suffix {
  display: inline;
  font-size: 1.5rem;
  color: #f4d03f;
  font-weight: 700;
}
.stat-card p {
  font-size: 0.82rem;
  color: #7788aa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.08);
}

/* ══════════════════════════════════════════════
   3. WHO WE ARE
══════════════════════════════════════════════ */
.about-who {
  display: flex;
  align-items: center;
  gap: 5rem;
  padding: 6rem 8%;
  background: #0c1829;
}
.who-text { flex: 1; }
.who-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.5rem;
}
.who-text p {
  color: #8899bb;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}
.who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.who-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #c8d8e8;
}
.who-list li i {
  color: #f4d03f;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.who-image { flex: 1; display: flex; justify-content: center; }
.who-image-frame {
  position: relative;
  max-width: 420px;
  width: 100%;
}
.who-image-frame img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 40px rgba(244,208,63,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  display: block;
}
.image-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: linear-gradient(135deg, #f4d03f, #e0bb30);
  color: #0a1220;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(244,208,63,0.4);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ══════════════════════════════════════════════
   4. OUR VISION
══════════════════════════════════════════════ */
.about-vision {
  padding: 5.5rem 8%;
  background: linear-gradient(180deg, #0f1d30 0%, #0c1829 100%);
}
.vision-inner { max-width: 1100px; margin: 0 auto; }
.vision-lead {
  text-align: center;
  color: #8899bb;
  font-size: 1rem;
  line-height: 1.9;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.vision-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.vision-card {
  background: rgba(22,34,53,0.8);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.vision-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(244,208,63,0.08);
  border-color: rgba(244,208,63,0.25);
}
.vc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(244,208,63,0.1);
  border: 1px solid rgba(244,208,63,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #f4d03f;
  margin-bottom: 1.2rem;
  transition: background 0.3s ease;
}
.vision-card:hover .vc-icon { background: rgba(244,208,63,0.18); }
.vision-card h3 {
  font-size: 1.05rem;
  color: #f0f4f8;
  margin-bottom: 0.8rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.vision-card p { font-size: 0.88rem; color: #7788aa; line-height: 1.75; }

/* ══════════════════════════════════════════════
   5. TIMELINE
══════════════════════════════════════════════ */
.about-journey {
  padding: 5.5rem 8%;
  background: #0c1829;
}
.about-journey .center-h2 { margin-bottom: 0.5rem; }
.timeline {
  position: relative;
  max-width: 900px;
  margin: 3.5rem auto 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(244,208,63,0.4) 10%, rgba(244,208,63,0.4) 90%, transparent);
  transform: translateX(-50%);
}
.tl-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  position: relative;
}
.tl-left  { flex-direction: row; }
.tl-right { flex-direction: row-reverse; }

.tl-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4d03f, #d4af37);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0a1220;
  box-shadow: 0 0 20px rgba(244,208,63,0.4);
  z-index: 2;
  flex-shrink: 0;
}
.tl-card {
  width: calc(50% - 60px);
  background: rgba(22,34,53,0.85);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1.6rem 1.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.tl-left  .tl-card { margin-right: auto; }
.tl-right .tl-card { margin-left: auto; }
.tl-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.5);
  border-color: rgba(244,208,63,0.2);
}
.tl-icon {
  font-size: 1.3rem;
  color: #f4d03f;
  margin-bottom: 0.7rem;
}
.tl-card h3 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #e8f0f8;
  margin-bottom: 0.6rem;
}
.tl-card p { font-size: 0.87rem; color: #7788aa; line-height: 1.75; }

/* ══════════════════════════════════════════════
   6. FOUNDER MESSAGE
══════════════════════════════════════════════ */
.about-founder {
  padding: 5.5rem 8%;
  background: linear-gradient(135deg, #0f1d30 0%, #0c1829 100%);
}
.founder-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 3rem 3.5rem;
  background: rgba(22,34,53,0.7);
  border-radius: 20px;
  border: 1px solid rgba(244,208,63,0.12);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.founder-quote-mark {
  position: absolute;
  top: -30px; left: 2rem;
  font-size: 8rem;
  line-height: 1;
  color: rgba(244,208,63,0.15);
  font-family: 'Merriweather', serif;
  pointer-events: none;
}
.founder-text {
  font-size: 1.05rem;
  color: #9aacbe;
  line-height: 1.95;
  margin-bottom: 1.4rem;
  font-style: italic;
}
.founder-text strong { color: #f4d03f; font-style: normal; }
.founder-text em { color: #c8d8e8; }
.founder-sig {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.founder-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4d03f, #d4af37);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(244,208,63,0.3);
}
.founder-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #e8f0f8;
  font-family: 'Inter', sans-serif;
}
.founder-role { font-size: 0.8rem; color: #6677aa; margin-top: 2px; }

/* ══════════════════════════════════════════════
   7. CTA BANNER
══════════════════════════════════════════════ */
.about-cta {
  padding: 5rem 8%;
  text-align: center;
  background: linear-gradient(135deg, #0f1d30 0%, #162235 50%, #0f1d30 100%);
  border-top: 1px solid rgba(244,208,63,0.1);
  border-bottom: 1px solid rgba(244,208,63,0.1);
  position: relative;
  overflow: hidden;
}
.about-cta::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(244,208,63,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.about-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}
.about-cta p { color: #7788aa; font-size: 1rem; margin-bottom: 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, #f4d03f, #e0bb30);
  color: #0a1220;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(244,208,63,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(244,208,63,0.5); }
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2.2rem;
  border: 1px solid rgba(244,208,63,0.5);
  color: #f4d03f;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  background: transparent;
  transition: background 0.3s, border-color 0.3s;
}
.btn-cta-outline:hover { background: rgba(244,208,63,0.08); border-color: #f4d03f; }

/* ══════════════════════════════════════════════
   HEADER (keep consistent with shared-header)
══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .vision-cards { grid-template-columns: repeat(2, 1fr); }
  .about-who { gap: 3rem; padding: 4rem 6%; }
}

@media (max-width: 768px) {

  .about-hero { min-height: 80vh; }
  .about-hero-content h1.hero-quote { font-size: 1.5rem; }

  .about-stats { gap: 1.5rem; padding: 2rem 5%; }
  .stat-divider { display: none; }
  .stat-card { padding: 0.8rem 1.5rem; }

  .about-who { flex-direction: column; padding: 3rem 6%; gap: 2.5rem; }
  .who-image-frame { max-width: 340px; }
  .image-badge { bottom: -14px; right: -8px; font-size: 0.78rem; padding: 8px 14px; }

  .about-vision, .about-journey, .about-founder, .about-cta { padding: 3.5rem 6%; }
  .vision-cards { grid-template-columns: 1fr; }

  .timeline::before { left: 28px; }
  .tl-item, .tl-right { flex-direction: column; padding-left: 68px; }
  .tl-dot { left: 0; transform: none; }
  .tl-card { width: 100%; margin: 0; }

  .founder-inner { padding: 2rem 1.5rem; }

  .cta-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .about-stats { flex-direction: column; }
  .stat-card { width: 100%; flex-direction: row; justify-content: center; gap: 1rem; }
  .stat-card p { display: none; }
}
