:root {
  --bg: #030712;
  --bg-darker: #01030a;
  --bg-card: rgba(10, 15, 30, 0.55);
  --bg-card-hover: rgba(15, 23, 42, 0.75);
  --text: #f9fafb;
  --text-soft: #e5e7eb;
  --text-muted: #9ca3af;
  --primary: #8b5cf6;
  --primary-hover: #a78bfa;
  --primary-glow: rgba(139, 92, 246, 0.35);
  --secondary: #10b981;
  --secondary-hover: #34d399;
  --secondary-glow: rgba(16, 185, 129, 0.3);
  --accent-red: #ef4444;
  --accent-red-glow: rgba(239, 68, 68, 0.15);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(139, 92, 246, 0.45);
  --glass-blur: blur(14px);
  --font-title: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Fira Code', ui-monospace, monospace;
  --max-width: 1200px;
}

/* Base resets & layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.62;
  overflow-x: hidden;
  position: relative;
}

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

img {
  max-width: 100%;
  display: block;
}

/* Glow Background & Grid Layout */
.cursor-glow {
  position: fixed;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.07) 0%, rgba(16, 185, 129, 0.03) 40%, transparent 68%);
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Badges & Text details */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(139, 92, 246, 0.12);
  color: var(--primary-hover);
  border: 1px solid rgba(139, 92, 246, 0.22);
  margin-bottom: 24px;
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--secondary-hover);
  border-color: rgba(16, 185, 129, 0.22);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.12);
  color: var(--primary-hover);
  border-color: rgba(139, 92, 246, 0.22);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  z-index: 2;
  position: relative;
}

.section-header .sub {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  display: block;
}

.section-header h2 {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.section-header p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.6;
}

/* Header & Sticky Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
}

.header.scrolled {
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  height: 76px;
}

.header-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 56px;
  width: 240px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.08));
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a:not(.btn-nav) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

.nav a:not(.btn-nav):hover {
  color: #fff;
}

.nav a:not(.btn-nav):hover::after {
  width: 100%;
}

.btn-nav {
  background: rgba(16, 185, 129, 0.08);
  color: var(--secondary-hover) !important;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.25s ease;
}

.btn-nav:hover {
  background: var(--secondary);
  color: #030712 !important;
  border-color: var(--secondary);
  box-shadow: 0 0 15px var(--secondary-glow);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Button UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #6d28d9);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(139, 92, 246, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), #047857);
  color: #fff;
  box-shadow: 0 4px 20px var(--secondary-glow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.45);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border: 1px solid var(--border);
  backdrop-filter: var(--glass-blur);
}

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

.btn-link {
  background: none;
  border: none;
  color: var(--secondary-hover);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font-family: var(--font-body);
}

.btn-link:hover {
  color: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 170px 24px 100px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  z-index: 2;
}

.hero-content h1 {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 30%, #e2e8f0 70%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content .lead {
  color: var(--text-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.65;
  margin-bottom: 44px;
  max-width: 655px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.hero-metrics {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 36px;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}

/* Code Terminal Widget */
.terminal-card {
  background: #02040a;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  font-family: var(--font-mono);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

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

.terminal-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-dots .dot.red { background: var(--accent-red); }
.terminal-dots .dot.yellow { background: #f59e0b; }
.terminal-dots .dot.green { background: var(--secondary); }

.terminal-title {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.terminal-body {
  padding: 16px;
  font-size: 0.82rem;
  line-height: 1.6;
}

.c-prompt {
  color: var(--secondary);
}

.c-command {
  color: #fff;
}

.code-output {
  margin-top: 12px;
}

.c-success { color: var(--secondary-hover); }
.c-info { color: #60a5fa; }
.c-warning { color: #fbbf24; }

/* Dashboard Widget */
.dashboard-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.status-indicator {
  color: var(--secondary);
  animation: pulseNode 2s infinite;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dash-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  transition: all 0.25s ease;
}

.dash-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hover);
}

.dash-card small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.dash-value {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.dash-value.text-green { color: var(--secondary-hover); }
.dash-value.text-purple { color: var(--primary-hover); }

.dash-trend {
  display: block;
  font-size: 0.7rem;
  margin-top: 4px;
}

.dash-trend.text-green { color: var(--secondary); }
.dash-trend.text-purple { color: var(--primary); }

/* Problems Section */
.problems-section {
  padding: 120px 0;
  background: var(--bg-darker);
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 68, 68, 0.25);
  box-shadow: 0 15px 35px var(--accent-red-glow);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.icon-box.red {
  background: rgba(239, 68, 68, 0.08);
  color: var(--accent-red);
}

.icon-box .icon {
  width: 24px;
  height: 24px;
}

.problem-card h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Solutions Section */
.solutions-section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow: 0 18px 45px var(--primary-glow);
}

.icon-container {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
}

.icon-container.purple {
  background: rgba(139, 92, 246, 0.08);
  color: var(--primary-hover);
}

.icon-container.green {
  background: rgba(16, 185, 129, 0.08);
  color: var(--secondary-hover);
}

.icon-container .icon {
  width: 26px;
  height: 26px;
}

.solution-card h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.solution-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
  flex-grow: 1;
}

.solution-list {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.solution-list li {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
}

.solution-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* Duo Section (TI) */
.duo-section {
  padding: 120px 24px;
  background: var(--bg-darker);
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.duo-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.duo-content h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.12;
}

.duo-content p {
  color: var(--text-soft);
  margin-bottom: 22px;
  font-size: 1.05rem;
}

.duo-bullets {
  margin-top: 36px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.bullet-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--secondary-hover);
  display: grid;
  place-items: center;
  font-weight: bold;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.bullet-item span {
  font-size: 0.98rem;
  color: var(--text-soft);
}

.duo-visual {
  display: flex;
  justify-content: center;
}

/* Pipeline Flow Animation */
.pipeline-visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.pipeline-nodes {
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
  z-index: 2;
}

.p-node {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 20px;
  font-family: var(--font-title);
  font-weight: 700;
  text-align: center;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.p-node.highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.35);
}

.p-line-wrapper {
  height: 12px;
  position: relative;
  width: 2px;
  background: rgba(255, 255, 255, 0.05);
  margin: -36px auto;
  z-index: 1;
}

.p-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.pulse-animation-1 {
  animation: pulseLine 3s infinite linear;
}

.pulse-animation-2 {
  animation: pulseLine 3s infinite linear reverse;
}

.pipeline-glow-circle {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* LGPD Section */
.lgpd-section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.lgpd-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.lgpd-visual {
  display: flex;
  justify-content: center;
}

.shield-card {
  width: 320px;
  background: var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: all 0.3s ease;
}

.shield-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.18);
}

.shield-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--secondary-hover);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
}

.shield-icon .icon {
  width: 30px;
  height: 30px;
}

.shield-card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

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

.lgpd-content h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.12;
}

.lgpd-content p {
  color: var(--text-soft);
  margin-bottom: 22px;
  font-size: 1.05rem;
}

.lgpd-list {
  margin-top: 32px;
  list-style: none;
}

.lgpd-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 18px;
  font-size: 0.98rem;
  color: var(--text-soft);
}

.lgpd-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

/* Mental Health Section */
.mental-health-section {
  padding: 120px 0;
  background: var(--bg-darker);
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mental-health-box {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.06) 0%, rgba(16, 185, 129, 0.02) 100%);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 64px 48px;
  max-width: 1040px;
  margin: 0 auto;
  backdrop-filter: var(--glass-blur);
}

.mental-health-content h2 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.15;
}

.mental-health-content p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 820px;
}

.mental-health-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.mh-card h4 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.mh-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Diferenciais Section */
.diferenciais-section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.diferencial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.25s ease;
}

.diferencial-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 10px 30px var(--secondary-glow);
}

.diferencial-card h4 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 14px;
}

.diferencial-card h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--secondary);
}

.diferencial-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

/* Methodology Section */
.methodology-section {
  padding: 120px 0;
  background: var(--bg-darker);
  position: relative;
  z-index: 2;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 48px;
  position: relative;
}

.timeline::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: var(--border);
  z-index: 1;
}

.timeline-item {
  position: relative;
  z-index: 2;
}

.timeline-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--secondary);
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 24px;
  box-shadow: 0 0 15px var(--secondary-glow);
}

.timeline-item:nth-child(even) .timeline-number {
  border-color: var(--primary);
  color: var(--primary-hover);
  box-shadow: 0 0 15px var(--primary-glow);
}

.timeline-content h4 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Contact Section & Form */
.contact-section {
  padding: 120px 24px;
  position: relative;
  z-index: 2;
}

.contact-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.12;
}

.contact-info p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 44px;
}

.contact-details {
  display: grid;
  gap: 28px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: var(--text-soft);
}

.detail-item .icon {
  width: 24px;
  height: 24px;
  color: var(--secondary);
  flex-shrink: 0;
}

.detail-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
}

input, select, textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

select option {
  background-color: var(--bg-darker);
  color: #fff;
}

textarea {
  resize: vertical;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-consent input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  cursor: pointer;
}

.form-consent button {
  font-size: 0.85rem;
  vertical-align: baseline;
}

.btn-block {
  width: 100%;
}

.form-status {
  padding: 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  text-align: center;
  margin-top: 10px;
}

.form-status.success {
  background: rgba(16, 185, 129, 0.12);
  color: var(--secondary-hover);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer styling */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand {
  margin-bottom: 44px;
  max-width: 360px;
}

.footer-brand img {
  height: 38px;
  margin-bottom: 18px;
  object-fit: contain;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links button {
  font-size: 0.85rem;
}

/* Modal Styling */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(1, 3, 10, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  width: min(650px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px;
  overflow-y: auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

.modal h2 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  margin: 12px 0 22px;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal-body {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.modal-body p {
  margin-bottom: 16px;
}

.modal-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 22px;
}

.modal-body ul li {
  margin-bottom: 8px;
}

.modal-body a {
  color: var(--secondary);
  text-decoration: underline;
}

/* Animations */
@keyframes pulseNode {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes pulseLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0.2;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0.2;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Grid Adjustments */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 140px;
    gap: 60px;
    text-align: center;
  }
  
  .hero-content .lead {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-metrics {
    justify-content: center;
  }
  
  .duo-container, .lgpd-container, .contact-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .lgpd-visual {
    order: 2;
  }
  
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  
  .timeline::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .logo {
    height: 46px;
    width: 190px;
  }
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-darker);
    flex-direction: column;
    padding: 40px 24px;
    align-items: stretch;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 99;
  }
  
  .nav.open {
    transform: translateX(0);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    grid-template-columns: 1fr;
  }
  
  .mental-health-grid {
    grid-template-columns: 1fr;
  }
}
