/* ============================================
   SG Escoteiro — Landing Page Styles
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Scout palette */
  --green-900: #022c22;
  --green-800: #064e3b;
  --green-700: #065f46;
  --green-600: #047857;
  --green-500: #10b981;
  --green-400: #34d399;
  --green-300: #6ee7b7;

  --gold-500: #d4a017;
  --gold-400: #f5c842;
  --gold-300: #fde68a;

  --slate-950: #0a0f1a;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-glow: 0 0 60px rgba(16, 185, 129, .15);
  --shadow-card: 0 8px 32px rgba(0,0,0,.35);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: var(--font);
  background: var(--slate-950);
  color: var(--slate-100);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--green-500);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}
.section-title span { color: var(--green-400); }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-400);
  max-width: 580px;
  margin-bottom: 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .6s;
}
.btn:hover::after { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: #fff;
  box-shadow: 0 4px 24px rgba(16,185,129,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(16,185,129,.45);
}

.btn-outline {
  background: transparent;
  color: var(--slate-100);
  border: 1.5px solid var(--slate-600);
}
.btn-outline:hover {
  border-color: var(--green-400);
  color: var(--green-400);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 4px 24px rgba(37,211,102,.35);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.5);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,15,26,.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 10px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
}
.nav-logo img {
  width: 42px; height: 42px;
  border-radius: 10px;
  object-fit: cover;
}
.nav-logo .logo-text span { color: var(--green-400); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--slate-400);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--green-400);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--slate-100); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 24px !important;
  font-size: .85rem !important;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--slate-100);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .2;
  filter: blur(2px);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--slate-950) 0%,
    rgba(10,15,26,.6) 40%,
    rgba(10,15,26,.85) 70%,
    var(--slate-950) 100%
  );
}

/* Animated orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  animation: float 12s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: var(--green-600);
  top: -100px; right: -100px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 350px; height: 350px;
  background: var(--gold-500);
  bottom: 50px; left: -80px;
  animation-delay: -4s;
  opacity: .2;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(.95); }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: fadeInUp .8s ease-out both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 60px;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.2);
  font-size: .8rem;
  font-weight: 600;
  color: var(--green-400);
  margin-bottom: 28px;
}
.hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--green-400), var(--gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--slate-400);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}
.hero-stat {
  text-align: center;
}
.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green-400);
}
.hero-stat-label {
  font-size: .78rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
  animation: fadeInUp .8s ease-out .3s both;
}
.hero-visual-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow), var(--shadow-card);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-visual-wrapper img {
  width: 100%;
  display: block;
}
.hero-visual-float {
  position: absolute;
  background: rgba(10,15,26,.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.08);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 6s ease-in-out infinite;
}
.hero-float-1 {
  bottom: -20px; left: -30px;
}
.hero-float-2 {
  top: -20px; right: -20px;
  animation-delay: -3s;
}

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

.float-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.float-icon.green { background: rgba(16,185,129,.15); color: var(--green-400); }
.float-icon.gold  { background: rgba(212,160,23,.15); color: var(--gold-400); }
.float-text-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--slate-100);
}
.float-text-sub {
  font-size: .7rem;
  color: var(--slate-400);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Features ---------- */
.features {
  padding: 120px 0;
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: linear-gradient(145deg, rgba(30,41,59,.6), rgba(15,23,42,.8));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--gold-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16,185,129,.15);
  box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(16,185,129,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: rgba(16,185,129,.2);
  transform: scale(1.08);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--slate-50);
}
.feature-desc {
  font-size: .92rem;
  color: var(--slate-400);
  line-height: 1.65;
}

/* ---------- Showcase / Dashboard ---------- */
.showcase {
  padding: 100px 0;
  position: relative;
}
.showcase .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.showcase-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border: 1px solid rgba(255,255,255,.06);
}
.showcase-image img {
  width: 100%;
  display: block;
  transition: transform 8s ease;
}
.showcase-image:hover img {
  transform: scale(1.04);
}
/* Browser dots */
.showcase-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 36px;
  background: rgba(15,23,42,.95);
  z-index: 2;
}
.showcase-image::after {
  content: '● ● ●';
  position: absolute;
  top: 10px; left: 14px;
  font-size: .55rem;
  letter-spacing: 5px;
  color: var(--slate-600);
  z-index: 3;
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.showcase-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.showcase-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(16,185,129,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-400);
  font-size: .8rem;
  margin-top: 2px;
}
.showcase-item-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.showcase-item-text p {
  font-size: .88rem;
  color: var(--slate-400);
}

/* ---------- Benefits ---------- */
.benefits {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--slate-950) 0%, rgba(6,78,59,.08) 50%, var(--slate-950) 100%);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.benefit-card {
  text-align: center;
  padding: 44px 28px;
  background: rgba(30,41,59,.3);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.benefit-card:hover {
  transform: translateY(-6px);
  background: rgba(30,41,59,.5);
  border-color: rgba(16,185,129,.12);
}

.benefit-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green-400), var(--gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}
.benefit-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.benefit-desc {
  font-size: .88rem;
  color: var(--slate-400);
  line-height: 1.6;
}

/* ---------- Testimonial ---------- */
.testimonial {
  padding: 100px 0;
}
.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 48px;
  background: linear-gradient(145deg, rgba(30,41,59,.5), rgba(15,23,42,.7));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-xl);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px; left: 40px;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(16,185,129,.1);
  line-height: 1;
}

.testimonial-text {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--slate-300);
  line-height: 1.75;
  margin-bottom: 32px;
  font-style: italic;
}
.testimonial-author {
  font-weight: 700;
  color: var(--slate-100);
}
.testimonial-role {
  font-size: .85rem;
  color: var(--slate-400);
}

/* ---------- CTA ---------- */
.cta {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  position: relative;
  padding: 80px 60px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  text-align: center;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -150px; right: -100px;
}
.cta-inner::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  bottom: -120px; left: -80px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.cta-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: .9rem;
  color: var(--slate-400);
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.65;
}
.footer-heading {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--slate-300);
  margin-bottom: 18px;
}
.footer-links a {
  display: block;
  font-size: .9rem;
  color: var(--slate-400);
  padding: 4px 0;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--green-400); transform: translateX(4px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.04);
  padding-top: 24px;
  font-size: .82rem;
  color: var(--slate-600);
}
.footer-bottom a { color: var(--green-400); }
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  transition: var(--transition);
}
.footer-social a:hover {
  background: rgba(16,185,129,.15);
  color: var(--green-400);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- WhatsApp Floating ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: var(--transition);
  animation: bounceIn 1s ease-out 1.5s both;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
}
.whatsapp-float svg {
  width: 30px; height: 30px;
  fill: #fff;
}
.whatsapp-float .tooltip {
  position: absolute;
  right: 70px;
  background: var(--slate-800);
  color: var(--slate-100);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: .82rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.06);
}
.whatsapp-float:hover .tooltip { opacity: 1; }

@keyframes bounceIn {
  0%   { opacity: 0; transform: scale(.3); }
  50%  { opacity: 1; transform: scale(1.08); }
  70%  { transform: scale(.95); }
  100% { transform: scale(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-description { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .hero-visual-float { display: none; }

  .showcase .container { grid-template-columns: 1fr; }
  .showcase-image { order: -1; }

  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,15,26,.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    gap: 20px;
  }
  .nav-toggle { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }

  .hero-stats { gap: 24px; }

  .cta-inner { padding: 50px 28px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .testimonial-card { padding: 40px 24px; }
}
