/* Root theme */
:root {
  --bg: #0f1311;
  --bg-2: #0c100e;
  --text: #e7efe7;
  --muted: #a9b8a9;
  --primary: #63d17e;
  --primary-2: #35c263;
  --accent: #9df2c0;
  --earth-1: #6a4b2e;
  --earth-2: #a67c52;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --blur: 16px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 20px 60px rgba(0, 0, 0, 0.45);
  --outline: rgba(255, 255, 255, 0.15);
  --grad-holo: conic-gradient(from 180deg at 50% 50%, #41dd8b, #b7ffdc, #7ad493, #a1f0bf, #41dd8b);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 500px at 10% 0%, #0c1412 0%, #0a0f0d 40%, #070a09 100%);
  overflow-x: hidden;
}

/* Canvas background */
#ambientParticles {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #0a100d, #0b1410 60%, #09120e 100%);
}

/* Page transition */
.page-transition {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1200px 600px at 50% 50%, rgba(99, 209, 126, 0.12), transparent 60%);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  padding: 8px 12px;
  background: var(--glass);
  backdrop-filter: blur(8px);
  border-radius: 8px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: #000000;
  width: 100%;
  border-bottom: 1px solid var(--outline);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--grad-holo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 22px;
}

.logo-type {
  font-weight: 700;
  opacity: 0.9;
}

.eco-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #63d17e 0%, #2f7c47 60%, #17422a 100%);
  display: grid;
  place-items: center;
  color: #eaffef;
  box-shadow: 0 0 20px rgba(99, 209, 126, 0.5), inset 0 6px 16px rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pulse {
  animation: pulse 2.6s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 18px rgba(99, 209, 126, 0.45), inset 0 6px 16px rgba(255, 255, 255, 0.12);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 30px rgba(99, 209, 126, 0.65), inset 0 8px 18px rgba(255, 255, 255, 0.18);
  }
}

/* Glass nav */
.glass-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: var(--glass);
  border: 1px solid var(--outline);
  backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow-1);
  border-radius: 999px;
  padding: 8px 12px;
}

#navMenu {
    background-color: #000000;
}
.nav-toggle {
  display: none;
}

.nav-list {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a,
.cart-button {
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-list a:hover,
.cart-button:hover {
  background: var(--glass-strong);
  transform: translateY(-1px);
}

.cart-button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: radial-gradient(circle at 30% 30%, #63d17e 0%, #2f7c47 60%, #17422a 100%);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(99, 209, 126, 0.5);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  padding: 80px 24px;
  min-height: 70vh;
  gap: 20px;
}

#main {
    padding-top: 80px;
}

.hero-title {
  font-size: clamp(28px, 6vw, 64px);
  line-height: 1.04;
  background: linear-gradient(180deg, #e8fff1, #a0ffcb 60%, #c5ffdf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 40px rgba(99, 209, 126, 0.15);
}

.hero-sub {
  max-width: 600px;
  color: var(--muted);
  margin-top: 12px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #0c120e;
  font-weight: 700;
  background: linear-gradient(135deg, #63d17e, #9df2c0);
  box-shadow: 0 12px 30px rgba(99, 209, 126, 0.35);
  transition: transform 180ms ease, box-shadow 220ms ease;
}

.cta.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--outline);
  box-shadow: none;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(99, 209, 126, 0.45);
}

/* Floating showcase */
.floating-showcase {
  position: relative;
  height: 420px;
  perspective: 1200px;
  display: grid;
  place-items: center;
}

.float-card {
  position: absolute;
  width: 240px;
  height: 330px;
  border-radius: 22px;
  transform-style: preserve-3d;
  will-change: transform;
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
}

.float-card:nth-child(1) {
  left: 6%;
  top: 18%;
}

.float-card:nth-child(2) {
  left: 26%;
  top: 36%;
}

.float-card:nth-child(3) {
  left: 46%;
  top: 6%;
}

.holograph {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.holograph::before {
  content: '';
  position: absolute;
  inset: -60% -20% auto auto;
  height: 180%;
  background: var(--grad-holo);
  opacity: 0.25;
  filter: blur(18px);
  transform: rotate(14deg);
}

.card-front {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
}

.card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.2) contrast(1.05);
}

.card-1 {
  background-image: linear-gradient(180deg, rgba(99, 209, 126, 0.15), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1601924582970-9238bcb495d9?q=80&w=1200&auto=format&fit=crop');
}

.card-2 {
  background-image: linear-gradient(180deg, rgba(99, 209, 126, 0.15), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1559056199-641a0ac8b55e?q=80&w=1200&auto=format&fit=crop');
}

.card-3 {
  background-image: linear-gradient(180deg, rgba(99, 209, 126, 0.15), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1563453392212-326f5e854473?q=80&w=1200&auto=format&fit=crop');
}

.badge.glow {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 0 18px rgba(157, 242, 192, 0.35);
}

/* Sections */
.section {
  padding: 80px 24px;
}

.section-head {
  max-width: 820px;
  margin: 0 auto 24px auto;
  text-align: center;
}

.section-title {
  font-size: clamp(24px, 4.8vw, 38px);
  margin: 0;
}

.section-sub {
  color: var(--muted);
  margin-top: 10px;
}

/* Products */
.grid.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--outline);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transform-style: preserve-3d;
}

.product-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.img-tee {
  background-image: url('https://images.unsplash.com/photo-1521572163474-6864f9cf17ab?q=80&w=1200&auto=format&fit=crop');
}

.img-hoodie {
  background-image: url('https://images.unsplash.com/photo-1556821840-3a63f95609a7?q=80&w=1200&auto=format&fit=crop');
}

.img-pants {
  background-image: url('https://images.unsplash.com/photo-1594633312681-425c7b97ccd1?q=80&w=1200&auto=format&fit=crop');
}

.holograph-ink::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 70% 20%, rgba(99, 209, 126, 0.25), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.6;
}

.eco-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: black;
  color: var(--accent);
  border: 1px solid rgba(99, 209, 126, 0.35);
  box-shadow: 0 0 16px rgba(99, 209, 126, 0.25);
}

.product-info {
  padding: 16px;
}

.product-name {
  margin: 0 0 6px 0;
}

.product-desc {
  margin: 0;
  color: var(--muted);
}

.product-meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-weight: 800;
  letter-spacing: 0.6px;
}

.btn {
  background: linear-gradient(135deg, #63d17e, #35c263);
  color: #0c120e;
  font-weight: 800;
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 220ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(99, 209, 126, 0.35);
}

/* Materials */
.materials-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.material-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--outline);
}



.blob-1 {
  left: -10px;
  top: -10px;
}

.blob-2 {
  left: auto;
  right: -10px;
  top: -10px;
}

.blob-3 {
  left: -10px;
  bottom: -10px;
}

@keyframes blob {
  0%, 100% {
    transform: translate(-20px, -20px) scale(1);
    border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
  }
  50% {
    transform: translate(10px, 10px) scale(1.08);
    border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
  }
}

.material-info {
  position: relative;
  z-index: 2;
}

.material-info h3 {
  margin: 0 0 6px 0;
}

.material-info p {
  margin: 0;
  color: var(--muted);
}

/* Impact / stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-card {
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-1);
}

.stat-value {
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(180deg, #e8fff1, #a0ffcb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: var(--muted);
}

/* About */
.about-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.about-content p {
  color: var(--muted);
}

.about-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.about-orbit {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--outline);
  overflow: hidden;
}

.orb {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #63d17e 0%, #2f7c47 60%, #17422a 100%);
  box-shadow: 0 0 20px rgba(99, 209, 126, 0.5);
  animation: orbit 12s linear infinite;
}

.orb-1 { top: 5%; left: 10%; animation-delay: -1s; }
.orb-2 { top: 15%; left: 80%; animation-delay: -3s; }
.orb-3 { top: 25%; left: 20%; animation-delay: -5s; }
.orb-4 { top: 35%; left: 70%; animation-delay: -7s; }
.orb-5 { top: 45%; left: 30%; animation-delay: -9s; }
.orb-6 { top: 55%; left: 90%; animation-delay: -11s; }
.orb-7 { top: 65%; left: 40%; animation-delay: -13s; }
.orb-8 { top: 75%; left: 60%; animation-delay: -15s; }
.orb-9 { top: 85%; left: 15%; animation-delay: -17s; }
.orb-10 { top: 10%; left: 50%; animation-delay: -19s; }
.orb-11 { top: 30%; left: 85%; animation-delay: -21s; }
.orb-12 { top: 50%; left: 25%; animation-delay: -23s; }
.orb-13 { top: 70%; left: 75%; animation-delay: -25s; }
.orb-14 { top: 90%; left: 35%; animation-delay: -27s; }
.orb-15 { top: 20%; left: 65%; animation-delay: -29s; }

@keyframes orbit {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(220px, -20px);
  }
  50% {
    transform: translate(280px, 120px);
  }
  75% {
    transform: translate(60px, 160px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* Footer */
.site-footer {
  padding: 28px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-note {
  color: var(--muted);
}

.footer-brand .logo {
  font-weight: 800;
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 70vh;
  width: min(420px, 90vw);
  background: black;
  border-left: 1px solid var(--outline);
  backdrop-filter: blur(var(--blur));
  transform: translateX(100%);
  transition: transform 340ms cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: var(--shadow-2);
  z-index: 80;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-head,
.cart-foot {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-items {
  padding: 12px;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: center;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--outline);
  margin-bottom: 10px;
}

.cart-item-name {
  font-weight: 700;
}

.cart-item-actions {
  display: flex;
  gap: 8px;
}

.cart-remove {
  background: transparent;
  border: 1px solid var(--outline);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 8px;
  cursor: pointer;
}

/* Toasts */
.toasts {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 10px;
  z-index: 90;
}

.toast {
  background: rgba(16, 24, 20, 0.8);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: var(--shadow-1);
  animation: toastIn 300ms ease forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Parallax */
.parallax,
.parallax-card {
  will-change: transform;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }
  
  .floating-showcase {
    height: 360px;
  }
  
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-block;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--outline);
    border-radius: 999px;
    padding: 8px 12px;
  }
  
  .nav-list {
    display: none;
  }
  
  .nav-list.open {
    display: grid;
    grid-auto-flow: row;
    gap: 8px;
    position: absolute;
    right: 20px;
    top: 56px;
    background: var(--glass);
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--outline);
  }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (max-width: 480px) {
.hero {
padding: 40px 12px;
min-height: 50vh;
}

.hero-title {
font-size: clamp(24px, 8vw, 48px);
}

.floating-showcase {
height: 250px;
}

.float-card {
width: 180px;
height: 240px;
}

.float-card:nth-child(1) {
left: 2%;
top: 15%;
}

.float-card:nth-child(2) {
left: 22%;
top: 30%;
}

.float-card:nth-child(3) {
left: 42%;
top: 4%;
}
}

@media (max-width: 280px) {
body {
font-size: 14px;
}

.site-header {
padding: 8px 10px;
}

.logo {
gap: 4px;
}

.logo-mark {
font-size: 16px;
}

.logo-type {
font-size: 12px;
}

.eco-badge {
width: 24px;
height: 24px;
}

.hero {
padding: 16px 6px;
}

.hero-actions {
gap: 8px;
}

.cta {
padding: 8px 12px;
font-size: 12px;
}

.floating-showcase {
height: 200px;
}

.float-card {
width: 150px;
height: 160px;
border-radius: 16px;
}

.badge.glow {
padding: 4px 8px;
font-size: 10px;
bottom: 8px;
left: 8px;
}

.section {
padding: 20px 6px;
}

.product-media {
height: 120px;
}

.eco-chip {
padding: 6px 8px;
font-size: 10px;
}

.product-name {
font-size: 14px;
}

.product-desc {
font-size: 12px;
}

.btn {
padding: 6px 10px;
font-size: 12px;
}

.material-info h3 {
font-size: 14px;
}

.material-info p {
font-size: 12px;
}

.stat-value {
font-size: 28px;
}

.stat-label {
font-size: 14px;
}

.about-orbit {
height: 180px;
}

.orb {
width: 34px;
height: 34px;
}
}

.toast-success {
  border-color: rgba(99, 209, 126, 0.4);
  background: rgba(16, 24, 20, 0.9);
}

.toast-error {
  border-color: rgba(255, 100, 100, 0.4);
  background: rgba(24, 16, 16, 0.9);
}

.toast-info {
  border-color: rgba(100, 150, 255, 0.4);
  background: rgba(16, 20, 24, 0.9);
}

.pulse-cart {
  animation: pulseCart 0.6s ease-in-out;
}

@keyframes pulseCart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
