:root {
  /* Colors - Atip Premium Brand Palette */
  --bg-primary: #060a13;       /* Obsidian Midnight Blue - datacenter feel */
  --bg-secondary: #0c101f;     /* Dark Slate Navy - secondary boxes & panels */
  --bg-card: #13192e;          /* Elevated container background */
  
  --accent-cyan: #00e5ff;      /* Electric Cyan - data, networks & future */
  --accent-cyan-dark: #00b8cc; /* Darker hue for state hover and icons */
  --accent-cyan-glow: rgba(0, 229, 255, 0.25);
  
  --accent-blue: #2979ff;      /* Royal Blue - security, corporate depth */
  --accent-blue-glow: rgba(41, 121, 255, 0.15);
  
  --accent-emerald: #00e676;   /* Compliance Emerald - LGPD status, active firewall */
  --accent-emerald-glow: rgba(0, 230, 118, 0.25);
  
  --text-main: #f3f4f6;        /* Crisp gelo-white */
  --text-muted: #9ca3af;       /* Slate muted grey for readable texts */
  --text-mono: #a5f3fc;        /* Light cyan-grey mono technical readout */
  
  --border-tech: rgba(0, 229, 255, 0.1);  /* Cyan grid border */
  --border-neon: rgba(0, 229, 255, 0.25); /* Focused elements neon borders */
  --border-muted: rgba(255, 255, 255, 0.05);
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Utilities */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-tech: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

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

/* Base Tech Grid Background */
.tech-grid-bg {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 229, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  pointer-events: none;
}

/* Typography styles */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

h1 em, h2 em, h3 em {
  font-style: normal;
  color: var(--accent-cyan);
  position: relative;
  text-shadow: 0 0 15px var(--accent-cyan-glow);
}

p {
  font-weight: 400;
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.mono-text {
  font-family: var(--font-mono);
}

.text-accent {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px var(--accent-cyan-glow);
}

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

/* Buttons */
.btn-cyber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background-color: var(--text-main);
  color: var(--bg-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  border: 1px solid var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.btn-cyber::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.btn-cyber:hover::before {
  left: 100%;
}

.btn-cyber:hover {
  background-color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 25px var(--accent-cyan-glow);
}

.btn-ghost-cyber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background-color: transparent;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 1px;
  border: 1px solid var(--border-neon);
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost-cyber:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background-color: rgba(0, 229, 255, 0.03);
}

/* Micro Buttons */
.btn-micro {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  border-bottom: 1px dotted var(--accent-cyan);
  padding-bottom: 2px;
  transition: var(--transition);
}
.btn-micro:hover {
  color: var(--text-main);
  border-color: var(--text-main);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 16px 0;
  background-color: rgba(6, 10, 19, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-tech);
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 5px var(--accent-cyan-glow));
}

.nav-logo-link {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 54px !important;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

/* Animations Core */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sections Global */
section {
  padding: 120px 0;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(0, 229, 255, 0.05);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  margin-bottom: 24px;
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.section-title em {
  color: transparent;
  -webkit-text-stroke: 1px var(--text-main);
}

.center {
  text-align: center;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 40px;
  position: relative;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
}

.scanning-bar {
  position: absolute;
  top: -50px; left: -25px;
  width: 2px;
  height: 120%;
  background: linear-gradient(to bottom, transparent, var(--accent-cyan), transparent);
  animation: scan 5s linear infinite;
}

@keyframes scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px; height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald-glow);
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-title {
  font-size: clamp(3.2rem, 6vw, 5rem);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 30px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-tech);
  display: inline-flex;
  box-shadow: var(--shadow-tech);
}

.stat-cyber {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat-divider {
  width: 1px; height: 30px;
  background-color: var(--border-tech);
}

.hero-visual {
  position: relative;
}

.hologram-wrap {
  position: relative;
  padding: 15px;
}

.glitch-img-container {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-neon);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.08);
}

.hero-main-img {
  width: 100%;
  filter: grayscale(100%) contrast(110%) brightness(85%);
  transition: var(--transition);
}

.glitch-img-container:hover .hero-main-img {
  filter: grayscale(30%) contrast(100%) brightness(95%);
}

.hologram-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 229, 255, 0.04),
    rgba(0, 229, 255, 0.04) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
}

.hud-element {
  position: absolute;
  background-color: rgba(12, 16, 31, 0.9);
  border: 1px solid var(--border-tech);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
}

.top-right {
  top: 0; right: 0;
  transform: translate(15px, -15px);
}

.bottom-left {
  bottom: 0; left: 0;
  transform: translate(-15px, 15px);
  width: 130px;
}

.scroll-tracker {
  position: absolute;
  bottom: 40px;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.tracker-line {
  width: 40px;
  height: 1px;
  background-color: var(--text-muted);
}

/* Data Stream (Ticker) */
.data-stream {
  background-color: var(--bg-secondary);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid var(--border-tech);
  border-bottom: 1px solid var(--border-tech);
}

.stream-track {
  display: flex;
  white-space: nowrap;
  animation: stream 35s linear infinite;
  gap: 40px;
}

.data-stream.reverse .stream-track {
  animation-direction: reverse;
}

.stream-track span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 1.5px;
  opacity: 0.8;
}

@keyframes stream {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Immersive Services */
.services-immersive {
  padding: 100px 0 120px;
  background-color: var(--bg-primary);
}

.services-sticky {
  position: relative;
  top: auto;
  height: auto;
  display: block;
  overflow: hidden;
}

.services-scene {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow: hidden;
}

.scene-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.scene-progress {
  width: 240px;
  height: 2px;
  background-color: var(--border-muted);
  margin-top: 16px;
  position: relative;
}

.scene-progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--accent-cyan);
  width: 0%;
  transition: width 0.1s ease-out;
}

.services-track {
  display: flex;
  gap: 30px;
  overflow: hidden;
  padding-bottom: 10px;
}

.service-stage-card {
  min-width: 360px;
  max-width: 390px;
  flex: 0 0 360px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-tech);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-tech);
  transition: var(--transition);
}

.service-stage-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.05);
}

.stage-media {
  position: relative;
  height: 180px;
  overflow: hidden;
  background-color: #0f172a;
}

.stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(75%);
  transition: var(--transition);
}

.service-stage-card:hover .stage-media img {
  filter: grayscale(40%) brightness(85%);
  transform: scale(1.05);
}

.tech-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(0, 229, 255, 0.08), transparent);
}

.hud-corner {
  position: absolute;
  width: 10px; height: 10px;
  border-color: var(--accent-cyan);
  border-style: solid;
  opacity: 0.6;
}
.top-left { top: 0; left: 0; border-width: 2px 0 0 2px; }
.bottom-right { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.stage-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stage-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  background-color: rgba(0, 229, 255, 0.05);
  padding: 3px 10px;
  align-self: flex-start;
  border: 1px solid rgba(0, 229, 255, 0.1);
}

.stage-body h3 {
  font-size: 1.35rem;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.stage-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  min-height: 72px; /* Uniform body height */
  line-height: 1.5;
}

.stage-action {
  margin-top: 5px;
  text-align: right;
}

/* Authority / Certifications Section */
.authority {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-tech);
  border-bottom: 1px solid var(--border-tech);
}

.authority-intro {
  max-width: 700px;
  margin: 0 auto 50px auto;
  font-size: 1.1rem;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tech-card-glow {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-tech);
  padding: 40px 30px;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition: var(--transition);
}

.tech-card-glow-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(0, 229, 255, 0.1), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.tech-card-glow:hover {
  border-color: var(--border-neon);
  box-shadow: 0 10px 40px rgba(0, 229, 255, 0.05);
  transform: translateY(-5px);
}

.tech-card-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  opacity: 0.8;
}

.tech-card-glow h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-tech);
  padding-bottom: 15px;
}

.tech-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tech-bullet-list li {
  position: relative;
  padding-left: 15px;
}

.tech-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 5px var(--accent-cyan);
}

.tech-bullet-list li strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.tech-bullet-list li span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* About / Data */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.tech-frame {
  position: relative;
  border: 1px solid var(--border-tech);
  padding: 10px;
  background-color: var(--bg-secondary);
}

.tech-frame img {
  width: 100%;
  filter: grayscale(100%) contrast(110%);
}

.scan-line {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background-color: var(--accent-cyan);
  animation: scanY 4s linear infinite;
  box-shadow: 0 0 10px var(--accent-cyan);
}

@keyframes scanY {
  0% { top: 0; }
  100% { top: 100%; }
}

.floating-data {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-tech);
  color: #fff;
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  box-shadow: var(--shadow-tech);
}

.data-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 8px;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
  padding-bottom: 4px;
}
.data-row span { color: var(--text-muted); }
.data-row span:last-child { color: var(--accent-cyan); }

.terminal-box {
  background-color: #0b0f19;
  border: 1px solid var(--border-tech);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 30px;
  box-shadow: var(--shadow-tech);
}

.terminal-header {
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-tech);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mac-btn {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.terminal-title {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-left: 10px;
  letter-spacing: 1px;
}

.terminal-body {
  padding: 24px;
  color: #a5f3fc;
  font-size: 0.88rem;
  line-height: 1.7;
}

.blink-cursor {
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Contact Interface */
.contact-interface {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  margin-top: 50px;
}

.contact-hubs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cyber-hub-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-tech);
  padding: 24px;
  transition: var(--transition);
}

a.cyber-hub-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.03);
  transform: translateX(4px);
}

.hub-icon {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent-cyan);
  font-weight: 700;
  text-shadow: 0 0 10px var(--accent-cyan-glow);
}

.hub-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.hub-details p {
  margin: 0;
  font-weight: 500;
  font-size: 1rem;
}

.tech-border {
  position: relative;
  border: 1px solid var(--border-tech);
  height: 100%;
  min-height: 400px;
  padding: 10px;
  background-color: var(--bg-secondary);
}

.cyber-map {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) invert(92%) contrast(90%) hue-rotate(180deg) brightness(85%);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-tech);
  padding: 40px 0;
  background-color: var(--bg-secondary);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-logo-img {
  height: 40px !important;
  width: auto;
  display: block;
}

.brand-log {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.footer-data p {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  margin: 0;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.back-to-top {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.back-to-top:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-container, .about-grid, .contact-interface {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .authority-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }

  .hologram-wrap {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .floating-data {
    right: 0; left: 0; bottom: -20px;
    margin: 0 auto;
    width: 80%;
  }
  
  .contact-interface {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .footer-wrap {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  section {
    padding: 80px 0;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
}
