/* ============================================================
   GREEN ROUTE DIRECT — Main Stylesheet
   greenroutedirect.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Barlow+Condensed:wght@300;400;500;600;700;800&family=Barlow:wght@300;400;500&display=swap');

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-deep:   #0a160e;
  --green-dark:   #1a3d2b;
  --green-mid:    #2a5c3f;
  --green-light:  #3d7a56;
  --green-pale:   #5a9e72;
  --gold:         #c8a84b;
  --gold-light:   #e8c96a;
  --gold-pale:    #f5e4a8;
  --parchment:    #f7f2e8;
  --parchment-dk: #ede5d0;
  --white:        #ffffff;
  --gray-light:   #e8ede9;
  --gray-mid:     #8a9e8f;
  --text-light:   #5a7a64;
  --red-err:      #8b2020;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --nav-h:        72px;
  --max-w:        1300px;
  --transition:   0.35s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--green-deep);
  color: var(--parchment);
  overflow-x: hidden;
  line-height: 1.6;
}

body.no-scroll { overflow: hidden; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--green-deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* Grain texture */
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.display-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.section-label {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}
.section-title em { color: var(--gold); font-style: italic; }
.section-body {
  font-size: 16px;
  line-height: 1.82;
  color: var(--gray-mid);
}

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 15px 38px;
  cursor: pointer;
  border: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn:hover::before { transform: translateX(100%); }
.btn-gold {
  background: var(--gold);
  color: var(--green-deep);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,168,75,0.28);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(200,168,75,0.4);
}
.btn-outline:hover {
  background: rgba(200,168,75,0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-sm {
  font-size: 11px;
  padding: 11px 28px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

/* ── DIVIDER ── */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 28px auto;
}
.gdl {
  width: 80px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.gdl.r { background: linear-gradient(to left, transparent, var(--gold)); }
.gdd {
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(30px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(8,18,11,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  height: 62px;
  border-bottom: 1px solid rgba(200,168,75,0.18);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-logo {
  height: 50px; width: auto;
  transition: height 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}
.nav.scrolled .nav-logo { height: 40px; }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--gold);
  padding: 11px 28px;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: all 0.25s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Mobile menu button */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 62px; left: 0; right: 0;
  background: rgba(8,18,11,0.98);
  backdrop-filter: blur(18px);
  z-index: 499;
  padding: 24px 48px 32px;
  border-bottom: 1px solid rgba(200,168,75,0.15);
  flex-direction: column;
  gap: 0;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
  padding: 14px 0;
  border-bottom: 1px solid rgba(200,168,75,0.08);
  transition: color 0.2s;
}
.nav-drawer a:hover { color: var(--gold); }
.nav-drawer .btn { margin-top: 20px; width: fit-content; }

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--green-dark);
  border-top: 1px solid rgba(200,168,75,0.2);
  border-bottom: 1px solid rgba(200,168,75,0.2);
  padding: 16px 0;
}
.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 32px;
  border-right: 1px solid rgba(200,168,75,0.12);
}
.trust-item:last-child { border-right: none; }
.trust-icon { color: var(--gold); font-size: 15px; flex-shrink: 0; }
.trust-text {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
  white-space: nowrap;
}

/* ── AGE GATE ── */
.age-gate {
  position: fixed; inset: 0; z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4,10,6,0.97);
  backdrop-filter: blur(12px);
}
.age-box {
  background: var(--green-dark);
  border: 1px solid rgba(200,168,75,0.25);
  padding: 52px 44px;
  max-width: 460px; width: 90%;
  text-align: center;
  position: relative;
}
.age-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.age-logo { width: 160px; height: auto; margin: 0 auto 28px; }
.age-title {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px;
  color: var(--white); margin-bottom: 10px;
}
.age-text { font-size: 14px; color: var(--gray-mid); line-height: 1.65; margin-bottom: 28px; }
.age-btns { display: flex; gap: 12px; justify-content: center; }
.age-legal { font-size: 10px; color: var(--text-light); margin-top: 20px; line-height: 1.55; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 64px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(42,92,63,0.35) 0%, transparent 70%),
    linear-gradient(170deg, #0a160e 0%, #0e2218 50%, #0a160e 100%);
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,168,75,0.3), transparent);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-logo {
  width: 100px; height: auto;
  margin: 0 auto 24px;
  opacity: 0.85;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--white);
  margin-bottom: 14px;
}
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero p {
  font-size: 17px;
  color: var(--gray-mid);
  max-width: 560px;
  margin: 0 auto;
  font-style: italic;
  font-family: var(--font-display);
}

/* ── PRODUCT CARDS ── */
.product-card {
  background: var(--green-dark);
  border: 1px solid rgba(200,168,75,0.08);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.product-card:hover {
  background: var(--green-mid);
  border-color: rgba(200,168,75,0.22);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.product-card:hover::before { transform: scaleX(1); }

/* ── COA BADGE ── */
.coa-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(200,168,75,0.1);
  border: 1px solid rgba(200,168,75,0.22);
  padding: 6px 14px;
  font-family: var(--font-cond);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.coa-badge::before { content: '🔬'; font-size: 12px; }

/* ── HASH TYPE COLORS ── */
.type-afghan     { color: #e8c0a0; }
.type-moroccan   { color: #a0c0e8; }
.type-temple     { color: #c0a0e8; }
.type-static     { color: #e8e0a0; }
.type-rosin      { color: #a0e8b0; }
.type-piatella   { color: #e8a0b8; }

.type-bg-afghan  { background: rgba(100,50,20,0.3); }
.type-bg-moroccan{ background: rgba(20,50,100,0.3); }
.type-bg-temple  { background: rgba(60,20,100,0.3); }
.type-bg-static  { background: rgba(100,95,20,0.3); }
.type-bg-rosin   { background: rgba(20,100,50,0.3); }
.type-bg-piatella{ background: rgba(100,20,60,0.3); }

/* ── COMPLIANCE TABLE ── */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: rgba(200,168,75,0.07);
  border: 1px solid rgba(200,168,75,0.07);
  margin-top: 44px;
}
.comp-item {
  background: var(--green-deep);
  padding: 34px 26px;
  position: relative;
  transition: background 0.3s;
}
.comp-item::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: var(--gold);
  transform: scaleY(0); transition: transform 0.3s;
  transform-origin: top;
}
.comp-item:hover::before { transform: scaleY(1); }
.comp-item:hover { background: rgba(26,61,43,0.5); }
.comp-icon { font-size: 20px; margin-bottom: 12px; display: block; }
.comp-title {
  font-family: var(--font-cond);
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); margin-bottom: 8px;
}
.comp-text { font-size: 13px; line-height: 1.65; color: var(--gray-mid); }

/* ── FOOTER ── */
.footer {
  background: #040c06;
  border-top: 1px solid rgba(200,168,75,0.14);
  padding: 56px 0 28px;
}
.footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 44px;
}
.footer-logo {
  height: 80px; width: auto;
  margin-bottom: 14px;
  opacity: 0.9;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic; font-size: 13px;
  color: var(--gray-mid); margin-bottom: 14px;
}
.footer-desc { font-size: 13px; line-height: 1.75; color: var(--text-light); max-width: 270px; }
.footer-col-title {
  font-family: var(--font-cond);
  font-weight: 700; font-size: 11px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 13px; color: var(--text-light); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px 48px 0;
  border-top: 1px solid rgba(200,168,75,0.07);
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-legal { font-size: 11px; color: var(--text-light); line-height: 1.6; max-width: 700px; }
.footer-copy {
  font-family: var(--font-cond);
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--gray-mid);
}

/* ── ANIMATIONS ── */
@keyframes fadeDown   { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeUp     { from{opacity:0;transform:translateY(20px)}  to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn     { from{opacity:0} to{opacity:1} }
@keyframes slowFloat  { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes glowPulse  { 0%,100%{opacity:0.5;transform:scale(0.95)} 50%{opacity:1;transform:scale(1.05)} }
@keyframes scrollPulse{ 0%,100%{opacity:0.3;transform:scaleY(0.85)} 50%{opacity:1;transform:scaleY(1)} }
@keyframes shimmer    { 0%{background-position:-200% center} 100%{background-position:200% center} }

/* ── MOBILE ── */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .trust-strip { overflow-x: auto; }
  .trust-item { padding: 6px 20px; }
  .comp-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { padding: 22px 24px 0; }
}
@media (max-width: 600px) {
  :root { --nav-h: 64px; }
  .section-pad { padding: 60px 0; }
  .comp-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .trust-text { font-size: 10px; }
}
