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

:root {
  --primary-color: #1e3a8a;
  --secondary-color: #6b7280;
  --accent-color: #3b82f6;
  --background-color: #f9fafb;
  --text-color: #374151;
  --white: #ffffff;
  --light-gray: #f3f4f6;
  --border-color: #e5e7eb;
}

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

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  padding-top: 56px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: -0.025em;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.4; }
h4 { font-size: 1.25rem; line-height: 1.5; }

.lead {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--secondary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #1e40af;
  border-color: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  z-index: 1030;
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.5rem;
}

.logo-aspirant {
  color: #1F3A8A;
}

.logo-crm {
  color: #7CB342;
}

.navbar-nav .nav-link {
  color: var(--text-color) !important;
  font-weight: 400;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

.hero-section {
  background-color: var(--white);
  padding: 80px 0;
}

.hero-content {
  flex: 0 0 40%;
  max-width: 40%;
}

.hero-visual {
  flex: 0 0 60%;
  max-width: 60%;
  padding-left: 2rem;
}

.product-visualization {
  perspective: 1000px;
  margin-bottom: 2rem;
}

.dashboard-preview {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.dashboard-preview:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(30, 58, 138, 0.25);
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  }
  50% {
    box-shadow: 0 8px 35px rgba(30, 58, 138, 0.25);
  }
  100% {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  }
}

.hero-section h1 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

.hero-section .subtitle {
  font-size: 1.3rem;
  color: var(--secondary-color);
  font-style: italic;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.section-padding {
  padding: 80px 0;
}

.section-badge {
  display: inline-block;
  background: #eff6ff;
  color: var(--accent-color);
  border: 1px solid #bfdbfe;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-alt {
  background-color: var(--light-gray);
}

.section-white {
  background-color: var(--white);
}

.container {
  padding-left: 20px;
  padding-right: 20px;
}

.card {
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  background: var(--white);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-color: var(--primary-color);
  animation: pulse 0.5s ease;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--light-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.card-title {
  color: var(--primary-color);
  font-weight: 600;
}

.problem-item {
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: var(--white);
  border-left: 3px solid var(--primary-color);
  border-radius: 4px;
}

.badge-module {
  background-color: var(--light-gray);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.9rem;
}

footer {
  background-color: #1f2937;
  color: var(--white);
  padding: 50px 0 30px 0;
}

footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

footer .logo-aspirant {
  color: #1F3A8A;
}

footer .logo-crm {
  color: #7CB342;
}

footer p {
  color: #d1d5db;
  line-height: 1.6;
}

footer a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

footer a:hover {
  color: var(--white);
}

footer .bi {
  font-size: 1.2rem;
}

footer ul li {
  margin-bottom: 0.5rem;
}

.text-muted {
  color: var(--secondary-color) !important;
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
  background: var(--primary-color);
  color: #fff;
  padding: 20px 0;
}
.stats-bar .stat-item {
  text-align: center;
  padding: 8px 16px;
}
.stats-bar .stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.stats-bar .stat-label {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 4px;
  display: block;
}
.stats-bar .stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
  align-self: stretch;
  margin: 4px 0;
}

/* =========================================
   HUB DIAGRAM
   ========================================= */
.hub-diagram-wrap {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.hub-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
  z-index: 2;
  box-shadow: 0 8px 30px rgba(30, 58, 138, 0.4);
  gap: 4px;
  line-height: 1.2;
}
.hub-center i {
  font-size: 1.4rem;
}
.hub-node {
  position: absolute;
  background: #fff;
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transform: translate(-50%, -50%);
  transition: box-shadow 0.3s, border-color 0.3s;
  color: var(--primary-color);
}
.hub-node:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.2);
}
.hub-node.coming-soon {
  border-color: #d1d5db;
  color: var(--secondary-color);
}
.hub-node.coming-soon i {
  color: var(--secondary-color);
}
.hub-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hub-svg line {
  stroke: var(--accent-color);
  stroke-width: 1.5;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1s ease;
}
.hub-svg line.soon {
  stroke: #d1d5db;
}
.hub-animated .hub-svg line {
  stroke-dashoffset: 0;
}

/* Mobile pill grid (replaces radial diagram on small screens) */
.hub-mobile-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 8px 0;
}
.hub-mobile-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.hub-mobile-pill i {
  font-size: 1rem;
  flex-shrink: 0;
}
.hub-mobile-pill.coming-soon {
  border-color: #d1d5db;
  color: var(--secondary-color);
  background: #fafafa;
}
.hub-mobile-pill.coming-soon i {
  color: var(--secondary-color);
}

/* =========================================
   EMAIL MODULE SECTION
   ========================================= */
.email-feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}
.phase-badge {
  display: inline-block;
  background: #fef9c3;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.phase-badge.active {
  background: #dcfce7;
  color: #16a34a;
  border-color: #bbf7d0;
}

/* =========================================
   KANBAN MOCK
   ========================================= */
.kanban-board {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.kanban-col {
  background: #f3f4f6;
  border-radius: 12px;
  padding: 14px;
  min-width: 150px;
  flex: 1;
}
.kanban-col-header {
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 6px;
}
.kanban-col-header .k-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.kanban-card {
  background: #fff;
  border-radius: 8px;
  padding: 9px 11px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  border-left: 3px solid var(--accent-color);
  color: var(--text-color);
  font-weight: 500;
  line-height: 1.4;
}
.kanban-card .k-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 0.7rem;
  color: var(--secondary-color);
  font-weight: 400;
}
.kanban-card .k-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
}

/* =========================================
   INTEGRATIONS STRIP
   ========================================= */
.integrations-strip {
  background: var(--white);
}
.integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  border-radius: 12px;
  transition: background 0.2s;
}
.integration-item:hover {
  background: var(--light-gray);
}
.integration-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
}
.integration-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-color);
}
.badge-live {
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50px;
  padding: 2px 9px;
  font-size: 0.68rem;
  font-weight: 600;
}
.badge-soon {
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 50px;
  padding: 2px 9px;
  font-size: 0.68rem;
  font-weight: 600;
}

/* =========================================
   PRICING SECTION
   ========================================= */
.pricing-card {
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 36px 32px;
  height: 100%;
  transition: all 0.3s ease;
  background: var(--white);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.pricing-card.featured {
  border-color: var(--primary-color);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-tag {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}
.pricing-tag small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--secondary-color);
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pricing-features li {
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li:last-child {
  border-bottom: none;
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.hiw-step {
  text-align: center;
  padding: 36px 28px;
  border-radius: 20px;
  border: 2px solid var(--border-color);
  background: #fff;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}
.hiw-step:hover {
  border-color: var(--accent-color);
  box-shadow: 0 8px 32px rgba(30, 58, 138, 0.1);
  transform: translateY(-4px);
}
.hiw-step-active {
  border-color: var(--primary-color);
  background: #f0f4ff;
}
.hiw-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}
.hiw-icon {
  width: 64px;
  height: 64px;
  background: var(--light-gray);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary-color);
  margin: 12px auto 20px;
}
.hiw-step-active .hiw-icon {
  background: #dbeafe;
}
.hiw-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-color);
}
.hiw-step p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* =========================================
   FAQ ACCORDION
   ========================================= */
.faq-accordion .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 12px !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
  background: #fff;
  box-shadow: none;
  padding: 18px 20px;
  border-radius: 12px !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background: #f0f4ff;
  box-shadow: none;
}
.faq-accordion .accordion-body {
  font-size: 0.9rem;
  color: var(--secondary-color);
  line-height: 1.75;
  padding: 4px 20px 20px;
  background: #f0f4ff;
}
.faq-accordion .accordion-button.collapsed {
  background: #fff;
}
.faq-accordion .accordion-button.collapsed + .accordion-collapse .accordion-body {
  background: #fff;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  color: #fff;
  padding: 100px 0 60px;
  text-align: center;
}
.contact-hero h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
}
.contact-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-info-panel {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
}
.contact-response-badge {
  display: inline-flex;
  align-items: center;
  background: #eff6ff;
  color: var(--primary-color);
  border: 1px solid #bfdbfe;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
}
.contact-direct-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-direct-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  text-decoration: none;
  transition: all 0.2s;
  color: var(--text-color);
}
.contact-direct-btn:hover {
  border-color: var(--primary-color);
  background: #f0f4ff;
  color: var(--primary-color);
}
.contact-direct-btn i {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.contact-direct-btn.whatsapp i { color: #25d366; }
.contact-direct-btn.email i { color: var(--primary-color); }
.contact-direct-label {
  font-weight: 600;
  font-size: 0.9rem;
}
.contact-direct-sub {
  font-size: 0.8rem;
  color: var(--secondary-color);
}
.contact-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
}
.contact-benefits-list li:last-child { border-bottom: none; }
.contact-benefits-list li i { flex-shrink: 0; }
.contact-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.step-dot {
  width: 26px;
  height: 26px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-steps-list strong {
  display: block;
  font-size: 0.9rem;
}
.contact-steps-list span {
  font-size: 0.8rem;
}
.contact-trust-tag {
  font-size: 0.78rem;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 576px) {
  .contact-hero h1 { font-size: 1.75rem; }
  .d-flex.gap-4.mt-3 { flex-direction: column; align-items: center; gap: 8px !important; }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .subtitle {
    font-size: 1.1rem;
  }

  .hero-section p {
    font-size: 1.1rem;
  }

  .section-padding {
    padding: 50px 0;
  }

  .card {
    margin-bottom: 1.5rem;
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .pricing-card {
    padding: 24px 20px;
  }
  .stats-bar .stat-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 12px 0;
  }
  .stats-bar .stat-item:last-child {
    border-bottom: none;
  }
}

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  z-index: 1050;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: #fff;
}
.whatsapp-float .wa-tooltip {
  position: absolute;
  right: 66px;
  background: #1f2937;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

/* =========================================
   SCROLL TO TOP BUTTON
   ========================================= */
.scroll-to-top {
  position: fixed;
  bottom: 90px;
  right: 27px;
  width: 42px;
  height: 42px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
  z-index: 1049;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
}
.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-to-top:hover {
  background: var(--accent-color);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}
