@import "tailwindcss";

:root {
  --brand: #84be00;
  --acid: #aee000;
  --ink: #17341f;
  --cream: #fffdf7;
  --muted: #6e806f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f4f1e8;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #eef3e7;
}
.hero-image {
  position: absolute;
  inset: 0;
  background: url("/images/plantpets-light-hero.png") center / cover no-repeat;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, .97) 0%, rgba(255, 253, 247, .91) 30%, rgba(255, 253, 247, .36) 55%, rgba(255, 253, 247, .04) 76%),
    linear-gradient(0deg, rgba(228, 234, 213, .42), transparent 48%);
}
.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(94%, 1480px);
  margin: 24px auto 0;
  padding: 9px 20px 9px 10px;
  border: 1px solid rgba(132, 190, 0, .19);
  border-radius: 28px;
  background: rgba(255, 253, 247, .88);
  box-shadow: 0 18px 50px rgba(50, 70, 33, .1);
  backdrop-filter: blur(15px);
}
.brand { display: inline-flex; align-items: center; overflow: hidden; border-radius: 19px; }
.brand-lockup { width: clamp(250px, 25vw, 350px); height: auto; display: block; }
nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.7vw, 43px);
  padding: 0 18px;
  min-height: 60px;
  border: 0;
  border-radius: 18px;
  background: transparent;
}
nav a {
  position: relative;
  font-size: 15px;
  white-space: nowrap;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -21px;
  height: 2px;
  transform: scaleX(0);
  background: var(--brand);
  box-shadow: 0 0 8px rgba(132,190,0,.35);
  transition: transform .2s ease;
}
nav a:hover::after, nav a.active::after { transform: scaleX(1); }
nav a.active { color: var(--brand); }

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(90%, 1360px);
  margin: 15vh auto 0;
}
.eyebrow, .section-kicker {
  margin: 0 0 22px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
}
h1 {
  max-width: 690px;
  margin: 0;
  color: #123c22;
  font: 400 clamp(52px, 5.6vw, 90px)/1.02 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}
.intro {
  max-width: 520px;
  margin: 28px 0 0;
  color: #4b6550;
  font-size: clamp(18px, 1.5vw, 25px);
  line-height: 1.45;
}
.hero-actions { display: flex; gap: 18px; margin-top: 40px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 34px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 22px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: #fff;
  border-color: #6f9f00;
  background: linear-gradient(145deg, #9bd600, var(--brand));
  box-shadow: 0 12px 28px rgba(88, 131, 0, .22), inset 0 1px rgba(255,255,255,.45);
}
.button.secondary {
  color: #24472b;
  border-color: rgba(92, 134, 0, .52);
  background: rgba(255, 253, 247, .78);
  backdrop-filter: blur(10px);
}
.hero-pills {
  position: absolute;
  z-index: 2;
  left: max(5%, calc((100% - 1360px) / 2));
  bottom: 42px;
  display: flex;
  gap: 12px;
}
.hero-pills span {
  padding: 13px 24px;
  border: 1px solid rgba(132,190,0,.28);
  border-radius: 999px;
  background: rgba(255,253,247,.82);
  color: #36533b;
  font-weight: 700;
  box-shadow: 0 9px 22px rgba(50,70,33,.08);
  backdrop-filter: blur(10px);
}

.intro-section {
  padding: 120px max(6vw, 24px);
  color: #132010;
  background: var(--cream);
}
.intro-section > h2, .portal-section h2, .tools-teaser h2 {
  max-width: 800px;
  margin: 0;
  font: 400 clamp(38px, 5vw, 68px)/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.intro-section > p:not(.section-kicker) {
  max-width: 690px;
  margin: 28px 0 60px;
  color: #556151;
  font-size: 20px;
  line-height: 1.7;
}
.intro-section .section-kicker, .portal-section .section-kicker { color: #688500; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-grid article {
  min-height: 250px;
  padding: 32px;
  border: 1px solid #d3dacb;
  border-radius: 16px;
  background: rgba(255,255,255,.55);
}
.feature-grid span { color: #779600; font-size: 13px; letter-spacing: .18em; }
.feature-grid h3 { margin: 45px 0 12px; font: 36px Georgia, serif; }
.feature-grid p { color: #626e5e; line-height: 1.6; }

.portal-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 100px max(6vw, 24px);
  color: #132010;
  background: #e3e8d8;
}
.text-link { color: #496100; font-weight: 700; white-space: nowrap; }
.text-link span { display: inline-block; margin-left: 12px; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.dark-portal {
  align-items: center;
  color: var(--cream);
  background: #142015;
}
.dark-portal p:not(.section-kicker) {
  max-width: 680px;
  color: #aeb9aa;
  font-size: 18px;
  line-height: 1.6;
}
.tools-teaser {
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 100px max(6vw, 24px);
  background:
    linear-gradient(90deg, rgba(2,9,6,.94), rgba(2,9,6,.35)),
    url("/images/breeder-tools/dejaPi PlantPets Smart Monitor HUD v3.png") center 33% / cover;
}
.tools-teaser > div { max-width: 760px; }
.tools-teaser p:not(.section-kicker) { max-width: 640px; color: #bdc7ba; font-size: 19px; line-height: 1.65; }
.text-link.light { display: inline-block; margin-top: 20px; color: var(--brand); }

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 38px max(4vw, 24px);
  border-top: 1px solid #344231;
  background: #071008;
  color: #96a092;
}
footer .brand-name { font-size: 27px; }
footer .brand-lockup { width: 230px; }
.copyright { font-size: 13px; }

@media (max-width: 1040px) {
  .brand-lockup { width: 245px; }
  nav { gap: 20px; padding: 0 22px; }
  nav a:nth-child(3), nav a:nth-child(4), nav a:nth-child(7) { display: none; }
}
@media (max-width: 700px) {
  .site-header { align-items: center; margin-top: 10px; padding: 7px; }
  .brand-lockup { width: 205px; }
  nav { min-height: 50px; padding: 0 14px; gap: 14px; }
  nav a { display: none; font-size: 13px; }
  nav a:nth-child(2), nav a:nth-child(5), nav a:nth-child(6) { display: block; }
  nav a::after { bottom: -16px; }
  .hero-copy { margin-top: 14vh; }
  h1 { font-size: clamp(43px, 13vw, 66px); }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 330px; }
  .feature-grid { grid-template-columns: 1fr; }
  .portal-section { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; }
  .hero-pills { display: none; }
}

/* Shared inner pages */
.inner-page { min-height: 100vh; background: #fffdf7; }
.inner-header { position: relative; margin-top: 18px; }
.page-hero, .simple-page {
  width: min(90%, 1360px);
  margin: 0 auto;
  padding: 110px 0 85px;
}
.page-hero h1, .simple-page h1, .story h1, .market-hero h1 {
  max-width: 950px;
  font: 400 clamp(48px, 7vw, 96px)/.98 Georgia, "Times New Roman", serif;
  letter-spacing: -.05em;
}
.page-hero > p:last-child, .simple-page > p {
  max-width: 760px;
  color: #5f715e;
  font-size: 20px;
  line-height: 1.7;
}
.catalog-hero {
  padding-bottom: 70px;
  background: radial-gradient(circle at 72% 5%, rgba(132,190,0,.16), transparent 33%);
}
.catalog-section { padding: 0 max(5vw, 22px) 110px; }
.catalog-controls {
  position: sticky; z-index: 4; top: 10px;
  display: flex; align-items: end; justify-content: space-between; gap: 20px;
  max-width: 1360px; margin: 0 auto 34px; padding: 18px 22px;
  border: 1px solid #dbe3cf; border-radius: 24px;
  background: rgba(255,253,247,.92); box-shadow: 0 12px 40px rgba(48,70,35,.09);
  backdrop-filter: blur(14px);
}
.catalog-controls label { display: grid; gap: 8px; width: min(650px, 72%); color: #587052; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.catalog-controls input {
  width: 100%; padding: 14px 16px; border: 1px solid #c7d4bd; border-radius: 14px;
  background: #fff; color: var(--ink); font: 16px Arial, sans-serif;
}
.catalog-controls p { margin: 0; color: #677663; }
.catalog-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px;
  max-width: 1600px; margin: 0 auto;
}
.poster-card {
  overflow: hidden; border: 1px solid #dfe6d8; border-radius: 22px;
  background: #fff; box-shadow: 0 10px 30px rgba(37,54,28,.07);
  transition: transform .22s ease, box-shadow .22s ease;
}
.poster-card:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(37,54,28,.14); }
.poster-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.poster-card p { overflow: hidden; margin: 0; padding: 12px 14px; color: #6a7866; font: 11px monospace; text-overflow: ellipsis; }
.load-more { display: flex; margin: 45px auto 0; border: 0; cursor: pointer; }

/* News */
.news-hero { padding-bottom: 55px; }
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  width: min(90%, 1360px); margin: 0 auto; padding-bottom: 120px;
}
.news-card { overflow: hidden; border: 1px solid #dce5d3; border-radius: 24px; background: #fff; box-shadow: 0 12px 32px rgba(40,60,30,.07); }
.news-card > img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #eef3e7; }
.news-card > div { padding: 28px; }
.news-card time, .story time { color: #729500; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.news-card h2 { min-height: 2.5em; margin: 13px 0; font: 30px/1.16 Georgia, serif; }
.news-card p { color: #687365; line-height: 1.58; }
.story { width: min(88%, 920px); margin: 0 auto; padding: 100px 0 120px; }
.story h1 { margin-bottom: 24px; }
.story-image { display: block; max-width: 100%; max-height: 750px; margin: 45px auto; border-radius: 26px; object-fit: contain; box-shadow: 0 18px 55px rgba(30,45,25,.12); }
.story-body { color: #3f4d3c; font-size: 18px; line-height: 1.75; }
.story-body img { max-width: 100%; height: auto; }
.story-body a { color: #638500; text-decoration: underline; }

/* Market */
.market-hero {
  position: relative; width: min(94%, 1480px); min-height: 690px; margin: 30px auto 0;
  overflow: hidden; border-radius: 38px; background: #17341f;
}
.market-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.market-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,31,19,.96), rgba(12,31,19,.28) 70%); }
.market-hero > div { position: relative; z-index: 1; max-width: 760px; padding: 130px 7%; color: #fff; }
.market-hero h1 { margin: 0 0 28px; }
.market-hero > div > p:not(.eyebrow) { color: #d6e1d2; font-size: 20px; line-height: 1.6; }
.market-hero .button { margin-top: 20px; }
.market-intro { width: min(88%, 1100px); margin: 0 auto; padding: 120px 0 80px; }
.market-intro h2, .bonus-section h2, .market-rules h2 { margin: 0; font: 400 clamp(42px, 5vw, 72px)/1.03 Georgia, serif; letter-spacing: -.04em; }
.market-intro > p:last-child { max-width: 800px; color: #61705e; font-size: 20px; line-height: 1.7; }
.rental-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; width: min(92%, 1360px); margin: 0 auto 120px; }
.rental-card { overflow: hidden; border: 1px solid #dbe3d4; border-radius: 30px; background: #fff; box-shadow: 0 16px 45px rgba(35,52,28,.08); }
.rental-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rental-card > div { padding: 30px; }
.rental-card h2 { margin: 0 0 13px; font: 40px Georgia, serif; }
.rental-card p:not(.section-kicker) { color: #62705e; line-height: 1.6; }
.rental-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rental-card dl div { padding: 16px; border-radius: 16px; background: #f1f5e9; }
.rental-card dt { color: #71806d; font-size: 12px; text-transform: uppercase; }
.rental-card dd { margin: 7px 0 0; color: #344c33; font-weight: 700; }
.bonus-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  padding: 110px max(6vw, 24px); background: #142015; color: #fff;
}
.bonus-section > div > p:last-child { color: #b8c6b4; font-size: 18px; line-height: 1.65; }
.bonus-list > div { display: flex; justify-content: space-between; gap: 22px; padding: 22px 0; border-bottom: 1px solid #3c4d3a; }
.bonus-list strong { color: var(--brand); }
.bonus-list span { text-align: right; }
.bonus-list small { display: block; margin-top: 5px; color: #aebbab; }
.market-rules { padding: 110px max(8vw, 24px); }
.market-rules ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 45px 0 20px; list-style: none; counter-reset: step; }
.market-rules li { counter-increment: step; min-height: 220px; padding: 30px; border: 1px solid #dce5d3; border-radius: 24px; background: #fff; }
.market-rules li::before { content: "0" counter(step); display: block; margin-bottom: 45px; color: #769700; font-weight: 700; }
.market-rules li span { display: block; margin-top: 12px; color: #697565; line-height: 1.55; }
.market-fineprint { color: #788373; font-size: 14px; }

/* Simple informational pages */
.simple-page { min-height: 70vh; }
.simple-page > .button { margin-top: 25px; }
.guide-grid, .data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.guide-grid article, .data-grid article { padding: 30px; border: 1px solid #dce5d3; border-radius: 24px; background: #fff; box-shadow: 0 12px 34px rgba(43,62,34,.06); }
.guide-grid span { color: #739500; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.guide-grid h2, .data-grid h2 { font: 32px Georgia, serif; }
.guide-grid p, .data-grid p { color: #697565; line-height: 1.6; }
.notice { margin-top: 35px; padding: 22px; border-radius: 18px; background: #f0f5e8; }
.data-grid { grid-template-columns: repeat(3, 1fr); }
.data-grid article span { color: #7b9b00; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.faq-list { display: grid; gap: 15px; max-width: 900px; margin-top: 55px; }
.faq-list details { padding: 24px; border: 1px solid #dbe4d2; border-radius: 20px; background: #fff; }
.faq-list summary { cursor: pointer; font: 25px Georgia, serif; }
.faq-list p { color: #657161; line-height: 1.65; }

@media (max-width: 1180px) {
  .catalog-grid { grid-template-columns: repeat(4, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .inner-header nav a:nth-child(2), .inner-header nav a:nth-child(5), .inner-header nav a:nth-child(6) { display: none; }
  .page-hero, .simple-page { padding-top: 75px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .catalog-controls { align-items: stretch; flex-direction: column; }
  .catalog-controls label { width: 100%; }
  .news-grid, .rental-grid, .bonus-section, .market-rules ol, .data-grid { grid-template-columns: 1fr; }
  .market-hero { min-height: 660px; }
  .market-hero > div { padding: 100px 28px; }
  .bonus-section { gap: 40px; }
  .guide-grid { grid-template-columns: 1fr; }
}

.tools-page { min-height: 100vh; background: #0a120b; }
.tools-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(90%, 1320px);
  margin: 0 auto;
  padding: 28px 0;
}
.back-link { color: #b8c0b5; font-size: 14px; }
.back-link:hover { color: var(--brand); }
.tools-hero {
  width: min(90%, 1320px);
  margin: 0 auto;
  padding: 110px 0 120px;
  border-top: 1px solid #263428;
}
.tools-hero h1 { max-width: 980px; }
.tools-hero > p:last-child {
  max-width: 680px;
  margin: 32px 0 0;
  color: #aeb9aa;
  font-size: 20px;
  line-height: 1.65;
}
.tools-list { background: var(--cream); color: #162015; }
.tool-card {
  display: grid;
  grid-template-columns: minmax(300px, 510px) 1fr;
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
  width: min(88%, 1280px);
  margin: 0 auto;
  padding: 110px 0;
  border-bottom: 1px solid #cdd4c7;
}
.tool-card:nth-child(even) .tool-poster { order: 2; }
.tool-poster img {
  display: block;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(23, 36, 20, .18);
}
.tool-copy { position: relative; }
.tool-number {
  position: absolute;
  top: -12px; right: 0;
  color: #d5dacd;
  font: 78px/1 Georgia, serif;
}
.tool-copy h2 {
  position: relative;
  max-width: 700px;
  margin: 0;
  font: 400 clamp(36px, 4vw, 58px)/1.08 Georgia, serif;
  letter-spacing: -.035em;
}
.tool-summary { max-width: 680px; margin: 25px 0; color: #4f5d4a; font-size: 19px; line-height: 1.65; }
.tool-copy ul { margin: 0; padding: 0; list-style: none; }
.tool-copy li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 25px;
  color: #596555;
  line-height: 1.55;
}
.tool-copy li::before {
  content: "•";
  position: absolute; left: 2px;
  color: #789a00;
  font-size: 22px;
}
.tool-warning {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid #b28325;
  background: #eee6d3;
  color: #5c4a28;
  line-height: 1.55;
}
.tools-note {
  padding: 110px max(6vw, 24px);
  background: #172319;
}
.tools-note h2 { margin: 0; font: 400 clamp(36px, 5vw, 65px)/1.05 Georgia, serif; }
.tools-note > p:last-child { max-width: 760px; color: #aeb8aa; font-size: 19px; line-height: 1.65; }
@media (max-width: 850px) {
  .tools-hero { padding: 80px 0; }
  .tool-card { grid-template-columns: 1fr; gap: 40px; padding: 75px 0; }
  .tool-card:nth-child(even) .tool-poster { order: initial; }
  .tool-poster { max-width: 540px; }
  .tool-number { font-size: 58px; }
}
