/* =========================================================================
   WRAPLY — main.css  (all page styles)
   ========================================================================= */

/* ---- Layout primitives ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: #fff; }
.eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.mono { font-family: var(--font-mono); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(34px, 5vw, 56px); font-weight: 800; margin-top: 14px;
}
.section-head p { color: var(--mid); font-size: 18px; margin-top: 16px; }
.section--ink .section-head p { color: #B7B9C4; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius); font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { background: #4338CA; color: #fff; }
.btn--outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--wa { background: var(--green); color: #073b1e; }
.btn--wa:hover { background: #1fb858; color: #073b1e; }
.btn--white { background: #fff; color: var(--accent); }
.btn--white:hover { background: #f1f1f7; color: var(--accent); }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-white:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--block { width: 100%; }

/* =========================================================================
   1. NAVIGATION
   ========================================================================= */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: padding .3s var(--ease), border-color .3s, box-shadow .3s;
}
.site-nav.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; transition: padding .3s var(--ease); }
.site-nav.scrolled .nav-inner { padding: 12px 0; }
.brand { font-weight: 900; font-size: 24px; letter-spacing: -0.04em; color: var(--ink); }
.brand .ly { color: var(--accent); }
.nav-links { display: flex; gap: 34px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* =========================================================================
   2. HERO
   ========================================================================= */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: var(--ink); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(79,70,229,0.05) 48px),
                    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(79,70,229,0.05) 48px);
}
.hero::after {
  content: ""; position: absolute; top: -200px; right: -200px; z-index: 1; pointer-events: none;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,0.30), transparent 70%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; width: 100%; }
.hero-eyebrow { color: var(--accent-lt); }
.hero-h1 {
  color: #fff; font-size: clamp(44px, 8vw, 92px); font-weight: 900; letter-spacing: -0.03em;
  margin: 22px 0 24px; line-height: 0.98;
}
.hero-h1 em { display: block; font-style: normal; color: var(--accent-lt); }
.hero-sub { color: #C7C9D6; font-size: 18px; max-width: 520px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-right { display: flex; justify-content: flex-end; align-items: flex-end; height: 100%; padding-bottom: 60px; }
.wrap-status {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 18px 22px;
  background: rgba(11,11,15,.4); backdrop-filter: blur(8px); min-width: 220px;
}
.wrap-status .label { color: #6B7280; font-size: 10px; display: block; margin-bottom: 8px; }
.wrap-status-wrapping { color: var(--accent-lt); display: block; }
.wrap-status-secured { color: var(--green-ok); display: block; margin-top: 6px; }
.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .bar { width: 1px; height: 36px; background: linear-gradient(rgba(255,255,255,.6), transparent); animation: scrollPulse 1.8s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100% { opacity:.3; transform: scaleY(.6);} 50%{opacity:1; transform: scaleY(1);} }

/* =========================================================================
   3. TRUST BAR
   ========================================================================= */
.trust { background: var(--surface); border-bottom: 1px solid var(--border); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 28px; padding: 22px 0; }
.trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--mid); }
.trust-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* =========================================================================
   4. PRODUCTS
   ========================================================================= */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.product-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card:hover::before { transform: scaleX(1); }
.product-icon { width: 48px; height: 48px; color: var(--accent); margin-bottom: 20px; }
.product-tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.product-card h3 { font-size: 22px; margin: 8px 0 10px; }
.product-card p { color: var(--mid); font-size: 14.5px; }
.product-sku { font-family: var(--font-mono); font-size: 11px; color: var(--mid); margin-top: 14px; display: block; }
.product-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 14px; }
.product-link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.product-link:hover svg { transform: translateX(4px); }

/* =========================================================================
   5. PALLET WRAP SPECS
   ========================================================================= */
.specs-grid { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 48px; align-items: start; }
.micron-guide { display: flex; flex-direction: column; gap: 16px; }
.micron-row {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
}
.micron-dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.micron-dot.g { background: var(--green-ok); }
.micron-dot.y { background: var(--gold); }
.micron-dot.r { background: #EF4444; }
.micron-row .m-range { font-family: var(--font-mono); font-weight: 600; color: var(--ink); display: block; }
.micron-row .m-use { font-size: 14px; color: var(--mid); }
.micron-cta { margin-top: 8px; }
.spec-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.spec-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.spec-table th, .spec-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.spec-table th { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); background: var(--surface); }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table .micron { font-family: var(--font-mono); color: var(--accent); font-weight: 600; }
.spec-table .colour-blue { color: #2563EB; font-weight: 600; }
.spec-table tbody tr:hover { background: var(--surface); }

/* =========================================================================
   6. HOW IT WORKS
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.step { padding: 40px 34px; border-right: 1px solid var(--border); }
.step:last-child { border-right: 0; }
.step-num {
  font-size: 64px; font-weight: 900; line-height: 1;
  -webkit-text-stroke: 1.5px var(--border); -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 14px;
}
.step-icon { width: 32px; height: 32px; color: var(--accent); margin-bottom: 16px; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--mid); font-size: 15px; }

/* =========================================================================
   7. WHY WRAPLY (dark)
   ========================================================================= */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: #15151C; border: 1px solid #25252F; border-radius: var(--radius); padding: 34px 30px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.why-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.why-card .num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--accent-lt); }
.why-card h3 { color: #fff; font-size: 22px; margin: 14px 0 10px; }
.why-card p { color: #9A9CAB; font-size: 15px; }
.why-card .detail { color: #6B7280; font-size: 13px; margin-top: 14px; font-family: var(--font-mono); }

/* =========================================================================
   8. CTA BAND
   ========================================================================= */
.cta-band { background: var(--accent); color: #fff; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 64px 0; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); }
.cta-band p { color: #DEDCFB; font-size: 18px; margin-top: 8px; }
.cta-band-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================================
   9. PRICING
   ========================================================================= */
.notice-bar {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border);
  padding: 10px 18px; border-radius: 100px; font-size: 14px; color: var(--mid); margin-bottom: 40px;
}
.notice-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-ok); box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 30px;
  display: flex; flex-direction: column; position: relative; transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.price-badge {
  position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
}
.price-card .ptag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.price-card h3 { font-size: 24px; margin: 10px 0 18px; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex-grow: 1; }
.price-card li { display: flex; gap: 10px; font-size: 15px; color: var(--mid); }
.price-card li svg { width: 18px; height: 18px; color: var(--green-ok); flex-shrink: 0; margin-top: 2px; }

/* =========================================================================
   10. CONTACT
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.contact-card .ico { font-size: 22px; }
.contact-card h4 { font-size: 16px; margin: 12px 0 4px; }
.contact-card .val { font-weight: 600; color: var(--ink); font-size: 15px; word-break: break-word; }
.contact-card .desc { color: var(--mid); font-size: 13px; margin-top: 4px; }
.quote-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }
.quote-form-wrap h3 { font-size: 22px; margin-bottom: 6px; }
.quote-form-wrap > p { color: var(--mid); font-size: 15px; margin-bottom: 24px; }
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qform .full { grid-column: 1 / -1; }
.qform label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); display: block; margin-bottom: 7px; }
.qform input, .qform select, .qform textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font: inherit; font-size: 15px; background: #fff; color: var(--ink);
}
.qform textarea { resize: vertical; min-height: 96px; }
.qform .form-msg { grid-column: 1/-1; font-size: 14px; }
.qform .form-msg.ok { color: var(--green-ok); }
.qform .form-msg.err { color: #EF4444; }

/* =========================================================================
   11. FAQ
   ========================================================================= */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--accent); font-weight: 400; transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--mid); font-size: 15px; }
.faq-item .faq-body a { font-weight: 600; }

/* =========================================================================
   GEO ANCHOR
   ========================================================================= */
.geo-anchor { background: #fff; padding: 56px 0; border-top: 1px solid var(--border); }
.geo-anchor h2 { font-size: 24px; margin-bottom: 16px; }
.geo-anchor p { color: var(--mid); font-size: 15px; max-width: 900px; margin-bottom: 14px; }

/* =========================================================================
   12. FOOTER
   ========================================================================= */
.site-footer { background: var(--ink); color: #9A9CAB; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-grid .brand { color: #fff; font-size: 26px; }
.footer-col h4 { color: #fff; font-size: 13px; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a, .footer-col p { color: #9A9CAB; font-size: 14.5px; display: block; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent-lt); }
.footer-tag { color: #9A9CAB; font-size: 14.5px; margin-top: 14px; max-width: 280px; }
.footer-bottom {
  border-top: 1px solid #25252F; padding: 24px 0; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #6B7280;
}
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-badge {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid #25252F; border-radius: 100px; padding: 6px 12px; color: #9A9CAB;
}
.footer-badge.gold { color: var(--gold); border-color: rgba(200,150,62,.4); }

/* =========================================================================
   FLOATING WHATSAPP
   ========================================================================= */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 90; width: 58px; height: 58px;
  border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* =========================================================================
   SCROLL REVEAL (initial states; JS adds .is-in)
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .pricing-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: 0; }
  .specs-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(82vw, 340px); z-index: 99;
    background: #fff; transform: translateX(100%); transition: transform .35s var(--ease);
    padding: 96px 32px 32px; display: flex; flex-direction: column; gap: 22px; box-shadow: var(--shadow-lg);
  }
  body.nav-open .nav-mobile { transform: none; }
  .nav-mobile a { color: var(--ink); font-size: 18px; font-weight: 600; }
  .nav-mobile .btn { display: inline-flex; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(11,11,15,.4); z-index: 98; opacity: 0; pointer-events: none; transition: opacity .3s; }
  body.nav-open .nav-overlay { opacity: 1; pointer-events: auto; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .product-grid, .faq-grid, .contact-cards { grid-template-columns: 1fr; }
  .trust-inner { justify-content: flex-start; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .qform { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue .bar { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
