/* Globals */
:root {
  --bg-color: #f7f7f9;
  --navbar-bg: #4b4b52;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --primary: #9333ea;
  --primary-hover: #7e22ce;
  --accent-pink: #ec4899;
  --accent-orange: #f97316;
  --white: #ffffff;
  --border-color: #e5e7eb;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
.navbar {
  background-color: var(--white);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(to right, #a855f7, #ec4899, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-image: url('hero_bg.jpg');
  background-size: cover;
  background-position: center;
  height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}
.hero-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: 7rem;
  font-weight: 900;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: 1.6rem;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 2rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.hero-btn {
  display: inline-block;
  background: linear-gradient(to right, #a855f7, #ec4899);
  color: white;
  border-radius: 30px;
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.hero-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.hero-scroll-icon {
  position: absolute;
  bottom: 2rem;
  z-index: 2;
  font-size: 2rem;
  color: white;
  opacity: 0.7;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

@media (max-width: 768px) {
  .hero-title { font-size: 4rem; }
  .hero-subtitle { font-size: 1.2rem; }
}

/* Sections */
main {
  max-width: 768px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section {
  margin-bottom: 5rem;
  padding-top: 2rem; /* offset for fixed header if navigating via anchors */
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.product-image-area {
  background-color: #efeff1;
  padding: 3rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image-area img {
  max-width: 250px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.product-image-area img:hover {
  transform: translateY(-5px);
}

.product-info-area {
  padding: 2.5rem;
}

.product-author {
  color: var(--text-gray);
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 1.25rem 0;
}

.product-description {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.7;
}

.divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 2rem 0;
}

.product-price-section {
  text-align: center;
  margin-bottom: 2rem;
}

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

.price-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: #db2777; /* hot pink, matching the screenshot */
  margin-top: 0.25rem;
}

/* Nested Purchase Card */
.purchase-card {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
}

.purchase-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.purchase-value-display {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.purple-text {
  color: var(--primary);
  font-weight: 600;
}

.payment-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  flex: 1;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-gray);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  background-color: #f9fafb;
}

.tab-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  /* The screenshot inner shadow effect */
  box-shadow: inset 0 0 0 1px var(--primary);
}

.payment-instructions {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.85rem;
  background: linear-gradient(to right, #a855f7, #ec4899);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-back {
  display: inline-block;
  color: var(--text-gray);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.btn-back:hover {
  color: var(--text-dark);
}

.hidden {
  display: none !important;
}

/* Sobre Section */
.cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.info-card p {
  color: var(--text-gray);
  line-height: 1.7;
}

.quote-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  position: relative;
}

.quote-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #a855f7, #ec4899, #f97316);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.quote-text {
  font-style: italic;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.quote-author {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem 1.5rem;
  background-color: var(--white);
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  max-width: 450px;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #a855f7;
  margin-bottom: 0.5rem;
}

.footer-left p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-right {
  text-align: right;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.footer-contact {
  color: var(--text-gray);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.footer-bottom {
  max-width: 1000px;
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--text-gray);
  font-size: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .nav-links {
    gap: 1.5rem;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-right {
    text-align: center;
  }
  .footer-contact {
    justify-content: center;
  }
  .footer-left {
    margin: 0 auto;
  }
}
