/* ============================================================
   home.css — index.html ONLY  (style.css loads first)

   Sections:
   1. Hero — script headline, tabs, icon grid, gradient fade
   2. Features (Icon Design) — grey bg, white feature cards
   3. Nucleo integration — purple/dark bg
   4. Figma Library — light purple bg
   5. Pricing — 3 cards
   6. FAQ — accordion style
   ============================================================ */

/* ── 1. HERO ─────────────────────────────────────────────── 
   Screenshot: White bg → light blue gradient at bottom
   Script H1 (~3.5rem+), script subtitle, two outline buttons,
   SHARP/CLASSIC tabs left · LINE/SOLID tabs right,
   3 rows × 8 icon placeholders, "5000+" centred below.
   ──────────────────────────────────────────────────────── */
.hero {
  padding-top: 50px;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

/* animated gradient layer */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    var(--clr-white) 60%,
    #dbeafe 100%
  );

  z-index: 0;
  animation: hueShift 18s linear infinite;
}

/* keep content above */
.hero__content {
  position: relative;
  z-index: 1;
}

/* hue animation */
@keyframes hueShift {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}
.hero__content {
  padding-inline: var(--px);
  max-width: 844px;
  margin-inline: auto;
}
.hero__headline {
  font-family: 'Beth Ellen', cursive;
  font-size: 42px;
  font-weight: 400;
  color: var(--clr-text);
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}
.hero__subline {
  font-family: 'Beth Ellen', cursive;
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-text);
  margin-bottom: 2rem;
  margin-top: 25px;
}
.hero__buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
/* Figma/Notion logos in hero buttons — inline SVG or emoji stand-in */
.hero__btn-icon { font-size: 1rem; }

/* SHARP/CLASSIC + LINE/SOLID tab row */
.hero__tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 1rem;
}
.hero__tabs-group {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}
.hero__tab {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
  cursor: pointer;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.hero__tab--active {
  color: var(--clr-pink);
  border-bottom-color: var(--clr-pink);
}

/* Icon grid */
.hero__icon-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  column-gap: 70px;
  row-gap: 50px;
  justify-content: center;
}
.hero__icon-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
}
.hero__icon-cell:hover { 
  background: transparent; 
}

/* Pink circle cursor highlight on first icon */
.hero__icon-cell--cursor::before {
  display: none;
}
.hero__icon-cell--cursor .icon-svg { 
  filter: none; 
}

/* Icon SVGs */
.icon-svg {
  width: 32px;
  height: 32px;
  stroke: var(--clr-navy);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__count {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.04em;
  padding-block: 40px;
}

/* ── 2. FEATURES — ICON DESIGN ─────────────────────────── 
   Screenshot: Light grey bg, "• ICON DESIGN" label,
   Feature cards on white bg with screenshots/UI images.
   Layout:
   - Row 1: Single wide card (Fully customisable) — left text, right UI image
   - Row 2: Single wide card (Variable) — left UI image, right text
   - Row 3: Two equal cards (Scalable + Guidelines)
   ──────────────────────────────────────────────────────── */
.features { background: #F5F7F9; }

.features__card {
  background: var(--clr-white);
  border-radius: 16px;
  border: 1px solid var(--clr-border);
  padding: 50px;
  margin-bottom: 1rem;
}
.features__card--wide {
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: center;
  gap: 50px;
}
.features__card--wide-reverse {
  display: grid;
  grid-template-columns: 1fr 250px;
  align-items: center;
  gap: 50px;
}
.features__card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 250px;
}
.features__card-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: auto;
  height: auto;
}
.features__card-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.features__card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.6rem;
}
.features__card-desc {
  font-size: 0.9rem;
  color: var(--clr-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  color: #000000s;
}
.features__card-meta {
  font-size: 0.82rem;
  color: var(--clr-muted);
  font-weight: 500;
}

/* Variable badge (yellow pill "4") */
.feature-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #f59e0b;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  margin-left: 0.4rem;
  vertical-align: middle;
}

/* Two-col small cards row */
.features__row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.features__card--half {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.features__card--half .features__card-visual {
  flex: 1;
}
.features__card--half .features__card-body {
  border-top: 1px solid var(--clr-border);
}

.features__card--simple {
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.features__card--simple img {
  width: 100%;
  height: auto;
  display: block;
}

.features__card--simple .features__card-body {
  max-width: 100%;
}

/* ── 3. NUCLEO SECTION ──────────────────────────────────── 
   Screenshot: Dark/purple bg, white text, Nucleo logo icons,
   right side shows Nucleo UI screenshot.
   ──────────────────────────────────────────────────────── */
.nucleo {
  background: #EFF6FD;
  color: var(--clr-white);
  overflow: hidden;
}
.nucleo__inner {
  display: flex;
  align-items: center;
  gap: 80px;
  overflow: visible;
}

.nucleo__content {
  width: 400px;
  flex-shrink: 0;
}

@media (max-width: 760px) {

  .nucleo__content {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

}

.nucleo__image img {
  height: 450px;
  width: auto;
  display: block;
  overflow: visible;
}

.nucleo__image {
  flex-shrink: 0;
}

.nucleo__logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.nucleo__app-icon {
  width: 40px;
  height: 40px;
  background: var(--clr-navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(255,255,255,.15);
}
.nucleo__arrow {
  font-size: 1.25rem;
  color: rgba(255,255,255,.5);
}
.nucleo__title {
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.nucleo__desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  color: #000000;
  margin-bottom: 16px;
  max-width: 360px;
}
.nucleo__link {
  font-size: 0.82rem;
  color: var(--clr-pink);
  font-weight: 600;
}
.nucleo__image img {
  height: 450px;
  width: auto;
  display: block;
  overflow: visible;
}

.nucleo .btn {
  margin-top: 16px;
}

.nucleo__logo img {
  max-width: 240px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

/* ── 4. FIGMA LIBRARY ────────────────────────────────────── 
   Screenshot: Light purple/lavender bg, same layout as Nucleo.
   ──────────────────────────────────────────────────────── */
.figma-lib {
   background: #F7EFFD;
   overflow: visible;
}

.figma-lib__image {
  overflow: visible;
}

.figma-lib__inner {
  display: flex;
  align-items: center;
  gap: 80px;
  overflow: visible;
}

.figma-lib__content {
  flex: 1;
}

.figma-lib__image {
  flex: 1;
}

.figma-lib__image img {
  width: 100%;
  height: auto;
  display: block;
}

.figma-lib__logo img {
  max-width: 240px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

.figma-lib__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.figma-lib__desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  color: #000000;
  margin-bottom: 16px;
  max-width: 360px;
}
.figma-lib__link {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--clr-pink);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.figma-lib__ui {
  background: var(--clr-white);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--clr-muted);
  box-shadow: var(--shadow);
}

/* ── 5. PRICING ─────────────────────────────────────────── 
   Screenshot: White bg, "• PRICING" label,
   subtitle "5000+ unique icons, 4 consistent styles",
   3 cards:
   - Pro+ : thin border card, black BUY NOW btn
   - Growth: PINK border card, pink gradient top-right, pink BUY NOW
   - Enterprise: no full border, diamond ♦ icon, black BUY NOW
   ──────────────────────────────────────────────────────── */
.pricing { background: var(--clr-white); }
.pricing__subtitle {
  font-size: 0.95rem;
  color: #000000;
  text-align: center;
  margin-bottom: 2.5rem;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

/* Base card */
.pricing-card {
  border: 1px solid #F2F2F2;
  border-radius: none;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}
/* Growth card — pink border */
.pricing-card--featured {
  border: 1.5px solid var(--clr-pink);
}
/* Pink gradient top-right corner on Growth */
.pricing-card--featured::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle at top right, var(--clr-pink-light) 0%, transparent 70%);
  pointer-events: none;
}
/* Enterprise — no full border, just transparent */
.pricing-card--enterprise {
  border: 1px solid #F2F2F2;
}

.pricing-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.pricing-card__sparkle {
  font-size: 1.1rem;
}
.pricing-card__diamond {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--clr-navy);
  transform: rotate(45deg);
  margin-right: 0.15rem;
}

.pricing-card__price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 1.25rem;
}
.pricing-card__price-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1;
}
.pricing-card__price-dollar {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 200;
  line-height: 1;
}

.pricing-card__price-amount {
  line-height: 1;
}

.pricing-card__price-period {
  font-size: 12px;
  color: #000000;
  margin-left: 0.15rem;
}

.pricing-card__desc {
  font-size: 12px;
  color: #000000;
  line-height: 16.5px;
  margin-top: 1.25rem;
}
.pricing__note {
  text-align: right;
  font-size: 0.78rem;
  color: var(--clr-light);
  margin-top: 1.25rem;
}

/* ── 6. FAQ ─────────────────────────────────────────────── 
   Screenshot: Plain text accordion-style.
   Each item: Question bold, answer below (visible in screenshot).
   ──────────────────────────────────────────────────────── */
.faq { background: var(--clr-white); }
.faq__list {
  max-width: 540px;
  margin-inline: auto;
}
.faq__item {
  padding: 0;
  margin-bottom: 30px;

}
.faq__item:first-child { border-top: none; }
.faq__q {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 5px;
}
.faq__a {
  font-size: 14px;
  font-weight: 400;
  color: var(--clr-muted);
  color: #000000;
  line-height: 20px;
}

.faq__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #C5CAD3;
}



/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__icon-grid     { grid-template-columns: repeat(6, 1fr); }
  .features__card--wide,
  .features__card--wide-reverse { grid-template-columns: 1fr; }
  .features__card--wide-reverse .features__card-visual { order: -1; }
  .features__row-2     { grid-template-columns: 1fr; }
  .pricing__grid       { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}

@media (max-width: 900px) {
  .nucleo__inner,
  .figma-lib__inner {
    flex-direction: column;
  }

  .nucleo__image,
  .figma-lib__image {
    width: 100%;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .hero__icon-grid {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;   /* was 70px → too big */
    row-gap: 30px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero__tabs {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
  }
}


@media (max-width: 760px) {

  .nucleo__inner {
    flex-direction: column;
    gap: 40px;
    overflow: visible;
  }

  .nucleo__image {
    width: 100%;
  }

  .nucleo__image img {
    width: 100%;
    height: auto;
  }

}

