/* ===== Reset & Base Styles ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Aptos", "Inter", sans-serif;
  background-color: #edf1f1;
  color: #0c0f10;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
}

#hero h1 {
  font-family: "Libre Baskerville", serif;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}


/* ===== Layout ===== */
#wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


/* ===== Navigation ===== */
header nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 40px;
}

header nav > a img {
  display: block;
  height: auto;
  justify-self: start;
  margin-left: -10%;
}

.nav-pill {
  background: #fff;
  border-radius: 999px;
  padding: 10px 0;
  display: flex;
  gap: 20vw;
  justify-content: center;
  margin-left: -15%;
}

.nav-pill a,
.nav-right a {
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

.nav-right {
  justify-self: end;
}


/* ===== Hero ===== */
#hero {
  position: relative;
  text-align: center;
  min-height: clamp(600px, 60vh, 300px);
  padding: 15vh 20px 40px;
  margin-top: 80px;
  overflow: visible;
}

#hero h1 {
  font-weight: 300;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.2;
  margin-bottom: 20px;
}

#hero figure {
  position: absolute;
  top: 50%;
  transform: translateY(-30%);
  z-index: 1;
  pointer-events: none;
}

#hero figure:nth-of-type(1) { left: -14vw; }
#hero figure:nth-of-type(2) { right: -20vw; }

#hero figure img {
  display: block;
  width: clamp(100%, 32vw, 50%);
  height: auto;
  opacity: 0.95;
}

#hero .button {
  display: inline-block;
  margin-top: 4px;
  padding: 12px 36px;
  background: #fff;
  color: #0c0f10;
  border: 1px solid #d7e1ea;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: relative;
  z-index: 2;
  transition: all 0.2s ease;
}

#hero .button:hover {
  background: #f9fbfc;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}


/* ===== Promo Marquee ===== */
#promo-marquee {
  background: #8facc0;
  color: #fff;
  padding: 12px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#promo-marquee ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  padding: 0 12px;
  flex-wrap: nowrap;
}

#promo-marquee li {
  white-space: nowrap;
}

#promo-marquee li span {
  margin-right: 8px;
}


/* ===== Intro Offer ===== */
#intro-offer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 20px;
}

#intro-offer > header h2 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  color: #0c0f10;
  margin: 0 0 12px;
}


.price-card {
  background: #fff;
  border: 1px solid #b8c8d4;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-height: 300px;
  flex: 1 1 420px;
  max-width: 560px;
  margin: 0 auto;
}

.price-card h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #0c0f10;
  margin-bottom: 4px;
  line-height: 1.2;
}

.price-card .sub {
  font-size: 1rem;
  color: #4a4a4a;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.price-card .price {
  font-size: 3rem;
  font-weight: 700;
  color: #0c0f10;
  margin-bottom: 4px;
  line-height: 1.1;
}

.price-card .from {
  font-size: 1rem;
  color: #666;
  margin-bottom: 16px;
}

.price-card .button {
  margin-top: 4px;
  padding: 12px 36px;
  background: #ffffff;
  color: #0c0f10;
  border: 1px solid #cbdff0;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: relative;
  z-index: 2;
  transition: all 0.2s ease;
}

.price-card .button:hover {
  background: #f9fbfc;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}


/* ===== Why Me ===== */
.why-grid {
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
  gap: 24px;
}

/* Heading */
.why-heading h2 {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  color: #2c3e50;
  padding: 0 0 25px 0;
}

/* All cards */
.why-card {
  background: #fff;
  padding: 24px;
  border-radius: 24px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Card content hierarchy */
.why-card strong {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 8px;
  color: #0c0f10;
}

.why-card p {
  margin-bottom: 0;
  color: #3b3b3b;
}

/* Card: Focus */
.why-card.focus {
  background-color: #e6f0f0;
  height: 140x;
}

/* Card: Code */
.why-card.code {
  background: linear-gradient(to right, #f6f9fb, #e8eff1);
  height: 140px;
}

/* Card: Vision */
.why-card.vision {
  background-color: rgba(255, 255, 255, 0.85);
  color: #0c0f10;
  height: 140px;
}

/* Card: One-on-One */
.why-card.one {
  background-color: #ddf2f2;
  color: white;
}

/* Adjust top section spacing */
#why-me {
  padding: 60px 24px;
}

@media (max-width: 800px) {
  .why-grid {
    grid-template-areas:
      "heading"
      "focus"
      "code"
      "vision"
      "one";
    grid-template-columns: 1fr;
  }

  .why-heading h2 {
    text-align: center;
    margin-bottom: 16px;
  }

  .why-card,
  .why-card.focus,
  .why-card.code,
  .why-card.vision,
  .why-card.one {
    height: auto;
  }
}
/* ===== Contact ===== */
#contact {
  padding: 40px 20px;
}

#contact form {
  display: grid;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

input, textarea, button {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font: inherit;
}

button {
  background: #8facc0;
  color: white;
  cursor: pointer;
}



/* ===== Footer ===== */
footer {
  background: #f0f4f5;
  text-align: center;
  padding: 20px;
  margin-top: auto;
}

footer ul {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding-bottom: 10px;
}

footer a {
  text-decoration: none;
  color: #2f4a66;
}


/* ===== Responsive ===== */
@media (max-width: 1000px) {
  #intro-offer {
    grid-template-columns: 1fr 320px;
    grid-template-areas:
      "title card"
      "copy  copy";
  }
}

@media (max-width: 900px) {
  header nav {
    padding: 10px 20px;
    grid-template-columns: auto 1fr auto;
  }

  .nav-pill {
    gap: 10vw;
    padding: 8px 18px;
  }

  .nav-pill a {
    font-size: 0.95rem;
  }

  header nav > a img {
    width: 140px;
  }

  #promo-marquee ul {
    justify-content: space-between;
  }

  #promo-marquee li:nth-child(n+7) {
    display: none;
  }
}

@media (max-width: 640px) {
  #intro-offer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "copy"
      "card";
  }

  #intro-offer > aside {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  header nav {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 10px;
    gap: 10px;
  }

  .nav-pill {
    width: 100%;
    flex-wrap: wrap;
    gap: 10vh;
    padding: 6px 10px;
  }

  #promo-marquee ul {
    justify-content: space-between;
    gap: 16px;
  }

  #promo-marquee li:nth-child(n+5) {
    display: none;
  }

  #promo-marquee {
    letter-spacing: 0.8px;
  }
}
