:root {
  --primary-blue: #0047AB; /* Azul Cobalto Vibrante */
  --primary-dark: #002e70;
  --secondary-blue: #00d4ff; /* Azul Ciano Neon */
  --bg-color: #f8f9fa;
  --text-color: #333;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --header-height: 70px; /* Fixed header height variable */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navbar */
.navbar {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
  padding: 0;
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100vw;
}

/* Add padding to body to prevent content from being hidden behind fixed navbar */
body {
  padding-top: var(--header-height);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%; /* Ensure content is vertically centered within fixed header height */
}

/* Brand Styles */
.brand {
  color: var(--white);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  letter-spacing: -0.5px;
}

.brand-icon-wrapper {
  background-color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transform: rotate(-5deg);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand:hover .brand-icon-wrapper {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.brand-svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-blue);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-highlight {
  color: var(--secondary-blue);
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Nav Menu Wrapper */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Nav Links Styles */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  background-color: var(--secondary-blue);
  box-shadow: 0 0 8px var(--secondary-blue);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-item:hover {
  color: var(--white);
  text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

.nav-item:hover::after {
  width: 100%;
}

/* Admin Button Styles */
.btn-admin {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-admin:hover {
  background-color: var(--white);
  color: var(--primary-blue);
  border-color: var(--white);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.admin-icon {
  width: 16px;
  height: 16px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
  /* Mobile Menu Button */
  .mobile-menu-btn {
    display: flex;
    position: relative;
    z-index: 1100; /* Ensure button is above menu */
  }

  /* Fullscreen Modern Mobile Menu */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen to the right */
    left: auto;   /* Override default left: 0 if set */
    width: 70%;   /* Slightly wider for comfort */
    min-width: 260px; /* Ensure readability on small screens */
    height: 100vh;
    background: rgba(0, 46, 112, 0.98); /* Azul Escuro para combinar com o header */
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding-bottom: 2rem;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu.active {
    right: 0; /* Slide in */
    opacity: 1;
    visibility: visible;
    /* Simulate backdrop overlay for the rest of the screen */
    box-shadow: -5px 0 30px rgba(0,0,0,0.1), 0 0 0 100vmax rgba(0, 0, 0, 0.2);
  }

  .nav-links {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    text-align: center;
  }

  .nav-item {
    font-size: 1.5rem; /* Slightly smaller than fullscreen */
    font-weight: 700;
    color: var(--white); /* Texto branco para fundo escuro */
    display: inline-block;
    transform: translateX(50px); /* Slide from right */
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
  }
  
  .nav-item:hover {
      color: var(--secondary-blue);
      transform: scale(1.1);
  }
  
  .nav-item::after {
      display: none;
  }

  /* Staggered Animation for Menu Items */
  .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
  .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.2s; }
  .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.3s; }
  .nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.4s; }

  .nav-menu.active .nav-item {
    transform: translateX(0);
    opacity: 1;
  }

  .btn-admin {
      margin-top: 1.5rem;
      padding: 0.8rem 2rem;
      font-size: 1rem;
      transform: translateX(50px);
      opacity: 0;
      transition: all 0.5s ease 0.5s;
  }
  
  .nav-menu.active .btn-admin {
      transform: translateX(0);
      opacity: 1;
  }

  /* Hamburger Animation */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
    background-color: var(--secondary-blue);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
    background-color: var(--secondary-blue);
  }
}

/* Hero Section */
.hero {
  min-height: calc(100vh - var(--header-height)); /* Subtract header height */
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--bg-color);
  background-image: radial-gradient(var(--primary-blue) 0.5px, transparent 0.5px), radial-gradient(var(--primary-blue) 0.5px, var(--bg-color) 0.5px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  background-blend-mode: overlay;
  /* opacity: 0.95; Removed to fix color mismatch with wave */
  /* overflow: hidden; Removed by user to fix white border */
  padding: 2rem 0; /* Add padding to prevent cut-off on small screens */
  width: 100%;
  max-width: 100vw;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
}

.hero-text {
  flex: 1;
  z-index: 2;
}

.hero-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.highlight-text {
  background: linear-gradient(120deg, var(--primary-blue), #00d4ff, var(--primary-blue));
  background-size: 200% auto;
  animation: shine 5s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #555;
  max-width: 500px;
  text-align: justify;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 71, 171, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 71, 171, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-blue);
  color: var(--white);
  width: 100%;
}

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

.btn-outline:hover {
  background-color: rgba(0, 71, 171, 0.05);
  color: var(--primary-dark);
}

/* CSS Shirt Art */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 500px;
}

.shirt-composition {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.85); /* Slightly smaller as requested */
}

.shirt-bg-circle {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at center, rgba(0, 71, 171, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shirt-bg-circle::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(0, 71, 171, 0.15);
  border-radius: 45% 55% 70% 30% / 45% 30% 70% 55%;
  animation: rotate-blob 20s linear infinite;
}

.shirt-bg-circle::after {
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  border: 1px solid rgba(0, 71, 171, 0.1);
  border-radius: 55% 45% 30% 70% / 55% 70% 30% 45%;
  animation: rotate-blob 15s linear infinite reverse;
}

@keyframes rotate-blob {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.shirt-art {
  position: relative;
  width: 220px;
  height: 300px;
  z-index: 1;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
  animation: float 6s ease-in-out infinite;
}

.shirt-body {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border-radius: 20px 20px 10px 10px;
  position: relative;
  /* overflow: hidden; */
  /* Oxford Shirt Pattern */
  background-image: 
    linear-gradient(90deg, transparent 50%, rgba(0, 71, 171, 0.03) 50%),
    linear-gradient(0deg, transparent 50%, rgba(0, 71, 171, 0.03) 50%);
  background-size: 8px 8px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
}

.collar-left, .collar-right {
  position: absolute;
  top: -15px;
  width: 60px;
  height: 40px;
  background-color: #fff;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  background-image: linear-gradient(to bottom, #fff, #f8f9fa);
}

.collar-left {
  left: 50px;
  transform: skewY(15deg);
  border-radius: 5px 0 5px 5px;
}

.collar-right {
  right: 50px;
  transform: skewY(-15deg);
  border-radius: 0 5px 5px 5px;
}

.sleeve-left, .sleeve-right {
  position: absolute;
  top: 10px;
  width: 50px;
  height: 120px;
  background-color: #f8f9fa;
  z-index: -1;
  border-radius: 10px;
}

.sleeve-left {
  left: -25px;
  transform: rotate(15deg);
}

.sleeve-right {
  right: -25px;
  transform: rotate(-15deg);
}

.buttons-strip {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 100%;
  background-color: #f8f9fa;
  border-left: 1px dashed #ddd;
  border-right: 1px dashed #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 15px;
  gap: 30px;
}

.btn-dot {
  width: 8px;
  height: 8px;
  background-color: #ddd;
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.print-area {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border: 2px dashed var(--secondary-blue);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 212, 255, 0.05);
  color: var(--primary-blue);
}

.print-icon {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.print-text {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pocket {
  position: absolute;
  top: 80px;
  left: 30px;
  width: 50px;
  height: 60px;
  border: 1px solid #eee;
  border-radius: 0 0 15px 15px;
  background-color: #fff;
}

.pocket-trim {
  width: 100%;
  height: 15px;
  border-bottom: 1px solid #eee;
}

.float-tag {
  position: absolute;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}

.tag-1 {
  top: 20%;
  left: -20px;
  animation-delay: 1s;
}

.tag-2 {
  bottom: 20%;
  right: -20px;
  animation-delay: 2s;
}

.tag-icon {
  font-size: 1.2rem;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.custom-shape-divider-bottom-1678901234 {
    position: absolute;
    bottom: -2px; /* Increased overlap to prevent gap */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 10; /* Ensure it stays on top */
}

.custom-shape-divider-bottom-1678901234 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-bottom-1678901234 .shape-fill {
    fill: #002e70; /* Using explicit hex code to ensure match */
    fill-opacity: 1;
    opacity: 1;
}

/* Campaign Section Redesigned */
.campaign-section {
  padding: 8rem 0;
  background-color: #002e70; /* Explicit hex */
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.campaign-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* More space for text */
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

.section-subtitle {
  display: inline-block;
  background: rgba(0, 212, 255, 0.1);
  color: var(--secondary-blue);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.campaign-info h2 {
  font-size: 3rem; /* Larger title */
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-weight: 800;
}

.campaign-info p {
  color: #e0e0e0;
  margin-bottom: 3rem;
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: left; /* Back to left for cleaner look on desktop, justify on mobile if needed */
  opacity: 0.9;
}

.campaign-features li {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--secondary-blue);
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-text strong {
  display: block;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.feature-text span {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
}

.feature-text a {
  color: var(--secondary-blue);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.feature-text a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* Reveal Animation Classes */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
  transition-delay: 0.2s; /* Delay for sequential effect */
}

.reveal-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Delay Utilities */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Modern Card - Transparent Blue Style */
.campaign-card {
  background: rgba(0, 20, 50, 0.6); /* Slightly darker for better text contrast */
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 212, 255, 0.1);
  padding: 3.5rem 2.5rem; /* More padding */
  border-radius: 30px;
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 450px;
  text-align: center;
  position: relative;
}

.campaign-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px -10px rgba(0, 212, 255, 0.15); /* Blue glow */
}

.card-header {
  margin-bottom: 2rem;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-flex;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
  color: var(--secondary-blue);
}

.campaign-card h3 {
  color: var(--white);
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.campaign-card p {
  color: #ccc;
  font-size: 0.95rem;
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.5;
}

.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-code {
  width: 100%;
  padding: 1.2rem 1.2rem 1.2rem 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05); /* Lighter touch */
  border-radius: 12px; /* Slightly squarer */
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  transition: all 0.3s ease;
  letter-spacing: 2px;
}

.input-code::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1rem;
}

.input-code:focus {
  border-color: var(--secondary-blue);
  background-color: rgba(255, 255, 255, 0.1);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15);
  transform: translateY(-2px);
  color: var(--white);
}

.input-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-blue);
  font-weight: 700;
  font-size: 1.4rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.btn-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--secondary-blue), #00d4ff);
  color: var(--primary-dark);
  border: none;
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4);
  filter: brightness(1.1);
}

/* Mobile Adjustments for Campaign */
@media (max-width: 768px) {
  .campaign-container {
    grid-template-columns: 1fr;
    gap: 3rem; /* Reduced gap */
    text-align: center;
    width: 100%;
    /* overflow: hidden; Removed by user to fix white border *//* Prevent internal overflow */
    padding: 0 1rem;
  }
  
  .campaign-info {
    order: 1;
    width: 100%;
  }
  
  .campaign-info p {
    text-align: center; /* Center text on mobile */
  }

  .campaign-form-wrapper {
    order: 2;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .campaign-card {
    max-width: 100%;
    width: 100%;
  }
  
  .campaign-features li {
    text-align: left;
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box; /* Ensure padding doesn't add to width */
  }
}

/* How it Works Section - Minimal Timeline */
.how-it-works {
  padding: 6rem 0;
  background-color: var(--white);
  text-align: center;
  position: relative;
  
}

/* Wave Divider Top */
.custom-shape-divider-top-how-it-works {
    position: absolute;
    top: -2px; /* Overlap to prevent white line gap */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-how-it-works svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.custom-shape-divider-top-how-it-works .shape-fill {
    fill: #002e70; /* Match explicitly to previous section */
}

/* Restore minimal styles without background patterns */
.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.badge-pill {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary-blue);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.02);
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 900px; /* Reduced width for compactness */
  margin: 0 auto;
  padding: 10px 0;
  z-index: 1;
}

.timeline-line {
  position: absolute;
  top: 25px; /* Center with marker */
  left: 50px; /* Start after first marker */
  right: 50px; /* End before last marker */
  height: 2px;
  background: #e9ecef;
  z-index: 0;
}

.timeline-step {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
}

.step-marker {
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 8px #f8f9fa; /* Matches bg color to mask line */
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.step-num {
  font-size: 1.2rem;
  font-weight: 800;
}

.timeline-step:hover .step-marker {
  background-color: var(--primary-blue);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 0 0 12px rgba(0, 71, 171, 0.1);
}

.step-body {
  text-align: center;
  background: transparent; /* No card background, just clean text */
  padding: 0 0.5rem;
  transition: transform 0.3s ease;
}

.timeline-step:hover .step-body {
  transform: translateY(-5px);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.step-body p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

.cta-wrapper {
  margin-top: 4rem;
  position: relative;
  display: inline-block;
  z-index: 1;
}

/* Updated Blob - More Subtle */
.cta-decoration-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 160%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: pulse-glow 3s infinite ease-in-out;
  pointer-events: none;
}

/* New Modern Button Style */
.cta-wrapper .btn-lg {
  padding: 1.2rem 3.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px; /* Full pill shape */
  background: linear-gradient(135deg, var(--primary-blue) 0%, #0056b3 100%);
  color: white;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 71, 171, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy effect */
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.cta-wrapper .btn-lg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  transform: skewX(-20deg) translateX(-150%);
  transition: transform 0.5s;
  z-index: 1;
}

.cta-wrapper .btn-lg:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 35px rgba(0, 71, 171, 0.4);
}

.cta-wrapper .btn-lg:hover::before {
  transform: skewX(-20deg) translateX(150%);
}

/* Mobile Responsiveness for Timeline */
@media (max-width: 768px) {
  .how-it-works {
    background-size: 20px 20px; /* Smaller pattern on mobile */
  }

  .process-timeline {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    max-width: 300px;
    gap: 2rem;
  }

  .timeline-line {
    width: 2px;
    height: 100%;
    left: 45px;
    top: 0;
    right: auto;
    background: linear-gradient(to bottom, #e9ecef 0%, #e9ecef 100%);
  }

  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    padding: 0;
    opacity: 0.4; /* Dimmed by default for scroll effect */
    transform: scale(0.95) translateX(0);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: blur(1px);
  }

  /* Active State for Scroll Animation */
  .timeline-step.active {
    opacity: 1;
    transform: scale(1) translateX(10px);
    filter: blur(0);
  }

  .timeline-step.active .step-marker {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 0 0 8px rgba(0, 71, 171, 0.15);
    transform: scale(1.1);
  }

  .step-marker {
    margin-right: 1.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
    transition: all 0.4s ease;
  }

  .step-body {
    text-align: left;
    padding-top: 5px;
  }
  
  .step-icon {
      display: none; /* Hide icon on mobile to save space, keep number */
  }
}

/* About Section Redesigned */
.about-section {
  padding: 6rem 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.about-content-wrapper h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.lead-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.description-text {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.about-features-list {
  list-style: none;
  margin-bottom: 2.5rem;
  width: 100%;
}

.about-features-list li {
  display: flex;
  align-items: flex-start; /* Align with top of text */
  gap: 1rem;
  margin-bottom: 1rem;
}

.check-icon {
  background-color: rgba(0, 71, 171, 0.1);
  color: var(--primary-blue);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #777;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: #ddd;
}

/* About Visual Composition */
.about-visual-wrapper {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card-back {
  position: absolute;
  width: 80%;
  height: 90%;
  background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
  border-radius: 30px;
  transform: rotate(-5deg);
  opacity: 0.15;
  top: 10%;
  right: 5%;
  z-index: 0;
}

.visual-card-front {
  position: relative;
  width: 75%;
  background: white;
  padding: 3rem 2rem;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  text-align: center;
  z-index: 2;
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80%;
}

.visual-icon-large {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}

.visual-card-front h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.visual-card-front p {
  color: #666;
  font-size: 0.95rem;
}

.floating-badge {
  position: absolute;
  background: white;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
  border: 1px solid rgba(0,0,0,0.02);
}

.badge-top {
  top: 10%;
  right: -80px; /* Mais para a direita */
  animation-delay: 0.5s;
}

.badge-bottom {
  bottom: -20%; /* Mais para baixo */
  left: -30px;
  animation: none; /* Fixado na posição (sem flutuar) */
}

/* Fix footer wave color on Admin Login page */
.admin-split-screen ~ .footer .custom-shape-divider-top-footer .shape-fill {
    fill: #002e70; /* Match the dark blue background */
}

/* Invert wave to make it look like blue rising into white */
.admin-split-screen ~ .footer .custom-shape-divider-top-footer svg {
    transform: rotate(180deg);
}

/* Fix footer wave color on Homepage (About Section is white) */
.about-section ~ .footer .custom-shape-divider-top-footer .shape-fill {
    fill: #fff;
}

/* Ensure footer content is above the wave decoration */
.footer .container {
  position: relative;
  z-index: 2;
}

.dot-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(#dfe6e9 2px, transparent 2px);
  background-size: 15px 15px;
  z-index: 0;
}

.circle-decoration {
  position: absolute;
  top: -20px;
  left: 50px;
  width: 60px;
  height: 60px;
  border: 4px solid var(--secondary-blue);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

/* Mobile Responsiveness for About */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-content-wrapper {
    align-items: center;
    text-align: center;
  }
  
  .about-features-list li {
    justify-content: flex-start; /* Keep list aligned nicely even when centered wrapper */
    text-align: left;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 10px;
    width: 100%;
  }

  .about-stats {
    justify-content: center;
    width: 100%;
  }
  
  .about-visual-wrapper {
    height: 350px;
    margin-top: 1rem;
  }
  
  .visual-card-front {
    width: 85%;
    padding: 2rem 1.5rem;
  }
  
  .badge-top {
    right: 0;
    top: 0;
  }
  
  .badge-bottom {
    left: 0;
    bottom: 10px;
  }
}

/* Footer Redesigned */
.footer {
  background-color: var(--primary-dark); /* Darker blue for premium feel */
  color: #e0e0e0;
  padding: 8rem 0 2rem 0; /* Extra top padding for wave */
  position: relative;
  font-size: 0.95rem;
}

/* Footer Wave Divider */
.custom-shape-divider-top-footer {
    position: absolute;
    top: -1px; /* Fix potential pixel gap */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.custom-shape-divider-top-footer svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.custom-shape-divider-top-footer .shape-fill {
    fill: var(--bg-color); /* Matches body background (previous section) */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  justify-content: space-between;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 3px;
  background-color: var(--secondary-blue);
  border-radius: 2px;
}

/* Brand Column */
.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.footer-logo span {
  color: var(--secondary-blue);
}

.footer-desc {
  color: #a0a0a0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 300px;
  text-align: justify;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-btn:hover {
  background-color: var(--secondary-blue);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Contact Column */
.contact-list {
  list-style: none;
}

.contact-list li {
  margin-bottom: 1.2rem;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #a0a0a0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-list a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.contact-list .icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 25px;
  text-align: center;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #777;
  font-size: 0.9rem;
}

.made-by {
  color: #a0a0a0;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .custom-shape-divider-top-footer svg {
    height: 50px;
  }

  .footer {
    padding-top: 6rem;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-desc {
    margin: 0 auto 1.5rem auto;
  }

  .social-links {
    justify-content: center;
  }

  .contact-list li {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Hero Mobile Adjustment */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .hero-text {
    order: 2;
    margin-bottom: 2rem;
    width: 100%;
    margin-top: 0;
  }

  .hero-visual {
    order: 1;
    width: 100%;
    height: auto;
    min-height: 400px;
    margin-bottom: -50px; /* Pull text closer to image, but not too much */
  }

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

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile Typography and Button Fixes */
@media (max-width: 768px) {
  .hero {
    padding: 0; /* Removed padding to let flex center work naturally */
    min-height: 100vh;
    display: flex;
    align-items: center; /* Restore center alignment */
  }

  .hero-content {
    gap: 1rem;
  }

  .hero-text {
    margin-bottom: 0.5rem;
  }

  /* Fix oversized titles - Single line request */
  .hero-text h1 {
    font-size: 5.5vw; /* Responsive size to fit full text in one line */
    line-height: 1.1;
    margin-bottom: 0.5rem;
    white-space: nowrap; /* Force single line */
    overflow: visible;
  }

  .desktop-text {
    display: inline; /* Show full text on mobile */
  }

  .hero-text p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    /* Remove line clamp to show full text if needed, or keep it but relax it */
    display: block;
    overflow: visible;
  }
  
  .section-header h2, 
  .campaign-info h2,
  .about-content-wrapper h2 {
    font-size: 1.8rem;
  }

  /* Buttons side-by-side with smaller text to fit */
  .hero-buttons {
    flex-direction: row;
    width: 100%;
    gap: 0.5rem; /* Reduced gap */
    padding: 0;
    justify-content: center;
    margin-bottom: 2rem; /* More space below buttons */
    flex-wrap: nowrap; /* Force single line */
  }

  .hero-buttons .btn {
    width: auto;
    flex: 1;
    padding: 0.8rem 0.2rem; /* Slightly taller, narrow side padding */
    font-size: 0.75rem; /* Small font */
    justify-content: center;
    white-space: nowrap; /* Keep on one line */
    min-width: 0; /* Allow shrinking below content size if flex needs it */
  }

  .hero-buttons .btn svg {
    width: 14px;
    height: 14px;
    margin-right: 4px !important;
  }

  /* Adjust visual to fit screen */
  .hero-visual {
    min-height: 280px;
    height: auto;
    overflow: hidden; /* Prevent overflow from animation */
    margin-bottom: -80px; /* Adjusted to pull text closer without overlap */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 0; /* Remove top margin */
  }

  .shirt-composition {
    transform: scale(0.7); /* Increased size as requested */
    margin-top: 0; /* Reset negative margin */
    transform-origin: top center;
  }
}

/* Admin Login Page Split Layout - Added via Tool */
.admin-login-wrapper {
    min-height: calc(100vh - var(--header-height)); /* Adjust for header height to prevent scroll/gap */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #002e70; /* Fallback */
    background: radial-gradient(circle at top left, #0047AB, #002e70);
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

/* Animated Background Shapes */
.admin-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
    animation: float-slow 10s infinite alternate;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(0, 212, 255, 0.15);
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: rgba(0, 71, 171, 0.25);
    animation-delay: -5s;
}

@keyframes float-slow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.admin-login-container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.admin-info-side {
    flex: 1.1; /* Slightly larger */
    padding: 4rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.brand-large .brand-icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.admin-info-side h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    background: linear-gradient(90deg, #fff, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.admin-info-side > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 400px;
}

.admin-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.feature-check {
    width: 28px;
    height: 28px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-blue);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.admin-form-side {
    flex: 0.9;
    padding: 4rem;
    background: rgba(0, 10, 30, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: rgba(255, 255, 255, 0.6);
}

.back-link {
    margin-top: 2rem;
    text-align: center;
}

.back-link a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-link a:hover {
    color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .admin-login-container {
        flex-direction: column;
        max-width: 500px;
    }
    .admin-info-side {
        padding: 3rem 2rem;
        text-align: center;
        align-items: center;
    }
    .brand-large {
        justify-content: center;
    }
    .admin-features-list {
        display: none; /* Hide features on mobile to save space */
    }
    .admin-form-side {
        padding: 3rem 2rem;
    }
    .admin-info-side h2 {
        font-size: 2rem;
    }
}

/* =========================================
   PREMIUM ADMIN DASHBOARD THEME (ELEGANT & UNIQUE)
   ========================================= */

:root {
    --admin-sidebar-bg: #ffffff; /* White Sidebar */
    --admin-sidebar-text: #5c677d; /* Slate Grey */
    --admin-sidebar-hover: #eef2f6; /* Very light blue-grey */
    --admin-bg: #f4f7fa; /* Light Blue-Grey Background */
    --admin-card-bg: #ffffff;
    --admin-accent: #3498db; /* Vibrant Blue */
    --admin-accent-hover: #2980b9; /* Darker Blue */
    --admin-danger: #e74c3c;
    --admin-success: #2ecc71;
    --admin-shadow: 0 10px 30px rgba(52, 152, 219, 0.05);
    --admin-card-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    --font-heading: 'Manrope', sans-serif; /* Clean Sans-Serif */
    --font-body: 'Manrope', 'Poppins', sans-serif;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
    padding-top: var(--header-height);
    background-color: var(--admin-bg);
    font-family: var(--font-body);
    position: relative;
    color: #333;
}

/* --- SIDEBAR --- */
.admin-sidebar {
    width: 260px;
    background-color: var(--admin-sidebar-bg);
    padding: 3rem 0;
    position: fixed;
    top: var(--header-height);
    left: 0;
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
    z-index: 90;
    border-right: 1px solid #eef2f6;
    box-shadow: 2px 0 10px rgba(0,0,0,0.02);
}

.sidebar-header {
    margin-bottom: 2rem;
    padding: 0 2rem 2rem 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-header h3 {
    color: #2c3e50;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 1;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1rem 1.5rem;
    color: var(--admin-sidebar-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 12px;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    border: none;
}

.sidebar-link:hover {
    background-color: var(--admin-sidebar-hover);
    color: var(--admin-accent);
    padding-left: 1.5rem;
}

.sidebar-link.active {
    background-color: #e3f2fd;
    color: var(--admin-accent);
    font-weight: 600;
}

.sidebar-link i {
    width: 20px;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0.8;
}

.sidebar-link.active i {
    color: var(--admin-accent);
    opacity: 1;
}

.sidebar-link.logout {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #aaa;
}

.sidebar-link.logout:hover {
    color: var(--admin-danger);
    background-color: rgba(231, 76, 60, 0.05);
}

/* --- MAIN CONTENT --- */
.admin-main-content {
    flex: 1;
    margin-left: 260px;
    padding: 0.5rem 3rem 8rem 3rem; /* Minimal top padding */
    background-color: var(--admin-bg);
    min-height: calc(100vh - var(--header-height));
}

.dashboard-header {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid #eef2f6;
}

.dashboard-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.dashboard-header p {
    color: #5c677d;
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
    margin-bottom: 0;
}

/* --- STATS CARDS --- */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--admin-card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--admin-card-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    display: none;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #e3f2fd;
    color: var(--admin-accent);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: var(--admin-accent);
    color: #fff;
}

.stat-info h3 {
    font-size: 3rem;
    font-weight: 300;
    color: #111;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-info p {
    color: #999;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- RECENT ACTIVITY / SECTIONS --- */
.recent-activity, .form-section {
    background: var(--admin-card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--admin-card-shadow);
    margin-bottom: 2rem;
    border: 1px solid #eef2f6;
    overflow: hidden;
}

.form-container {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.recent-activity h3, .section-header h3 {
    font-size: 1.2rem;
    color: #111;
    margin-bottom: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons in Admin */
.btn-primary {
    background: var(--admin-accent);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    border: none;
    font-weight: 600;
    padding: 0.9rem 1.8rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: none;
    font-size: 1rem;
    letter-spacing: 0;
}

.btn-primary:hover {
    background: var(--admin-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
    border-color: transparent;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #5c677d;
    border: 2px solid #eef2f6;
    font-weight: 600;
    padding: 0.9rem 1.8rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: none;
    font-size: 1rem;
    letter-spacing: 0;
}

.btn-outline:hover {
    background: #fff;
    color: var(--admin-accent);
    border-color: var(--admin-accent);
}

.btn-secondary {
    background: #f4f7fa;
    color: #5c677d;
    border: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-secondary:hover {
    background: #eef2f6;
    color: #2c3e50;
}

/* Button Add Shirt */
.btn-add-shirt {
    width: 100%;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    color: #64748b;
    padding: 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.btn-add-shirt:hover {
    border-color: var(--admin-accent);
    color: var(--admin-accent);
    background: #f0f9ff;
}

.btn-remove-shirt {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-remove-shirt:hover {
    color: var(--admin-danger);
}

/* --- FORM ENHANCEMENTS --- */
.info-icon {
    color: #94a3b8;
    margin-left: 8px;
    font-size: 0.9em;
    cursor: help;
    transition: color 0.2s;
}

.info-icon:hover {
    color: var(--admin-accent);
}

/* Size Selector Chips */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.size-chip {
    background: #fff;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    min-width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.size-chip:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.size-chip.active {
    background: var(--admin-accent);
    border-color: var(--admin-accent);
    color: #fff;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.2);
}

.text-muted {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.section-header .icon-wrapper {
    width: 50px;
    height: 50px;
    background: #e3f2fd;
    color: var(--admin-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.form-grid.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #5c677d;
    text-transform: none;
    letter-spacing: 0;
}

.form-control {
    background-color: #fff;
    border: 2px solid #eef2f6;
    color: #333;
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    background-color: #fff;
    border-color: var(--admin-accent);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    outline: none;
}

.input-prefix {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 2px solid #eef2f6;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.input-prefix:focus-within {
    border-color: var(--admin-accent);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.input-prefix span {
    padding: 0 1.2rem;
    color: #5c677d;
    font-weight: 600;
    background: #f8fafc;
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 1px solid #eef2f6;
}

/* Shirt Card Styling */
.shirt-card {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.shirt-card:hover {
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.08);
    border-color: var(--admin-accent);
}

.shirt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.shirt-card-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: none;
    letter-spacing: 0;
}

.shirt-card-header h4 i {
    color: var(--admin-accent);
}

/* Image Upload Styling */
.image-upload-wrapper {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.image-upload-wrapper:hover {
    border-color: var(--admin-accent);
    background: #f0f9ff;
}

.upload-trigger {
    cursor: pointer;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.upload-trigger:hover {
    background: rgba(255, 255, 255, 0.5);
}

.upload-icon {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.image-upload-wrapper:hover .upload-icon {
    color: var(--admin-accent);
    transform: translateY(-5px);
}

.upload-text {
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.upload-hint {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

/* Hide grid if empty (handled by JS ideally, but we can check empty pseudo class if structure allows) */
.image-preview-grid:empty {
    display: none;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.preview-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.preview-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: var(--admin-accent);
}

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

.btn-remove-image {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #ef4444;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 0;
    transform: scale(0.8);
}

.preview-item:hover .btn-remove-image {
    opacity: 1;
    transform: scale(1);
}

.btn-remove-image:hover {
    background: #ef4444;
    color: #fff;
    transform: scale(1.1);
}

/* Code Display */
.code-display {
    background: #e3f2fd;
    color: var(--admin-accent);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px dashed #90caf9;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.code-display span {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 5px;
    font-family: 'Courier New', monospace;
    color: var(--admin-accent);
}

.code-display small {
    color: #5c677d;
    text-transform: none;
    font-size: 0.85rem;
    letter-spacing: 0;
    font-weight: 500;
}

/* Sticky Form Actions */
.form-actions-sticky {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 260px; /* Sidebar width */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 3rem;
    border-top: 1px solid #eef2f6;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    z-index: 99;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
    margin: 0;
}

/* Mobile Adjustments for Form */
@media (max-width: 768px) {
    .form-grid, .form-grid.three-columns {
        grid-template-columns: 1fr;
    }
    
    .form-section {
        padding: 1.5rem;
    }

    .form-actions-sticky {
        left: 0;
        padding: 1rem;
        justify-content: space-between;
    }
    
    .form-actions-sticky .btn {
        flex: 1;
    }
}

/* Mobile Admin Layout */
@media (max-width: 992px) {
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        left: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 0;
        overflow-y: visible;
        box-shadow: none;
        background-color: var(--admin-sidebar-bg);
    }

    .sidebar-header {
        display: none;
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0;
        gap: 0;
    }

    .sidebar-link {
        white-space: nowrap;
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
        background: transparent;
        border: none;
        flex-shrink: 0;
        color: var(--admin-sidebar-text);
        flex-direction: column;
        gap: 5px;
        align-items: center;
        text-align: center;
        border-bottom: 3px solid transparent;
        border-left: none;
    }
    
    .sidebar-link:hover {
        transform: none;
        background: rgba(255,255,255,0.05);
        padding-left: 1.5rem; /* Reset padding hover effect */
    }

    .sidebar-link.active {
        background: rgba(255,255,255,0.05);
        border-bottom-color: var(--admin-accent);
        border-left: none;
    }
}
/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 576px) {
    .quick-actions {
        flex-direction: column;
    }
}

/* Cropper Modal - Clean Redesign */
.img-crop-container {
    height: 60vh; /* Responsive height relative to viewport */
    min-height: 400px;
    width: 100%;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.img-crop-container img {
    display: block;
    max-width: 100%;
}

/* Modal Polish */
.modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
}

.modal-header .btn-close {
    background-size: 0.8em;
}

/* Fix for Cropper.js in Bootstrap Modal */
.cropper-container {
    width: 100% !important;
}
