/* John’s Passion Fruit Express - Offline Landing Page v1 */

:root {
  --green: #0c5f20;
  --deep-green: #063f17;
  --lime: #9bcf3b;
  --gold: #ffb000;
  --orange: #ff6b00;
  --purple: #4b146d;
  --cream: #fff8e7;
  --paper: #fffef8;
  --ink: #152116;
  --muted: #5b685c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -200px;
  left: 12px;
  background: var(--deep-green);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 254, 248, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(12, 95, 32, 0.12);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-small img {
  height: 62px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 800;
  color: var(--deep-green);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--purple);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: white !important;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.28);
}

.nav-toggle {
  display: none;
  border: none;
  background: var(--deep-green);
  color: white;
  font-size: 1.5rem;
  border-radius: 14px;
  padding: 8px 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 176, 0, 0.32), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(104, 22, 125, 0.24), transparent 27%),
    linear-gradient(135deg, #fff7db 0%, #f1ffe1 48%, #fff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(12, 95, 32, 0.08) 0 1px, transparent 1px),
    linear-gradient(45deg, rgba(255, 176, 0, 0.08) 0 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  letter-spacing: -0.07em;
  margin-bottom: 20px;
  color: var(--deep-green);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.55rem);
  letter-spacing: -0.045em;
  color: var(--deep-green);
  margin-bottom: 18px;
}

h3 {
  color: var(--deep-green);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.hero-text {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  color: #314633;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--green), var(--deep-green));
  box-shadow: 0 16px 36px rgba(12, 95, 32, 0.28);
}

.button-secondary {
  color: var(--deep-green);
  background: white;
  border: 2px solid rgba(12, 95, 32, 0.14);
  box-shadow: 0 12px 30px rgba(12, 95, 32, 0.08);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 95, 32, 0.14);
  padding: 10px 13px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--deep-green);
}

.hero-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.main-logo {
  margin: 0 auto 18px;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,0.18));
}

.quick-card {
  border-radius: 24px;
  background: linear-gradient(135deg, var(--deep-green), var(--green));
  color: white;
  padding: 22px;
  text-align: center;
}

.quick-card h2 {
  color: white;
  font-size: 1.6rem;
}

.quick-card a {
  color: var(--gold);
  font-size: 1.45rem;
  font-weight: 950;
  text-decoration: none;
}

.feature-strip {
  padding: 30px 0;
  background: var(--deep-green);
  color: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-grid article {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px;
  padding: 20px;
}

.feature-icon {
  font-size: 1.85rem;
}

.feature-grid h2 {
  color: white;
  font-size: 1.2rem;
  letter-spacing: normal;
  margin: 10px 0 6px;
}

.feature-grid p {
  margin: 0;
  color: rgba(255,255,255,0.86);
}

.section {
  padding: 84px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.reverse {
  grid-template-columns: 0.95fr 1fr;
}

.section-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list {
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--deep-green);
  font-weight: 950;
}

.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 10px solid white;
  background: white;
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.island-section {
  background:
    radial-gradient(circle at 82% 20%, rgba(255,176,0,0.22), transparent 22%),
    linear-gradient(135deg, #f4ffe8, #fff8e8);
}

.quote-card {
  background: white;
  border-left: 7px solid var(--gold);
  border-radius: 20px;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 850;
  color: var(--purple);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.video-section {
  padding-bottom: 64px;
}

.video-card {
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111;
  border: 10px solid white;
}

.video-card video {
  width: 100%;
}

.care-section {
  background: #f7fff0;
}

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

.care-grid article {
  background: white;
  border: 1px solid rgba(12, 95, 32, 0.12);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(12, 95, 32, 0.08);
}

.care-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: white;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 300ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-grid figcaption {
  padding: 12px 14px;
  color: var(--deep-green);
  font-weight: 900;
}

.faq-section {
  background:
    linear-gradient(135deg, rgba(75,20,109,0.06), rgba(255,176,0,0.10)),
    var(--cream);
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  background: white;
  border: 1px solid rgba(12, 95, 32, 0.14);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

summary {
  cursor: pointer;
  font-weight: 950;
  color: var(--deep-green);
}

details p {
  color: var(--muted);
}

.final-cta {
  padding: 84px 0;
  background: linear-gradient(135deg, var(--deep-green), #092a12);
  color: white;
}

.final-card {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 34px;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 30px;
}

.final-card img {
  border-radius: 20px;
  background: white;
}

.final-card h2,
.final-card .eyebrow {
  color: white;
}

.final-card p {
  color: rgba(255,255,255,0.82);
}

.footer {
  padding: 32px 0;
  background: #061e0e;
  color: rgba(255,255,255,0.82);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer a {
  color: var(--gold);
  font-weight: 950;
  text-decoration: none;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 82px 18px auto 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    padding: 18px;
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .split,
  .reverse,
  .final-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .feature-grid,
  .care-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    display: grid;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(100% - 26px, 1160px);
  }

  .brand-small img {
    height: 48px;
  }

  .nav {
    min-height: 70px;
  }

  .nav-links {
    inset: 70px 13px auto 13px;
  }

  .section {
    padding: 62px 0;
  }

  .feature-grid,
  .care-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 14px;
  }

  .final-card {
    padding: 18px;
  }
}


/* Story section update: before / after passion fruit paradise */
.story-update .story-intro {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.story-update .story-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 auto;
}

.story-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: center;
}

.story-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.story-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: white;
  border: 8px solid white;
  box-shadow: 0 18px 44px rgba(0,0,0,0.13);
}

.story-photo img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.story-photo-wide {
  grid-column: span 2;
}

.story-photo-wide img {
  height: 330px;
}

.story-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(6, 63, 23, 0.88);
  color: white;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

.harvest-photo figcaption {
  background: rgba(75, 20, 109, 0.9);
}

.story-copy {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 95, 32, 0.10);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.08);
}

.story-copy p {
  margin-top: 0;
}

@media (max-width: 880px) {
  .story-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .story-photo-grid {
    grid-template-columns: 1fr;
  }

  .story-photo-wide {
    grid-column: span 1;
  }

  .story-photo img,
  .story-photo-wide img {
    height: 255px;
  }

  .story-copy {
    padding: 20px;
  }
}


/* QR share card update */
.share-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.share-layout .video-card {
  max-width: none;
  margin: 0;
}

.qr-share-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,176,0,0.34), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(111,42,142,0.18), transparent 32%),
    linear-gradient(145deg, #ffffff, #f5ffe9);
  border: 10px solid white;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.qr-share-card::before {
  content: "🌿";
  position: absolute;
  top: -18px;
  right: 18px;
  font-size: 5rem;
  opacity: 0.12;
  transform: rotate(18deg);
}

.qr-glow {
  width: min(100%, 280px);
  margin: 0 auto 18px;
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,176,0,0.34), rgba(12,95,32,0.16));
  box-shadow: 0 16px 38px rgba(12, 95, 32, 0.18);
}

.qr-glow img {
  display: block;
  width: 100%;
  border-radius: 20px;
  background: white;
}

.qr-share-text .eyebrow {
  margin-bottom: 8px;
}

.qr-share-text h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 1.65rem;
}

.qr-share-text p:not(.eyebrow) {
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.55;
}

.qr-share-text a {
  color: var(--purple);
  font-weight: 900;
  text-decoration: none;
  word-break: break-word;
}

@media (max-width: 900px) {
  .share-layout {
    grid-template-columns: 1fr;
  }

  .qr-share-card {
    padding: 20px;
  }
}
