/* ═══════════════════════════════════════════════
   ABOUT PAGE SPECIFIC STYLES — BIZCHAKRA
   Tech-Modernism & Digital Etherealism.
   Integrates with search-visibility.css.
   ═══════════════════════════════════════════════ */

:root {
  --base:      #050505;
  --surface:   rgba(20, 20, 25, 0.6);
  --card:      rgba(20, 20, 25, 0.55);
  --elevated:  rgba(255, 255, 255, 0.035);
  --accent:    #FFA500;
  --accent-lt: #FFC04D;
  --accent-10: rgba(255, 165, 0, 0.10);
  --accent-20: rgba(255, 165, 0, 0.20);
  --accent-30: rgba(255, 165, 0, 0.30);
  --accent-70: rgba(255, 165, 0, 0.70);
  --t-100:     #FFFFFF;
  --t-90:      #E8E8E8;
  --t-75:      #BFBFBF;
  --t-50:      #808080;
  --t-30:      #4D4D4D;
  --bd-8:      rgba(255, 255, 255, 0.08);
  --bd-12:     rgba(255, 255, 255, 0.12);
  --bd-20:     rgba(255, 255, 255, 0.20);
  --ff-display: 'Montserrat', sans-serif;
  --ff-body:    'Montserrat', sans-serif;
  --ff-mono:    'DM Mono', monospace;
  --ff-d:       'Orelega One', serif;
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page spacing and backgrounds */
.bg-surface {
  background: var(--surface);
}

.bg-elevated {
  background: var(--elevated);
  border-top: 1px solid var(--bd-8);
  border-bottom: 1px solid var(--bd-8);
}

/* ═══════════════════════════════════════════════
   HERO 3D ELEMENTS
   ═══════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  padding: 140px 2.5rem 80px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.hero-left {
  position: relative;
  z-index: 10;
  min-width: 0;
  width: 100%;
}

.hero-byline {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--t-50);
  margin-top: 1.25rem;
}

.hero-body {
  max-width: 560px;
  margin: 1.5rem 0 2rem;
}

.hero-rule {
  width: 100%;
  max-width: 720px;
  height: 1px;
  background: linear-gradient(to right, var(--accent-30), transparent);
  margin: 2rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--accent-30);
  background: var(--accent-10);
  border-radius: 4px;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-lt);
  animation: badge-glow 4s infinite alternate;
}

@keyframes badge-glow {
  0% { box-shadow: 0 0 10px rgba(255, 165, 0, 0.05); }
  100% { box-shadow: 0 0 15px rgba(255, 165, 0, 0.15); }
}

/* ═══════════════════════════════════════════════
   3D CARD TILT & SPECULAR REFLECTION EFFECT
   ═══════════════════════════════════════════════ */
.tilt-card-3d {
  position: relative;
  background: var(--card);
  border: 1px solid var(--bd-8);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease-out, border-color 0.25s ease-out;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.tilt-card-3d::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.06) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
  z-index: 10;
}

.tilt-card-3d:hover {
  border-color: rgba(255, 165, 0, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 165, 0, 0.08);
}

.tilt-card-3d:hover::after {
  opacity: 1;
}

/* Elements inside tilt cards popped out in Z space */
.tilt-card-3d > * {
  transform: translateZ(30px);
}

.tilt-card-3d h3, .tilt-card-3d h4 {
  transform: translateZ(45px);
}

/* ═══════════════════════════════════════════════
   WHY BIZCHAKRA EXISTS SECTION
   ═══════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.why-sticky {
  position: sticky;
  top: 100px;
}

.problem-list {
  list-style: none;
  border-left: 1px solid var(--accent-20);
  padding-left: 1.5rem;
  margin-top: 1.5rem;
}

.problem-list li {
  position: relative;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: var(--t-75);
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color 0.2s, transform 0.2s;
}

.problem-list li::before {
  content: '✦';
  color: var(--accent);
  position: absolute;
  left: -2.25rem;
  opacity: 0.6;
  font-size: 0.75rem;
  top: 0.9rem;
  transition: transform 0.2s;
}

.problem-list li:hover {
  color: var(--t-100);
  transform: translateX(4px);
}

.problem-list li:hover::before {
  transform: scale(1.25) rotate(45deg);
  opacity: 1;
}

.problem-list li:last-child {
  border-bottom: none;
}

.why-fix {
  margin-top: 3.5rem;
}

/* ═══════════════════════════════════════════════
   FOUNDER SECTION
   ═══════════════════════════════════════════════ */
.found-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 5rem;
  align-items: start;
}

.found-card-wrap {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.founder-photo-box {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 12px;
  border: 1px solid var(--bd-12);
  background: #0d0d0f;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.founder-img.loaded {
  opacity: 1;
}

.founder-monogram {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-d);
  font-size: 3rem;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(20, 20, 25, 0.8), rgba(10, 10, 12, 0.9));
  z-index: 1;
  transition: opacity 0.4s;
}

.founder-img.loaded + .founder-monogram {
  opacity: 0;
  pointer-events: none;
}

.founder-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

.found-name {
  font-family: var(--ff-d);
  font-size: 1.6rem;
  color: var(--t-100);
  margin-bottom: 0.25rem;
  text-align: center;
}

.found-title {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  text-align: center;
}

.found-location {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--t-50);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
}

.found-location::before {
  content: '◎';
  color: var(--accent);
  opacity: 0.7;
}

.found-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--t-75);
  border: 1px solid var(--bd-12);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.01);
  transition: all 0.3s;
}

.found-linkedin:hover {
  color: var(--accent-lt);
  border-color: rgba(255, 165, 0, 0.4);
  background: var(--accent-10);
  transform: translateY(-2px);
}

.found-linkedin svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.focus-list {
  list-style: none;
  border-top: 1px solid var(--bd-8);
  margin-top: 2.5rem;
}

.focus-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--bd-8);
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  transition: color 0.2s;
}

.focus-list li:hover {
  color: var(--t-100);
}

.focus-tag {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  width: 100px;
  flex-shrink: 0;
  padding-top: 0.2rem;
}

.focus-desc {
  font-size: 0.9375rem;
  color: var(--t-75);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   3D METHODOLOGY SECTION (ISOMETRIC STACK)
   ═══════════════════════════════════════════════ */
.method-grid {
  display: block;
}

/* 3D Stack container and planes */
.stack-3d-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  height: 480px;
  position: relative;
}

.stack-3d {
  position: relative;
  width: 320px;
  height: 240px;
  transform-style: preserve-3d;
  transform: rotateX(54deg) rotateZ(-40deg);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.stack-3d:hover {
  transform: rotateX(46deg) rotateZ(-32deg) rotateY(4deg);
}

.stack-layer {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s, background-color 0.4s, box-shadow 0.4s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

/* Level positioning (translateZ) */
.stack-layer-1 {
  transform: translateZ(0px);
}

.stack-layer-2 {
  transform: translateZ(75px);
}

.stack-layer-3 {
  transform: translateZ(150px);
  border-color: rgba(255, 165, 0, 0.25);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 165, 0, 0.05);
}

/* Stack separation on hover */
.stack-3d:hover .stack-layer-1 {
  transform: translateZ(-25px);
  opacity: 0.5;
}

.stack-3d:hover .stack-layer-2 {
  transform: translateZ(85px);
}

.stack-3d:hover .stack-layer-3 {
  transform: translateZ(195px);
  border-color: rgba(255, 165, 0, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 165, 0, 0.25);
}

/* Individual hover highlight */
.stack-layer:hover {
  background: rgba(255, 165, 0, 0.04);
  border-color: var(--accent);
}

.stack-layer-num {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t-50);
  display: block;
  margin-bottom: 0.5rem;
}

.stack-layer:hover .stack-layer-num {
  color: var(--accent);
}

.stack-layer-title {
  font-family: var(--ff-d);
  font-size: 1.15rem;
  color: var(--accent-lt);
  margin-bottom: 0.5rem;
  font-weight: normal;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.stack-layer-desc {
  font-size: 0.75rem;
  color: var(--t-75);
  line-height: 1.5;
}

.stack-layer-tag {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  color: var(--accent-lt);
  opacity: 0.7;
  display: block;
  margin-top: 1rem;
}

/* Detailed cards on the right */
.method-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.method-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--bd-8);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.3s;
}

.method-card:hover {
  background: rgba(255, 165, 0, 0.02);
  border-color: rgba(255, 165, 0, 0.2);
}

.method-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.method-num {
  font-family: var(--ff-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-10);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-card-desc {
  font-size: 0.9375rem;
  color: var(--t-75);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.method-tagline {
  font-style: italic;
  font-family: var(--ff-d);
  font-size: 1rem;
  color: var(--t-50);
  margin-bottom: 1rem;
}

.method-tags {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--accent-lt);
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.method-tags::before {
  content: '✦';
  color: var(--accent);
}

.method-caption {
  font-size: 0.875rem;
  color: var(--t-50);
  line-height: 1.6;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bd-8);
  grid-column: 1 / -1;
  margin-top: 1rem;
}

.method-caption strong {
  color: var(--t-75);
}

/* ═══════════════════════════════════════════════
   WHAT WE DON'T DO SECTION
   ═══════════════════════════════════════════════ */
.no-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.no-list {
  list-style: none;
  border-left: 1px solid rgba(255, 165, 0, 0.2);
  padding-left: 1.5rem;
}

.no-list li {
  position: relative;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: var(--t-75);
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.no-list li::before {
  content: '✕';
  color: var(--accent);
  position: absolute;
  left: -2.25rem;
  opacity: 0.6;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  top: 0.9rem;
}

.no-list li:last-child {
  border-bottom: none;
}

/* ═══════════════════════════════════════════════
   CLIENT FIT SECTION
   ═══════════════════════════════════════════════ */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.fit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.fit-tag {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--t-75);
  border: 1px solid var(--bd-12);
  padding: 0.35rem 0.85rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.005);
  transition: all 0.2s;
}

.fit-tag:hover {
  border-color: rgba(255, 165, 0, 0.3);
  color: var(--accent-lt);
  background: var(--accent-10);
  transform: translateY(-2px);
}

.fit-right-panel {
  background: rgba(255, 165, 0, 0.02);
  border: 1px solid rgba(255, 165, 0, 0.15);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.fit-right-panel h3 {
  margin-bottom: 1.25rem;
}

.fit-check {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fit-check li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--t-75);
  line-height: 1.6;
}

.fit-check li::before {
  content: '✓';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.fit-disclaimer {
  margin-top: 2rem;
  padding: 1.25rem;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 8px 8px 0;
  font-size: 0.875rem;
  color: var(--t-50);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   DIFFERENTIATORS SECTION
   ═══════════════════════════════════════════════ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.diff-card {
  background: var(--card);
  border: 1px solid var(--bd-8);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.diff-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
}

.diff-card:hover::before {
  animation: shine 1.4s ease-in-out;
}

.diff-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 165, 0, 0.25);
  box-shadow: 0 16px 35px rgba(0,0,0,0.5), 0 0 20px rgba(255, 165, 0, 0.08);
}

.diff-num {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.diff-title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--t-100);
  margin-bottom: 1rem;
}

.diff-desc {
  font-size: 0.9rem;
  color: var(--t-75);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   RESULTS & PHILOSOPHY
   ═══════════════════════════════════════════════ */
.results-placeholder {
  border: 1px dashed var(--bd-20);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  margin-top: 2.5rem;
  background: rgba(255,255,255,0.005);
}

.results-placeholder strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--t-90);
  margin-bottom: 0.75rem;
}

.results-placeholder p {
  font-size: 0.9375rem;
  color: var(--t-50);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

.phil-sec {
  text-align: center;
  position: relative;
  padding: 100px 0;
}

.phil-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent-30));
}

.phil-sec::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-30), transparent);
}

.pq-quote {
  font-family: var(--ff-d);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: normal;
  line-height: 1.4;
  color: var(--t-100);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.pq-quote em {
  font-style: italic;
  color: var(--accent-lt);
}

.pq-subtext {
  font-size: 0.9375rem;
  color: var(--t-50);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE DESIGN BREAKPOINTS
   ═══════════════════════════════════════════════ */
@media(max-width:1024px) {
  .diff-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:960px) {
  .hero {
    align-items: center;
    text-align: center;
    padding-top: 110px;
  }
  .hero-byline {
    justify-content: center;
  }
  .hero-rule {
    margin: 1.5rem auto;
  }
  .gyro-container {
    width: 220px;
    height: 220px;
  }
  .why-grid, .found-grid, .method-grid, .no-grid, .fit-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .method-breakdown {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .why-sticky, .found-card-wrap {
    position: static;
    align-items: center;
  }
  .found-linkedin {
    align-self: center;
  }
  .stack-3d-wrap {
    height: 380px;
  }
  .stack-3d {
    width: 280px;
    height: 210px;
  }
}

@media(max-width:768px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }
  /* On mobile viewports, flatten methodology stack for better reading */
  .stack-3d-wrap {
    display: none; /* Hide 3D graphics on smaller screens */
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .method-breakdown {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .method-card {
    padding: 1.5rem;
  }
  .fit-right-panel {
    padding: 1.75rem;
  }
}

@media(max-width:640px) {
  .focus-list li {
    flex-direction: column;
    gap: 0.5rem;
  }
  .focus-tag {
    width: auto;
  }
  .results-placeholder {
    padding: 2rem 1.25rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  .gyro-container, .gyro-ring, .gyro-core {
    animation: none;
  }
  .tilt-card-3d {
    transform: none !important;
    transition: none;
  }
}
