/* Variaveis e Reset */
:root {
  --bg-color: #070A12;
  --surface-color: #0B1220;
  --text-primary: #E7EEF9;
  --text-secondary: #9FB2D0;
  --accent-tech: #2BE4FF;
  --accent-energy: #7C5CFF;
  --success: #19C37D;
  --alert: #F59E0B;

  --font-main: 'Inter', sans-serif;
  --transition-speed: 0.3s;

  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilitarios */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-tech), var(--accent-energy));
  color: white;
  box-shadow: 0 4px 15px rgba(43, 228, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(43, 228, 255, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.section-padding {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-speed);
  border-bottom: 1px solid transparent;
}

.main-header.scrolled {
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: 70px;
}

.main-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent-tech);
}

.nav-menu ul {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  gap: 15px;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height);
  background: radial-gradient(circle at 50% 50%, rgba(43, 228, 255, 0.05) 0%, rgba(7, 10, 18, 0) 70%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #FFFFFF 0%, #A0AEC0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Versão Desenvolvimento */
.hero-dev {
  min-height: 80vh;
}

.badge-dev {
  position: absolute;
  top: calc(var(--header-height) + 40px);
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(43, 228, 255, 0.2), rgba(124, 92, 255, 0.2));
  border: 1px solid rgba(43, 228, 255, 0.4);
  color: var(--accent-tech);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hero-sub strong {
  color: var(--accent-tech);
}

.hero-sub .link-email {
  color: var(--accent-tech);
  font-weight: 500;
}

.hero-sub .link-email:hover {
  text-decoration: underline;
}

.social-proof-compact {
  padding: 24px 0;
}

.logos-label {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-weight: 500;
}

.social-proof-compact .logos-grid {
  gap: 24px;
}

.social-proof-compact .logos-grid span {
  font-size: 1rem;
}

/* Fase do Desenvolvimento */
.dev-phase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.dev-phase-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  transition: all var(--transition-speed);
}

.dev-phase-card:hover {
  border-color: rgba(43, 228, 255, 0.2);
}

.dev-phase-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 12px;
}

.dev-phase-done .dev-phase-badge {
  background: rgba(25, 195, 125, 0.2);
  color: var(--success);
}

.dev-phase-progress .dev-phase-badge {
  background: rgba(43, 228, 255, 0.2);
  color: var(--accent-tech);
}

.dev-phase-review .dev-phase-badge {
  background: rgba(245, 158, 11, 0.2);
  color: var(--alert);
}

.dev-phase-pending .dev-phase-badge {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.dev-phase-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.dev-phase-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.dev-status-summary {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.dev-status-summary p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.dev-status-summary strong {
  color: var(--text-primary);
}

/* Social Proof */
.social-proof {
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logos-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  opacity: 0.6;
}

.logos-grid span {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* Problem/Solution */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.card-glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px);
}

.ps-item {
  margin-bottom: 25px;
}

.ps-item:last-child {
  margin-bottom: 0;
}

.ps-title {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.text-danger {
  color: #FF4D4D;
}

.text-success {
  color: var(--success);
}

/* How It Works (Stepper) */
.stepper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-tech);
  position: relative;
  z-index: 2;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50px;
  left: 25px;
  width: 2px;
  height: calc(100% - 10px);
  background: rgba(255, 255, 255, 0.1);
}

.step-content h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-content p {
  color: var(--text-secondary);
}

/* Products Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--surface-color);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-tech);
}

.product-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(43, 228, 255, 0.1), rgba(124, 92, 255, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-tech);
}

.product-card h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.product-card ul li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.product-card ul li::before {
  content: '•';
  color: var(--accent-tech);
  position: absolute;
  left: 0;
}

/* Use Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.case-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid transparent;
  transition: all var(--transition-speed);
}

.case-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(43, 228, 255, 0.2);
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
  width: 100%;
  padding: 20px 0;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-icon {
  transition: transform var(--transition-speed);
}

.accordion-header.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease-out;
}

.accordion-content p {
  padding-bottom: 20px;
  color: var(--text-secondary);
}

/* CTA & Form */
.cta-section {
  background: linear-gradient(135deg, rgba(7, 10, 18, 1) 0%, rgba(12, 19, 36, 1) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(43, 228, 255, 0.05), transparent 70%);
  z-index: 1;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.form-group {
  margin-bottom: 20px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-tech);
  box-shadow: 0 0 0 2px rgba(43, 228, 255, 0.1);
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Footer */
.main-footer {
  background: var(--surface-color);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 20px;
  max-width: 300px;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--text-primary);
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--accent-tech);
}

.footer-grid-simple {
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .footer-grid-simple {
    grid-template-columns: 1fr;
  }
}

.footer-by {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.footer-by a {
  color: var(--accent-tech);
}

.footer-by a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .problem-solution {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .header-actions {
    display: none;
  }
}

/* Architecture Grid Layout */
.arch-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

.arch-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  width: 100%;
}

.arch-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-tech);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Layer Specifics */
.nocode-layer {
  border-top: 3px solid var(--accent-tech);
}

.mid-layer-container {
  display: flex;
  gap: 20px;
  width: 100%;
  align-items: center;
}

.core-layer,
.semantic-layer {
  flex: 1;
}

.sdk-layer {
  border-bottom: 3px solid var(--success);
}

.gov-layer {
  margin-top: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
}

.layer-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-color);
  padding: 2px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Icons within Cards */
.arch-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.arch-card:hover .arch-icon {
  background: linear-gradient(135deg, var(--accent-tech), var(--accent-energy));
  color: white;
  box-shadow: 0 0 20px rgba(43, 228, 255, 0.4);
  border-color: transparent;
}

.arch-icon svg {
  width: 28px;
  height: 28px;
}

/* Typography */
.arch-card h3 {
  color: var(--text-primary);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.arch-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Arrows */
.grid-arrow {
  color: var(--accent-tech);
  font-size: 1.5rem;
  opacity: 0.7;
  font-weight: bold;
  animation: bounce 2s infinite;
}

.arrow-right {
  transform: rotate(0deg);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-5px);
  }

  60% {
    transform: translateY(-3px);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .mid-layer-container {
    flex-direction: column;
  }

  .arrow-right {
    transform: rotate(90deg);
    /* Point down on mobile */
  }

  .layer-label {
    display: none;
    /* Hide labels on mobile to save space */
  }
}