/* =========================================
   STYLEGUIDE - GLOW MODE DESIGN SYSTEM
   ========================================= */

/* 1. DESIGN TOKENS (VARIABLES) */
/* 1. DESIGN TOKENS (VARIABLES) */
:root {
  /* Color Palette (Unchanged Definitions) */
  --color-light-gray: #f5f5f5;
  --color-cream: #f7f0e8;
  --color-gold: #c9b084; /* Slightly darker gold for better contrast on white */
  --color-gold-dim: #947e62; /* Darker dim gold */
  --color-green-bright: #4caf50; /* Adjusted for light mode accents if needed */
  --color-green-dark: #0a300c;
  --color-green-darker: #041e05;
  --color-green-black: #000f01;

  /* Semantic Colors - WHITE MODE */
  --bg-dark: #ffffff; /* Main Background - White */
  --bg-black: #f8f9fa; /* Secondary Background */
  --accent-gold: var(--color-gold);

  /* Text Colors - High Contrast */
  --text-white: var(
    --color-green-darker
  ); /* Main Text is now Dark Green/Black */
  --text-dark: var(--color-green-darker);
  --text-gold-dim: var(--color-gold-dim);
  --text-brown: var(--color-green-dark);

  /* Component Specific */
  --cta-bg: var(--color-green-dark); /* Dark Green Buttons */
  --cta-text: #ffffff; /* White Text on Buttons */
  --cta-shadow: rgba(10, 48, 12, 0.2);

  /* Typography */
  --font-heading: "Fraunces", serif;
  --font-body: "Inter", sans-serif;

  /* =========================================
     LEGACY MAPPINGS (Preserving Layouts)
     ========================================= */

  --bg-color: var(--bg-dark);
  --text-color: var(--text-white);
  --secondary-text: #555555; /* Dark Gray for secondary text */

  --primary-brand: var(--color-green-dark); /* Primary is Dark Green */
  --primary-light: #440206; /* Keep or adjust? Let's make it a lighter green */
  --accent-color: var(
    --color-green-dark
  ); /* Titles should be dark for contrast */

  --card-bg: #ffffff;
  --glass-border: #e0e0e0;
  --modal-bg: #ffffff;

  --section-spacing: 72px;
  --container-padding: 5%;
}

/* 2. BASE RESET & TYPOGRAPHY */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.row-title {
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--text-white);
}

p {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-white);
}

/* 3. UTILITY CLASSES */
.text-center {
  text-align: center;
}
.text-italic {
  font-style: italic;
}
.text-gold {
  color: var(--color-gold);
}
.text-dim {
  color: var(--color-gold-dim);
}

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

.section-padding {
  padding: 72px 16px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease;
  padding: 15px 0;
}

.header.scrolled {
  background-color: rgba(
    255,
    255,
    255,
    0.95
  ); /* White background for clean look */
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Softer shadow */
  padding: 10px 0; /* Shrink slightly */
  border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
  height: 48px;
  border-radius: 4px;
  width: auto;
  transition: height 0.3s;
}

.header.scrolled .logo img {
  height: 40px; /* Resize logo on scroll */
}

/* User Menu & Dropdown */
.user-menu-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px; /* Spacing between button and icon */
}

.btn-affiliate-header {
  text-decoration: none;
  font-family: "Fraunces", serif;
  font-weight: 600;
  color: var(--text-color);
  padding: 8px 16px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid var(--color-gold); /* Gold/Beige base */
  box-shadow: 0 0 5px rgba(224, 192, 151, 0.2);
  transition: all 0.3s ease;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-affiliate-header:hover {
  border-color: var(--color-gold); /* Consistent gold on hover */
  color: #fff;
  background: rgba(255, 183, 77, 0.1);
  box-shadow: 0 0 12px rgba(255, 183, 77, 0.4);
  transform: translateY(-1px);
}

.user-icon-btn {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  color: var(--accent-color);
  padding: 8px;
  border-radius: 50%; /* Full rounding */
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-icon-btn:hover {
  background: rgba(215, 198, 168, 0.2);
  border-color: var(--accent-color);
}

.icon-user {
  width: 32px;
  height: 32px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 15px;
  background: var(--modal-bg);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 8px;
  min-width: 200px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 0.2s ease;
  z-index: 1001;
  border: 1px solid var(--glass-border);
}

/* Dropdown Mobile Responsiveness */
@media (max-width: 768px) {
  .dropdown-menu {
    position: fixed;
    top: 80px; /* Below header */
    bottom: auto; /* Prevent stretching */
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(0);
    width: 90%;
    max-width: 350px;
    margin-top: 0;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .dropdown-menu.hidden {
    transform: translateX(-50%) translateY(-10px); /* Adjust transition starting point */
    opacity: 0;
    visibility: hidden;
  }

  /* Hide the text "Seja Afiliada" on very small screens if needed, but let's keep it for now as requested */
  .btn-affiliate-header {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

.dropdown-menu.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  display: block !important; /* Override generic hidden */
}

@media (max-width: 768px) {
  .dropdown-menu.hidden {
    transform: translateX(-50%) translateY(-10px);
  }
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background 0.2s;
  font-weight: 600;
}

.dropdown-item:hover {
  background: var(--primary-brand);
  color: #fff;
}

.icon-logout {
  width: 18px;
  height: 18px;
}

/* Language Selector */
.language-container {
  position: relative;
  display: flex;
  align-items: center;
}

.language-btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  color: var(--accent-color);
  font-family: inherit;
  font-size: inherit;
  line-height: 1;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; /* Match user icon size approx */
  height: 42px;
}

.language-btn:hover {
  background: rgba(215, 198, 168, 0.2);
  border-color: var(--accent-color);
}

.icon-globe {
  width: 24px;
  height: 24px;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 15px;
  background: var(--modal-bg);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 8px;
  min-width: 150px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 0.2s ease;
  z-index: 1001;
  border: 1px solid var(--glass-border);
}

.language-dropdown.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  display: block !important;
}

.language-option {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--text-color);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  border-radius: 8px;
  transition: background 0.2s;
  font-weight: 500;
  cursor: pointer;
  border: none; /* Reset button styles */
  background: none;
  outline: none;
  width: 100%;
  text-align: left;
}

.language-option:hover {
  background: var(--primary-brand);
  color: #fff;
}

.language-option.active {
  background: rgba(10, 48, 12, 0.1); /* Subtle highlight for current language */
  font-weight: 700;
}

.language-flag {
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh; /* Taller hero */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 var(--container-padding);
  background: transparent;
  overflow: hidden;
}

/* Background Gradients - Softer/Cleaner */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(254, 155, 186, 0.15) 0%,
    transparent 70%
  );
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(95, 8, 75, 0.08) 0%,
    transparent 70%
  );
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin-top: 80px; /* Offset for header */
}

/* Responsive Typography */
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive Fluid Text */
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--primary-brand); /* Solid color is more premium/legible */
  letter-spacing: -0.02em;
  background: none; /* Removed gradient text */
  -webkit-text-fill-color: initial;
}

.hero-description {
  font-family: "Comic Neue", cursive;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--secondary-text);
  font-weight: 400; /* Lighter weight for elegance */
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap; /* Safety for small screens */
}

/* 4. BUTTONS (CTA) */
.cta-button {
  background-color: var(--cta-bg);
  color: var(--cta-text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 24px 21px;
  border-radius: 4px;
  outline: 1px solid var(--color-green-dark);
  outline-offset: -1px;
  box-shadow:
    2px 2px 13.9px var(--cta-shadow),
    4px 6px 6.3px rgba(255, 255, 255, 0.2) inset;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  max-width: 400px;
}

.cta-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow:
    2px 4px 16px var(--cta-shadow),
    4px 6px 6.3px rgba(255, 255, 255, 0.3) inset;
}

.cta-button:active {
  transform: translateY(1px);
  filter: brightness(0.95);
}

/* Existing Buttons (Updated for Palette) */
.btn {
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--cta-bg);
  color: var(--cta-text);
}

.btn-primary:hover {
  background-color: var(--color-green-bright);
  filter: brightness(1.1);
  box-shadow: 0 8px 25px rgba(94, 200, 97, 0.25); /* Green glow */
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background-color: rgba(10, 48, 12, 0.05);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.icon {
  width: 24px;
  height: 24px;
}

/* Main Banner */
/* Main Banner Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  margin: 80px 0 40px; /* 80px top clears fixed header, 40px bottom */
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Shadow on container */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  text-decoration: none;
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary-brand); /* Dark border for contrast */
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.indicator.active {
  background-color: var(--primary-brand);
  transform: scale(1.2);
}

.indicator:hover {
  background-color: rgba(10, 48, 12, 0.2);
}

/* Content Layout */
.content-container {
  position: relative;
  z-index: 10;
  padding-bottom: 100px;
  padding-top: 100px; /* Reset padding since banner handles spacing */
}

.row-section {
  margin-bottom: var(--section-spacing);
  padding: 0 var(--container-padding);
}

.row-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--accent-color);
  margin-bottom: 16px; /* Reduced from 24px */
  font-weight: 700;
  display: flex;
  align-items: center;
}

/* Decorative line next to title */
.row-title::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--accent-color);
  flex: 1;
  margin-left: 20px;
  opacity: 0.5;
}

.row-container {
  position: relative;
  /* Scroll Snap implementation for cleaner slide */
  scroll-snap-type: x mandatory;
}

.row {
  display: flex;
  gap: 24px; /* More breathing room */
  overflow-x: auto;
  padding: 40px 20px; /* Increased padding to prevent shadow clipping */
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch; /* Momentum scroll iOS */
}

.row::-webkit-scrollbar {
  display: none;
}

/* Hide Handles on touch devices or by default, add via hover only on desktop */
.handle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eee;
  color: var(--primary-brand);
  font-size: 1.5rem;
  z-index: 20;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.row-container:hover .handle {
  opacity: 1;
}

.left-handle {
  left: -20px;
}
.right-handle {
  right: -20px;
}

/* Desktop Hover Only handles */
@media (max-width: 768px) {
  .handle {
    display: none !important;
  } /* Clean mobile look */
}

/* 5. CARDS */

/* Generic/Carousel Card Base */
.card {
  flex: 0 0 auto;
  width: 240px;
  height: 345px;
  background-color: var(--card-bg);
  border-radius: 12px; /* Guide radius */
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Integrated shadow style */
  scroll-snap-align: start;
  border: 1px solid var(--glass-border);
  text-decoration: none;
  color: inherit;
  display: block;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-gold);
  filter: brightness(1.1);
}

/* Pricing Card */
.pricing-card {
  background-color: var(--color-cream);
  border-radius: 18px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  color: var(--text-dark);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Review/Testimonial Card */
.review-card {
  background-color: var(--color-cream);
  border-radius: 8px;
  padding: 24px;
  color: var(--text-dark);
}

/* 6. ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

.card-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-visual {
  transform: scale(1.05); /* Zoom image inside card */
}

/* Mobile Carousel Indicators - Dash Style */
@media (max-width: 768px) {
  .carousel-indicators {
    bottom: 10px;
    gap: 6px;
  }

  .indicator {
    width: 24px; /* Dash width */
    height: 3px; /* Dash height */
    border-radius: 2px;
    border: none;
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: none; /* Remove shadow for flatter look */
  }

  .indicator.active {
    background-color: #fff;
    transform: none; /* Disable scale effect */
  }

  /* Ensure header doesn't overlap weirdly if needed, though indicators are bottom */
}

.visual-guia {
  background-image: url("assets/images/main-4.jpg");
}

.visual-smart {
  background-image: url("assets/images/apps-1.jpg");
}
.visual-pomodoro {
  background-image: url("assets/images/apps-2.jpg");
}
.visual-app {
  background-image: url("assets/images/apps-3.jpg");
}
.visual-screen {
  background-image: url("assets/images/apps-4.jpg");
}

.visual-bonus-1 {
  background-image: url("assets/images/bonus-1.jpg");
}
.visual-bonus-2 {
  background-image: url("assets/images/bonus-2.jpg");
}
.visual-main-4 {
  background-image: url("assets/images/BR-main-4.jpg");
}

.visual-bonus-3 {
  background-image: url("assets/images/bonus-3.jpg");
}

/* Footer */
.footer {
  padding: 80px var(--container-padding);
  color: var(--secondary-text);
  font-size: 1rem;
  text-align: center;
  font-family: "Comic Neue", cursive;
  opacity: 0.8;
}

/* Modal */
.hidden {
  display: none !important;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(95, 8, 75, 0.2); /* Brand tinted overlay */
  backdrop-filter: blur(12px); /* Strong glass effect */
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.modal-container {
  background-color: var(--modal-bg);
  width: 90%;
  max-width: 900px;
  height: 85vh;
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* Deep shadow */
  animation: scaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  color: var(--text-color);
  overflow: hidden; /* Ensure rounded corners clip content */
}

@keyframes scaleUp {
  from {
    transform: scale(0.95) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-brand);
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: #fff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--primary-light);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.modal-close-btn svg {
  pointer-events: none;
  width: 24px;
  height: 24px;
}

.modal-header {
  padding: 30px 40px;
  border-bottom: 1px solid var(--glass-border);
  background: var(--modal-bg);
}

.modal-header h2 {
  font-size: 2.2rem; /* Larger, cleaner */
  margin-bottom: 12px;
  color: var(--text-color);
}

.modal-header p {
  color: var(--secondary-text);
  line-height: 1.6;
  font-size: 1.1rem;
  font-family: "Inter", sans-serif;
}

.modal-body {
  flex: 1;
  background: var(--bg-color); /* Slight contrast for content area */
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pdf-container {
  width: 100%;
  flex: 1;
  overflow: hidden;
}

.pdf-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-footer {
  padding: 20px 40px;
  border-top: 1px solid var(--glass-border);
  background: var(--modal-bg);
  display: flex;
  justify-content: flex-end;
}

/* Login Overlay */
body.hidden-overflow {
  overflow: hidden;
}

.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98); /* White BG opaque */
  backdrop-filter: blur(15px);
  z-index: 3000;
  display: flex;
  flex-direction: column; /* Stack card and hint */
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s;
}

.login-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.login-container {
  background: var(--modal-bg);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  width: 90%;
  max-width: 400px;
  text-align: center;
  border: 1px solid var(--glass-border);
  animation: scaleUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-password-hint {
  margin-top: 24px;
  color: var(--accent-color); /* Lighter gold/beige */
  font-size: 1rem;
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.3s forwards; /* Fade in slightly after card */
}

.login-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.login-container h2 {
  font-size: 1.8rem;
  color: var(--text-color); /* Light beige for better contrast on dark bg */
  margin-bottom: 10px;
}

.login-instruction {
  color: var(--text-white); /* Brighter text for better contrast */
  margin-bottom: 30px;
  font-size: 0.95rem;
  font-weight: 500;
}

.input-group {
  margin-bottom: 20px;
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1); /* Subtle border */
  border-radius: 50px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
  background: rgba(0, 0, 0, 0.05); /* Light gray background */
  color: var(--text-white); /* Dark text */
}

.input-group input:focus {
  border-color: var(--primary-brand);
  background: rgba(0, 0, 0, 0.08);
}

.password-group {
  display: flex;
  align-items: center;
}

.toggle-password {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--secondary-text);
  display: flex;
  align-items: center;
}

.icon-eye {
  width: 20px;
  height: 20px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 12px;
}

.login-error {
  color: #d32f2f;
  background: #ffebee;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: none;
}

.login-error.visible {
  display: block;
}
/* Mobile Responsiveness & Drawer */
@media (max-width: 768px) {
  :root {
    --container-padding: 6%; /* Slightly more side padding on mobile */
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
    text-align: center; /* Center align hero on mobile often looks better */
    justify-content: center;
  }

  .hero::before,
  .hero::after {
    filter: blur(40px);
    opacity: 0.6;
  }

  .hero-content {
    margin-top: 20px;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .hero-buttons {
    justify-content: center;
    width: 100%;
  }

  .btn {
    width: 100%; /* Full width buttons on mobile */
    justify-content: center;
  }

  .row-title::after {
    display: none; /* Remove decorative line on mobile if space is tight */
  }

  .row {
    gap: 16px; /* Reduced gap for mobile */
    padding-left: var(--container-padding);
    padding-right: var(--container-padding); /* Ensure padding on both sides */
  }

  .card {
    /* Mobile Dimensions adjusted for scroll hint */
    width: 135px;
    height: 195px;
    flex-shrink: 0;
  }

  .modal-overlay {
    align-items: flex-end;
  }

  .modal-container {
    width: 100%;
    max-width: 100%;
    height: 85vh; /* Drawer height */
    border-radius: 24px 24px 0 0; /* Only top rounded */
    animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .modal-header {
    padding: 25px 20px;
  }

  .modal-header h2 {
    font-size: 1.6rem;
  }

  .modal-close-btn {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
  }

  @keyframes slideUp {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }

  /* Compact Drawer Mode (Links) */
  .modal-container.modal-compact {
    height: auto !important; /* Override fixed height */
    min-height: 250px;
    padding-bottom: 30px; /* Safe area */
  }
}

/* Compact Modal Desktop */
.modal-container.modal-compact {
  height: auto;
  min-height: 200px;
}

/* HTML Content Container */
.html-content-container {
  width: 100%;
  flex: 1;
  overflow-y: auto;
  padding: 0 40px 40px;
}

.guide-content h3 {
  color: var(--primary-brand);
  margin-bottom: 30px;
  font-size: 1.8rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 15px;
}

.guide-step {
  margin-bottom: 40px;
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.guide-step h4 {
  color: var(--primary-brand);
  font-size: 1.3rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-step p {
  color: var(--text-color);
  margin-bottom: 15px;
  font-size: 1rem;
}

.planners-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.planner-group h5 {
  color: var(--secondary-text);
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.planner-group ul {
  list-style: none;
  padding: 0;
}

.planner-group li {
  margin-bottom: 10px;
}

.planner-group a {
  display: block;
  padding: 12px 15px;
  background: #fafafa;
  border-radius: 8px;
  color: var(--primary-brand);
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #eee;
  transition: all 0.2s;
}

.planner-group a:hover {
  background: var(--bg-color);
  border-color: var(--accent-color);
  transform: translateX(5px);
}

.app-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.app-badge {
  display: inline-block;
  padding: 12px 20px;
  background: #283131;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.app-badge:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .planners-list {
    grid-template-columns: 1fr; /* Stack on mobile */
  }

  .html-content-container {
    padding: 0 20px 80px; /* More bottom padding for mobile */
  }
}

/* Usability Improvements */

/* Custom Scrollbar */
.html-content-container {
  /* Smooth scrolling on iOS */
  -webkit-overflow-scrolling: touch;
  /* Prevent body scroll chaining */
  overscroll-behavior: contain;
}

/* Scrollbar Styling */
.html-content-container::-webkit-scrollbar {
  width: 8px;
}

.html-content-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 4px;
}

.html-content-container::-webkit-scrollbar-thumb {
  background-color: rgba(95, 8, 75, 0.2);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.html-content-container::-webkit-scrollbar-thumb:hover {
  background-color: rgba(95, 8, 75, 0.4);
}

/* New Store Buttons */
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  min-width: 160px;
  transition:
    transform 0.2s,
    background-color 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-badge:hover {
  transform: translateY(-2px);
  background-color: #1a1a1a;
  opacity: 1; /* Override previous opacity hover */
}

.store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.small-text {
  font-size: 0.7rem;
  opacity: 0.8;
  font-weight: 500;
}

.large-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Headless Modal (No Header) */
.modal-container.headless .modal-header {
  display: none !important;
}

/* Full Width App Buttons */
.app-links {
  flex-direction: column; /* Stack vertically for full width */
  width: 100%;
}

.app-badge {
  width: 100%;
  justify-content: center; /* Center content */
  display: flex; /* Ensure flex behavior */
}

/* Article Layout Redesign (Vidello Style) */

.article-layout {
  max-width: 720px; /* Optimal reading width */
  margin: 0 auto;
  padding: 120px var(--container-padding) 80px;
  font-family: "Inter", sans-serif;
  color: var(--text-color);
}

.article-category {
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: block;
}

.article-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Larger, editorial title */
  line-height: 1.1;
  color: var(--primary-brand);
  margin-bottom: 24px;
}

.article-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--secondary-text);
  margin-bottom: 60px;
  max-width: 90%;
}

.article-section {
  margin-bottom: 60px;
}

.article-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--primary-brand);
  margin-bottom: 24px;
  margin-top: 40px;
}

.article-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333; /* Darker grey for better readability */
  margin-bottom: 20px;
}

/* Full Width Visuals */
.article-visual {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 30px 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); /* Soft editorial shadow */
}

.article-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Clean Lists (No Cards) */
.article-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.article-list li {
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 12px;
}

.article-list a {
  color: var(--primary-brand);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}

.article-list a:hover {
  color: var(--accent-color);
}

.article-list a::after {
  content: "→";
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.2s;
}

.article-list a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Affiliate & Refund Refactoring */
.section-card-container {
  text-align: center;
  padding: 40px var(--container-padding);
  max-width: 500px;
  margin: 0 auto;
  border-bottom: 1px solid var(--glass-border);
}

.affiliate-card {
  padding: 30px 25px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: var(--card-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.reflex-card {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 30px 25px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: var(--card-bg);
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.reflex-card:hover {
  border-color: var(--primary-brand);
  box-shadow: 0 4px 16px rgba(68, 2, 6, 0.4);
}

.card-title {
  margin: 10px 0 5px;
  font-size: 1.3rem;
  color: var(--text-color) !important;
}

.card-text {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: var(--secondary-text) !important;
}

.highlight-brand {
  color: var(--primary-brand) !important;
}

/* Badges */
.badge-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid transparent;
}

.badge-brand {
  color: var(--primary-brand);
  background: rgba(68, 2, 6, 0.2);
  border-color: var(--glass-border);
}

.badge-success {
  color: #4caf50;
  background: rgba(76, 175, 80, 0.1);
}

.badge-info {
  color: #4fc3f7;
  background: rgba(79, 195, 247, 0.1);
}

.badge-warning {
  color: #ffb74d;
  background: rgba(255, 183, 77, 0.1);
}

.visual-main-7 {
  background-image: url("assets/images/main-7.jpg");
}
.visual-main-8 {
  background-image: url("assets/images/main-8.jpg");
}

.visual-affiliate {
  background-image: url("assets/images/add-1.jpg");
}

.visual-add-1 {
  background-image: url("assets/images/add-1.jpg");
}
.visual-main-1 {
  background-image: url("assets/images/main-1.jpg");
}
.visual-main-2 {
  background-image: url("assets/images/main-2.jpg");
}
.visual-main-3 {
  background-image: url("assets/images/main-3.jpg");
  position: relative;
}

.visual-main-3::after {
  content: "\f023  Liberado em 7 dias";
  font-family: "Font Awesome 6 Free", "Inter", sans-serif;
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px); /* Safari support */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  gap: 8px;
  border-radius: inherit;
  z-index: 2;
}

/* 7. MEDIA QUERIES (Breakpoints) */
@media (min-width: 1024px) {
  /* Desktop adjustments */
  .section-padding {
    padding: 100px 16px;
  }
}
