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

:root {
  --bg: #f5f5f0;
  --bg-card: #ffffff;
  --bg-dark: #111827;
  --bg-dark2: #1a2537;
  --cyan: #06B6D4;
  --cyan-dim: rgba(6,182,212,0.15);
  --cyan-glow: rgba(6,182,212,0.35);
  --text: #111827;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #e5e7eb;
  --border-dark: #2d3748;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; }

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

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.mono { font-family: var(--font-mono); }
.text-cyan { color: var(--cyan); }
.text-muted { color: var(--text-muted); }
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.15;
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 36px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadein-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ping {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0; transform: scale(2.2); }
}
@keyframes cursor-blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

.animate-fadein {
  animation: fadein-up 0.7s ease both;
}
.animate-fadein:nth-child(2) { animation-delay: 0.1s; }
.animate-fadein:nth-child(3) { animation-delay: 0.2s; }
.animate-fadein:nth-child(4) { animation-delay: 0.3s; }
.animate-fadein:nth-child(5) { animation-delay: 0.4s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--cyan);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover {
  background: #05a6c0;
  box-shadow: 0 4px 24px rgba(6,182,212,0.4);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

/* ============================================================
   HERO
   ============================================================ */
/* ============================================================
   HERO — 2-column layout
   ============================================================ */
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
  background: var(--bg);
}

/* Grid background */
.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,0,0,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.055) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* 2-col hero layout */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  background: transparent;
  border: 1.5px solid var(--cyan);
  border-radius: 100px;
  font-size: 12px;
  color: var(--cyan);
}
.badge-ping {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}
.badge-ping::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--cyan);
  animation: ping 1.8s ease-in-out infinite;
}
.badge-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

/* Hero Title */
.hero-title {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text);
  margin: 0;
}
.hero-title-cyan {
  color: var(--cyan);
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
}

/* Hero Caption */
.hero-caption {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.6;
}

/* RIGHT column */
.hero-right {
  display: flex;
  justify-content: center;
}

/* Product card */
.product-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: visible;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
  margin-top: 32px;
}

.pc-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.pc-row:last-child { border-bottom: none; }
.pc-row:hover { background: #fafafa; }

/* Active (MS) row */
.pc-row-active {
  border-left: 3px solid var(--cyan);
  padding-left: 17px;
  padding-top: 26px;
  background: #fff;
}
.pc-row-active:hover { background: rgba(6,182,212,0.03); }

/* Tooltip above MS row */
.pc-tooltip {
  position: absolute;
  top: -34px;
  left: 16px;
  background: var(--cyan);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(6,182,212,0.35);
}
.pc-tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 14px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  transform: rotate(45deg);
  border-radius: 1px;
}

/* Icon badge */
.pc-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #f3f4f6;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.pc-icon-active {
  background: rgba(6,182,212,0.08);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Text */
.pc-info { display: flex; flex-direction: column; gap: 2px; }
.pc-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.pc-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================================
   WORKSPACE
   ============================================================ */
.workspace {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.workspace-ui {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

/* Sidebar */
.ws-sidebar {
  width: 180px;
  flex-shrink: 0;
  background: #fafafa;
  border-right: 1px solid var(--border);
  padding: 16px 0;
}
.ws-sidebar-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 4px 16px 10px;
}
.ws-nav { list-style: none; }
.ws-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-radius: 0;
}
.ws-nav-item:hover { background: var(--border); color: var(--text); }
.ws-nav-item.active { background: var(--cyan-dim); color: var(--cyan); font-weight: 600; }

/* Main Area */
.ws-main { flex: 1; display: flex; flex-direction: column; }
.ws-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}
.ws-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.ws-dot.red    { background: #ef4444; }
.ws-dot.yellow { background: #f59e0b; }
.ws-dot.green  { background: #22c55e; }
.ws-title-bar {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 8px;
}
.ws-content { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.ws-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
  transition: background 0.15s;
}
.ws-item:hover { background: #fafafa; }
.ws-check { color: var(--cyan); font-weight: 700; flex-shrink: 0; }
.ws-tag {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.ws-tag.cyan { background: var(--cyan-dim); color: var(--cyan); }
.ws-tag.gray { background: var(--border); color: var(--text-muted); }

.ws-price-badge {
  margin-top: 8px;
  align-self: flex-end;
  background: var(--bg-dark);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 6px;
}

/* ============================================================
   PRA QUEM É
   ============================================================ */
.for-who {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Pain */
.pain-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.pain-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 4px;
  background: rgba(239,68,68,0.1);
  color: #ef4444;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* Transform */
.col-transform { display: flex; flex-direction: column; gap: 20px; }
.transform-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 20px;
}

/* Ecosystem */
.ecosystem-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  background: var(--bg-card);
}
.eco-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}
.eco-items { display: flex; flex-direction: column; gap: 10px; }
.eco-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.eco-item.eco-active { color: var(--text); font-weight: 600; }
.eco-sub { font-size: 11px; color: var(--text-light); margin-left: 2px; }
.eco-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.eco-dot.active { background: var(--cyan); box-shadow: 0 0 6px var(--cyan-glow); }

/* ============================================================
   TERMINAL
   ============================================================ */
.terminal-section {
  padding: 80px 0;
  background: var(--bg-dark);
  color: #e5e7eb;
}
.terminal-section .section-title { color: #fff; }

.terminal-window {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: 0 8px 48px rgba(0,0,0,0.4);
  margin-bottom: 48px;
}
.terminal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #1a2537;
  border-bottom: 1px solid var(--border-dark);
}
.terminal-dots { display: flex; gap: 6px; }
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.red    { background: #ef4444; }
.t-dot.yellow { background: #f59e0b; }
.t-dot.green  { background: #22c55e; }
.terminal-title {
  font-size: 12px;
  color: var(--text-light);
  flex: 1;
  text-align: center;
}

.terminal-body {
  background: #0d1117;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
}
.t-line { display: flex; align-items: center; gap: 8px; }
.t-prompt { color: var(--cyan); font-weight: 700; user-select: none; }
.t-cmd { color: #e5e7eb; }
.t-success { color: #22c55e; padding-left: 16px; }
.t-info { color: var(--text-muted); padding-left: 16px; }
.t-muted { color: var(--border-dark); padding-left: 16px; }
.t-cursor {
  animation: cursor-blink 1.1s step-end infinite;
  color: var(--cyan);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  overflow: hidden;
}
.stat {
  background: #111827;
  padding: 28px 20px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  margin-top: 32px;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background 0.15s;
}
.faq-question:hover { background: #fafafa; }
.faq-icon {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.25s;
  line-height: 1;
  width: 24px;
  text-align: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer p {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Open state */
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--cyan); }
.faq-item.open .faq-answer { max-height: 200px; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  padding: 80px 0 100px;
  background: var(--bg-dark);
}

.cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 64px 32px;
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  background: var(--bg-dark2);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--cyan-dim) 0%, transparent 70%);
  pointer-events: none;
}

.cta-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(6,182,212,0.25);
}

.cta-title {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}
.cta-sub { font-size: 13px; color: var(--text-light); font-family: var(--font-mono); }
.cta-caption { font-size: 12px; color: #4b5563; font-family: var(--font-mono); }

.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.guarantee-badge svg { color: #22c55e; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 28px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-brand { color: var(--text-light); }
.footer-sep { color: var(--border-dark); }
.footer-link {
  color: var(--cyan);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-link:hover { opacity: 0.75; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-right { justify-content: center; }
  .product-card { max-width: 100%; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding: 60px 0; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  
  .workspace-ui { flex-direction: column; }
  .ws-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 12px 0; }
  .ws-nav { display: flex; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .ws-nav::-webkit-scrollbar { display: none; }
  .ws-nav-item { white-space: nowrap; }
  .ws-content { padding: 16px; }
  
  .terminal-section { padding: 60px 0; }
  .terminal-body { padding: 16px; font-size: 12px; overflow-x: auto; }
  .t-line { white-space: nowrap; }
  
  .faq-section { padding: 60px 0; }
  .faq-question { font-size: 13px; padding: 16px; }
  .faq-answer p { padding: 0 16px 16px; }
  
  .cta-final { padding: 60px 0 80px; }
  .cta-box { padding: 40px 20px; }
  
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .footer-sep { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 38px; }
  .section-title { font-size: 28px; }
  .cta-title { font-size: 32px; }
  
  .btn-primary { width: 100%; justify-content: center; padding: 14px 16px; font-size: 14px; }
  .hero-caption, .cta-caption { text-align: center; display: block; margin-top: 8px; }
  .stats-grid { grid-template-columns: 1fr; }
  
  .ws-item { align-items: flex-start; }
  .ws-check { margin-top: 2px; }
  .ws-tag { margin-top: 2px; }
  .ws-price-badge { align-self: stretch; text-align: center; }
  
  .guarantee-badge { justify-content: center; text-align: center; width: 100%; }
}
