:root {
  /* iV8 Color Palette based on Logo */
  --color-primary: #0F172A; /* Deep Navy */
  --color-primary-light: #1E293B;
  --color-secondary: #00D2FF; /* Cyan / Bright Blue */
  --color-accent: #00F260; /* Emerald Green */
  
  --gradient-brand: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  --gradient-glow: radial-gradient(circle at center, rgba(0, 210, 255, 0.15) 0%, rgba(15, 23, 42, 0) 70%);

  /* Neutral Colors */
  --color-bg: #0B0F19; /* Very dark blue for futuristic feel */
  --color-surface: rgba(30, 41, 59, 0.5); /* Glass surface */
  --color-surface-hover: rgba(30, 41, 59, 0.8);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-text-main: #F8FAFC;
  --color-text-muted: #94A3B8;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Public Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

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

.text-center { text-align: center; }

/* Typography */
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: var(--space-sm); }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: var(--space-xs); }

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 96, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

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

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

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

.logo img {
  height: 40px;
  object-fit: contain;
}

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

.nav-links a:not(.btn-primary) {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.nav-links a:not(.btn-primary):hover {
  color: var(--color-secondary);
}

/* Hero Section */
.hero {
  padding-top: calc(80px + var(--space-xl));
  padding-bottom: var(--space-xl);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
  border: 1px solid rgba(0, 210, 255, 0.2);
}

.hero-text h1 span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-img {
  animation: float 6s ease-in-out infinite;
  z-index: 2;
  border-radius: var(--radius-lg);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(0, 210, 255, 0.2);
  top: -50px;
  right: -50px;
}

.orb-2 {
  width: 250px;
  height: 250px;
  background: rgba(0, 242, 96, 0.15);
  bottom: -50px;
  left: 50px;
}

/* Ecosystem Section */
.ecosystem-section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-header {
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-inline: auto;
}

.section-header p {
  color: var(--color-text-muted);
}

.grid-pilares {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.card-pilar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.card-pilar:hover {
  transform: translateY(-5px);
  background: var(--color-surface-hover);
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-pilar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-pilar:hover::before {
  opacity: 1;
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.icon-wrapper img {
  width: 32px;
  height: 32px;
}

.icon-wrapper i {
  font-size: 32px;
  color: var(--color-secondary);
}

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

.card-highlight {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .card-highlight {
    grid-template-columns: 1fr;
  }
}

/* Contact Section */
.contact-section {
  padding: var(--space-xl) 0;
}

.contact-card {
  background: linear-gradient(145deg, var(--color-primary-light), var(--color-primary));
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.contact-info {
  z-index: 2;
  max-width: 500px;
}

.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.method-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0,0,0,0.2);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.method-item:hover {
  border-color: var(--color-secondary);
}

.method-icon {
  font-size: 1.5rem;
}

.method-item div {
  display: flex;
  flex-direction: column;
}

.method-item div span {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.contact-visual {
  position: absolute;
  right: -50px;
  bottom: -50px;
  opacity: 0.05;
  z-index: 1;
}

.watermark {
  width: 400px;
  filter: grayscale(100%);
}

.contact-form-container {
  z-index: 2;
  flex: 1;
  max-width: 500px;
  background: var(--color-surface);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  font-family: var(--font-body);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.w-100 {
  width: 100%;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) 0;
  margin-top: var(--space-xl);
}

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

.footer-logo {
  height: 30px;
  margin-bottom: 0.5rem;
}

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

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

.lgpd-links {
  margin-top: 0.5rem;
  text-align: right;
  font-size: 0.75rem;
}

.lgpd-links a {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.lgpd-links a:hover {
  opacity: 1;
  color: var(--color-secondary);
}

.lgpd-links .separator {
  margin: 0 0.5rem;
  color: var(--color-text-muted);
  opacity: 0.4;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .contact-card {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }
  .contact-info {
    margin-inline: auto;
  }
  .contact-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple mobile hide for now */
  }
  :root {
    --space-xl: 4rem;
    --space-lg: 3rem;
  }
  .hero {
    padding-top: calc(80px + var(--space-lg));
  }
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
