/* ============================================
   LENSCODEX STYLES - CLEAN VERSION
   ============================================ */

:root {
    /* Colors */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #06b6d4;
    --dark: #1e293b;
    --darker: #0f172a;
    --background: #0a0f1e;
    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --border: #334155;
    --cobol-blue: #6ba3ff;  /* Azul royal para COBOL */
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    /* Container */
    --container-width: 1200px;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary,
.btn-secondary,
.cta-button,
.cta-primary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary,
.cta-primary,
.cta-button {
    background: var(--primary);
    color: white !important;
}

.btn-primary:hover,
.cta-primary:hover,
.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text);
}

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

/* Radar CSS */
.radar-container {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -2px;
}

.radar-css {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--darker) 0%, var(--dark) 70%, var(--primary) 100%);
    border: 2px solid var(--primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.radar-css::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    z-index: 3;
}

.radar-css::after {
    content: '<>';
    position: absolute;
    font-size: 10px;
    color: var(--darker);
    font-weight: bold;
    z-index: 4;
}

/* Radar Animation */
.radar-css-beam {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: radar-spin 4s linear infinite;
    z-index: 1;
}

.radar-css-beam::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        rgba(59, 130, 246, 0.6) 0deg,
        rgba(59, 130, 246, 0.3) 30deg,
        transparent 60deg
    );
}

@keyframes radar-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:not(.cta-button):hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .nav {
        gap: 1rem;
    }
    
    .nav a:not(.cta-button) {
        display: none;
    }
}

/* ============================================
   DROPDOWN NAVIGATION
   ============================================ */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-dropdown-trigger:hover {
  color: var(--primary);
}

.nav-dropdown-trigger svg {
  transition: transform 0.3s ease;
  opacity: 0.6;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 0.5rem);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

@media (max-width: 768px) {
  .nav-dropdown {
    display: none;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: var(--space-xl) 0;
    padding-bottom: 150px;  /* Aumenta espaço embaixo */
    background: linear-gradient(180deg, var(--background) 0%, var(--darker) 100%);
    min-height: 90vh;  /* Força hero ocupar 90% da tela */
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: var(--space-md);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        padding: var(--space-lg) 0;
    }
}

/* ============================================
   DESIGNED FOR
   ============================================ */
.designed {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--border);
}

.designed-label {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.designed-logos {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.designed-logo {
    color: var(--text-dim);
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0.6;
}

/* ============================================
   SECTIONS
   ============================================ */
.steps,
.features,
.personas,
.stats,
.trust {
    padding: var(--space-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* ============================================
   STEPS
   ============================================ */
.steps {
    background: var(--darker);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.step-card {
    padding: var(--space-md);
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.step-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.step-card h3 {
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.step-card p {
    color: var(--text-dim);
}

/* ============================================
   FEATURES
   ============================================ */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    margin-bottom: var(--space-xl);
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-title {
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.feature-description {
    color: var(--text-dim);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-bottom: var(--space-md);
}

.feature-list li {
    color: var(--text);
    margin-bottom: var(--space-xs);
}

.link-arrow {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-arrow:hover {
    color: var(--secondary);
}

.feature-visual {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-visual {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.25rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .feature-visual {
        height: 250px;
    }
}

/* ============================================
   PERSONAS
   ============================================ */
.personas {
    background: var(--darker);
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.persona-card {
    padding: var(--space-md);
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.persona-card h3 {
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.persona-card p {
    color: var(--text-dim);
}

/* ============================================
   OUTPUTS (EDITORIAL STYLE)
   ============================================ */
.outputs {
  padding: 120px 24px;
  background: linear-gradient(
    to bottom,
    #070d1c 0%,
    #050a16 100%
  );
}

.outputs-title {
  text-align: center;
  margin-bottom: 16px;
}

.outputs-subtitle {
  color: var(--text-dim);
  font-size: 1.25rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}

.outputs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

.output-item h3 {
  font-size: 42px;
  font-weight: 600;
  color: #4c8dff;
  margin-bottom: 20px;
}

.output-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #c5cee0;
  margin-bottom: 24px;
  max-width: 360px;
}

.output-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.output-item li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #aeb9d3;
  font-size: 15px;
}

.output-item li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #4c8dff;
}

@media (max-width: 900px) {
  .outputs-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .output-item p {
    max-width: none;
  }
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-page {
  background-color: #040913;
}

.product-cobol,
.product-jcl {
  padding: var(--space-xl) 0;
}

.product-cobol {
  background: linear-gradient(180deg, var(--background) 0%, var(--darker) 100%);
}

.product-jcl {
  background: linear-gradient(180deg, var(--darker) 0%, var(--background) 100%);
}

.product-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.product-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 24px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 1px;
}

.cobol-badge {
  background: rgba(107, 163, 255, 0.15);
  color: var(--cobol-blue);
  border: 2px solid var(--cobol-blue);
}

.jcl-badge {
  background: rgba(93, 217, 206, 0.15);
  color: #5dd9ce;
  border: 2px solid #5dd9ce;
}

.product-header h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.product-subtitle {
  font-size: 1.2rem;
  color: var(--text-dim);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.cobol-card h3 {
  color: var(--cobol-blue) !important;
}

.cobol-card:hover {
  border-color: var(--cobol-blue) !important;
  box-shadow: 0 10px 40px rgba(107, 163, 255, 0.25) !important;
  background: linear-gradient(135deg, var(--dark) 0%, rgba(107, 163, 255, 0.1) 100%) !important;
}

.jcl-card h3 {
  color: #5dd9ce !important;
}

.jcl-card:hover {
  border-color: #5dd9ce !important;
  box-shadow: 0 10px 40px rgba(93, 217, 206, 0.25) !important;
  background: linear-gradient(135deg, var(--dark) 0%, rgba(93, 217, 206, 0.1) 100%) !important;
}

.product-outputs {
  margin-top: var(--space-lg);
  text-align: center;
}

.product-outputs h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--text);
}

.outputs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.output-tag {
  padding: 0.75rem 1.5rem;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.output-tag:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
}

.comparison-section {
  padding: var(--space-xl) 0;
  background: var(--darker);
}

.comparison-section h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-size: 2.5rem;
  color: var(--text);
}

.comparison-table {
  max-width: 800px;
  margin: 0 auto;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background: rgba(59, 130, 246, 0.1);
  border-bottom: 2px solid var(--border);
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-cell {
  padding: 1.25rem;
  text-align: center;
  color: var(--text);
  font-weight: 500;
}

.comparison-header .comparison-cell {
  font-weight: 700;
  color: var(--primary);
}

.comparison-cell .check {
  color: var(--secondary);
  font-size: 1.5rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .product-header h2 {
    font-size: 2rem;
  }

  .product-subtitle {
    font-size: 1.1rem;
  }

  .comparison-header,
  .comparison-row {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .comparison-cell {
    padding: 1rem 0.5rem;
    font-size: 0.9rem;
  }
}

/* ============================================
   TRUST
   ============================================ */
.trust {
    background: var(--darker);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.trust-card {
    padding: var(--space-md);
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.trust-card h3 {
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.trust-card p {
    color: var(--text-dim);
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-final {
    padding: var(--space-xl) 0;
    text-align: center;
    background: linear-gradient(180deg, var(--background) 0%, var(--darker) 100%);
}

.cta-title {
    margin-bottom: var(--space-sm);
}

.cta-subtitle {
    color: var(--text-dim);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--darker);
    border-top: 1px solid var(--border);
    padding: var(--space-lg) 0 var(--space-md) 0;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: var(--space-sm);
    text-decoration: none;
}

.footer-logo span {
    color: var(--text);
}

.radar-css-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--darker) 0%, var(--dark) 70%, var(--primary) 100%);
    border: 2px solid var(--primary);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 -2px;
    overflow: hidden;
    vertical-align: -3px;
}

.radar-css-small::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    z-index: 3;
}

.radar-css-small::after {
    content: '<>';
    position: absolute;
    font-size: 8px;
    color: var(--darker);
    font-weight: bold;
    z-index: 4;
}

.radar-css-small-beam {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: radar-spin 4s linear infinite;
    z-index: 1;
}

.radar-css-small-beam::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        rgba(59, 130, 246, 0.6) 0deg,
        rgba(59, 130, 246, 0.3) 30deg,
        transparent 60deg
    );
}

.footer-description {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-column h4 {
    color: var(--primary);
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

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

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
}

.modal-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    margin: auto;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    z-index: 2001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.modal-header p {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
    opacity: 0.6;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-submit {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-submit:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .form-group textarea {
        min-height: 70px;
    }
}

/* ============================================
   HOW IT WORKS - STEPS
   ============================================ */
.steps-section {
  padding: 120px 24px;
  background: #050a16;
}

.steps-title {
  text-align: center;
  margin-bottom: 64px;
}

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

.step-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-number {
  display: inline-block;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: #4c8dff;
  opacity: 0.9;
}

.step-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #c5cee0;
  max-width: 220px;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-number {
    font-size: 48px;
  }

  .step-item p {
    max-width: none;
  }
}

/* ============================================
   FOCUS SECTION
   ============================================ */
.focus-section {
    padding: var(--space-xl) 0;
    background: var(--background);
}

.focus-section .cta-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    font-size: 2.5rem;
}

.focus-section .cta-subtitle {
    text-align: center;
    color: var(--text);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 850px;
    margin: 0 auto var(--space-lg);
}

.focus-section .feature-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-sm);
}

.focus-section .feature-list li {
    color: var(--text);
    padding: var(--space-sm);
    padding-left: 2.5rem;
    position: relative;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.focus-section .feature-list li::before {
    content: '→';
    position: absolute;
    left: 0.75rem;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.5rem;
}

/* ============================================
   CAPABILITIES SECTION
   ============================================ */
.capabilities-section {
    padding: var(--space-xl) 0;
    background: var(--darker);
}

.capabilities-section h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
    font-size: 2.5rem;
    color: var(--text);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    max-width: var(--container-width);
    margin: 0 auto;
}

.capability-card {
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--dark) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 2px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--dark) 0%, rgba(59, 130, 246, 0.1) 100%);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.capability-card h3 {
    color: var(--primary);
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.capability-card p {
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 1rem;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    padding: var(--space-xl) 0;
    background: linear-gradient(180deg, var(--background) 0%, var(--darker) 100%);
    text-align: center;
}

.final-cta h2 {
    margin-bottom: var(--space-md);
    font-size: 2.5rem;
    color: var(--text);
}

.final-cta .btn-primary {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.final-cta .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

/* About page - background diferente para alternar com Why Now */
.about-page .final-cta {
    background: var(--darker);
    background-image: none;
}
/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .focus-section .feature-list {
        grid-template-columns: 1fr;
    }
    
    .focus-section .cta-title,
    .capabilities-section h2,
    .final-cta h2 {
        font-size: 2rem;
    }
    
    .focus-section .cta-subtitle {
        font-size: 1.1rem;
    }
}

/* ============================================
   ABOUT PAGE - Additional Styles
   Cole no FINAL do styles.css
   ============================================ */

/* Hero compacto para About */
body .hero {
  padding: 80px 0 60px 0;
}

/* Mission Section */
.about-mission {
  padding: var(--space-xl) 0;
  background: var(--background);  /* Escuro */
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.mission-content h2 {
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-size: 2.5rem;
}

.mission-content p {
  color: var(--text-dim);
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.mission-content p:last-child {
  margin-bottom: 0;
}

.mission-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.stat-card {
  padding: var(--space-md);
  background: var(--dark);
  border: 2px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.stat-label {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Difference Section */
.about-difference {
  padding: var(--space-xl) 0;
  background: var(--darker);  /* Mais claro */
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.difference-card {
  padding: var(--space-lg);
  background: var(--dark);
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.difference-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.difference-card h3 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

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

/* Who We Serve Section */
.about-serve {
  padding: var(--space-xl) 0;
  background: var(--background);  /* Escuro */
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.serve-card {
  padding: var(--space-lg);
  background: var(--dark);
  border: 2px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.serve-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

.serve-card h3 {
  color: var(--text);
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.serve-card p {
  color: var(--text-dim);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Values Section */
.about-values {
  padding: var(--space-xl) 0;
  background: var(--darker);  /* Mais claro */
}

.values-list {
  margin-top: var(--space-lg);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.value-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--dark);
  border: 2px solid var(--border);
  border-radius: 12px;
  margin-bottom: var(--space-md);
  transition: all 0.3s ease;
}

.value-item:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--dark) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.value-number {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  opacity: 0.8;
}

.value-content h3 {
  color: var(--text);
  margin-bottom: var(--space-xs);
  font-size: 1.5rem;
}

.value-content p {
  color: var(--text-dim);
  line-height: 1.7;
}

/* Why Now Section */
.about-why-now {
  padding: var(--space-xl) 0;
  background: var(--background);  /* Escuro */
}

.why-now-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.why-now-content h2 {
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-size: 2.5rem;
}

.why-now-intro {
  color: var(--text-dim);
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.why-now-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: var(--space-lg);
  background: var(--dark);
  border: 2px solid var(--border);
  border-radius: 12px;
}

.why-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.why-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
}

.why-stat-label {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.4;
}

.why-now-conclusion {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.8;
}

.why-now-conclusion em {
  color: var(--primary);
  font-style: normal;
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-content h2,
  .why-now-content h2 {
    font-size: 2rem;
  }

  .stat-number,
  .why-stat-number {
    font-size: 2.5rem;
  }

  .value-item {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .value-number {
    font-size: 3rem;
  }

  .why-now-stats {
    grid-template-columns: 1fr;
  }

  .difference-grid,
  .serve-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MOBILE MENU - Hamburguer
   ============================================ */

/* Botão Hamburguer - escondido em desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animação do X */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Mostra botão hamburguer */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Menu mobile - escondido por padrão */
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark);
        border-top: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    /* Menu aberto */
    .nav.active {
        max-height: 400px;
    }
    
    /* Links no mobile */
    .nav a:not(.cta-button) {
        display: block !important;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border);
        color: var(--text);
        text-decoration: none;
    }
    
    .nav a:hover {
        background: rgba(59, 130, 246, 0.1);
    }
    
    /* CTA button no mobile */
    .nav .cta-button {
        margin: 1rem 2rem;
        text-align: center;
        display: block !important;
    }
    
    /* Dropdown no mobile */
    .nav-dropdown {
        display: block;
    }
    
    .nav-dropdown-trigger {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        background: rgba(0, 0, 0, 0.3);
        display: none;
    }
    
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }
    
    .nav-dropdown-item {
        padding: 0.875rem 3rem !important;
        border-bottom: 1px solid var(--border);
    }
    
    /* Impede scroll quando menu aberto */
    body.menu-open {
        overflow: hidden;
    }
}

/* Tablet - mostra menu normal */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* ============================================
   IMAGE OPTIMIZATION FOR FEATURES
   ============================================ */

/* Ajuste do container para aceitar imagens de tamanhos variados */
.feature-visual {
    height: auto;           /* Remove a trava de 400px */
    min-height: 450px;      /* Garante uma presença mínima */
    padding: 10px;          /* Espaço interno */
    background: #161e2d;    /* Um tom levemente diferente do fundo para dar profundidade */
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-visual img {
    width: 100%;            /* Faz a imagem ocupar toda a largura disponível */
    max-width: 550px;       /* Mas limita para não estourar em telas gigantes */
    height: auto;
    border-radius: 4px;     /* Bordas levemente arredondadas */
    
    /* O SEGREDO: Uma sombra suave e uma borda sutil que faz o 
       branco parecer uma folha de papel sobre a mesa escura */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Filtro opcional: deixa o branco um pouquinho menos 'agressivo' 
       sem mudar as cores reais do gráfico */
    filter: saturate(1.1) brightness(0.98); 
}

/* Garante que no mobile a imagem não fique apertada */
@media (max-width: 768px) {
    .feature-visual {
        min-height: auto;
        padding: 20px 0;
    }
}