/* ==========================================
   ABOUT PAGE - BRUTALIST REDESIGN
   ========================================== */

:root {
  /* Colors (from landing page) */
  --color-bg: #0a0e14;
  --color-bg-light: #171b21;
  --color-fg: #fafafa;
  --color-primary: #00d1b2;
  --color-primary-dark: #00a896;
  --color-accent: #c77dff;
  --color-muted: #7d8590;
  --color-border: rgba(255, 255, 255, 0.1);
  
  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
  
  /* Spacing */
  --container-max: 1200px;
  --section-padding: 8rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  background: var(--color-bg);
  color: var(--color-fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.about-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  margin-top: 4.5rem;
  overflow: hidden;
  background: var(--color-bg);
}

.about-hero-bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  overflow: hidden;
}

.about-hero-bg-text-inner {
  font-size: 20vw;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

/* Geometric elements */
.about-hero-geo {
  position: absolute;
  display: none;
}

.about-hero-geo-1 {
  top: 6rem;
  right: 4rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(0, 209, 178, 0.2);
  transform: rotate(45deg);
}

.about-hero-geo-2 {
  bottom: 6rem;
  left: 4rem;
  width: 5rem;
  height: 5rem;
  background: rgba(0, 209, 178, 0.1);
}

@media (min-width: 1024px) {
  .about-hero-geo {
    display: block;
  }
}

.about-hero-container {
  position: relative;
  z-index: 10;
}

.about-hero-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.about-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  animation: fade-in 0.6s ease-out;
}

.about-hero-tag-line {
  width: 3rem;
  height: 1px;
  background: var(--color-primary);
}

.about-hero-tag-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.about-hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  padding-bottom: 0;
}

.about-hero-title-line {
  display: block;
  animation: slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.about-hero-title-line:nth-child(1) {
  animation-delay: 0s;
}

.about-hero-title-line:nth-child(2) {
  animation-delay: 0.1s;
}

.about-hero-title-line:nth-child(3) {
  animation-delay: 0.2s;
}

/* Ensure gradient text shows after slide-up */
.about-hero-title-line.gradient-text {
  animation: 
    slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards,
    gradient 3s ease 1s infinite;
}

.about-hero-title-stroke {
  -webkit-text-stroke: 1px var(--color-primary);
  color: transparent;
}

.gradient-text {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradient 3s ease infinite;
  display: inline-block;
  will-change: background-position;
}

/* ==========================================
   CONTENT SECTION
   ========================================== */

.about-content {
  position: relative;
  padding: var(--section-padding) 0;
  background: #0d1117;
  overflow: hidden;
}

.about-content .container {
  position: relative;
  z-index: 2;
}

/* ==========================================
   GRID LAYOUT
   ========================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 24rem;
    gap: 4rem;
  }
}

/* ==========================================
   CONTENT BLOCKS
   ========================================== */

.about-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-block {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-block:nth-child(1) { animation-delay: 0.05s; }
.about-block:nth-child(2) { animation-delay: 0.1s; }
.about-block:nth-child(3) { animation-delay: 0.15s; }
.about-block:nth-child(4) { animation-delay: 0.2s; }
.about-block:nth-child(5) { animation-delay: 0.25s; }

.about-block-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border);
}

.about-block-number {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  min-width: 2rem;
}

.about-block-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-fg);
}

.about-block-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-muted);
  margin: 0;
}

/* ==========================================
   SIDEBAR
   ========================================== */

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ==========================================
   SIDEBAR CARDS
   ========================================== */

.about-card {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  padding: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  transition: all 0.3s ease;
}

.about-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.about-card-header i {
  color: var(--color-primary);
  font-size: 1.25rem;
}

.about-card-title {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-fg);
}

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

.about-card-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-fg);
}

.about-card-list li i {
  color: var(--color-primary);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.about-card-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.about-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.about-card-link:hover {
  background: var(--color-primary);
  color: var(--color-bg);
}

.about-card-link i {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.about-card-link:hover i {
  transform: translateX(4px);
}

/* Accent Card */
.about-card-accent {
  background: var(--color-bg-light);
}

.about-card-accent:hover {
  background: var(--color-bg-light);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1023px) {
  .about-sidebar {
    order: -1;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 4rem;
  }
  
  .about-hero {
    padding: 6rem 0 3rem;
    min-height: 50vh;
  }
  
  .about-card {
    padding: 1.5rem;
  }
  
  .about-block-content p {
    font-size: 1rem;
  }
}