* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #050505;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

/* DIRECTORY */

.page-directory {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 30;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 10px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);

  transition: background 0.3s ease, border 0.3s ease;
}

.page-directory p {
  display: none;
}

.page-directory a {
  color: #111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 999px;
  white-space: nowrap;

  transition: background 0.3s ease, color 0.3s ease;
}

.page-directory a:hover {
  background: #111;
  color: white;
}

.page-directory.dark-mode {
  background: rgba(15, 15, 15, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.page-directory.dark-mode a {
  color: white;
}

.page-directory.dark-mode a:hover {
  background: white;
  color: #111;
}

@media (max-width: 1000px) {
  .page-directory {
    display: none;
  }
}
/* HERO */

.hero {
  min-height: 100vh;
  padding: 120px 8% 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  background:
    radial-gradient(circle at 80% 20%, rgba(90, 90, 90, 0.35), transparent 30%),
    linear-gradient(180deg, #000000 0%, #111111 68%, #f4f4f4 100%);
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  color: #9f9f9f;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(58px, 9vw, 130px);
  line-height: 0.9;
  margin: 0 0 25px;
  letter-spacing: -5px;
}

.hero h2 {
  font-size: clamp(26px, 4vw, 54px);
  line-height: 1.05;
  margin: 0 0 25px;
  color: #e8e8e8;
  max-width: 780px;
}

.hero-description {
  font-size: 21px;
  line-height: 1.5;
  color: #cfcfcf;
  max-width: 660px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 35px;
}

.hero-buttons a {
  text-decoration: none;
  color: #111;
  background: white;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.hero-buttons a:hover {
  transform: translateY(-3px);
  color: white;
  background: linear-gradient(135deg, #0a84ff, #30d158);
  box-shadow: 0 18px 40px rgba(10, 132, 255, 0.28);
}

.hero-buttons .secondary-button {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

.hero-buttons .secondary-button:hover {
  background: linear-gradient(135deg, #0a84ff, #30d158);
  color: white;
  border-color: transparent;
}

/* IMAGE */

.hero-image {
  position: relative;
  width: min(420px, 100%);
  height: 560px;
  justify-self: center;
  align-self: start;
  margin-top: 95px;
  overflow: hidden;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-one {
  z-index: 1;
}

.image-two {
  z-index: 2;
  clip-path: inset(0 100% 0 0);
}

/* INTRO */

.intro-section {
  background: #f4f4f4;
  color: #111;
  padding: 80px 8%;
}

.intro-card {
  background: white;
  border-radius: 35px;
  padding: 50px;
  max-width: 1100px;
  margin: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.intro-card h2 {
  font-size: clamp(36px, 5vw, 70px);
  margin: 0 0 20px;
  letter-spacing: -2px;
}

.intro-card p {
  font-size: 21px;
  line-height: 1.5;
  max-width: 950px;
}

/* CARDS */

.cards-section {
  background: #f4f4f4;
  color: #111;
  padding: 70px 8% 100px;
}

.section-title {
  margin-bottom: 40px;
}

.section-title p {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
  color: #777;
  font-weight: 700;
}

.section-title h2 {
  font-size: clamp(36px, 5vw, 68px);
  margin: 0;
  letter-spacing: -2px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: #111;
  color: white;
  padding: 35px;
  border-radius: 30px;
  min-height: 300px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card span {
  color: #888;
  font-size: 14px;
}

.card h3 {
  font-size: 30px;
  margin: 70px 0 18px;
}

.card p {
  color: #d0d0d0;
  line-height: 1.5;
  font-size: 17px;
}

/* FEATURED */

.featured-section {
  background: white;
  color: #111;
  padding: 90px 8% 120px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.featured-grid div {
  border-top: 2px solid #111;
  padding-top: 25px;
}

.featured-grid h3 {
  font-size: 25px;
}

.featured-grid p {
  font-size: 18px;
  line-height: 1.5;
  color: #444;
}

/* LETTER EFFECT */

.hero h1 span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.hero h1 span:hover {
  transform: translateY(-10px);
}

/* FOOTER */

footer {
  background: white;
  color: #111;
  padding: 30px;
  text-align: center;
}

/* MOBILE */

@media (max-width: 1000px) {
  .page-directory {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 22px 70px;
    text-align: center;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-image {
    height: 390px;
    order: -1;
    margin-top: 0;
    align-self: center;
  }

  .cards-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .intro-card {
    padding: 35px 25px;
  }

  .intro-card p {
    font-size: 18px;
  }

  .card h3 {
    margin-top: 45px;
  }
}