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

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #121829;
  --bg-tertiary: #1b233d;
  --primary: #14b8a6;
  --primary-hover: #0d9488;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(255, 255, 255, 0.06);
  --font-title: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

img, svg, video, iframe, object {
  max-width: 100%;
  height: auto;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border-color) 1px solid;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(10, 14, 26, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 0.75rem 2rem;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo svg {
  display: block;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
}

.logo-text .logo-box {
  color: var(--primary);
}

.logo-text .logo-simples {
  color: #ffffff;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3);
}

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

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(20, 184, 166, 0.08);
  transform: translateY(-2px);
}

.btn-demo-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #10b981 0%, #0d9488 100%);
  color: #ffffff;
  padding: 0.6rem 1.15rem;
  border-radius: 99px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.btn-demo-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #059669 0%, #0f766e 100%);
}

.btn-demo-highlight .demo-badge {
  background: #f59e0b;
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 99px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn-demo-highlight .demo-star {
  font-size: 0.95rem;
  line-height: 1;
}

.header-mobile-cta {
  display: none;
}

/* Hero Section */
.hero {
  padding: 8rem 2rem 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
  z-index: -1;
  filter: blur(50px);
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 30%;
  height: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  z-index: -1;
  filter: blur(50px);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary);
  border: 1px solid rgba(20, 184, 166, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--text-primary);
}

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

.hero-description {
  font-size: 1.2rem;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s ease;
}

.hero-image img:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-title {
  font-size: 2.25rem;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Product Showcase (Mobile) Section */
.showcase {
  padding: 6rem 2rem;
}

.showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.showcase-image img {
  width: 100%;
  max-width: 480px;
  display: block;
  margin: 0 auto;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.showcase-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.check-icon {
  background: rgba(20, 184, 166, 0.15);
  color: var(--primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.showcase-feature-item h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
}

.showcase-feature-item p {
  font-size: 0.9rem;
}

/* Pricing Section */
.pricing {
  padding: 6rem 2rem;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.pricing-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.15);
  transform: scale(1.03);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-5px);
}

.pricing-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--primary);
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  text-transform: uppercase;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-top: 1rem;
}

.pricing-price .amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-title);
}

.pricing-price .period {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-features li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

.pricing-features li.disabled {
  opacity: 0.4;
}

.pricing-features li.disabled::before {
  content: '✕';
  color: var(--text-muted);
}

/* Call to Action Section */
.cta {
  padding: 6rem 2rem;
  position: relative;
}

.cta-container {
  max-width: 1000px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(20, 184, 166, 0.1) 100%);
  border: 1px solid var(--primary);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.cta-title {
  font-size: 2.5rem;
  max-width: 700px;
}

.cta-description {
  font-size: 1.15rem;
  max-width: 600px;
}

/* Footer */
footer {
  background-color: #060911;
  padding: 4rem 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links ul a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0 auto;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Simulator Section */
.simulator {
  padding: 3rem 2rem 6rem 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(20, 184, 166, 0.1);
}

.simulator::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

.simulator-container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
}

.simulator-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  width: 100%;
  min-width: 0;
}

.simulator-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(20, 184, 166, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.simulator-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  min-width: 0;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
}

.control-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  min-width: 0;
}

.control-val {
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 700;
}

.slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: var(--bg-tertiary);
  outline: none;
  transition: background 0.3s;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.6);
  transition: transform 0.1s, background-color 0.2s;
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--primary-hover);
}

.slider-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.6);
  transition: transform 0.1s, background-color 0.2s;
}

.slider-input::-moz-range-thumb:hover {
  transform: scale(1.2);
  background: var(--primary-hover);
}

.simulator-results {
  background-color: rgba(10, 14, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  width: 100%;
  min-width: 0;
}

.result-metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  min-width: 0;
}

.result-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.result-amount {
  font-size: clamp(1.6rem, 6vw, 2.75rem);
  font-weight: 800;
  color: #ef4444;
  font-family: var(--font-title);
  line-height: 1.15;
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
  transition: all 0.2s ease;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  width: 100%;
}

.result-amount.saved {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.result-message {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.result-message strong {
  color: var(--text-primary);
}

.result-alert {
  background: rgba(239, 68, 68, 0.08);
  border: 1px dashed rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #fca5a5;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  width: 100%;
}

/* Comparison Section */
.comparison {
  padding: 6rem 2rem;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.comparison-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.comparison-card {
  border-radius: 20px;
  padding: 3rem 2.5rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.comparison-card.chaos {
  box-shadow: 0 15px 30px rgba(239, 68, 68, 0.03);
}

.comparison-card.chaos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #ef4444;
  border-radius: 20px 20px 0 0;
}

.comparison-card.solution {
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.05);
}

.comparison-card.solution::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  border-radius: 20px 20px 0 0;
}

.comparison-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.comparison-header .icon-chaos {
  color: #ef4444;
  font-size: 1.75rem;
}

.comparison-header .icon-solution {
  color: var(--primary);
  font-size: 1.75rem;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comparison-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
}

.comparison-list.list-chaos li::before {
  content: '✕';
  color: #ef4444;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.comparison-list.list-solution li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.comparison-list li span {
  color: var(--text-secondary);
}

.comparison-list li strong {
  color: var(--text-primary);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-description {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }

  .showcase-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .showcase-image {
    order: 2;
  }

  .simulator-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
  }

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

@media (max-width: 768px) {
  header {
    padding: 0.65rem 0.85rem;
  }
  
  header.scrolled {
    padding: 0.65rem 0.85rem;
  }

  .header-mobile-cta {
    display: inline-flex;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    gap: 0.3rem;
    border-radius: 99px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .logo svg {
    max-width: 175px;
    width: 100%;
    height: auto;
    display: block;
  }

  nav {
    display: none;
  }

  /* Section Padding */
  .hero {
    padding: 6rem 1rem 3rem 1rem;
  }

  .showcase,
  .simulator,
  .comparison,
  .pricing,
  .modules,
  .faq,
  .cta {
    padding: 3.5rem 1rem;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Simulator Section Mobile Improvements */
  .simulator-card {
    padding: 1.5rem 1rem;
    border-radius: 18px;
    gap: 2rem;
  }

  .simulator-results {
    padding: 1.5rem 1rem;
    border-radius: 14px;
    gap: 1.25rem;
  }

  .result-alert {
    font-size: 0.85rem;
    padding: 0.75rem 0.85rem;
  }

  .control-label {
    font-size: 0.95rem;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  /* Comparison */
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .comparison-card {
    padding: 1.5rem 1.25rem;
  }

  .comparison-header h3 {
    font-size: 1.3rem;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-card {
    padding: 1.75rem 1.25rem;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-price .amount {
    font-size: 2.25rem;
  }

  /* Interactive Modules Mobile Accordion */
  .modules {
    padding: 3.5rem 1rem 2rem 1rem;
  }

  .tab-buttons {
    display: none !important;
  }

  .tab-content {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-height: 0 !important;
    min-height: auto !important;
  }

  .tab-pane {
    display: block !important;
    opacity: 1 !important;
    background-color: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 14px !important;
    margin-bottom: 0.85rem !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
  }

  .tab-pane.mobile-open {
    border-color: var(--primary) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
  }

  .mobile-module-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1.15rem 1.25rem !important;
    cursor: pointer !important;
    font-family: var(--font-title) !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    user-select: none !important;
  }

  .mobile-module-header .chevron {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    transition: transform 0.3s ease !important;
  }

  .tab-pane.mobile-open .mobile-module-header {
    color: var(--primary) !important;
    background: rgba(20, 184, 166, 0.08) !important;
  }

  .tab-pane.mobile-open .mobile-module-header .chevron {
    transform: rotate(180deg) !important;
    color: var(--primary) !important;
  }

  .tab-grid {
    display: none !important;
    padding: 1rem 1.25rem 1.5rem 1.25rem !important;
  }

  .tab-pane.mobile-open .tab-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }

  .tab-text {
    gap: 1rem !important;
    width: 100% !important;
  }

  .tab-text h3 {
    display: none !important; /* Already shown in accordion header on mobile */
  }

  .tab-text p {
    font-size: 0.92rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.5 !important;
  }

  .tab-list {
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .tab-list li {
    font-size: 0.88rem !important;
    padding-left: 1.5rem !important;
    line-height: 1.5 !important;
  }

  .tab-list li strong {
    display: block !important;
    margin-bottom: 0.2rem !important;
    font-size: 0.95rem !important;
    color: var(--text-primary) !important;
  }

  /* Hide visual demo cards/images on mobile to eliminate cropping and clutter */
  .tab-visual-demo {
    display: none !important;
  }

  .balance-stats {
    display: flex;
    gap: 0.5rem;
    width: 100%;
  }

  .stat-box-mini {
    flex: 1;
    padding: 0.6rem 0.3rem;
    text-align: center;
  }

  .stat-box-mini .val {
    font-size: 1.2rem;
  }

  .stat-box-mini .lbl {
    font-size: 0.65rem;
  }

  .stock-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
    width: 100%;
    box-sizing: border-box;
  }

  /* FAQ */
  .faq-question {
    padding: 1.25rem 1rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1rem 1.25rem 1rem;
  }

  /* CTA */
  .cta-title {
    font-size: 1.75rem;
  }

  .cta-container {
    padding: 2.5rem 1.25rem;
    border-radius: 18px;
  }

  .cta .btn {
    width: 100%;
    padding: 0.85rem 1.5rem !important;
  }

  /* Footer */
  footer {
    padding: 3rem 1rem 2rem 1rem;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .result-amount {
    font-size: 1.6rem;
  }

  .pricing-price .amount {
    font-size: 2rem;
  }
}

/* Pricing Table styling */
.pricing-table-container {
  max-width: 1200px;
  margin: 5rem auto 0 auto;
  padding: 0 1rem;
}

.pricing-table-title {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pricing-table-title::before {
  content: '📋';
  font-size: 1.6rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.plans-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  min-width: 800px;
}

.plans-table th {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  font-family: var(--font-title);
  font-weight: 700;
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid var(--border-color);
}

.plans-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  vertical-align: middle;
}

.plans-table tr:last-child td {
  border-bottom: none;
}

.plans-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.015);
}

.plans-table td strong {
  color: var(--text-primary);
}

.plans-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  width: 30%;
}

.plans-table td.check-yes {
  color: var(--primary);
  font-weight: 600;
}

.plans-table td.check-no {
  color: var(--text-muted);
}

.table-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  font-weight: normal;
}

/* Stats Bar */
.stats-bar {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 2rem;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 200px;
}

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

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

.stat-divider {
  width: 1px;
  height: 50px;
  background-color: var(--border-color);
}

@media (max-width: 768px) {
  .stat-divider {
    display: none;
  }
  .stats-container {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Modules Interactive Tab Section */
.modules {
  padding: 6rem 2rem 2rem 2rem;
}

.modules-tabs-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-module-header {
  display: none;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  color: var(--primary);
  background-color: rgba(20, 184, 166, 0.08);
  border-color: rgba(20, 184, 166, 0.2);
}

.tab-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-pane.active {
  display: block;
  opacity: 1;
}

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



.tab-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tab-text h3 {
  font-size: 1.75rem;
  color: var(--text-primary);
}

.tab-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tab-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.tab-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--primary);
  font-weight: bold;
}

.tab-list li strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
}

/* Keyboard Shortcuts style */
.shortcut-list {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.kbd-key {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  gap: 0.5rem;
}

.kbd-key kbd {
  background: var(--bg-primary);
  color: var(--primary);
  border: 1px solid rgba(20, 184, 166, 0.3);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 700;
}

/* Visual Demos */
.tab-visual-demo {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
  min-height: 250px;
}

.visual-img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.shortcuts-card, .crate-balance-card, .account-current-card, .stock-list-card, .fiscal-badge-card, .pix-card {
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.shortcuts-card h4, .crate-balance-card h4, .account-current-card h4, .stock-list-card h4, .pix-card h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.shortcut-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.key-badge {
  background-color: rgba(20, 184, 166, 0.1);
  color: var(--primary);
  border: 1px solid rgba(20, 184, 166, 0.3);
  font-family: monospace;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  min-width: 45px;
  text-align: center;
}

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

/* Crate Card Demo */
.client-info {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.balance-stats {
  display: flex;
  gap: 0.75rem;
}

.stat-box-mini {
  flex: 1;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.stat-box-mini .val {
  font-size: 1.35rem;
  font-weight: 700;
}

.stat-box-mini .lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stat-box-mini.border-highlight {
  border-color: rgba(245, 158, 11, 0.3);
  background-color: rgba(245, 158, 11, 0.02);
}

.text-orange { color: var(--accent); }
.text-teal { color: var(--primary); }
.text-red { color: #ef4444; }

.visual-btn-demo {
  background-color: var(--primary);
  color: var(--bg-primary);
  text-align: center;
  padding: 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* Account Current Demo */
.limit-bar-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.limit-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.progress-bar {
  height: 8px;
  background-color: var(--bg-secondary);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #ef4444;
  border-radius: 99px;
}

.status-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.status-badge.alert-red {
  background-color: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Stock Demo */
.stock-item-row {
  display: flex;
  justify-content: space-between;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.stock-item-row strong {
  color: var(--primary);
}

/* Fiscal Demo */
.fiscal-badge-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.fiscal-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #10b981;
  font-weight: 600;
}

.pulse-green {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

.fiscal-type {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
}

.fiscal-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-mini {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
}

/* Pix Demo */
.pix-qr-placeholder {
  width: 140px;
  height: 140px;
  background-color: #ffffff;
  border-radius: 8px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-box {
  color: #0f172a;
  font-family: monospace;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px dashed #0f172a;
  padding: 1.5rem;
}

.pix-status {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.pix-status.pending {
  color: var(--accent);
}

/* FAQ Section (Accordion) */
.faq {
  padding: 6rem 2rem;
}

.faq-container {
  max-width: 850px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(20, 184, 166, 0.2);
}

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

.faq-question::after {
  content: '▼';
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active {
  border-color: var(--primary);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 1.5rem 1.5rem 1.5rem;
  transition: max-height 0.3s cubic-bezier(0.9, 0, 0.8, 0.2), padding 0.3s ease;
}
