/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-light: #fafafa;
  --bg-secondary: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #666666;
  --accent-pink: #FFB5C0;
  --accent-pink-dark: #ff9ab0;
  --glass-bg: rgba(0, 0, 0, 0.03);
  --glass-border: rgba(0, 0, 0, 0.08);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 50%, #ffffff 100%);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar Liquid Glass */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #1a1a1a 0%, #666666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(255, 181, 192, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(255, 181, 192, 0.6));
  }
}

/* Hero Section */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 181, 192, 0.15) 0%,
    transparent 50%
  );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 181, 192, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(20deg);
  }
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 300;
}

.hero-cta {
  margin-top: 2rem;
}

.urgency-text {
  display: inline-block;
  padding: 1rem 2rem;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 50px;
  color: #ff6b6b;
  font-weight: 600;
  font-size: 1.1rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.4);
  }
}

/* Products Section */
.products-section {
  padding: 4rem 2rem 6rem;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.2rem;
  margin-bottom: 4rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product Card */
.product-card {
  background: var(--bg-secondary);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 181, 192, 0.1) 0%,
    rgba(255, 154, 176, 0.15) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 181, 192, 0.3);
  box-shadow: 0 20px 60px rgba(255, 181, 192, 0.2);
}

.product-card:hover::before {
  opacity: 1;
}

.product-image-placeholder {
  width: 100%;
  padding-bottom: 125%; /* 4:5 aspect ratio (5/4 = 1.25 = 125%) */
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.product-image-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-placeholder img {
  transform: scale(1.05);
}

.placeholder-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 1;
}

.product-info {
  padding: 1rem;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-dark);
}

.product-desc {
  font-size: 0.75rem;
  color: #999999;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  font-weight: 400;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 400;
  color: #000000;
  margin-bottom: 0.5rem;
}

.stock-info {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ff6b6b;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Buy Button */
.buy-button {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #ff8fa3;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 143, 163, 0.4);
}

.buy-button:hover {
  background: #ff7a91;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 143, 163, 0.6);
}

.buy-button:active {
  transform: translateY(0);
}

.pix-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
  .buy-button {
    font-size: 0.85rem;
    padding: 0.7rem 0.8rem;
  }
  
  .pix-icon {
    width: 18px;
    height: 18px;
  }
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer p {
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ff6b6b;
}

/* Scroll Animation */
.product-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) {
  animation-delay: 0.1s;
}
.product-card:nth-child(2) {
  animation-delay: 0.2s;
}
.product-card:nth-child(3) {
  animation-delay: 0.3s;
}
.product-card:nth-child(4) {
  animation-delay: 0.4s;
}
.product-card:nth-child(5) {
  animation-delay: 0.5s;
}
.product-card:nth-child(6) {
  animation-delay: 0.6s;
}
.product-card:nth-child(7) {
  animation-delay: 0.7s;
}
.product-card:nth-child(8) {
  animation-delay: 0.8s;
}
.product-card:nth-child(9) {
  animation-delay: 0.9s;
}
.product-card:nth-child(10) {
  animation-delay: 1.0s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-gray);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.modal-body {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  background: #fafafa;
}

.form-input:focus {
  outline: none;
  border-color: #ff8fa3;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 143, 163, 0.1);
}

.form-input::placeholder {
  color: #999;
}

.info-box {
  background: linear-gradient(135deg, rgba(255, 143, 163, 0.1) 0%, rgba(255, 181, 192, 0.15) 100%);
  border-left: 4px solid #ff8fa3;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.info-box p {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
}

.info-box strong {
  color: #ff8fa3;
}

.modal-footer {
  display: flex;
  gap: 1rem;
}

.modal-button {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.modal-button-cancel {
  background: #f0f0f0;
  color: var(--text-dark);
}

.modal-button-cancel:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
}

.modal-button-primary {
  background: #ff8fa3;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 143, 163, 0.4);
}

.modal-button-primary:hover {
  background: #ff7a91;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 143, 163, 0.6);
}

.modal-button-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}

.modal-button-primary:disabled:hover {
  transform: none;
}

/* Responsiveness */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .products-section {
    padding: 3rem 1.5rem 4rem;
  }

  .section-subtitle {
    margin-bottom: 3rem;
  }

  .modal {
    padding: 1.5rem;
    width: 95%;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-footer {
    flex-direction: column;
  }
}

/* ====== Order Bump Styles ====== */
.order-bump-section {
  margin-bottom: 1.5rem;
}

.order-bump-card {
  border: 2px dashed #e0e0e0;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

.order-bump-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.08) 0%, rgba(255, 107, 107, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.order-bump-card:hover {
  border-color: #ffb347;
  box-shadow: 0 4px 16px rgba(255, 179, 71, 0.15);
}

.order-bump-card.active {
  border: 2px solid #ff8fa3;
  background: #fff;
  box-shadow: 0 6px 24px rgba(255, 143, 163, 0.2);
}

.order-bump-card.active::before {
  opacity: 1;
}

.order-bump-header {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.order-bump-toggle {
  flex-shrink: 0;
  padding-top: 0.2rem;
}

/* Custom checkbox toggle */
.bump-checkbox {
  display: none;
}

.bump-toggle-label {
  display: block;
  width: 44px;
  height: 24px;
  background: #d0d0d0;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bump-toggle-label::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.bump-checkbox:checked + .bump-toggle-label {
  background: linear-gradient(135deg, #ff8fa3 0%, #ff6b8a 100%);
}

.bump-checkbox:checked + .bump-toggle-label::after {
  left: 22px;
}

.order-bump-info {
  flex: 1;
  min-width: 0;
}

.order-bump-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffb347 0%, #ff6b6b 100%);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.order-bump-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.order-bump-desc {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
}

.order-bump-desc strong {
  color: #ff6b6b;
}

.order-bump-price {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.bump-price-value {
  font-size: 1rem;
  font-weight: 800;
  color: #ff6b6b;
  white-space: nowrap;
}

/* Price Summary */
.price-summary {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-top: 0.8rem;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.price-line.express-line {
  color: #ff6b6b;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.price-line.price-total {
  border-top: 1px solid #e0e0e0;
  margin-top: 0.3rem;
  padding-top: 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
}

/* Mobile adjustments for order bump */
@media (max-width: 480px) {
  .order-bump-header {
    flex-wrap: wrap;
  }

  .order-bump-price {
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.3rem;
  }

  .order-bump-title {
    font-size: 0.85rem;
  }

  .order-bump-desc {
    font-size: 0.75rem;
  }
}

