/* ==========================================================================
   KB TECH — High-Conversion Dark Agency Stylesheet
   ========================================================================== */

:root {
  --bg-primary: #07090e;
  --bg-secondary: #0c101a;
  --bg-card: rgba(17, 23, 38, 0.72);
  --bg-card-hover: rgba(23, 31, 52, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(56, 189, 248, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-whatsapp: #25d366;
  --accent-whatsapp-dark: #1da851;

  --gradient-brand: linear-gradient(135deg, #3b82f6 0%, #06b6d4 55%, #10b981 100%);
  --gradient-text: linear-gradient(95deg, #60a5fa 0%, #22d3ee 50%, #34d399 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-card: 0 20px 45px -15px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(6, 182, 212, 0.22);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

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

/* ==========================================================================
   AMBIENT BACKGROUNDS
   ========================================================================== */

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top, black 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 35%, transparent 80%);
  pointer-events: none;
  z-index: -2;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
}

.glow-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
  top: -160px;
  left: -120px;
}

.glow-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
  top: 20%;
  right: -140px;
}

/* ==========================================================================
   TYPOGRAPHY & COMMON UI
   ========================================================================== */

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-emerald { color: var(--accent-emerald); }
.text-cyan { color: #22d3ee; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.5);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:hover {
  box-shadow: 0 16px 36px -6px rgba(37, 211, 102, 0.65);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.icon-wa {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding 0.25s ease, background 0.25s ease;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.logo-dot {
  color: var(--accent-cyan);
}

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

.nav-link {
  color: var(--text-secondary);
  font-size: 0.93rem;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0 9px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: 0.25s ease;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  padding: 8.5rem 0 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.35rem;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  margin-bottom: 2.1rem;
  max-width: 600px;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

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

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

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

/* Hero Visual Card */
.dashboard-card {
  background: linear-gradient(160deg, rgba(19, 27, 46, 0.9), rgba(11, 15, 25, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  overflow: hidden;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.dash-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.dash-status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.14);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.dash-body {
  padding: 1.5rem;
}

.dash-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.metric-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.95rem;
}

.metric-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.metric-value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.metric-number {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
}

.metric-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.metric-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

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

.progress-fill {
  height: 100%;
  border-radius: 99px;
}

.fill-emerald { background: var(--accent-emerald); }
.fill-cyan { background: var(--accent-cyan); }

/* Funnel Steps inside Hero Card */
.dash-funnel {
  display: flex;
  flex-direction: column;
}

.funnel-step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.funnel-step.step-highlight {
  background: rgba(16, 185, 129, 0.09);
  border-color: rgba(16, 185, 129, 0.35);
}

.funnel-connector {
  width: 2px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
  margin-left: 1.85rem;
}

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.icon-google {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  font-family: var(--font-display);
}

.icon-site {
  background: rgba(6, 182, 212, 0.18);
  color: #22d3ee;
}

.icon-whatsapp {
  background: rgba(37, 211, 102, 0.2);
  color: #4ade80;
}

.step-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-info strong {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.step-info span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.step-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  white-space: nowrap;
}

.step-tag.tag-live {
  background: rgba(37, 211, 102, 0.2);
  color: #4ade80;
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */

.stats-bar {
  padding: 2.25rem 0;
  background: rgba(12, 16, 26, 0.85);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

/* ==========================================================================
   SECTIONS & HEADERS
   ========================================================================== */

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--bg-secondary);
  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 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ==========================================================================
   SERVICES 3-PILLAR CARDS
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
}

.service-card.card-featured {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 20px 50px -15px rgba(6, 182, 212, 0.18);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-blue {
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.14);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.service-number {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.service-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  flex: 1;
}

.service-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-emerald);
  font-weight: 700;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.service-card:hover .service-cta {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

/* ==========================================================================
   ECOSYSTEM / SYNERGY SECTION
   ========================================================================== */

.synergy-box {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
}

.synergy-content .section-title {
  text-align: left;
}

.synergy-lead {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 2rem;
}

.synergy-steps {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.synergy-step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.synergy-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.synergy-step h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 0.25rem;
}

.synergy-step p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.synergy-cta-panel {
  background: linear-gradient(155deg, rgba(23, 33, 56, 0.95), rgba(12, 18, 32, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.panel-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.synergy-cta-panel h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.synergy-cta-panel p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 1.5rem;
}

.panel-note {
  display: block;
  text-align: center;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card);
}

.browser-mockup {
  background: #0a0f1a;
  border-bottom: 1px solid var(--border-subtle);
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.browser-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: #cbd5e1;
}

.browser-ext {
  color: var(--text-secondary);
  display: inline-flex;
  padding: 4px;
}

.browser-ext:hover {
  color: var(--accent-cyan);
}

.browser-screen {
  padding: 1.75rem;
  min-height: 230px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.screen-mg {
  background:
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.25), transparent 55%),
    linear-gradient(135deg, #0b192c 0%, #091220 100%);
}

.screen-pg {
  background:
    radial-gradient(circle at 85% 20%, rgba(59, 130, 246, 0.28), transparent 55%),
    linear-gradient(135deg, #0f172a 0%, #090d16 100%);
}

.screen-preview-ui {
  width: 100%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}

.preview-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
}

.preview-cta-pill {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--accent-emerald);
  color: #042f2e;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.preview-loc-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: #38bdf8;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.preview-hero h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 0.45rem;
  color: #fff;
}

.preview-hero p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.preview-metrics-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.preview-metrics-chips span {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.portfolio-info {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.ptag {
  font-size: 0.73rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.portfolio-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.portfolio-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
}

.link-wa-project {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

.link-wa-project:hover {
  color: #34d399;
  text-decoration: underline;
}

/* ==========================================================================
   FEATURES / DIFERENCIAIS GRID
   ========================================================================== */

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

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.feature-icon {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.feature-box h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-container {
  max-width: 840px;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.35);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent-cyan);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 1.5rem 1.35rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */

.cta-banner-section {
  padding: 2rem 0 5.5rem;
}

.cta-banner {
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.25), transparent 55%),
    radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.28), transparent 55%),
    linear-gradient(145deg, #0f172a 0%, #090d18 100%);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: var(--radius-lg);
  padding: 4rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.cta-banner-content {
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.08rem;
  margin-bottom: 2rem;
}

.cta-banner p strong {
  color: var(--text-primary);
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: #05070b;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

.footer-col li,
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.65);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.wa-float-tooltip {
  position: absolute;
  right: 72px;
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float:hover .wa-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid,
  .synergy-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 23, 0.98);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-actions .btn-sm span {
    display: none;
  }

  .hero {
    padding: 7rem 0 3.5rem;
  }

  .stats-grid,
  .portfolio-grid,
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .cta-banner {
    padding: 2.75rem 1.5rem;
  }

  .cta-banner-buttons .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}
