/* CSS SYSTEM - OLHO VAREJO AI LANDING PAGE */
:root {
  --bg-main: #030712;
  --bg-card: rgba(15, 23, 42, 0.55);
  --bg-card-solid: #0f172a;
  --border-glass: rgba(255, 255, 255, 0.07);
  
  --primary: #06b6d4;      /* Cyan */
  --primary-glow: rgba(6, 182, 212, 0.25);
  --secondary: #3b82f6;    /* Blue */
  --accent: #f59e0b;       /* Amber */
  --danger: #ef4444;       /* Red */
  --success: #10b981;      /* Emerald */
  
  --text-main: #cbd5e1;
  --text-muted: #64748b;
  --text-heading: #ffffff;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* RESET & BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(1000px 500px at 10% 10%, rgba(6, 182, 212, 0.08), transparent 70%),
    radial-gradient(800px 600px at 90% 80%, rgba(59, 130, 246, 0.06), transparent 70%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
}

/* BACKGROUND CANVAS ANIMATION */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: transparent;
}

/* CONTAINER */
.section-container {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
  padding: 80px 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--text-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-weight: 900;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  border: none;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(6, 182, 212, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-heading);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(90deg, rgba(3, 7, 18, 0.8), rgba(15, 23, 42, 0.85), rgba(6, 182, 212, 0.05), rgba(15, 23, 42, 0.85), rgba(3, 7, 18, 0.8));
  background-size: 400% 100%;
  animation: headerBgShift 12s ease infinite;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s;
}

.navbar::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), rgba(59, 130, 246, 0.4), transparent);
  background-size: 200% 100%;
  animation: headerBorderFlow 8s linear infinite;
  z-index: 1;
}

@keyframes headerBgShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes headerBorderFlow {
  0% { background-position: 200% 0; }
  100% { background-position: 0% 0; }
}

.nav-container {
  width: min(1200px, 100% - 48px);
  height: 80px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: linear-gradient(90deg, rgba(2, 4, 10, 0.95), rgba(10, 15, 30, 0.98), rgba(6, 182, 212, 0.08), rgba(10, 15, 30, 0.98), rgba(2, 4, 10, 0.95));
  background-size: 400% 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled .nav-container {
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--text-heading);
}

.logo-accent {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding: 6px 0;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* HERO SECTION */
.hero-section {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
}

.hero-container {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-badge {
  background: var(--primary-glow);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff, #ffffff 40%, #a5f3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-main);
  max-width: 580px;
}

.text-detail {
  display: block;
  margin-top: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  width: 100%;
}

.hero-features-list {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
}

.hero-feature-item span {
  color: var(--primary);
  font-weight: bold;
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* VIDEO MOCKUP WITH HUD */
.video-mockup-wrapper {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16/9;
  border-radius: 20px;
  border: 2px solid var(--border-glass);
  background: #000;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(6, 182, 212, 0.15);
}

.video-badge-live {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  background: rgba(239, 64, 64, 0.85);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulseBeacon 1.2s infinite;
}

.hero-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* HUD ANALYTICS IN HERO */
.hud-panel {
  position: absolute;
  z-index: 10;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hud-left {
  bottom: 14px;
  left: 14px;
}

.hud-right {
  top: -20px;
  right: -30px;
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.25);
}

.hud-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hud-value {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.hud-indicator {
  font-size: 0.65rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.hud-indicator::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

.hud-action-alert {
  font-size: 0.65rem;
  color: var(--danger);
  font-weight: 600;
}

/* SECTION HEADERS */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-subtitle {
  color: var(--text-main);
  font-size: 1.05rem;
}

/* SOLUTIONS SECTION */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.solution-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.08);
}

.solution-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.solution-card h3 {
  font-size: 1.25rem;
}

.solution-card p {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* DEMOS SECTION (VIDEO EXAMPLES) */
.demos-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.demo-visual-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
}

.demo-video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
}

.demo-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.demo-number {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.demo-info h3 {
  font-size: 1.7rem;
  line-height: 1.25;
}

.demo-info p {
  font-size: 1rem;
  color: var(--text-main);
}

/* STYLING MAIN SHOWCASE (EXAMPLE02 DETAILED STYLING) */
.main-showcase {
  border: 2px solid rgba(6, 182, 212, 0.25);
  box-shadow: 0 25px 50px rgba(6, 182, 212, 0.12), 0 10px 30px rgba(0,0,0,0.4);
}

.demo-highlight-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
  text-transform: uppercase;
}

.demo-metrics-highlights {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 8px;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 20px 0;
}

.metric-badge {
  flex: 1 1 180px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 12px 18px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-badge span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.metric-badge strong {
  font-size: 1.05rem;
  color: var(--text-heading);
}

.demo-description-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.demo-description-bullets p {
  font-size: 0.95rem;
}

/* STYLING SECONDARY SHOWCASE (EXAMPLE01) */
.secondary-showcase {
  border: 1px solid var(--border-glass);
}

.demo-features-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.demo-features-tags .tag {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
}


/* FAQ SECTION ACCORDION */
.faq-accordion-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(255,255,255,0.15);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-heading);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: left;
  gap: 16px;
  outline: none;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-item.active {
  border-color: var(--primary-glow);
  background: rgba(6, 182, 212, 0.02);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding: 0 24px 20px 24px;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CONTACT SECTION & LEAD CAPTURE */
.contact-card-wrapper {
  background: linear-gradient(135deg, #09101f, #070a13);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.contact-info {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  border-right: 1px solid var(--border-glass);
}

.contact-info h2 {
  font-size: 2.2rem;
  line-height: 1.2;
}

.contact-info p {
  font-size: 1.05rem;
  color: var(--text-main);
}

.contact-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-bullets .bullet {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
}

.contact-form-container {
  padding: 56px;
  background: rgba(255,255,255,0.01);
}

.form-row {
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
}

.form-group input, .form-group select {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 10px var(--primary-glow);
}

.form-group select option {
  background: var(--bg-card-solid);
  color: #fff;
}

.form-feedback {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-glass);
  background: #020613;
  padding-top: 64px;
}

.footer-container {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 56px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links h4, .footer-keywords h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-heading);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-keywords {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.keyword-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.keyword-tags span {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding: 24px 0;
  text-align: center;
}

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

/* ANIMATIONS */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

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

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-features-list {
    justify-content: center;
  }
  .calculator-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px;
  }
  .contact-card-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-info {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
    padding: 32px;
  }
  .contact-form-container {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Em ambiente real colocaria um menu hambúrguer */
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .section-container {
    padding: 48px 0;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
