/* ===== Custom Properties ===== */
:root {
  --color-bg:        #111827;
  --color-bg-card:   #1f2937;
  --color-text:      #f9fafb;
  --color-text-dim:  #4b5563;
  --color-text-mid:  #9ca3af;
  --color-accent:    #d1d5db;
  --color-white:     #ffffff;
  --color-black:     #000000;
  --font:            'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm:       8px;
  --radius-md:       16px;
  --radius-lg:       999px;
}

/* ===== Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* ===== Utility ===== */
.text-accent {
  color: var(--color-accent);
  font-weight: 400;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-lg);
  padding: 0.75rem 2rem;
  transition: all 0.25s ease;
  cursor: pointer;
  text-align: center;
}

.btn--filled {
  background: var(--color-white);
  color: var(--color-bg);
}

.btn--filled:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid var(--color-white);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-bg);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.5rem 1.4rem;
  font-size: 0.85rem;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav--scrolled {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
}

.nav__logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

/* YC badge — bottom-right of hero */
.hero__yc {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__yc-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.hero__yc-text {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text);
  opacity: 0.85;
}

.hero__heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero__subheading {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-accent);
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

/* ===== Hero Scroll Arrow ===== */
.hero__scroll-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  transition: border-color 0.25s ease, transform 0.25s ease;
  animation: bounce 2s ease infinite;
}

.hero__scroll-arrow:hover {
  border-color: var(--color-white);
  transform: translateY(2px);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== Mission ===== */
.mission {
  background: var(--color-bg);
  padding: 10rem 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission__content {
  max-width: 800px;
  text-align: center;
}

.mission__brand {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.mission__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-mid);
  margin-bottom: 3rem;
}

.mission__text {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.mission__text .word {
  color: var(--color-text-dim);
  transition: color 0.1s ease;
}

/* ===== Founders ===== */
.founders {
  background: var(--color-bg);
  padding: 8rem 2rem;
}

.founders__content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.founders__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.founders__subtitle {
  max-width: 700px;
  margin: 0 auto 4rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-mid);
}

.founders__grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Founder Card ===== */
.founder-card {
  position: relative;
  width: 320px;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.founder-card__image {
  aspect-ratio: 3 / 4;
  background: #374151;
  overflow: hidden;
}

.founder-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.founder-card__photo--akash {
  object-position: center top;
}

.founder-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
}

.founder-card__placeholder svg {
  width: 64px;
  height: 64px;
}

.founder-card__info {
  padding: 1rem 1.25rem;
}

.founder-card__name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.founder-card__name {
  font-size: 1.1rem;
  font-weight: 600;
}

.founder-card__arrow {
  font-size: 1.25rem;
  color: var(--color-text-mid);
  transition: color 0.2s ease;
  padding: 0.25rem;
  line-height: 1;
}

.founder-card__arrow:hover {
  color: var(--color-white);
}

.founder-card__role {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text-mid);
  text-transform: uppercase;
}

/* Bio overlay */
.founder-card__bio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.97) 50%, rgba(17, 24, 39, 0.7) 75%, transparent 100%);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.4s ease;
  pointer-events: none;
}

.founder-card.expanded .founder-card__bio-overlay {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.founder-card__bio-content {
  padding: 1.5rem 1.25rem;
  text-align: left;
}

.founder-card__bio-content .founder-card__name {
  display: block;
  margin-bottom: 0.1rem;
}

.founder-card__bio-content .founder-card__arrow--close {
  position: absolute;
  top: auto;
  right: 1.25rem;
}

.founder-card__bio-content .founder-card__role {
  margin-bottom: 0.75rem;
}

.founder-card__bio-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-mid);
}

.founder-card__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #374151;
  color: var(--color-text-mid);
  margin-top: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.founder-card__linkedin:hover {
  background: #4b5563;
  color: var(--color-white);
}

.founder-card__linkedin svg {
  width: 16px;
  height: 16px;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.cta__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-text-mid);
  margin-bottom: 1.5rem;
  text-transform: lowercase;
}

.cta__heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.25rem;
  }

  .hero__content {
    padding: 1.5rem;
  }

  .mission {
    padding: 6rem 1.5rem;
  }

  .founders {
    padding: 5rem 1.5rem;
  }

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

  .founder-card {
    width: 100%;
    max-width: 350px;
  }

  .cta__content {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.65rem 1.6rem;
    font-size: 0.9rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .founder-card {
    width: 280px;
  }
}

/* ===== Footer ===== */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--color-bg);
}

.footer__copyright,
.footer__location {
  font-size: 0.85rem;
  color: var(--color-text-mid);
  font-family: var(--font);
}
