@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  --primary: #6B46C1;
  --primary-deep: #553C9A;
  --primary-soft: #E9D8FD;
  --accent: #00B8A9;
  --accent-deep: #008C82;
  --accent-soft: #E6FFFC;
  --background: #F7FAFC;
  --surface: #FFFFFF;
  --surface-high: #EDF2F7;
  --text-primary: #120D2E;
  --text-secondary: #6B5F8A;
  --border: #E2E8F0;
  
  /* Status */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  
  /* Fonts */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(18, 13, 46, 0.04);
  --shadow-md: 0 8px 24px rgba(18, 13, 46, 0.08);
  --shadow-lg: 0 16px 40px rgba(18, 13, 46, 0.12);
  --shadow-primary: 0 8px 30px rgba(107, 70, 193, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Layout */
  --max-width: 1200px;
}

/* --- RESET & BASIC STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* --- COMMON LAYOUT & CONTAINERS --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-bg-alt {
  background-color: #FFFFFF;
}

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

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-accent {
  background-color: var(--accent-soft);
  color: var(--accent-deep);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  gap: 10px;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(107, 70, 193, 0.35);
}

.btn-accent {
  background-color: var(--accent);
  color: #FFFFFF;
}

.btn-accent:hover {
  background-color: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(0, 184, 169, 0.25);
}

.btn-secondary {
  background-color: var(--surface-high);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

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

.btn-link {
  padding: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-link:hover {
  color: var(--primary-deep);
}

.btn-link svg {
  transition: transform var(--transition-fast);
}

.btn-link:hover svg {
  transform: translateX(4px);
}

/* --- NAVBAR --- */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(247, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: padding var(--transition-normal);
  padding: 20px 0;
}

.header-nav.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 40px;
}

.logo-img {
  height: 36px;
  width: auto;
}

.logo-icon-img {
  height: 32px;
  width: auto;
  margin-right: 10px;
  transition: transform var(--transition-normal);
}

.logo-link:hover .logo-icon-img {
  transform: scale(1.15) rotate(-6deg);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-item a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-item a:hover {
  color: var(--primary);
}

.nav-item.active a {
  color: var(--primary);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
}

/* --- HERO SECTION --- */
.hero {
  padding: 160px 0 100px 0;
  background: radial-gradient(circle at 80% 20%, rgba(107, 70, 193, 0.05) 0%, rgba(247, 250, 252, 1) 70%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background-color: rgba(107, 70, 193, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-tag span {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #120D2E;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.download-badge.disabled {
  opacity: 0.75;
  cursor: pointer; /* we want them to click and see modal */
  position: relative;
}

.download-badge.disabled:hover {
  background-color: #1a153b;
  transform: translateY(-2px);
}

.download-badge-icon {
  width: 24px;
  height: 24px;
}

.download-badge-text {
  display: flex;
  flex-direction: column;
}

.download-badge-text span:first-child {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

.download-badge-text span:last-child {
  font-size: 0.95rem;
  font-weight: 700;
}

.download-badge .badge-coming-soon {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: var(--accent);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
}

.hero-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

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

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- HERO VISUAL / APP MOCKUP --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-bg-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(107, 70, 193, 0.15) 0%, rgba(0, 184, 169, 0.05) 50%, rgba(247, 250, 252, 0) 70%);
  z-index: 1;
}



/* Simulated App Screen in CSS (Premium Glassmorphism Mockups) */
.phone-mockup-wrapper {
  position: relative;
  z-index: 2;
  width: 290px;
  height: 580px;
  background-color: #120D2E;
  border-radius: 40px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  border: 4px solid #332b5e;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--background);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Simulated Screen Content */
.phone-header {
  padding: 16px 16px 8px 16px;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-logo {
  height: 20px;
}

.phone-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary-soft);
}

.phone-content {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-widget-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.phone-match-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.match-title {
  font-size: 0.85rem;
  font-weight: 700;
}

.match-percentage {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-deep);
  background-color: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
}

.match-avatars {
  display: flex;
  gap: -6px;
}

.mini-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #FFFFFF;
  background-color: var(--primary);
  margin-right: -4px;
}

.mini-avatar:nth-child(2) { background-color: var(--accent); }
.mini-avatar:nth-child(3) { background-color: var(--warning); }

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

.phone-hour-cell {
  background-color: var(--surface-high);
  border-radius: 6px;
  padding: 6px 2px;
  font-size: 0.65rem;
  text-align: center;
  font-weight: 600;
  color: var(--text-secondary);
}

.phone-hour-cell.active {
  background-color: var(--primary);
  color: #FFFFFF;
}

.phone-poll-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.poll-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  background-color: var(--background);
  border-radius: 8px;
  margin-top: 6px;
  font-size: 0.75rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.poll-option-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--primary-soft);
  z-index: -1;
}

.poll-option-fill.option1 { width: 75%; }
.poll-option-fill.option2 { width: 40%; }

.poll-option.winner {
  border-color: var(--primary);
}

.floating-mockup-card {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
  top: 60px;
  left: -60px;
  width: 180px;
}

.floating-card-2 {
  bottom: 80px;
  right: -60px;
  width: 190px;
  animation-delay: 2s;
}

.f-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.f-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--accent-soft);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-card-icon.purple {
  background-color: var(--primary-soft);
  color: var(--primary);
}

.f-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.f-card-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* --- DUAL TARGET STRATEGY (USERS vs MERCHANTS) --- */
.dual-tabs-container {
  max-width: 800px;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  background-color: var(--surface-high);
  padding: 6px;
  border-radius: var(--radius-full);
  margin-bottom: 48px;
  border: 1px solid var(--border);
}

.tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 24px;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tab-btn.active {
  background-color: #FFFFFF;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tab-content {
  display: none;
  animation: fadeIn var(--transition-slow) forwards;
}

.tab-content.active {
  display: block;
}

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

.dual-text h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.dual-text p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-icon.purple {
  background-color: var(--primary-soft);
  color: var(--primary);
}

.benefit-icon.brand-icon {
  background-color: var(--accent-soft);
  color: var(--accent-deep);
}

.benefit-icon.brand-icon.purple {
  background-color: var(--primary-soft);
  color: var(--primary);
}

.benefit-logo-icon {
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: url('assets/Logo.svg') no-repeat center;
  mask: url('assets/Logo.svg') no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: transform var(--transition-normal);
}

.benefit-item:hover .benefit-logo-icon {
  transform: scale(1.2) rotate(-10deg);
}

.benefit-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.benefit-item p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

.dual-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* CSS simulated merchant stats card */
.merchant-panel-mockup {
  width: 100%;
  max-width: 440px;
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.panel-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.panel-title span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: block;
}

.panel-badge {
  background-color: var(--primary-soft);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.panel-metric-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background-color: var(--background);
}

.metric-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.metric-value.accent {
  color: var(--accent-deep);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* --- FEATURES GRID SECTION --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-card:nth-child(2) .feature-card-icon {
  background-color: var(--accent-soft);
  color: var(--accent-deep);
}

.feature-card:nth-child(3) .feature-card-icon {
  background-color: #FFFBEB;
  color: var(--warning);
}

.feature-card:nth-child(4) .feature-card-icon {
  background-color: #ECFDF5;
  color: var(--success);
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- PLANS FOR MERCHANTS --- */
.plans-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 40px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.plan-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.plan-card.featured .plan-featured-label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-card:hover {
  box-shadow: var(--shadow-md);
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-price {
  margin-bottom: 24px;
}

.plan-price-val {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.plan-price-period {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  min-height: 48px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.plan-feature-item.disabled {
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.5;
}

.plan-feature-icon {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

.plan-feature-item.disabled .plan-feature-icon {
  color: var(--text-secondary);
}

.plan-btn {
  width: 100%;
}

/* --- APP RULES (NORMAS) SECTION --- */
.norms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.norm-box {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--border);
}

.norm-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.norm-box h3 svg {
  color: var(--primary);
}

.norm-box.merchant h3 svg {
  color: var(--accent-deep);
}

.norm-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.norm-item {
  display: flex;
  gap: 12px;
}

.norm-number {
  background-color: var(--primary-soft);
  color: var(--primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.norm-box.merchant .norm-number {
  background-color: var(--accent-soft);
  color: var(--accent-deep);
}

.norm-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.norm-text p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- FAQ SECTION --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: transparent;
  border: none;
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- LEAD CAPTURE SECTION --- */
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
  z-index: 1;
}

.cta-box-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.cta-box .section-title {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-box .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.lead-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.lead-form {
  display: flex;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  gap: 8px;
}

.lead-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: #FFFFFF;
  font-family: var(--font-main);
  font-size: 1rem;
  outline: none;
}

.lead-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.lead-btn {
  background-color: var(--accent);
  color: #FFFFFF;
  padding: 12px 24px;
  font-size: 0.95rem;
  border-radius: 12px;
}

.lead-btn:hover {
  background-color: var(--accent-deep);
}

.lead-feedback {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.lead-feedback.success {
  color: var(--accent-soft);
  display: block;
}

.lead-feedback.error {
  color: #F87171;
  display: block;
}

/* --- FOOTER --- */
.footer {
  background-color: #120D2E;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.footer-logo-icon {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo {
  height: 28px;
  width: auto;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
}

.social-link:hover {
  background-color: var(--primary);
  color: #FFFFFF;
}

/* --- MODAL DIALOGS --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 13, 46, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 480px;
  padding: 40px 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  text-align: center;
  border: 1px solid var(--border);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* --- LEGAL PAGES LAYOUT (TERMS & PRIVACY) --- */
.legal-header {
  padding: 140px 0 60px 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border);
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.legal-back-link:hover {
  color: var(--primary-deep);
}

.legal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding: 60px 0 100px 0;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.legal-nav-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.legal-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-nav-item a {
  font-size: 0.925rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: block;
  border-left: 2px solid transparent;
  padding-left: 16px;
}

.legal-nav-item a:hover {
  color: var(--primary);
}

.legal-nav-item.active a {
  color: var(--primary);
  font-weight: 600;
  border-left-color: var(--primary);
}

.legal-body {
  max-width: 800px;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.legal-section ul, .legal-section ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.legal-section li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- ANIMATIONS --- */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(107, 70, 193, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(107, 70, 193, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(107, 70, 193, 0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- MASCOTE SECTION --- */
.section-mascot {
  background-color: var(--background);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.mascot-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

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

.mascot-img-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  max-width: 480px;
  width: 100%;
}

.mascot-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

.mascot-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(18, 13, 46, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-normal);
}

.mascot-badge-logo {
  height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
}

.mascot-img-wrapper:hover {
  transform: translateY(-6px) rotate(1deg);
  box-shadow: 0 20px 40px rgba(18, 13, 46, 0.12);
  border-color: rgba(107, 70, 193, 0.2);
}

.mascot-img-wrapper:hover .mascot-badge {
  transform: translateY(-2px) scale(1.05);
}

.mascot-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mascot-text-highlight {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: -8px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.mascot-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.mascot-description:last-of-type {
  margin-bottom: 32px;
}

.mascot-actions {
  display: flex;
  gap: 16px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-grid {
    gap: 32px;
  }
  .mascot-grid {
    gap: 40px;
  }
  .dual-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .norms-grid {
    grid-template-columns: 1fr;
  }
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .legal-sidebar {
    display: none; /* hide sidebar on tablet/mobile */
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .mascot-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .mascot-content {
    align-items: center;
  }
  .mascot-img-wrapper {
    max-width: 400px;
  }
  .mascot-badge {
    bottom: 16px;
    right: 16px;
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  .mascot-badge-logo {
    height: 14px;
  }
  html {
    font-size: 15px;
  }
  .section {
    padding: 60px 0;
  }
  .hero {
    padding: 120px 0 60px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 40px;
  }
  .phone-mockup-wrapper {
    width: 260px;
    height: 520px;
  }
  .floating-card-1 {
    left: -20px;
    top: 40px;
    width: 150px;
  }
  .floating-card-2 {
    right: -20px;
    bottom: 40px;
    width: 160px;
  }
  
  /* Menu Mobile */
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 100px 32px 40px 32px;
    gap: 24px;
    align-items: flex-start;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-cta {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }
  
  .nav-cta .btn {
    width: 100%;
  }
  
  .plans-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .plan-card.featured {
    transform: none;
  }
  
  .norm-box {
    padding: 24px;
  }
  
  .cta-box {
    padding: 60px 20px;
  }
  
  .lead-form {
    flex-direction: column;
    background-color: transparent;
    border: none;
    padding: 0;
  }
  .lead-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
  }
  .lead-btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- COOKIE CONSENT BANNER (LGPD) --- */
.cookie-banner {
  position: fixed;
  bottom: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 760px;
  background-color: rgba(18, 13, 46, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  padding: 20px 24px;
  z-index: 2000;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.active {
  bottom: 24px;
}

.cookie-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 !important;
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.btn-cookie-reject {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cookie-reject:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
  text-align: center;
  line-height: 1.4;
}

.form-disclaimer a {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .cookie-banner {
    bottom: -350px;
    width: calc(100% - 32px);
  }
  
  .cookie-banner.active {
    bottom: 16px;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

