/* ========================================
   Zooberry Marketing Site
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent; border-radius: 8px;
  padding: 12px 28px; cursor: pointer; transition: all 0.25s ease;
}
.btn--sm { padding: 8px 20px; font-size: 0.85rem; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; }
.btn--primary { background: #2d6a4f; color: #fff; border-color: #2d6a4f; }
.btn--primary:hover { background: #1b4332; border-color: #1b4332; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn--outline { background: transparent; color: #2d6a4f; border-color: #2d6a4f; }
.btn--outline:hover { background: #2d6a4f; color: #fff; }
.btn--explore {
  background: #2d6a4f; color: #fff; border-color: #2d6a4f;
  padding: 18px 40px; font-size: 1.05rem; font-weight: 700;
  letter-spacing: 0.02em; border-radius: 10px;
  box-shadow: 0 4px 14px rgba(45,106,79,0.3);
}
.btn--explore:hover {
  background: #1b4332; border-color: #1b4332;
  box-shadow: 0 6px 20px rgba(27,67,50,0.4);
  transform: translateY(-2px);
}

/* --- Nav --- */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav--scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  padding: 10px 0;
}
.nav--scrolled .nav__logo,
.nav--scrolled .nav__links a { color: #1a1a2e; }
.nav--scrolled .nav__toggle span { background: #1a1a2e; }
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-size: 1.35rem; font-weight: 800; color: #fff;
  display: flex; align-items: center; gap: 6px;
}
.nav__logo-icon { font-size: 1.5rem; }
.nav__logo-svg { width: 32px; height: 32px; flex-shrink: 0; }
.nav__links {
  display: flex; align-items: center; gap: 32px;
}
.nav__links a { color: #fff; font-weight: 500; font-size: 0.9rem; transition: opacity 0.2s; }
.nav__links a:hover { opacity: 0.8; }
.nav__links .btn { color: #fff; border-color: rgba(255,255,255,0.5); }
.nav__links .btn:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.nav--scrolled .nav__links .btn { color: #2d6a4f; border-color: #2d6a4f; }
.nav--scrolled .nav__links .btn:hover { background: #2d6a4f; color: #fff; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span {
  display: block; width: 24px; height: 2px; background: #fff;
  margin: 5px 0; transition: all 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.35) 50%,
    rgba(10, 10, 10, 0.65) 100%
  );
}
.hero__content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  max-width: 800px; padding: 120px 24px 80px;
}
.hero__eyebrow {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; opacity: 0.85; margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.1; margin-bottom: 24px;
}
.hero__subtitle {
  font-size: 1.15rem; line-height: 1.7; opacity: 0.9;
  max-width: 620px; margin: 0 auto 36px;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: #fff; text-align: center;
  font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.6;
}
.hero__scroll-line {
  width: 1px; height: 40px; background: rgba(255,255,255,0.4);
  margin: 8px auto 0;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* --- Stats Bar --- */
.stats {
  background: #1a1a2e; color: #fff; padding: 48px 0;
}
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.stats__number {
  display: block; font-size: 2.5rem; font-weight: 800; color: #52b788;
}
.stats__label {
  display: block; font-size: 0.85rem; opacity: 0.7; margin-top: 4px;
}

/* --- Section Headers --- */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header__eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: #2d6a4f; margin-bottom: 12px;
}
.section-header__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.2; color: #1a1a2e;
}
.section-header__sub {
  font-size: 1.1rem; opacity: 0.65; margin-top: 12px;
}
.section-header--light .section-header__title { color: #fff; }
.section-header--light .section-header__eyebrow { color: #95d5b2; }

/* --- Feature Blocks --- */
.features { padding: 100px 0; }
.feature-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; margin-bottom: 100px;
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block--reverse .feature-block__media { order: 2; }
.feature-block--reverse .feature-block__text { order: 1; }
.feature-block__media {
  position: relative;
}
.feature-block__img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.feature-block__img--inset {
  position: absolute; bottom: -24px; right: -24px;
  width: 55%; border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  border: 4px solid #fff;
}
.feature-block--reverse .feature-block__img--inset {
  right: auto; left: -24px;
}
.feature-block__badge {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.feature-block__badge--grow { background: #d8f3dc; color: #1b4332; }
.feature-block__badge--harvest { background: #fde68a; color: #78350f; }
.feature-block__badge--pack { background: #dbeafe; color: #1e3a5f; }
.feature-block__badge--sell { background: #fce7f3; color: #831843; }
.feature-block__title {
  font-size: 2rem; font-weight: 800; margin-bottom: 4px;
}
.feature-block__lead {
  font-size: 1rem; color: #666; margin-bottom: 20px;
}
.feature-block__list { display: flex; flex-direction: column; gap: 14px; }
.feature-block__list li {
  font-size: 0.95rem; line-height: 1.6;
  padding-left: 20px; position: relative;
}
.feature-block__list li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #52b788;
}

/* --- How It Works --- */
.how-it-works {
  background: #1a1a2e; color: #fff; padding: 100px 0;
}
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.step { text-align: center; }
.step__img-wrap {
  border-radius: 16px; overflow: hidden; margin-bottom: 20px;
  aspect-ratio: 4/3;
}
.step__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.step__number {
  font-size: 2.5rem; font-weight: 800; color: #52b788;
  margin-bottom: 8px;
}
.step__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.step__desc { font-size: 0.9rem; opacity: 0.7; line-height: 1.6; }

/* --- Image Break --- */
.image-break {
  position: relative; height: 60vh; min-height: 400px;
  overflow: hidden;
}
.image-break--short { height: 45vh; min-height: 320px; }
.image-break > img {
  width: 100%; height: 100%; object-fit: cover;
}
.image-break__overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,10,0.5);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.image-break__overlay--dark { background: rgba(10,10,10,0.6); }
.image-break__quote {
  color: #fff; font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 500; font-style: italic; text-align: center;
  max-width: 700px; line-height: 1.5;
}
.image-break__cta { text-align: center; color: #fff; }
.image-break__cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 12px;
}
.image-break__cta p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 28px; }

/* --- Pricing --- */
.pricing { padding: 100px 0; background: #f8faf9; }
.pricing__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.price-card {
  background: #fff; border-radius: 16px;
  padding: 36px 28px; text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 2px solid transparent;
  position: relative; transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.price-card--featured {
  border-color: #2d6a4f;
  box-shadow: 0 8px 32px rgba(45,106,79,0.15);
}
.price-card__ribbon {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: #2d6a4f; color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 20px; border-radius: 0 0 8px 8px;
}
.price-card__header { margin-bottom: 20px; }
.price-card__name { font-size: 1.3rem; font-weight: 800; }
.price-card__target { font-size: 0.85rem; color: #666; margin-top: 4px; }
.price-card__price { margin-bottom: 24px; }
.price-card__amount { font-size: 2.5rem; font-weight: 800; color: #2d6a4f; }
.price-card__period { font-size: 0.9rem; color: #666; }
.price-card__features {
  flex: 1; text-align: left; margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.price-card__features li {
  font-size: 0.88rem; padding-left: 22px; position: relative;
}
.price-card__features li::before {
  content: '\2713'; position: absolute; left: 0; color: #52b788; font-weight: 700;
}
.price-card .btn { margin-top: auto; }

/* --- Contact / Waitlist --- */
.contact { padding: 100px 0; }
.contact__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.contact__text h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; }
.contact__text > p { font-size: 1.05rem; color: #555; line-height: 1.7; margin-bottom: 32px; }
.contact__details { display: flex; flex-direction: column; gap: 16px; }
.contact__detail {
  display: flex; flex-direction: column;
  padding: 12px 0; border-bottom: 1px solid #eee;
}
.contact__detail strong { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #999; margin-bottom: 4px; }
.contact__detail span { font-size: 1rem; font-weight: 500; }
.contact__form {
  background: #f8faf9; border-radius: 16px; padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px;
}
.form-group input,
.form-group select {
  width: 100%; padding: 12px 16px;
  font-family: inherit; font-size: 0.95rem;
  border: 1.5px solid #ddd; border-radius: 8px;
  background: #fff; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none; border-color: #2d6a4f;
}
.contact__fine {
  font-size: 0.78rem; color: #999; text-align: center; margin-top: 12px;
}

/* --- Footer --- */
.footer {
  background: #1a1a2e; color: #fff; padding: 40px 0;
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
}
.footer__brand { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer__brand p { font-size: 0.8rem; opacity: 0.5; width: 100%; margin-top: 4px; }
.footer__links { display: flex; gap: 28px; }
.footer__links a { font-size: 0.85rem; opacity: 0.6; transition: opacity 0.2s; }
.footer__links a:hover { opacity: 1; }

/* --- Platform Overview / Tech Grid --- */
.platform-overview { padding: 100px 0; background: #f8faf9; }
.tech-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.tech-card {
  background: #fff; border-radius: 16px; padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.tech-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.tech-card__icon {
  width: 48px; height: 48px; margin-bottom: 20px; color: #2d6a4f;
}
.tech-card__icon svg { width: 100%; height: 100%; }
.tech-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.tech-card p { font-size: 0.9rem; color: #555; line-height: 1.6; }

/* --- Sub-Page Layout --- */
.subpage-hero {
  position: relative; min-height: 55vh;
  display: flex; align-items: center; overflow: hidden;
}
.subpage-hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.subpage-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.subpage-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(10,10,10,0.6), rgba(10,10,10,0.4));
}
.subpage-hero__content {
  position: relative; z-index: 2; color: #fff;
  max-width: 750px; padding: 140px 24px 60px;
}
.subpage-hero__content .breadcrumb {
  font-size: 0.8rem; opacity: 0.7; margin-bottom: 16px;
}
.subpage-hero__content .breadcrumb a { color: #95d5b2; }
.subpage-hero__content .breadcrumb a:hover { text-decoration: underline; }
.subpage-hero__content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 16px;
}
.subpage-hero__content p {
  font-size: 1.15rem; line-height: 1.7; opacity: 0.9; max-width: 600px;
}

/* Sub-page sections */
.sub-section { padding: 80px 0; }
.sub-section--alt { background: #f8faf9; }
.sub-section--dark { background: #1a1a2e; color: #fff; }
.sub-section__header { margin-bottom: 48px; }
.sub-section__header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 12px;
}
.sub-section__header p { font-size: 1.05rem; color: #555; line-height: 1.7; max-width: 700px; }
.sub-section--dark .sub-section__header p { color: rgba(255,255,255,0.7); }

/* Deep-dive feature rows */
.deep-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; margin-bottom: 80px;
}
.deep-feature:last-child { margin-bottom: 0; }
.deep-feature--reverse > :first-child { order: 2; }
.deep-feature--reverse > :last-child { order: 1; }
.deep-feature__img {
  border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
.deep-feature__text h3 {
  font-size: 1.5rem; font-weight: 800; margin-bottom: 12px;
}
.deep-feature__text .badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
  background: #d8f3dc; color: #1b4332;
}
.deep-feature__text .badge--orange { background: #fde68a; color: #78350f; }
.deep-feature__text .badge--blue { background: #dbeafe; color: #1e3a5f; }
.deep-feature__text .badge--pink { background: #fce7f3; color: #831843; }
.deep-feature__text p {
  font-size: 0.95rem; color: #555; line-height: 1.7; margin-bottom: 16px;
}
.deep-feature__text ul {
  display: flex; flex-direction: column; gap: 10px;
}
.deep-feature__text ul li {
  font-size: 0.9rem; line-height: 1.6; padding-left: 20px; position: relative;
}
.deep-feature__text ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: #52b788;
}

/* Spec table */
.spec-table {
  width: 100%; border-collapse: collapse; margin-top: 24px;
}
.spec-table th,
.spec-table td {
  text-align: left; padding: 14px 16px;
  font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.spec-table th { font-weight: 600; color: #95d5b2; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.sub-section:not(.sub-section--dark) .spec-table th { color: #2d6a4f; }
.sub-section:not(.sub-section--dark) .spec-table td { border-color: #eee; }

/* Sub-page CTA */
.sub-cta {
  text-align: center; padding: 80px 0;
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  color: #fff;
}
.sub-cta h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.sub-cta p { font-size: 1.05rem; opacity: 0.85; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.sub-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.sub-cta .btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* Sub-page nav (solid) */
.nav--solid { background: rgba(26,26,46,0.95); backdrop-filter: blur(12px); }
.nav--solid .nav__logo { color: #fff; }
.nav--solid .nav__links a { color: #fff; }

/* --- Fade-in animation --- */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in--visible {
  opacity: 1; transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .deep-feature { grid-template-columns: 1fr; gap: 32px; }
  .deep-feature--reverse > :first-child { order: 0; }
  .deep-feature--reverse > :last-child { order: 0; }
}
@media (max-width: 768px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; width: 100%;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
    padding: 24px; gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav__links--open { display: flex; }
  .nav__links a { color: #1a1a2e; }
  .nav__links .btn { color: #2d6a4f; border-color: #2d6a4f; }
  .nav--scrolled .nav__toggle span { background: #1a1a2e; }

  .hero__title { font-size: 2.2rem; }
  .hero__subtitle { font-size: 1rem; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats__number { font-size: 2rem; }

  .feature-block {
    grid-template-columns: 1fr; gap: 32px;
  }
  .feature-block--reverse .feature-block__media { order: 0; }
  .feature-block--reverse .feature-block__text { order: 0; }
  .feature-block__img--inset {
    position: relative; bottom: auto; right: auto; left: auto;
    width: 100%; margin-top: 12px;
  }

  .steps { grid-template-columns: 1fr 1fr; }

  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .contact__inner { grid-template-columns: 1fr; }
  .contact__form { padding: 24px; }

  .footer__inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer__brand { justify-content: center; }
  .footer__links { flex-wrap: wrap; justify-content: center; }
  .tech-grid { grid-template-columns: 1fr; }
  .subpage-hero { min-height: 45vh; }
}
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
}
