/* ============================================
   VEZRO. — Landing Page Styles
   Design: dark, futuristic, premium, minimalist
   ============================================ */

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-0: #030712;
  --bg-1: #060d1a;
  --bg-2: #0a1628;
  --blue-900: #1e3a8a;
  --blue-700: #1d4ed8;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --text-100: #f1f5f9;
  --text-200: #cbd5e1;
  --text-300: #94a3b8;
  --text-400: #64748b;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.07);

  --font-primary: 'Sora', 'Space Grotesk', system-ui, sans-serif;

  --section-pad: clamp(80px, 10vw, 140px);
  --container-max: 1200px;
  --container-px: clamp(20px, 5vw, 60px);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);
  --transition-slow: all 0.6s var(--ease);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-0);
  color: var(--text-100);
  font-family: var(--font-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === Typography === */
h1, h2, h3, h4 {
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-300);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.8;
}

/* === Container === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-500) 0%, #dc5a0e 100%);
  color: #fff;
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.5), 0 8px 25px rgba(0,0,0,0.3);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
  background: transparent;
  color: var(--cyan-400);
  border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 14px 28px;
}

.btn-secondary:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: var(--cyan-400);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.15);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-200);
  padding: 14px 28px;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition-slow);
}

.navbar.scrolled {
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 0;
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo svg { height: 28px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: var(--text-300);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-100);
  background: var(--glass);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--orange-500) 0%, #dc5a0e 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-200);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 100px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(29, 78, 216, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 40%, rgba(6, 182, 212, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 15% 80%, rgba(29, 78, 216, 0.1) 0%, transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
}

.hero-orbs { position: absolute; inset: 0; pointer-events: none; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatOrb 10s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.18) 0%, transparent 65%);
  top: -250px; right: -150px;
  animation-delay: 0s;
}

.orb-2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 65%);
  bottom: -100px; left: -80px;
  animation-delay: 4s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 65%);
  top: 35%; left: 25%;
  animation-delay: 7s;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  padding: 0 var(--container-px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--cyan-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 36px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan-400);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(6,182,212,0.4); }
  50% { opacity: 0.7; transform: scale(0.85); box-shadow: 0 0 0 4px rgba(6,182,212,0); }
}

.hero-headline {
  font-size: clamp(3rem, 4.8vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  background: linear-gradient(160deg, #ffffff 0%, rgba(255,255,255,0.85) 45%, var(--cyan-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-300);
  max-width: 580px;
  margin: 0 auto 52px;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta-group .btn-primary {
  padding: 17px 36px;
  font-size: 0.95rem;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-400);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: heroScrollBounce 2.5s ease-in-out infinite;
  z-index: 2;
  text-decoration: none;
}

.hero-scroll svg { width: 18px; height: 18px; }

@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* === Section base === */
.section { padding: var(--section-pad) 0; position: relative; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan-400);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--cyan-400);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
  background: linear-gradient(160deg, #fff 0%, rgba(255,255,255,0.72) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Divider line === */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border) 30%, var(--glass-border) 70%, transparent);
}

/* === DOBRA 02 — Introduction === */
.intro { background: var(--bg-1); }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-text p + p { margin-top: 18px; }

.intro-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.intro-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.85;
}

.intro-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-500), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.intro-card:hover { border-color: rgba(6,182,212,0.2); transform: translateY(-3px); }
.intro-card:hover::after { transform: scaleX(1); }

.intro-card-icon { font-size: 1.8rem; line-height: 1; }

.intro-card-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.intro-card-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-300);
}

/* === Dashboard tech card (intro visual) === */
.db-card {
  background: rgba(4, 10, 22, 0.9);
  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.45),
    0 0 80px rgba(6,182,212,0.06);
}

.db-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.db-dots { display: flex; gap: 7px; }

.db-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.db-dot.red    { background: #ff5f56; }
.db-dot.yellow { background: #ffbd2e; }
.db-dot.green  { background: #27c93f; }

.db-title {
  flex: 1;
  font-size: 0.72rem;
  color: var(--text-400);
  letter-spacing: 0.06em;
  font-family: 'Space Grotesk', monospace;
}

.db-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: #27c93f;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.db-live-dot {
  width: 6px; height: 6px;
  background: #27c93f;
  border-radius: 50%;
  box-shadow: 0 0 6px #27c93f;
  animation: pulseDot 1.5s ease-in-out infinite;
}

/* Body: ring + metrics */
.db-body {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 24px 16px;
}

/* Ring */
.db-ring-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.db-ring {
  width: 110px;
  height: 110px;
  transform: rotate(-90deg);
}

.db-ring-track {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 7;
}

.db-ring-fill {
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 276.5;
  stroke-dashoffset: 276.5;
  filter: drop-shadow(0 0 6px rgba(6,182,212,0.7));
  animation: fillRing 1.8s cubic-bezier(0.4,0,0.2,1) forwards 0.4s;
}

@keyframes fillRing {
  to { stroke-dashoffset: 16.6; } /* 276.5 * (1 - 0.94) */
}

.db-ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.db-ring-val {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.db-ring-lbl {
  font-size: 0.65rem;
  color: var(--text-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

/* Metrics */
.db-metrics {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.db-metric-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.db-metric-name {
  font-size: 0.72rem;
  color: var(--text-400);
}

.db-metric-val {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan-400);
}

.db-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.db-bar-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--blue-700), var(--blue-500));
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  animation: growBar 1.4s cubic-bezier(0.4,0,0.2,1) forwards 0.6s;
}

.db-bar-fill.cyan {
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
}

@keyframes growBar {
  to { transform: scaleX(1); }
}

/* Sparkline chart */
.db-chart {
  padding: 0 20px 16px;
}

.db-chart-label {
  font-size: 0.65rem;
  color: var(--text-400);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.db-chart-svg {
  width: 100%;
  height: 56px;
  display: block;
}

.db-chart-area {
  fill: url(#areaGrad);
}

.db-chart-line {
  fill: none;
  stroke: var(--cyan-400);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(6,182,212,0.6));
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: drawLine 2s cubic-bezier(0.4,0,0.2,1) forwards 0.8s;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Tech tags */
.db-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 16px;
}

.db-tag {
  padding: 4px 12px;
  background: rgba(6, 182, 212, 0.07);
  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--cyan-400);
  letter-spacing: 0.04em;
  font-family: 'Space Grotesk', monospace;
}

/* === DOBRA 03 — Persona === */
.persona {
  background: var(--bg-0);
  position: relative;
}

.persona::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), transparent);
}

.persona-list {
  margin-top: 60px;
  border-top: 1px solid var(--glass-border);
}

.persona-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--glass-border);
  cursor: default;
  position: relative;
  transition: var(--transition);
}

.persona-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan-500), var(--blue-700));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  border-radius: 2px;
}

.persona-item:hover::before { opacity: 1; }

.persona-item:hover { padding-left: 16px; }

.persona-num {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(6,182,212,0.25), rgba(59,130,246,0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  width: 80px;
  letter-spacing: -0.04em;
  font-family: 'Space Grotesk', sans-serif;
  transition: var(--transition);
}

.persona-item:hover .persona-num {
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
}

.persona-info { flex: 1; }

.persona-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.persona-item:hover .persona-title { color: #fff; }

.persona-desc {
  font-size: 0.875rem;
  color: var(--text-400);
  line-height: 1.7;
  max-width: 520px;
}

.persona-arrow {
  width: 22px; height: 22px;
  color: var(--text-400);
  flex-shrink: 0;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: var(--transition);
}

.persona-item:hover .persona-arrow {
  opacity: 1;
  color: var(--cyan-400);
  transform: translate(0, 0);
}

/* === DOBRA 04 — Services === */
.services { background: var(--bg-1); }

.services-header { max-width: 640px; margin-bottom: 56px; }

/* Rows layout */
.svc-list {
  border-top: 1px solid var(--glass-border);
}

.svc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 52px 0;
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
}

.svc-row::before {
  content: '';
  position: absolute;
  left: -24px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan-500), var(--blue-700));
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 2px;
}

.svc-row:hover::before { opacity: 1; }
.svc-row:hover { padding-left: 16px; }

.svc-left {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  flex: 1;
}

.svc-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(59,130,246,0.12));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  width: 72px;
  letter-spacing: -0.04em;
  font-family: 'Space Grotesk', sans-serif;
  transition: var(--transition);
  padding-top: 4px;
}

.svc-row:hover .svc-num {
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
}

.svc-text { max-width: 480px; }

.svc-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.svc-row:hover .svc-title { color: #fff; }

.svc-desc {
  font-size: 0.9rem;
  color: var(--text-400);
  line-height: 1.75;
  margin-bottom: 20px;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-tags span {
  padding: 4px 12px;
  background: rgba(6,182,212,0.07);
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--cyan-400);
  letter-spacing: 0.04em;
  font-family: 'Space Grotesk', monospace;
  transition: var(--transition);
}

.svc-row:hover .svc-tags span {
  background: rgba(6,182,212,0.12);
  border-color: rgba(6,182,212,0.3);
}

/* Icon box right */
.svc-right { flex-shrink: 0; }

.svc-icon-box {
  width: 120px; height: 120px;
  border-radius: 24px;
  background: rgba(6,182,212,0.05);
  border: 1px solid rgba(6,182,212,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.svc-icon-box svg { width: 56px; height: 56px; }

.svc-row:hover .svc-icon-box {
  background: rgba(6,182,212,0.1);
  border-color: rgba(6,182,212,0.28);
  box-shadow: 0 0 40px rgba(6,182,212,0.1);
  transform: scale(1.05);
}

.services-cta { text-align: center; margin-top: 56px; }

/* === DOBRA 04.5 — Portfolio === */
.portfolio { background: var(--bg-0); }

.portfolio-header { max-width: 640px; margin-bottom: 56px; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.portfolio-card:hover {
  border-color: rgba(6,182,212,0.28);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 40px rgba(6,182,212,0.07);
}

.portfolio-card-visual {
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.portfolio-card-visual svg { width: 100%; height: 100%; display: block; }

.portfolio-card:hover .portfolio-card-visual { border-color: rgba(6,182,212,0.18); }

.portfolio-card-info { padding: 24px 24px 20px; flex: 1; }

.portfolio-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.portfolio-card-tags span {
  padding: 3px 10px;
  background: rgba(6,182,212,0.07);
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--cyan-400);
  letter-spacing: 0.04em;
  font-family: 'Space Grotesk', monospace;
}

.portfolio-card-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.portfolio-card:hover .portfolio-card-name { color: #fff; }

.portfolio-card-cat {
  font-size: 0.78rem;
  color: var(--text-400);
  line-height: 1.5;
}

.portfolio-card-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-400);
  transition: var(--transition);
  opacity: 0;
  transform: scale(0.8);
}

.portfolio-card-arrow svg { width: 14px; height: 14px; }

.portfolio-card:hover .portfolio-card-arrow {
  opacity: 1;
  transform: scale(1);
  color: var(--cyan-400);
  border-color: rgba(6,182,212,0.3);
  background: rgba(6,182,212,0.08);
}

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* === DOBRA 05 — Results (Bento Grid) === */
.results {
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
}

.results::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(29,78,216,0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* Bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.bento-card:hover {
  border-color: rgba(6,182,212,0.22);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 30px rgba(6,182,212,0.06);
}

/* Card positions */
.bento-a { grid-column: 2 / -1; }             /* wide right — sparkline */
.bento-b { grid-column: 1; grid-row: 1 / 3; } /* tall left — ring */
.bento-c { grid-column: 2; }                  /* mid — projetos */
.bento-d { grid-column: 3; }                  /* right — suporte */
.bento-e { grid-column: 1 / -1; }             /* full width — checklist */

/* Shared elements */
.bento-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-400);
  margin-bottom: 16px;
}

.bento-num {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 0%, var(--cyan-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  font-family: 'Space Grotesk', sans-serif;
}

.bento-num.small { font-size: 3rem; }

.bento-sub {
  font-size: 0.8rem;
  color: var(--text-400);
  line-height: 1.65;
  max-width: 260px;
}

/* Card A — sparkline */
.bento-a {
  background: linear-gradient(135deg, rgba(6,182,212,0.06) 0%, rgba(29,78,216,0.04) 100%);
  border-color: rgba(6,182,212,0.15);
}

.bento-live {
  position: absolute;
  top: 32px; right: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: #27c93f;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bento-spark {
  width: 100%;
  height: 48px;
  display: block;
  margin-top: 20px;
}

.bento-spark-line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawLine 2s cubic-bezier(0.4,0,0.2,1) forwards 0.6s;
}

/* Card B — ring */
.bento-b {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, rgba(29,78,216,0.08) 0%, rgba(6,182,212,0.04) 100%);
  border-color: rgba(29,78,216,0.18);
}

.bento-ring-wrap {
  position: relative;
  width: 140px; height: 140px;
  margin: 20px 0;
}

.bento-ring-svg {
  width: 140px; height: 140px;
  transform: rotate(-90deg);
  overflow: visible; /* permite o glow ultrapassar o viewBox sem criar quadrado */
}

.bento-ring-arc {
  animation: fillRing 1.8s cubic-bezier(0.4,0,0.2,1) forwards 0.5s;
  filter: drop-shadow(0 0 6px rgba(6,182,212,0.55));
}

@keyframes fillRing {
  to { stroke-dashoffset: 12.6; } /* 251.3 * (1-0.95) */
}

.bento-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card C — dot grid */
.bento-c::after {
  content: '';
  position: absolute;
  bottom: 20px; right: 20px;
  width: 80px; height: 60px;
  background-image: radial-gradient(circle, rgba(6,182,212,0.4) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  border-radius: 8px;
}

/* Card D — pulse */
.bento-d {
  background: linear-gradient(135deg, rgba(29,78,216,0.06) 0%, rgba(6,182,212,0.03) 100%);
}

.bento-pulse-wrap {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-pulse {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(6,182,212,0.4);
  animation: pulsering 2.5s ease-out infinite;
}

.bento-pulse.delay1 { animation-delay: 0.8s; }
.bento-pulse.delay2 { animation-delay: 1.6s; }

@keyframes pulsering {
  0%   { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2);   opacity: 0; }
}

.bento-pulse-icon {
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}

/* Card E — checklist */
.bento-e {
  background: rgba(255,255,255,0.02);
}

.bento-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
  margin-top: 8px;
}

.bento-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-200);
  font-weight: 500;
}

.bento-check-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: rgba(6,182,212,0.08);
  border-radius: 50%;
  padding: 2px;
}

/* Bento responsive */
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-a { grid-column: span 2; }
  .bento-b { grid-column: 1; grid-row: auto; }
  .bento-c { grid-column: 2; }
  .bento-d { grid-column: 1; }
  .bento-e { grid-column: span 2; }
  .bento-checks { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-a, .bento-b, .bento-c, .bento-d, .bento-e { grid-column: 1; }
}

/* === DOBRA 06 — Why Vezro (Pillars) === */
.why { background: var(--bg-1); }

.why-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.why-intro {
  font-size: 1rem;
  color: var(--text-300);
  line-height: 1.8;
  margin-top: 4px;
}

/* Connecting line with dots */
.why-connector {
  position: relative;
  height: 24px;
  margin-bottom: 0;
}

.why-connector-line {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(6,182,212,0.3) 10%,
    rgba(6,182,212,0.5) 50%,
    rgba(6,182,212,0.3) 90%,
    transparent 100%);
  transform: translateY(-50%);
}

.why-connector-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid var(--cyan-400);
  box-shadow: 0 0 10px rgba(6,182,212,0.6);
  transition: var(--transition);
}

/* Pillar grid */
.why-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
}

.why-pillar {
  padding: 44px 36px;
  border-right: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
  cursor: default;
}

.why-pillar:last-child { border-right: none; }

.why-pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-500), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.why-pillar:hover {
  background: rgba(6,182,212,0.04);
}

.why-pillar:hover::before { transform: scaleX(1); }

.why-pillar-icon {
  width: 44px; height: 44px;
  margin-bottom: 24px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.why-pillar-icon svg { width: 32px; height: 32px; }

.why-pillar:hover .why-pillar-icon { opacity: 1; }

.why-pillar-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-400);
  text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 14px;
  transition: color 0.3s;
}

.why-pillar:hover .why-pillar-num { color: var(--cyan-400); }

.why-pillar-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 14px;
  transition: color 0.3s;
}

.why-pillar:hover .why-pillar-title { color: #fff; }

.why-pillar-desc {
  font-size: 0.825rem;
  color: var(--text-400);
  line-height: 1.75;
}

.why-cta {
  text-align: center;
  margin-top: 56px;
}

/* Responsive */
@media (max-width: 900px) {
  .why-pillars { grid-template-columns: repeat(2, 1fr); }
  .why-pillar:nth-child(2) { border-right: none; }
  .why-pillar:nth-child(1),
  .why-pillar:nth-child(2) { border-bottom: 1px solid var(--glass-border); }
}

@media (max-width: 560px) {
  .why-pillars { grid-template-columns: 1fr; }
  .why-pillar { border-right: none; border-bottom: 1px solid var(--glass-border); }
  .why-pillar:last-child { border-bottom: none; }
}

/* === DOBRA 07 — Testimonials === */
.testimonials { background: var(--bg-0); }

.testi-title-wrap { text-align: center; margin-bottom: 72px; }

.testi-feed {
  max-width: 900px;
  margin: 0 auto;
}

.testi-entry {
  padding: 56px 0;
}

.testi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.testi-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan-400);
  text-transform: uppercase;
  font-family: 'Space Grotesk', monospace;
}

.testi-signal {
  width: 200px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.sig-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}

.testi-entry.visible .sig-path {
  animation: drawLine 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.15s;
}

.testi-text {
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  font-weight: 600;
  color: var(--text-100);
  line-height: 1.38;
  letter-spacing: -0.025em;
  font-style: normal;
  margin-bottom: 36px;
  max-width: 820px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border: 1.5px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan-300);
  letter-spacing: 0.05em;
  font-family: 'Space Grotesk', sans-serif;
  flex-shrink: 0;
}

.testi-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-100);
}

.testi-role {
  display: block;
  font-size: 0.75rem;
  color: var(--text-400);
  margin-top: 3px;
}

.testi-sep {
  position: relative;
  height: 1px;
}

.testi-sep-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--glass-border) 20%, var(--glass-border) 80%, transparent);
}

.testi-sep-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 1.5px solid rgba(6, 182, 212, 0.45);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

/* === DOBRA 08 — Contact === */
.contact {
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(29,78,216,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.contact-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
}

.contact-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.contact-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.contact-logo svg { height: 44px; width: auto; }

.contact-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  background: linear-gradient(160deg, #fff 0%, rgba(255,255,255,0.8) 50%, var(--cyan-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
}

.contact-cta-group .btn-primary {
  padding: 18px 40px;
  font-size: 0.95rem;
}

/* === Footer === */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo svg { height: 22px; width: auto; opacity: 0.55; }
.footer-logo:hover svg { opacity: 0.85; }
.footer-logo { transition: var(--transition); }

.footer-text {
  font-size: 0.78rem;
  color: var(--text-400);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 0.78rem;
  color: var(--text-400);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--text-200); }

/* === Skip link (acessibilidade) === */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--cyan-500);
  color: #000;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }

/* === Scroll Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* === Responsive === */
@media (max-width: 1024px) {
  .intro-grid,
  .results-grid,
  .why-grid { grid-template-columns: 1fr; gap: 52px; }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .results-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Mobile nav layout: logo esquerda | hamburguer direita */
  .nav-container {
    justify-content: space-between;
    gap: 0;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(3,7,18,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
    list-style: none;
  }

  .nav-menu.open { display: flex; }

  .nav-menu .nav-link {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 12px 24px;
  }

  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  /* Sections */
  .persona-item { gap: 20px; padding: 28px 0; }
  .persona-num { font-size: 2.5rem; width: 56px; }
  .testi-signal { width: 120px; }
  .why-features { grid-template-columns: 1fr; }
  .intro-visual { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; }

  /* Services mobile — esconde ícone, mantém conteúdo limpo */
  .svc-row {
    gap: 24px;
    padding: 40px 0;
  }

  .svc-right { display: none; }

  .svc-num {
    font-size: 2.2rem;
    width: 52px;
  }

  .svc-title { font-size: 1.25rem; }

  /* Portfolio mobile */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* Intro grid mobile */
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 480px) {
  .services-grid { max-width: 100%; }
  .results-stats { grid-template-columns: 1fr 1fr; }

  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn { justify-content: center; }

  .contact-cta-group { flex-direction: column; align-items: stretch; }
  .contact-cta-group .btn { justify-content: center; }
}
