/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES (TOP-DESIGN) ===== */
:root {
  /* Cinematic Color Palette */
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #111111;
  --bg-card: #0c0c0c;
  --bg-card-hover: #151515;
  
  /* Text Functional Hierarchy */
  --text-primary: #fafaf9;
  --text-secondary: rgba(250, 250, 249, 0.6);
  --text-muted: rgba(250, 250, 249, 0.4);
  
  /* Signature Accents (Used Sparingly) */
  --accent-cyan: #00e5c8;
  --accent-cyan-dark: #00b89f;
  --accent-teal: #06b6a0;
  --accent-blue: #38bdf8;
  --accent-glow: rgba(0, 229, 200, 0.15);
  --accent-glow-strong: rgba(0, 229, 200, 0.3);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 200, 0.2);
  
  /* Typography Architecture */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Fluid Typographic Scale (Massive Contrast) */
  --text-display: clamp(3.5rem, 10vw, 8rem);
  --text-h1: clamp(2.5rem, 6vw, 5rem);
  --text-h2: clamp(2rem, 4vw, 3.5rem);
  --text-h3: clamp(1.5rem, 2.5vw, 2.5rem);
  --text-base: clamp(1rem, 1.2vw, 1.125rem);
  
  /* Spacing Rhythm */
  --section-padding: clamp(80px, 15vh, 180px) 0;
  --container-width: 1400px; /* Wider for panoramic feel */
  --container-padding: 0 clamp(24px, 5vw, 80px);
  
  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;
  
  /* Agency-Grade Easings (No Linear/Ease) */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-bounce: 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
  
  /* Cinematic Glows */
  --glow-cyan: 0 0 20px rgba(0, 229, 200, 0.2), 0 0 60px rgba(0, 229, 200, 0.05);
  --glow-cyan-strong: 0 0 30px rgba(0, 229, 200, 0.3), 0 0 80px rgba(0, 229, 200, 0.1);
}

/* ===== BRANDS & MICRO-INTERACTIONS ===== */
::selection {
  background-color: var(--accent-cyan);
  color: #000;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #333;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* Remove smooth scroll here to let Lenis handle it */
  font-size: 16px;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ===== HEADER / NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-normal);
  background: transparent;
}

.header.scrolled {
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.logo svg {
  width: 40px;
  height: 40px;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
@media (min-width: 769px) { .nav-links { position: absolute; left: 50%; transform: translateX(-50%); } }

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-normal);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  width: 100%;
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-cyan);
  color: var(--bg-primary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  font-family: var(--font-body);
}

.cart-btn:hover {
  background: var(--accent-cyan-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 229, 200, 0.3);
}

.cart-btn svg {
  width: 18px;
  height: 18px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 14, 20, 0.4) 0%,
    rgba(10, 14, 20, 0.5) 40%,
    rgba(10, 14, 20, 0.85) 80%,
    rgba(10, 14, 20, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 229, 200, 0.08);
  border: 1px solid rgba(0, 229, 200, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeInUp 1.2s var(--ease-out-expo) 0.2s both;
  text-wrap: balance;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), #a78bfa);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease-in-out infinite;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* ── New Glowing Hero Card Buttons ── */
.btn-hero-glow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 229, 200, 0.15);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-hero-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 229, 200, 0.08), rgba(0, 180, 160, 0.02));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.btn-hero-glow:hover {
  border-color: rgba(0, 229, 200, 0.5);
  transform: translateY(-4px);
  box-shadow:
    0 8px 32px rgba(0, 229, 200, 0.2),
    0 0 0 1px rgba(0, 229, 200, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-hero-glow:hover::before {
  opacity: 1;
}

.btn-hero-icon {
  font-size: 1.6rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 229, 200, 0.3));
}

.btn-hero-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.btn-hero-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  font-family: var(--font-body);
}

.btn-hero-sub {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  font-weight: 500;
  letter-spacing: 0.03em;
  opacity: 0.85;
  font-family: var(--font-body);
}

.btn-hero-glow:hover .btn-hero-label {
  color: #fff;
}

.btn-hero-glow:hover .btn-hero-sub {
  opacity: 1;
}

.btn-hero-glow:hover .btn-hero-icon {
  transform: scale(1.15);
  transition: transform 0.3s ease;
}

/* Keep old btn classes for backward compat */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  font-family: var(--font-body);
}

.btn-primary:hover {
  background: var(--accent-cyan-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 229, 200, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  font-family: var(--font-body);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 229, 200, 0.15);
}

/* Floating particles in hero */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 8s infinite;
}

/* ===== CATEGORIES SECTION ===== */
.categories {
  padding: var(--section-padding);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  gap: 20px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 320px;
  text-align: right;
  line-height: 1.6;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 20px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.category-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 14, 20, 0.9) 0%,
    rgba(10, 14, 20, 0.2) 50%,
    transparent 100%
  );
  transition: var(--transition-normal);
}

.category-card:hover img {
  transform: scale(1.12);
  filter: brightness(1.1);
}

.category-card:hover {
  box-shadow: 0 12px 50px rgba(0, 229, 200, 0.2),
              0 0 0 1px rgba(0, 229, 200, 0.15);
}

.category-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.category-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.category-count {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.category-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-normal);
}

.category-card:hover .category-explore {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NEW ARRIVALS SECTION ===== */
.new-arrivals {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.arrivals-header {
  text-align: center;
  margin-bottom: 60px;
}

.arrivals-header .section-title {
  margin-bottom: 16px;
}

.arrivals-header .section-description {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.arrivals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.arrivals-grid .product-card:nth-child(2) {
  margin-top: 60px; /* Asymmetric middle card */
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--border-glow);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(0, 229, 200, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.product-image {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, filter;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
  filter: brightness(1.15) contrast(1.1);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(0, 229, 200, 0.12);
  border: 1px solid rgba(0, 229, 200, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}

.product-info {
  padding: 24px;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.product-price .currency {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.add-to-cart-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  color: var(--bg-primary);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-back);
  border: none;
  position: relative;
  overflow: hidden;
}

.add-to-cart-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-cyan));
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.add-to-cart-btn:hover {
  transform: scale(1.2) rotate(90deg);
  box-shadow: var(--glow-cyan);
}

.add-to-cart-btn:hover::before {
  opacity: 1;
}

.add-to-cart-btn:active {
  transform: scale(0.9) rotate(90deg);
}

.add-to-cart-btn svg {
  width: 20px;
  height: 20px;
}

/* ===== OUR STORY SECTION ===== */
.our-story {
  padding: var(--section-padding);
}

.story-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.story-images {
  position: relative;
  height: 100%;
  min-height: 480px;
}

.story-images .img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-images .img-float {
  position: absolute;
  bottom: 30px;
  right: -20px;
  width: 55%;
  border-radius: var(--radius-md);
  border: 3px solid var(--bg-card);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.story-content {
  padding: 50px 50px 50px 0;
}

.story-content .section-label {
  margin-bottom: 16px;
}

.story-content .section-title {
  margin-bottom: 24px;
}

.story-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.story-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number span {
  font-size: 1.5rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0 100px;
}

.cta-box {
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-card));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 229, 200, 0.06), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-description {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  font-family: var(--font-body);
  position: relative;
  z-index: 1;
}

.cta-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}

.cta-whatsapp svg {
  width: 22px;
  height: 22px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition-normal);
}

.social-link:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.newsletter-text {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 18px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-normal);
}

.newsletter-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 200, 0.1);
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.newsletter-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  flex-shrink: 0;
}

.newsletter-btn:hover {
  background: var(--accent-cyan-dark);
  transform: translateY(-2px);
}

.newsletter-btn svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  transition: var(--transition-normal);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-particle {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(1);
  }
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6),
                0 0 0 12px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 229, 200, 0.2); }
  50% { box-shadow: 0 0 40px rgba(0, 229, 200, 0.4), 0 0 80px rgba(0, 229, 200, 0.1); }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--ease-out-expo), 
              transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }
.reveal[data-delay="6"] { transition-delay: 0.6s; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 200px 200px 200px;
  }
  
  .category-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .story-wrapper {
    grid-template-columns: 1fr;
  }
  
  .story-images {
    min-height: 350px;
  }
  
  .story-content {
    padding: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 100;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    font-size: 1.3rem;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 200;
  }
  
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-primary, .btn-outline {
    justify-content: center;
    width: 100%;
    max-width: 280px;
  }

  .btn-hero-glow {
    width: 100%;
    max-width: 320px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .section-description {
    text-align: left;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  .category-card:nth-child(1) {
    grid-column: span 1;
    height: 280px;
  }
  
  .category-card {
    height: 200px;
  }
  
  .arrivals-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .story-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .cta-box {
    padding: 40px 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero {
    min-height: 600px;
  }
  
  .product-image {
    height: 220px;
  }
}

/* 4 Column Grid */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* 3 Column Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
}
/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 14, 20, 0.3) 0%,
    rgba(10, 14, 20, 0.4) 40%,
    rgba(10, 14, 20, 0.75) 75%,
    rgba(10, 14, 20, 1) 100%
  );
}

/* ===== UNDERWATER EFFECTS ===== */
.underwater-effects {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Water Caustics Overlay */
.water-caustics {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80px 60px at 20% 30%, rgba(0, 229, 200, 0.06), transparent),
    radial-gradient(ellipse 100px 80px at 60% 20%, rgba(56, 189, 248, 0.05), transparent),
    radial-gradient(ellipse 60px 90px at 80% 60%, rgba(0, 229, 200, 0.04), transparent),
    radial-gradient(ellipse 90px 70px at 40% 70%, rgba(56, 189, 248, 0.05), transparent);
  animation: caustics-shift 8s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes caustics-shift {
  0%, 100% {
    background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%;
    opacity: 0.6;
  }
  25% {
    background-position: 10% 10%, 90% 10%, 90% 90%, 10% 90%;
    opacity: 0.9;
  }
  50% {
    background-position: 20% 5%, 80% 15%, 85% 85%, 15% 95%;
    opacity: 0.7;
  }
  75% {
    background-position: 5% 15%, 95% 5%, 95% 95%, 5% 85%;
    opacity: 1;
  }
}

/* Light Rays */
.light-rays {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ray {
  position: absolute;
  top: -20%;
  width: 2px;
  height: 120%;
  background: linear-gradient(
    to bottom,
    rgba(0, 229, 200, 0.15),
    rgba(0, 229, 200, 0.04) 40%,
    transparent 80%
  );
  transform-origin: top center;
  filter: blur(6px);
}

.ray-1 {
  left: 15%;
  width: 40px;
  transform: rotate(8deg);
  animation: ray-sway 10s ease-in-out infinite;
  opacity: 0.5;
}
.ray-2 {
  left: 35%;
  width: 25px;
  transform: rotate(-5deg);
  animation: ray-sway 12s ease-in-out infinite 2s;
  opacity: 0.35;
}
.ray-3 {
  left: 55%;
  width: 50px;
  transform: rotate(3deg);
  animation: ray-sway 9s ease-in-out infinite 1s;
  opacity: 0.45;
}
.ray-4 {
  left: 72%;
  width: 30px;
  transform: rotate(-8deg);
  animation: ray-sway 11s ease-in-out infinite 3s;
  opacity: 0.3;
}
.ray-5 {
  left: 88%;
  width: 35px;
  transform: rotate(6deg);
  animation: ray-sway 13s ease-in-out infinite 4s;
  opacity: 0.4;
}

@keyframes ray-sway {
  0%, 100% { transform: rotate(var(--ray-start, 5deg)) scaleX(1); opacity: 0.3; }
  25% { transform: rotate(calc(var(--ray-start, 5deg) + 3deg)) scaleX(1.3); opacity: 0.5; }
  50% { transform: rotate(calc(var(--ray-start, 5deg) - 2deg)) scaleX(0.8); opacity: 0.35; }
  75% { transform: rotate(calc(var(--ray-start, 5deg) + 1deg)) scaleX(1.1); opacity: 0.45; }
}

/* Bubbles */
.bubbles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.25),
    rgba(0, 229, 200, 0.08) 50%,
    transparent 70%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: bubble-rise linear infinite;
}

.bubble::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 25%;
  width: 30%;
  height: 20%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: rotate(-30deg);
}

@keyframes bubble-rise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  5% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(-50vh) translateX(var(--bubble-wobble, 20px)) scale(var(--bubble-scale-mid, 1.1));
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-110vh) translateX(calc(var(--bubble-wobble, 20px) * -1)) scale(0.6);
    opacity: 0;
  }
}

/* Swimming Fish */
.swimming-fish {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.fish {
  position: absolute;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  will-change: transform;
}

/* Fish 1 - Orange tropical fish → swims right */
.fish-1 {
  width: 70px;
  top: 35%;
  left: -100px;
  animation: swim-right 18s linear infinite, fish-bob-1 3s ease-in-out infinite;
}

/* Fish 2 - Blue angelfish → swims left */
.fish-2 {
  width: 50px;
  top: 20%;
  right: -80px;
  transform: scaleX(-1);
  animation: swim-left 22s linear infinite 4s, fish-bob-2 4s ease-in-out infinite;
}

/* Fish 3 - Neon tetra → swims right (small, fast) */
.fish-3 {
  width: 40px;
  top: 55%;
  left: -60px;
  animation: swim-right 14s linear infinite 2s, fish-bob-3 2.5s ease-in-out infinite;
}

/* Fish 4 - Gold discus → swims left (bigger, slower) */
.fish-4 {
  width: 65px;
  top: 45%;
  right: -90px;
  transform: scaleX(-1);
  animation: swim-left 25s linear infinite 8s, fish-bob-4 3.5s ease-in-out infinite;
}

/* Fish 5 - Tiny guppy → swims right (very small, fast) */
.fish-5 {
  width: 30px;
  top: 65%;
  left: -50px;
  animation: swim-right 12s linear infinite 6s, fish-bob-5 2s ease-in-out infinite;
}

/* Fish 6 - Purple betta → swims left (elegant, flowing) */
.fish-6 {
  width: 80px;
  top: 30%;
  right: -110px;
  transform: scaleX(-1);
  animation: swim-left 28s linear infinite 12s, fish-bob-6 4.5s ease-in-out infinite;
}

@keyframes swim-right {
  0% { left: -120px; }
  100% { left: calc(100% + 120px); }
}

@keyframes swim-left {
  0% { right: -120px; }
  100% { right: calc(100% + 120px); }
}

/* Each fish has its own unique bobbing pattern */
@keyframes fish-bob-1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  30% { transform: translateY(-15px) rotate(-2deg); }
  60% { transform: translateY(10px) rotate(1.5deg); }
}

@keyframes fish-bob-2 {
  0%, 100% { transform: scaleX(-1) translateY(0px) rotate(0deg); }
  40% { transform: scaleX(-1) translateY(-20px) rotate(3deg); }
  70% { transform: scaleX(-1) translateY(8px) rotate(-1deg); }
}

@keyframes fish-bob-3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes fish-bob-4 {
  0%, 100% { transform: scaleX(-1) translateY(0px) rotate(0deg); }
  35% { transform: scaleX(-1) translateY(-18px) rotate(2deg); }
  65% { transform: scaleX(-1) translateY(12px) rotate(-2deg); }
}

@keyframes fish-bob-5 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(-3deg); }
  75% { transform: translateY(6px) rotate(2deg); }
}

@keyframes fish-bob-6 {
  0%, 100% { transform: scaleX(-1) translateY(0px) rotate(0deg); }
  30% { transform: scaleX(-1) translateY(-25px) rotate(2deg); }
  60% { transform: scaleX(-1) translateY(15px) rotate(-1.5deg); }
}

/* Hero Wave Bottom */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}/* Fish Page - Masonry */
.masonry-grid {
  display: flex;
  gap: 24px;
}
.masonry-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.masonry-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}
.masonry-item:hover {
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.masonry-img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.masonry-caption {
  padding: 16px;
  background: rgba(17, 25, 39, 0.9);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(5px);
  border-top: 1px solid var(--border-color);
}
.masonry-caption h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.masonry-caption p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* 4 Column Grid */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* 3 Column Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* Plants Page - Horizontal Cards */
.horizontal-card {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
  min-height: 350px;
}
.horizontal-card:hover {
  border-color: var(--border-glow);
}
.hc-image {
  flex: 0 0 50%;
  position: relative;
}
.hc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hc-content {
  flex: 0 0 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hc-content h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--accent-cyan);
}
.hc-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.hc-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.hc-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}
.hc-list li::before {
  content: '✓';
  color: var(--accent-cyan);
  font-size: 0.8rem;
}
.horizontal-card.reverse {
  flex-direction: row-reverse;
}
@media (max-width: 768px) {
  .horizontal-card, .horizontal-card.reverse {
    flex-direction: column;
  }
  .hc-image {
    height: 250px;
  }
}

/* Filters Page - ZigZag */
.feature-block {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
}
.feature-block.reverse {
  flex-direction: row-reverse;
}
.fb-image {
  flex: 1;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 4/3;
}
.fb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fb-content {
  flex: 1;
}
.fb-content h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.spec-box {
  background: var(--bg-tertiary);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  margin-top: 24px;
}
@media (max-width: 768px) {
  .feature-block, .feature-block.reverse {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
  }
  .fb-image, .fb-content {
    flex: none;
    width: 100%;
  }
}

/* Tanks Page - Immersive */
.immersive-section {
  position: relative;
  height: 600px;
  margin-bottom: 60px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.immersive-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.immersive-bg img, .immersive-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.immersive-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 20, 1) 0%, rgba(10, 14, 20, 0.2) 60%, transparent 100%);
  z-index: 2;
}
.immersive-content {
  position: relative;
  z-index: 3;
  padding: 60px;
  width: 100%;
}
.immersive-content h3 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .immersive-section {
    height: 400px;
  }
  .immersive-content {
    padding: 30px;
  }
}

/* Accessories Shop layout */
.shop-layout {
  display: flex;
  gap: 40px;
}

.product-card {
  background: rgba(12, 12, 12, 0.4); /* Liquid Glass */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); /* Fluid 600ms curve */
  position: relative;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: rgba(20, 20, 20, 0.6);
  border-color: rgba(0, 229, 200, 0.3); /* Cyan Accent */
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(0, 229, 200, 0.15), /* Subtle cyan glow */
              -10px 0 30px rgba(56, 189, 248, 0.1), /* Chromatic split blue */
              10px 0 30px rgba(6, 182, 160, 0.1), /* Chromatic split teal */
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
  flex: 0 0 250px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}
.sidebar-menu:last-child {
  margin-bottom: 0;
}
.sidebar-menu li {
  margin-bottom: 8px;
}
.sidebar-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  padding: 6px 0;
  transition: var(--transition-normal);
}
.sidebar-menu a:hover, .sidebar-menu a.active {
  color: var(--accent-cyan);
  padding-left: 8px;
}
.shop-content {
  flex: 1;
}
.compact-card .product-image {
  height: 180px;
}
@media (max-width: 768px) {
  .shop-layout {
    flex-direction: column;
  }
  .sidebar-nav {
    flex: none;
    width: 100%;
    position: static;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Enhanced Section Transitions */
.section-title {
  text-wrap: balance;
}

/* Cursor follower for magnetic effect */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 200, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* Enhanced product badge */
.product-badge {
  animation: glow-pulse 3s ease-in-out infinite;
}

/* Enhanced hero badge */
.hero-badge {
  animation: fadeInDown 0.8s var(--ease-out-expo) forwards, glow-pulse 4s ease-in-out 1s infinite;
}

/* Social link enhanced hover */
.social-link {
  transition: all 0.4s var(--ease-out-back);
}

.social-link:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border-color: var(--accent-cyan);
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--glow-cyan);
}

/* Enhanced CTA box */
.cta-box {
  transition: all 0.5s var(--ease-out-expo);
}

.cta-box:hover {
  border-color: rgba(0, 229, 200, 0.15);
  box-shadow: 0 20px 80px rgba(0, 229, 200, 0.08);
}

/* Stat number glow */
.stat-number {
  text-shadow: 0 0 30px rgba(0, 229, 200, 0.3);
}

/* Enhanced newsletter input */
.newsletter-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 200, 0.15), var(--glow-cyan);
}

/* Image shimmer loading */
.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 200, 0.03), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

/* ===== TOP-DESIGN SCROLL REVEALS ===== */
[data-scroll] {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-scroll="in"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays */
[data-scroll-delay="1"] { transition-delay: 0.1s; }
[data-scroll-delay="2"] { transition-delay: 0.2s; }
[data-scroll-delay="3"] { transition-delay: 0.3s; }
[data-scroll-delay="4"] { transition-delay: 0.4s; }

/* Asymmetrical Layouts */
.categories-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}
.category-card:nth-child(1) { grid-column: 1 / span 7; }
.category-card:nth-child(2) { grid-column: 8 / span 5; }
.category-card:nth-child(3) { grid-column: 1 / span 5; }
.category-card:nth-child(4) { grid-column: 6 / span 7; }

/* Micro-interaction: Magnetic Button */
.btn {
  /* Using pseudo element for hover to keep text crisp */
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.1);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}
.btn:hover::before {
  opacity: 1;
}



/* ===== PLANT CARE LEVELS ===== */
.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.care-item {
  background: rgba(12, 12, 12, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.care-item:hover {
  transform: translateY(-8px);
  background: rgba(20, 20, 20, 0.6);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(0, 229, 200, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.care-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
  background: linear-gradient(135deg, rgba(0, 229, 200, 0.2), transparent);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 200, 0.1);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.care-item:hover .care-icon {
  transform: scale(1.1) rotate(5deg);
  border-color: rgba(0, 229, 200, 0.3);
  box-shadow: 0 0 20px rgba(0, 229, 200, 0.2);
}

.care-item h3 {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
}

.care-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem !important; /* Override inline styles */
  margin: 0;
}

/* ===== TECH ROW (FILTERS PAGE) ===== */
.tech-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.tech-row.reverse {
  flex-direction: row-reverse;
}

.tech-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
              0 0 0 1px rgba(255,255,255,0.05);
}

.tech-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.tech-row:hover .tech-image img {
  transform: scale(1.05);
}

.tech-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.tech-content {
  flex: 1;
}

.tech-specs-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.spec-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .tech-row, .tech-row.reverse {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
  }
}

/* ===== TANK SHOWCASE (TANKS PAGE) ===== */
.tank-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tank-showcase img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tank-showcase:hover img {
  transform: scale(1.05);
}

.tank-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tank-overlay h3 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.tank-spec-card {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: inline-flex;
}

@media (max-width: 768px) {
  .tank-spec-card {
    flex-direction: column;
    gap: 16px;
    display: flex;
  }
  .tank-showcase img {
    height: 400px;
  }
}

/* ===== LIQUID GLASS AMBIENT BACKGROUND & OVERRIDES ===== */
.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background-color: #050505;
}
.ambient-background .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: float 20s infinite ease-in-out alternate;
}
.ambient-background .orb-1 {
  width: 600px;
  height: 600px;
  background: #00e5c8;
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}
.ambient-background .orb-2 {
  width: 500px;
  height: 500px;
  background: #38bdf8;
  bottom: -20%;
  right: -10%;
  animation-delay: -5s;
}
.ambient-background .orb-3 {
  width: 400px;
  height: 400px;
  background: #06b6a0;
  top: 40%;
  left: 60%;
  animation-delay: -10s;
}
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(0.9); }
}

/* Force liquid glass on essential components */
.product-card, .category-card, .cart-sidebar, .tank-spec-card, .feature-card {
  background: rgba(20, 20, 25, 0.3) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15),
              0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

.product-card:hover, .category-card:hover {
  background: rgba(30, 30, 40, 0.4) !important;
  border-color: rgba(0, 229, 200, 0.3) !important;
  border-top-color: rgba(0, 229, 200, 0.5) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2),
              0 12px 40px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(0, 229, 200, 0.15) !important;
}

.header {
  background: rgba(5, 5, 5, 0.2) !important;
  backdrop-filter: blur(30px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.footer {
  background: rgba(10, 10, 12, 0.4) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.hero {
  background: transparent !important;
}




/* Logo Text Override */
.logo-text {
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
}


/* ========================================================= */
/* FINAL RESPONSIVE OVERRIDES (MOBILE/TABLET)                */
/* ========================================================= */

@media (max-width: 1024px) {
  /* Fix Categories Grid on Tablet (2 columns instead of 4 asymmetrical) */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: auto !important;
    gap: 20px !important;
  }
  .category-card:nth-child(1),
  .category-card:nth-child(2),
  .category-card:nth-child(3),
  .category-card:nth-child(4) { 
    grid-column: span 1 !important; 
    height: 300px;
  }
  
  /* Generic Grids */
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
  
  /* Horizontal Cards (Plants page) */
  .horizontal-card {
    flex-direction: column !important;
  }
  .horizontal-card > div:first-child {
    flex: none !important;
    width: 100% !important;
    height: 300px !important;
  }
  .horizontal-card img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 20, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 28px !important;
    z-index: 100;
  }
  
  .nav-links.active {
    display: flex !important;
  }
  
  .mobile-menu-btn {
    display: block !important;
    z-index: 200;
  }
  
  /* Shop Layout (Sidebar) */
  .shop-layout {
    flex-direction: column !important;
  }
  .sidebar-nav {
    width: 100% !important;
    position: static !important;
    margin-bottom: 30px;
  }

  /* Masonry Grid (Fish page) */
  .masonry-grid {
    flex-direction: column !important;
  }
  
  /* Tank Spec Card */
  .tank-spec-card {
    flex-direction: column !important;
  }
  
  /* Arrivals / Product Cards */
  .arrivals-grid {
    grid-template-columns: 1fr !important;
  }
  .arrivals-grid .product-card:nth-child(2) {
    margin-top: 0 !important;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem) !important;
  }
  
  .hero-buttons {
    flex-direction: column !important;
  }
  
  .btn-hero-glow, .btn-primary, .btn-outline {
    width: 100% !important;
    max-width: none !important;
    justify-content: center !important;
  }
}

@media (max-width: 600px) {
  /* Switch grids to 1 column */
  .grid-4, .grid-3 { 
    grid-template-columns: 1fr !important; 
  }
  
  /* Categories Grid to 1 column */
  .categories-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ===== MOBILE SPACE MANAGEMENT ===== */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0 !important;
    --container-padding: 0 20px !important;
  }
  
  .section-header {
    margin-bottom: 30px !important;
  }
  
  .hero {
    min-height: 100vh !important;
  }
  
  .categories-grid, .arrivals-grid, .grid-4, .grid-3 {
    gap: 16px !important;
  }
  
  .product-info {
    padding: 16px !important;
  }
  
  .our-story {
    padding: 60px 0 !important;
  }
  
  .footer {
    padding: 40px 0 20px 0 !important;
  }
}


/* ===== BULLETPROOF MOBILE OVERRIDES ===== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

@media (max-width: 600px) {
  /* Force all grids into single column stacks */
  .care-grid, .footer-grid, .categories-grid, .arrivals-grid, .masonry-grid, .grid-4, .grid-3 {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  
  /* Force all horizontal layouts to stack */
  .horizontal-card, .tank-spec-card, .shop-layout, .hero-buttons, .footer-bottom {
    flex-direction: column !important;
  }

  /* Fix navigation overlay size */
  .nav-links {
    width: 100vw !important;
    height: 100vh !important;
  }
  
  /* Fix image widths inside cards to prevent overflow */
  .product-card img, .category-card img, .masonry-item img, .horizontal-card img {
    max-width: 100% !important;
    height: auto;
  }
  
  /* Ensure hero title never overflows */
  .hero-title {
    font-size: 12vw !important;
    line-height: 1.1 !important;
    word-wrap: break-word !important;
  }
}
