:root {
  --bg-dark: #07110e;
  --bg-card: #0d1d18;
  --bg-surface: #122720;
  --bg-light: #f8fafc;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --amber-400: #fbbf24;
  --blue-400: #60a5fa;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-emerald: rgba(16, 185, 129, 0.35);
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name, .stat-number {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* TOPBAR */
.topbar {
  background: rgba(16, 185, 129, 0.1);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  padding: 0.5rem 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--emerald-400);
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--text-muted);
}

.topbar-links a:hover {
  color: #fff;
}

.icon-xs {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 3px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 17, 14, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--emerald-500), #047857);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.45);
}

.brand-logo.sm {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.brand-accent {
  color: var(--emerald-400);
  margin-left: 2px;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--emerald-400);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: 11px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  font-family: inherit;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: #fff;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(16, 185, 129, 0.65);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--emerald-400);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

/* HERO */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  width: 480px;
  height: 480px;
  background: rgba(16, 185, 129, 0.18);
  top: -100px;
  left: -100px;
}

.hero-glow-2 {
  width: 420px;
  height: 420px;
  background: rgba(59, 130, 246, 0.12);
  bottom: 0;
  right: -80px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-emerald);
  color: var(--emerald-400);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-pill svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.45rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.text-gradient {
  background: linear-gradient(135deg, #34d399 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-lead strong {
  color: #fff;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-400);
}

/* MOCKUP WINDOW */
.mockup-window {
  background: linear-gradient(180deg, #0f241d 0%, #091612 100%);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.1rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }

.mockup-url {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
}

.mockup-url svg {
  width: 12px;
  height: 12px;
  color: var(--emerald-400);
}

.status-online {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
}

.mockup-body {
  padding: 1.25rem;
}

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.m-kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem;
  border-radius: 12px;
}

.m-kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.m-kpi-top svg {
  width: 15px;
  height: 15px;
}

.m-kpi-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.m-kpi-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.text-emerald { color: var(--emerald-400) !important; }
.text-blue { color: var(--blue-400) !important; }
.text-amber { color: var(--amber-400) !important; }

.mockup-panels {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.m-panel {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.9rem;
}

.m-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.65rem;
}

.m-panel-head svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 4px;
  color: var(--emerald-400);
}

.m-tag {
  font-size: 0.68rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
  padding: 2px 8px;
  border-radius: 6px;
}

.m-table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.m-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-size: 0.76rem;
}

.m-row strong {
  display: block;
  color: #fff;
}

.m-row small {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.m-amount {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}

.m-bars {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.m-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.73rem;
  margin-bottom: 3px;
}

.m-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.m-fill {
  height: 100%;
  border-radius: 99px;
}
.m-fill.emerald { background: var(--emerald-400); }
.m-fill.blue { background: var(--blue-400); }
.m-fill.amber { background: var(--amber-400); }

/* STATS STRIP */
.stats-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.25rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--emerald-400);
}

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

/* SECTIONS */
.section {
  padding: 5.5rem 0;
}

.section-dark {
  background: linear-gradient(180deg, #060e0b 0%, #0b1914 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-400);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 0.85rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* MODULE TABS */
.module-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.module-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.module-tab svg {
  width: 18px;
  height: 18px;
}

.module-tab:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.module-tab.active {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
}

.module-pane {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
}

.module-pane.active {
  display: grid;
  animation: fadeIn 0.25s ease;
}

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

.pane-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  margin-bottom: 0.85rem;
}

.pane-info h3 {
  font-size: 1.65rem;
  margin-bottom: 0.85rem;
}

.pane-info p {
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.94rem;
  color: #cbd5e1;
}

.feature-list li svg {
  width: 18px;
  height: 18px;
  color: var(--emerald-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-visual-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.fv-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--emerald-400);
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.fv-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fv-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.fv-code {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  white-space: nowrap;
}

.dte-33 { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.dte-52 { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
.dte-61 { background: rgba(244, 63, 94, 0.2); color: #fb7185; }
.dte-aec { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

.fv-desc {
  flex: 1;
}

.fv-desc strong {
  display: block;
  font-size: 0.86rem;
  color: #fff;
}

.fv-desc span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.fv-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.fv-status.ok {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
}

.fv-status.badge-blue {
  background: rgba(59, 130, 246, 0.18);
  color: var(--blue-400);
}

/* BENTO GRID */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  transition: transform 0.2s, border-color 0.2s;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-emerald);
}

.bento-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.bento-card h4 {
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
}

.bento-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: linear-gradient(180deg, #112a22 0%, #0b1c17 100%);
  border: 2px solid var(--emerald-500);
  box-shadow: 0 20px 45px -10px rgba(16, 185, 129, 0.25);
  transform: translateY(-8px);
}

.featured-ribbon {
  position: absolute;
  top: -13px;
  right: 24px;
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
  color: #042f2e;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 99px;
}

.price-top h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.price-top p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}

.price-value {
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.price-tag {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--emerald-400);
}

.price-value small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.price-features li svg {
  width: 17px;
  height: 17px;
  color: var(--emerald-400);
  flex-shrink: 0;
}

/* CTA BANNER */
.cta-section {
  padding: 4.5rem 0;
}

.cta-card {
  background: linear-gradient(135deg, #065f46 0%, #042f2e 100%);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-text {
  max-width: 620px;
}

.cta-text h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta-text p {
  color: #d1fae5;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  background: #040a08;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 1rem 0;
}

.footer-legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.footer-legal-badge svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-400);
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #fff;
}

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

.footer-col ul a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--emerald-400);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* MODAL PORTAL CLIENTES */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 9, 7, 0.82);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-card {
  width: 100%;
  max-width: 560px;
  background: var(--bg-card);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.modal-title-wrap h3 {
  font-size: 1.2rem;
}

.modal-title-wrap p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.modal-body {
  padding: 1.6rem;
}

.tenant-search-box label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.45rem;
}

.tenant-input-row {
  display: flex;
  gap: 0.6rem;
}

.tenant-input-row input {
  flex: 1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  color: #fff;
  font-size: 0.92rem;
  outline: none;
}

.tenant-input-row input:focus {
  border-color: var(--emerald-400);
}

.tenant-error {
  color: #fb7185;
  font-size: 0.78rem;
  margin-top: 0.4rem;
  display: block;
}

.tenant-divider {
  text-align: center;
  margin: 1.35rem 0;
  position: relative;
}

.tenant-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border-subtle);
}

.tenant-divider span {
  position: relative;
  background: var(--bg-card);
  padding: 0 0.75rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.tenant-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tenant-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
}

.tenant-item:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--emerald-400);
  transform: translateX(4px);
}

.tenant-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tenant-icon.emerald { background: rgba(16, 185, 129, 0.18); color: #34d399; }
.tenant-icon.blue { background: rgba(59, 130, 246, 0.18); color: #60a5fa; }
.tenant-icon.amber { background: rgba(251, 191, 36, 0.18); color: #fbbf24; }
.tenant-icon.purple { background: rgba(168, 85, 247, 0.18); color: #c084fc; }

.tenant-meta {
  flex: 1;
}

.tenant-meta strong {
  display: block;
  font-size: 0.92rem;
  color: #fff;
}

.tenant-meta span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.tenant-arrow {
  width: 17px;
  height: 17px;
  color: var(--text-muted);
}

.modal-footer {
  padding: 1rem 1.6rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.modal-footer a {
  color: var(--emerald-400);
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-grid,
  .module-pane.active,
  .pricing-grid,
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .price-card.featured {
    transform: none;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .mockup-kpis,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .module-pane {
    padding: 1.5rem;
  }
  .cta-card {
    padding: 1.85rem;
  }
}


/* MOBILE & FIELD APPS SHOWCASE */
.mobile-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.mobile-showcase-text h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin: 0.5rem 0 1rem;
  line-height: 1.18;
}

.mobile-lead {
  color: var(--text-muted);
  font-size: 1.04rem;
  margin-bottom: 2rem;
}

.mobile-lead strong {
  color: #fff;
}

.mobile-feature-cards {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.mf-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.2s;
}

.mf-card:hover {
  border-color: var(--border-emerald);
  transform: translateX(4px);
}

.mf-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mf-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.mf-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* SMARTPHONE FRAME MOCKUP */
.phone-mockup-wrap {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 100%;
  max-width: 360px;
  background: #050c0a;
  border: 6px solid #1e293b;
  border-radius: 40px;
  padding: 0.85rem;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(52, 211, 153, 0.3);
  position: relative;
}

.phone-notch {
  width: 110px;
  height: 20px;
  background: #1e293b;
  border-radius: 0 0 14px 14px;
  margin: -0.85rem auto 0.85rem;
}

.phone-screen {
  background: linear-gradient(180deg, #0f241d 0%, #091511 100%);
  border-radius: 28px;
  padding: 1.2rem;
  border: 1px solid var(--border-subtle);
}

.phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.phone-app-badge {
  font-size: 0.68rem;
  color: var(--emerald-400);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone-app-header h4 {
  font-size: 1.05rem;
  color: #fff;
}

.phone-sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.16);
  color: var(--emerald-400);
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
}

.phone-sync-pill svg {
  width: 12px;
  height: 12px;
}

.phone-form-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 0.9rem;
}

.pf-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0.6rem;
}

.pf-field label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.pf-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
}

.pf-input.highlight {
  border-color: var(--border-emerald);
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.08);
}

.pf-btn {
  margin-top: 0.3rem;
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.65rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.45);
}

.pf-btn svg {
  width: 16px;
  height: 16px;
}

.phone-recent {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 0.75rem;
}

.phone-recent-title {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.phone-recent-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  padding: 0.3rem 0;
  border-top: 1px solid var(--border-subtle);
}

.phone-recent-item small {
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .mobile-showcase-grid {
    grid-template-columns: 1fr;
  }
}
