/* ============================================
   PLASTCUSTOM - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
  --color-primary: #1a1a2e;
  --color-secondary: #16213e;
  --color-accent: #0f3460;
  --color-highlight: #9DBB8F;
  --color-accent-red: #3A6331;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray: #f5f5f5;
  --color-text: #333333;
  --color-text-light: #666666;
  
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  
  --container-max: 1280px;
  --container-padding: 24px;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container--fluid {
  max-width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition-medium);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--container-padding);
}

.header-logo {
  flex-shrink: 0;
}

.header-logo a {
  display: block;
}

.logo-svg {
  width: 280px;
  height: 36px;
  color: var(--color-primary);
}

/* Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 8px 16px;
  border-radius: 6px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--color-highlight);
  border-radius: 1px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
}

.dropdown-toggle .arrow {
  font-size: 0.7rem;
  transition: var(--transition-fast);
}

.nav-dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
  border: 1px solid rgba(0,0,0,0.06);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--color-text);
}

.dropdown-menu a:hover {
  background: var(--color-gray);
  color: var(--color-accent);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition-fast);
  border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 16px var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1.1rem;
}

.mobile-nav-link:hover {
  background: var(--color-gray);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-medium);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ============================================
   SECTION UTILITIES
   ============================================ */
.section-header {
  margin-bottom: 60px;
}

.section-header.center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent-red);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-light);
}

.section-text {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(168,208,230,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(233,69,96,0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(15,52,96,0.3) 0%, transparent 50%);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
  opacity: 0.9;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 120px var(--container-padding) 80px;
}

.hero-content {
  text-align: left;
  max-width: 620px;
}

.hero-cube-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   3D CUBE (Hero)
   ============================================ */
@keyframes spin3d {
  from { transform: rotateX(-16deg) rotateY(0deg); }
  to { transform: rotateX(-16deg) rotateY(360deg); }
}

.cube-container {
  --cube-size: min(280px, 70vw);
  perspective: 1200px;
  width: var(--cube-size);
  height: var(--cube-size);
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: spin3d 12s linear infinite;
  animation-play-state: running;
}

.cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(157, 187, 143, 0.5);
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.cube-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cube-face:nth-child(1) { transform: translateZ(calc(var(--cube-size) / 2)); }
.cube-face:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2)); }
.cube-face:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--cube-size) / 2)); }
.cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2)); }
.cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--cube-size) / 2)); }

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-cube-wrap {
    order: -1;
    margin-bottom: 16px;
  }

  .cube-container {
    --cube-size: min(220px, 60vw);
  }
}

.hero-label {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  color: var(--color-highlight);
  letter-spacing: 4px;
  text-transform: lowercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero-title .line {
  display: block;
}

.hero-title .highlight {
  color: var(--color-highlight);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn-outline {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}

.hero-cta .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-highlight), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   STICKERS SECTION
   ============================================ */
.stickers-section {
  padding: 120px 0;
  background: var(--color-white);
}

.stickers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.stickers-content {
  max-width: 520px;
}

.feature-list {
  list-style: none;
  margin: 24px 0 32px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--color-text);
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--color-highlight);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sticker-showcase {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticker-item {
  position: absolute;
  width: 180px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
  transition: var(--transition-medium);
}

.sticker-item:hover {
  transform: scale(1.1) rotate(0deg) !important;
}

.sticker-1 {
  top: 10%;
  left: 15%;
  transform: rotate(-8deg);
  animation: float1 6s ease-in-out infinite;
}

.sticker-2 {
  top: 35%;
  right: 10%;
  transform: rotate(12deg);
  width: 160px;
  animation: float2 5s ease-in-out infinite;
}

.sticker-3 {
  bottom: 15%;
  left: 25%;
  transform: rotate(-5deg);
  width: 140px;
  animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-15px); }
}

@keyframes float2 {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50% { transform: rotate(12deg) translateY(-20px); }
}

@keyframes float3 {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-10px); }
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-section {
  padding: 120px 0;
  background: var(--color-gray);
}

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

.category-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition-medium);
  border: 1px solid rgba(0,0,0,0.04);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--color-accent);
}

.category-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.category-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.category-link:hover {
  color: var(--color-accent-red);
  gap: 8px;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  padding: 100px 0;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(168,208,230,0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(233,69,96,0.08) 0%, transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--color-white);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-highlight);
}

.stat-label {
  display: block;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  font-weight: 400;
}

/* ============================================
   BAGS SECTION
   ============================================ */
.bags-section {
  padding: 120px 0;
  background: var(--color-white);
}

.bags-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.bag-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bag-item {
  max-width: 350px;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.15));
}

.bags-content {
  max-width: 520px;
}

.price-highlight {
  background: var(--color-gray);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0 32px;
  border-left: 4px solid var(--color-highlight);
}

.price {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--color-primary);
}

.price-note {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
  padding: 120px 0;
  background: var(--color-primary);
  color: var(--color-white);
}

.process-section .section-title {
  color: var(--color-white);
}

.process-visual {
  max-width: 800px;
  margin: 0 auto;
}

.process-layers {
  position: relative;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
}

.layer {
  position: absolute;
  inset: 0;
  transition: var(--transition-slow);
}

.layer svg {
  width: 100%;
  height: 100%;
}

.layer-1 { z-index: 3; }
.layer-2 { z-index: 2; transform: translateX(20px) translateY(20px); opacity: 0.7; }
.layer-3 { z-index: 1; transform: translateX(40px) translateY(40px); opacity: 0.4; }

.process-layers:hover .layer-1 {
  transform: translateX(-30px);
}

.process-layers:hover .layer-2 {
  transform: translateX(0) translateY(0);
  opacity: 1;
}

.process-layers:hover .layer-3 {
  transform: translateX(30px) translateY(30px);
  opacity: 0.6;
}

.process-caption {
  text-align: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   SMART SECTION
   ============================================ */
.smart-section {
  padding: 120px 0;
  background: var(--color-gray);
}

.smart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.smart-content {
  max-width: 520px;
}

.smart-content .note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-style: italic;
}

.design-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.design-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  border: 1px solid rgba(0,0,0,0.04);
}

.design-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.card-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--color-highlight);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}

.design-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.design-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ============================================
   ANIMATION SECTION
   ============================================ */
.animation-section {
  padding: 120px 0;
  background: var(--color-white);
}

.animation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.animation-showcase {
  display: flex;
  justify-content: center;
}

.anim-frame {
  max-width: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.animation-content {
  max-width: 520px;
}

.animation-content .note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* ============================================
   OPTIONS SECTION
   ============================================ */
.options-section {
  padding: 120px 0;
  background: var(--color-gray);
}

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

.option-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 48px 32px;
  transition: var(--transition-medium);
  border: 1px solid rgba(0,0,0,0.04);
}

.option-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.option-icon {
  width: 56px;
  height: 56px;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.option-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.option-subtitle {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-accent-red);
  margin-bottom: 16px;
}

.option-text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

.option-highlight {
  background: linear-gradient(135deg, rgba(168,208,230,0.2), rgba(168,208,230,0.05));
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.option-highlight p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.option-highlight .btn {
  margin-top: 12px;
}

.option-services {
  margin-bottom: 20px;
}

.option-services p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.option-services ul {
  list-style: none;
  padding: 0;
}

.option-services li {
  font-size: 0.85rem;
  color: var(--color-text-light);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.option-services li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-highlight);
}

.option-bundle {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 12px;
  padding: 20px;
}

.option-bundle p {
  font-size: 0.9rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 120px 0;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(168,208,230,0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(233,69,96,0.08) 0%, transparent 40%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-white);
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-outline {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}

.cta-buttons .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo-svg {
  width: 240px;
  height: 32px;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.social-links a:hover {
  background: var(--color-highlight);
  color: var(--color-primary);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--color-white);
}

.footer-links a {
  display: block;
  padding: 8px 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--color-highlight);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  padding: 6px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   ANIMATIONS & SCROLL EFFECTS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .stickers-grid,
  .bags-grid,
  .smart-grid,
  .animation-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .stickers-visual,
  .bags-visual,
  .animation-visual {
    order: -1;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .options-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .process-layers {
    height: 250px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .design-cards {
    gap: 16px;
  }
  
  .design-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 16px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-suffix {
    font-size: 1.5rem;
  }
  
  .sticker-showcase {
    height: 300px;
  }
  
  .sticker-item {
    width: 120px;
  }
  
  .option-card {
    padding: 32px 24px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }

  /* Keep the hero cube spinning even with reduced motion enabled,
     since it's a slow, non-flashing decorative brand element */
  .cube {
    animation-duration: 12s !important;
    animation-iteration-count: infinite !important;
  }
}

/* ============================================
   HEADER CTA (desktop only)
   ============================================ */
.hidden-mobile-cta {
  display: inline-flex;
}

@media (max-width: 768px) {
  .hidden-mobile-cta {
    display: none;
  }
}

/* ============================================
   PRODUCT FILTERS + GRID
   ============================================ */
.product-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
}

.filter-btn {
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid rgba(0,0,0,0.1);
  background: var(--color-white);
  color: var(--color-text);
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--color-accent-red);
  color: var(--color-accent-red);
}

.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.product-card {
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-medium);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  aspect-ratio: 1 / 1;
  background: var(--color-gray);
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-body {
  padding: 20px;
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.2;
}

.product-card-body p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 12px;
}

.product-specs {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent-red);
}

.bg-highlight-box {
  background: var(--color-gray);
  border-left: 4px solid var(--color-highlight);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.bg-highlight-box h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.bg-highlight-box p {
  color: var(--color-text-light);
  margin-bottom: 20px;
}

/* ============================================
   SIZE GUIDE GRID
   ============================================ */
.size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.size-card {
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-medium);
}

.size-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.size-card-image {
  aspect-ratio: 1 / 1;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.size-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.size-card-body {
  padding: 16px 20px 20px;
}

.size-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--color-accent-red);
  text-align: center;
}

.size-desc {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-align: center;
  margin: 6px 0 16px;
}

.size-specs {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.size-specs div {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

.size-specs span {
  color: var(--color-text-light);
}

.size-specs strong {
  color: var(--color-accent-red);
  font-weight: 700;
}

/* ============================================
   PROCESS STEPS (Como Funciona)
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px;
  transition: var(--transition-medium);
}

.process-step:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.process-step-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--color-highlight);
  margin-bottom: 12px;
}

.process-step h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .size-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .bg-highlight-box {
    padding: 28px 20px;
  }
}

/* ============================================
   SIZE CHART BLOCK (product-specific size table)
   ============================================ */
.size-chart-block {
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  margin-bottom: 40px;
}

.size-chart-block h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.size-chart-block p {
  color: var(--color-text-light);
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.size-chart-block img {
  max-width: 100%;
  width: 560px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

/* ============================================
   IN-USE GALLERY
   ============================================ */
.use-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.use-gallery-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.use-gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.use-gallery-item:hover img {
  transform: scale(1.05);
}

.use-gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .use-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .use-gallery {
    grid-template-columns: 1fr;
  }

  .size-chart-block {
    padding: 24px 16px;
  }
}

/* ============================================
   PERSONALIZATION EXAMPLE GALLERY
   ============================================ */
.example-gallery-header {
  text-align: center;
  margin-bottom: 32px;
}

.example-gallery-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.example-gallery-header p {
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto;
}

.example-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.example-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
}

.example-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.example-item:hover img {
  transform: scale(1.08);
}

.example-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 10px 8px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .example-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .example-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Premium finishing layer */
:root {
  --color-primary: #101426;
  --color-secondary: #171c33;
  --color-accent: #315f9b;
  --color-highlight: #b6d59c;
  --color-accent-red: #3f7837;
  --shadow-lg: 0 18px 55px rgba(16,20,38,.16);
}
html { scroll-padding-top: 84px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 3000; transform: translateY(-180%); padding: 12px 18px; border-radius: 999px; background: var(--color-highlight); color: var(--color-primary); font-weight: 700; box-shadow: var(--shadow-md); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
#page:focus { outline: none; }
.brand-link { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 40px; height: 40px; object-fit: contain; }
.header-logo img, .footer-brand img { width: 40px; height: 40px; object-fit: contain; }
.footer-brand-lockup { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-wordmark { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: #fff; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--color-highlight); outline-offset: 4px; }
.nav-dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown.is-open .arrow { transform: rotate(180deg); }
.dropdown-menu a:focus-visible { outline-offset: -2px; }
.product-card[hidden] { display: none; }
.product-card { animation: cardReveal .35s ease both; }
@keyframes cardReveal { from { opacity: .2; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), #26365f); box-shadow: 0 8px 24px rgba(16,20,38,.18); }
.btn-primary:hover { background: linear-gradient(135deg, #26365f, var(--color-primary)); }
.hero { isolation: isolate; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 75% 45%, rgba(182,213,156,.12), transparent 25%); z-index: 1; }
.hero-grid, .hero-scroll { z-index: 2; }
.section-tag { letter-spacing: 2.5px; }
.category-card, .product-card, .size-card, .option-card { box-shadow: 0 4px 18px rgba(16,20,38,.04); }
.category-card:hover, .product-card:hover, .size-card:hover, .option-card:hover { box-shadow: var(--shadow-lg); }
@media (max-width: 768px) { .header-inner { height: 68px; } .mobile-menu { top: 68px; } .hero-grid { padding-top: 108px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cube { animation: none !important; }
}


/* ============================================
   Accessibility and resilient progressive enhancement
   ============================================ */
#conteudo:focus {
  outline: 3px solid var(--color-highlight);
  outline-offset: -3px;
}

/* Motion is an enhancement: content is visible until JS opts into animation. */
.js-enabled .fade-in,
.js-enabled .slide-in-left,
.js-enabled .slide-in-right,
.js-enabled .scale-in {
  opacity: 0;
}

.js-enabled .fade-in.visible,
.js-enabled .slide-in-left.visible,
.js-enabled .slide-in-right.visible,
.js-enabled .scale-in.visible {
  opacity: 1;
}

/* Keep animated transforms inside the viewport while they are entering. */
.js-enabled .slide-in-left { transform: translate3d(-24px, 0, 0); }
.js-enabled .slide-in-right { transform: translate3d(24px, 0, 0); }
.js-enabled .slide-in-left.visible,
.js-enabled .slide-in-right.visible { transform: translate3d(0, 0, 0); }

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 96px;
    padding-bottom: 56px;
  }

  .hero-content {
    order: 1;
  }

  .hero-cube-wrap {
    order: 2;
    margin: 24px auto 0;
  }

  .cube-container {
    --cube-size: min(180px, 48vw);
  }
}

@media (max-width: 480px) {
  .hero-grid {
    padding-top: 88px;
    padding-bottom: 48px;
    gap: 22px;
  }

  .hero-cube-wrap {
    margin-top: 8px;
  }

  .cube-container {
    --cube-size: min(150px, 42vw);
  }

  .hero-label {
    letter-spacing: 2px;
    font-size: .82rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 28px;
  }
}

/* Prevent decorative entrance motion from creating horizontal scroll. */
.hero,
.stickers-section,
.smart-section,
.animation-section,
.categories-section,
.options-section,
.bags-section,
.process-section,
.cta-section {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .hero,
  .stickers-section,
  .smart-section,
  .animation-section,
  .categories-section,
  .options-section,
  .bags-section,
  .process-section,
  .cta-section {
    overflow-x: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cube { animation: none !important; }
  .js-enabled .fade-in,
  .js-enabled .slide-in-left,
  .js-enabled .slide-in-right,
  .js-enabled .scale-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

html:not(.js-enabled) .fade-in,
html:not(.js-enabled) .slide-in-left,
html:not(.js-enabled) .slide-in-right,
html:not(.js-enabled) .scale-in {
  opacity: 1;
  transform: none;
}
