/* Base reset */
html, body {
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: #111;
  font-family: "Space Grotesk", sans-serif;
}

/* Hide default cursor and use custom */
body { cursor: none; }
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px; background: #000;
  border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%); z-index: 9999;
}
.cursor-trail {
  position: fixed; top: 0; left: 0;
  width: 25px; height: 25px;
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%);
  transition: all .15s ease-out; z-index: 9998;
}

/* Grid background */
.grid-background {
  position: relative; min-height: 100vh;
  background-color: #ffffff; overflow-x: hidden;
}
.grid-background::before {
  content: ""; position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px),
    linear-gradient(to right, rgba(0,0,0,0.1) 1px, transparent 1px);
  background-size: 100px 100px; opacity: 0.6; pointer-events: none; z-index: -1;
}

/* Navbar */
.simple-navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 30px; font-family: 'Space Grotesk', sans-serif;
  position: sticky; top: 0; z-index: 1000; background: transparent;
}
.nav-left {
  font-weight: bold; font-size: 2rem; color: #555; line-height: 1.1;
  display: flex; flex-direction: column;
}
.nav-left .sub-text {
  font-weight: 400; font-size: 0.9rem; color: #777; letter-spacing: 1px; margin-top: 2px;
}
.nav-right {
  list-style: none; display: flex; gap: 50px; margin: 0; padding: 0;
  align-items: center; font-size: 1.2rem;
}
.nav-right li { display: inline-block; }
.nav-right li a {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: bold; color: #555; transition: color .3s; cursor: pointer;
}
.nav-right li a:hover { color: #000; }

/* Button */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 20px; border: none; outline: none;
  background-color: #151515; color: #eee; border-radius: 7px;
  font-weight: 600; transition: background-color .25s ease, color .25s ease;
}
.button-span { color: #eee; }
.button:hover { background-color: #1a1a1a; }
.button:hover .button-span { color: #fff; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 200; }
.hamburger span { width: 26px; height: 3px; background-color: #333; transition: .3s ease; }

/* Mobile menu */
@media (max-width: 768px) {
  .hamburger { display: flex; margin-right: 8%; }
  .nav-right {
    position: absolute; top: 70px; right: 0; width: 100%;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(6px);
    display: none; flex-direction: column; gap: 20px; padding: 20px 0;
    text-align: center; border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  .nav-right.open { display: flex; }
  .simple-navbar {
    justify-content: space-between; padding: 15px 20px;
    position: fixed; width: 100%; top: 0; left: 0;
    background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); z-index: 999;
  }
  .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .button { padding: 12px 8px; }
  body { cursor: auto; }
  .cursor-dot, .cursor-trail { display: none !important; }
}

.home-link {
  text-decoration: none; color: inherit; font-weight: bold;
}
.home-link:hover { text-decoration: underline; }

/* ========== ABOUT PAGE ========== */

.about-wrapper {
  padding: 110px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

/* Hero */
.about-hero { margin-bottom: 36px; }
.about-title {
  font-family: "Staatliches", sans-serif;
  font-size: 3rem; letter-spacing: 4px; color: #111;
  margin: 0 0 6px;
}
.about-sub { color: #444; margin: 0; }

/* Intro text */
.about-intro {
  margin-bottom: 48px;
}
.about-intro p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
  margin: 0 0 14px;
}
.about-intro strong {
  color: #111;
}

/* Section headings */
.section-heading {
  font-family: "Staatliches", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: #111;
  margin: 0 0 20px;
}

/* ========== BENTO GRID ========== */
.about-bento { margin-bottom: 48px; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.bento-card {
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .2s ease;
  will-change: transform;
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.16);
}

.bento-card i {
  font-size: 1.4rem;
  color: #151515;
  margin-bottom: 10px;
  display: block;
}

.bento-card h3 {
  font-size: 1.15rem;
  color: #111;
  margin: 0 0 6px;
}

.bento-card p {
  font-size: 0.95rem;
  color: #444;
  margin: 0;
  line-height: 1.6;
}

/* ========== TECH STACK PILLS ========== */
.about-stack { margin-bottom: 48px; }

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-pills span {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #333;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .15s ease, background .2s ease;
}
.stack-pills span:hover {
  transform: translateY(-1px);
  background: #e8e8e8;
}

/* ========== QUICK FACTS ========== */
.about-facts { margin-bottom: 48px; }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.fact-item {
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
  will-change: transform;
}
.fact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.fact-number {
  display: block;
  font-family: "Staatliches", sans-serif;
  font-size: 2.2rem;
  color: #111;
  letter-spacing: 2px;
  line-height: 1;
}

.fact-label {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-top: 6px;
  font-weight: 600;
}

/* ========== CONNECT LINKS ========== */
.about-connect { margin-bottom: 48px; }

.connect-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.connect-links a {
  text-decoration: none;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: #151515;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background .2s ease, transform .15s ease;
}
.connect-links a:hover {
  background: #000;
  transform: translateY(-1px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .about-wrapper { padding: 100px 16px 60px; }
  .about-title { font-size: 2.2rem; letter-spacing: 2px; }
  .bento-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .about-title { font-size: 2rem; }
  .about-intro p { font-size: 1.05rem; }
  .bento-card { padding: 18px 16px; border-radius: 12px; }
  .fact-item { padding: 20px 12px; }
  .fact-number { font-size: 1.8rem; }
  .connect-links a { padding: 8px 12px; }
}

/* Mobile navbar fix */
@media (max-width: 768px) {
  .simple-navbar {
    display: flex; position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.8); backdrop-filter: blur(8px); z-index: 1000;
  }
  .nav-right { max-height: calc(100vh - 70px); overflow-y: auto; }
}
