/* 
  BASE INTELLIGENCE - Premium High-Tech Design System
  Style: Next-Gen Startup / Linear / Apple Pro
*/

:root {
  /* Surfaces */
  --color-bg: #050608;
  --color-surface: rgba(15, 16, 18, 0.6);
  --color-surface-elevated: rgba(25, 26, 28, 0.8);
  
  /* Borders */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.15);
  --color-border-glow: rgba(0, 255, 255, 0.3);
  
  /* Brand */
  --color-cyan: #00ffff;
  --color-magenta: #ff00ff;
  --color-cyan-glow: rgba(0, 255, 255, 0.5);
  --color-magenta-glow: rgba(255, 0, 255, 0.5);
  
  /* Text */
  --color-text-primary: #f7f8f8;
  --color-text-secondary: #a1a1a6;
  --color-text-dim: #6e6e73;
  
  /* System */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan);
}

html {
  scroll-behavior: smooth;
}

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

/* --- Utility Classes --- */
.glass {
  background: var(--color-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
}

.glow-cyan {
  box-shadow: 0 0 20px var(--color-cyan-glow);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

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

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(5, 6, 8, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.logo {
  font-weight: 300; /* Removido o bold */
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}

.logo span:first-child { 
  color: rgba(255, 255, 255, 0.6); 
}

.logo span:last-child { 
  color: rgba(0, 204, 204, 0.6); /* Cor ciano da BaseAg */
}

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

.nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--color-cyan-glow);
}

/* --- Hero Section --- */
.hero {
  padding-top: 200px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-visual {
  width: 300px;
  height: 300px;
  margin: 0 auto 40px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px var(--color-cyan-glow));
}

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

.badge {
  display: inline-flex;
  padding: 6px 16px;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid var(--color-border-glow);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--color-cyan);
  margin-bottom: 32px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto 48px;
}

/* --- Buttons --- */
.btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-block;
  font-size: 1rem;
}

.btn-primary {
  background: #fff;
  color: #000;
  box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

.btn-secondary {
  color: #fff;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.02);
}

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

/* --- Section Styling --- */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  display: block;
}

h2.section-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* --- Bots Section (WhatsApp/IG/TG) --- */
.bots-section {
  padding: 120px 0;
}

.bots-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.platform-icons {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.platform-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.platform-icon:hover {
  border-color: var(--color-cyan);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--color-cyan-glow);
}

.platform-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-text-secondary);
}

.platform-icon:hover svg {
  fill: var(--color-cyan);
}

/* Chat Mockup Pro */
.chat-window {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0,0,0,0.6);
  position: relative;
}

.chat-header-pro {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--color-border);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #00ff00;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff00;
}

.chat-body-pro {
  padding: 24px;
  height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.msg-pro {
  max-width: 85%;
  padding: 14px 20px;
  border-radius: 18px;
  font-size: 0.9375rem;
  line-height: 1.4;
  position: relative;
}

.msg-incoming {
  background: rgba(255,255,255,0.05);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.msg-outgoing {
  background: linear-gradient(135deg, var(--color-cyan), #00cccc);
  color: #000;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

/* --- n8n Flow Section --- */
.n8n-section {
  padding: 120px 0;
  background: radial-gradient(circle at 100% 50%, rgba(255, 0, 255, 0.03) 0%, transparent 50%);
}

.n8n-visual {
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  margin-top: 60px;
  position: relative;
}

.n8n-visual img {
  width: 70%; /* Reduzido em 30% */
  margin: 0 auto;
  display: block;
  transition: transform 0.5s ease;
}

.n8n-visual:hover img {
  transform: scale(1.02);
}

/* --- Process Automation (Excel) --- */
.process-section {
  padding: 120px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.excel-mockup {
  border-radius: 24px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.excel-mockup img {
  width: 85%; /* Reduzido em 15% */
  margin: 0 auto;
  display: block;
}

/* --- Footer --- */
footer {
  padding: 100px 0 40px;
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--color-text-dim);
  margin-top: 12px;
  font-size: 0.875rem;
}

.footer-nav {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 0.875rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col a {
  display: block;
  margin-bottom: 12px;
  color: var(--color-text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--color-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--color-text-dim);
  font-size: 0.75rem;
}

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

.scanning::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-cyan);
  box-shadow: 0 0 15px var(--color-cyan);
  animation: scan 4s linear infinite;
  z-index: 10;
  opacity: 0.3;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
  .bots-grid, .process-grid { grid-template-columns: 1fr; gap: 60px; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2.75rem; }
  .container { padding: 0 20px; }
  header { padding: 0 20px; }
}
