/* ==========================================================================
   MediaFlux Software - Premium Dark Mode Design System
   Inspired by Linear, Vercel, Framer, Apple & Stripe Dark Aesthetic
   ========================================================================== */

/* --- CSS Variables & Dark Theme Tokens --- */
:root {
  /* Brand Palette */
  --primary-blue: #3B82F6;
  --primary-blue-hover: #60A5FA;
  --primary-blue-light: rgba(59, 130, 246, 0.15);
  --primary-purple: #6D5DF6;
  --primary-purple-hover: #818CF8;
  --primary-purple-light: rgba(109, 93, 246, 0.15);
  
  /* Gradient Combinations */
  --gradient-brand: linear-gradient(135deg, #3B82F6 0%, #6D5DF6 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(109, 93, 246, 0.15) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(109, 93, 246, 0.4) 100%);
  --gradient-text: linear-gradient(135deg, #FFFFFF 20%, #60A5FA 70%, #A5B4FC 100%);
  --gradient-dark-card: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);

  /* Dark Neutrals */
  --bg-body: #070B14;
  --bg-subtle: #0D1322;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  
  /* Typography Colors */
  --text-heading: #FFFFFF;
  --text-body: #94A3B8;
  --text-muted: #64748B;
  --text-light: #CBD5E1;

  /* Glassmorphism & Dark Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-active: rgba(59, 130, 246, 0.5);
  --glass-bg: rgba(13, 19, 34, 0.75);
  --glass-bg-subtle: rgba(15, 23, 42, 0.85);
  --glass-backdrop: blur(20px);
  
  /* Glowing Dark Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px rgba(59, 130, 246, 0.35);
  --shadow-purple-glow: 0 0 35px rgba(109, 93, 246, 0.35);

  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Container & Layout Helpers --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 7rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4.5rem 0;
  }
}

/* Cyber Grid & Glowing Ambient Background System */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(rgba(59, 130, 246, 0.14) 1.5px, transparent 1.5px),
    radial-gradient(rgba(109, 93, 246, 0.08) 1.5px, transparent 1.5px);
  background-size: 36px 36px, 72px 72px;
  background-position: 0 0, 18px 18px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 30%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 30%, black 30%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

/* Mouse-Following Interactive Spotlight Glow */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(700px circle at var(--mouse-x, 50%) var(--mouse-y, 30%), rgba(59, 130, 246, 0.18), rgba(109, 93, 246, 0.08) 40%, transparent 80%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

/* Glowing Neon Background Mesh & Orbs (Blue #3B82F6 & Violet #6D5DF6) */
.bg-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.45;
  animation: pulse-slow 10s infinite alternate ease-in-out;
}

.mesh-blob-1 {
  width: 750px;
  height: 750px;
  top: -150px;
  right: -120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, rgba(109, 93, 246, 0.35) 50%, transparent 80%);
}

.mesh-blob-2 {
  width: 700px;
  height: 700px;
  top: 30%;
  left: -200px;
  background: radial-gradient(circle, rgba(109, 93, 246, 0.45) 0%, rgba(59, 130, 246, 0.25) 50%, transparent 80%);
}

.mesh-blob-3 {
  width: 800px;
  height: 800px;
  bottom: -200px;
  right: 5%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(109, 93, 246, 0.3) 50%, transparent 80%);
}

@keyframes pulse-slow {
  0% { transform: scale(1) translate(0, 0) rotate(0deg); opacity: 0.45; }
  50% { transform: scale(1.18) translate(-40px, 40px) rotate(5deg); opacity: 0.65; }
  100% { transform: scale(0.92) translate(40px, -40px) rotate(-5deg); opacity: 0.45; }
}

/* Glowing Neon Section Dividers */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.5) 30%, rgba(109, 93, 246, 0.5) 70%, transparent 100%);
  margin: 0;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem auto;
  position: relative;
  z-index: 1;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60A5FA;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-body);
  font-weight: 400;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .section-title { font-size: 1.85rem; }
  .section-subtitle { font-size: 1rem; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.975rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.6), 0 0 25px rgba(109, 93, 246, 0.5);
  color: #FFFFFF;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.8);
  color: var(--text-heading);
  border-color: var(--border-glass);
  backdrop-filter: var(--glass-backdrop);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: rgba(59, 130, 246, 0.5);
  color: #60A5FA;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.btn-icon {
  width: 1.2rem;
  height: 1.2rem;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* --- HEADER & NAVIGATION --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.4rem 0;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
  flex-shrink: 0;
  transition: transform var(--transition-bounce);
}

.navbar-brand:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: scale(1.04);
}

.navbar-logo-img {
  height: 110px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition-normal);
}

.navbar.scrolled .navbar-logo-img {
  height: 85px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-brand);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  color: #FFFFFF;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 991px) {
  .mobile-toggle { display: block; }
  
  .nav-menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: #0B0F19;
    border-left: 1px solid var(--border-glass);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    padding: 6rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right var(--transition-normal);
    z-index: 999;
  }

  .nav-menu-wrapper.open { right: 0; }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
  }

  .nav-link { font-size: 1.1rem; width: 100%; }

  .nav-actions { width: 100%; flex-direction: column; }
  .nav-actions .btn { width: 100%; }

  .mobile-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 998;
  }

  .mobile-overlay.open { opacity: 1; visibility: visible; }
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 6rem;
  overflow: hidden;
  background: radial-gradient(circle at 75% 25%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 15% 65%, rgba(109, 93, 246, 0.1) 0%, transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .hero-btns { justify-content: center; }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.1rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
}

.hero-logo-badge img {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

.hero-logo-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFFFFF;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 991px) {
  .hero-metrics { justify-content: center; }
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.metric-label {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* --- HERO FLOATING LIGHT DASHBOARD MOCKUP (High Contrast Preview) --- */
.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-container {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 480px;
  perspective: 1000px;
}

/* Light Glassmorphism Floating Cards */
.dash-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.25);
  padding: 1.25rem;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease, border-color 0.6s ease;
  user-select: none;
}

.dash-card:hover, .dash-card.active-focus {
  transform: translateY(-14px) scale(1.05) !important;
  border-color: #3B82F6 !important;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(59, 130, 246, 0.55) !important;
  z-index: 20 !important;
}

/* Main Center Card - Analytics & Radio Broadcast */
.dash-card-main {
  width: 90%;
  top: 10%;
  left: 5%;
  z-index: 3;
  animation: float-slow 6s infinite alternate ease-in-out;
}

/* Top Right Floating Card - Calendar */
.dash-card-calendar {
  width: 52%;
  top: -4%;
  right: -2%;
  z-index: 4;
  animation: float-medium 7s infinite alternate ease-in-out 1s;
}

/* Bottom Left Floating Card - News Stats */
.dash-card-news {
  width: 55%;
  bottom: 2%;
  left: -4%;
  z-index: 5;
  animation: float-slow 8s infinite alternate ease-in-out 2s;
}

/* Floating Digital Signature Card */
.dash-card-signature {
  width: 62%;
  top: -8%;
  left: -5%;
  z-index: 6;
  border: 2px solid #3B82F6 !important;
  box-shadow: 0 20px 45px rgba(59, 130, 246, 0.35) !important;
  animation: float-medium 5.5s infinite alternate ease-in-out 0.8s;
}

/* Sales Flow Diagram UI */
.sales-flow-section {
  padding: 3rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.sales-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 991px) {
  .sales-flow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 576px) {
  .sales-flow-grid {
    grid-template-columns: 1fr;
  }
}

.sales-flow-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.sales-flow-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
}

.sales-flow-num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #60A5FA;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.sales-flow-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.sales-flow-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.sales-flow-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float-medium {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(-1.5deg); }
}

/* Internal Light Card Components */
.card-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.card-title-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: #0F172A;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 10px #22C55E;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.chart-svg {
  width: 100%;
  height: 75px;
  margin: 0.5rem 0;
}

.broadcast-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  color: #2563EB;
  font-weight: 600;
}

/* Calendar Card UI */
.calendar-mini {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 0.7rem;
  margin-top: 0.5rem;
}

.cal-day {
  padding: 4px;
  border-radius: 4px;
  color: #64748B;
}

.cal-day.active {
  background: var(--gradient-brand);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.cal-day.has-spot {
  background: rgba(109, 93, 246, 0.12);
  color: #6D5DF6;
  font-weight: 600;
}

/* News Card UI */
.news-counter {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0F172A;
}

.news-trend {
  font-size: 0.75rem;
  color: #10B981;
  font-weight: 600;
}

/* Order Status UI */
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.75rem;
  color: #334155;
}

.order-row:last-child { border-bottom: none; }

.order-tag {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
}

.tag-approved { background: rgba(34, 197, 94, 0.12); color: #16A34A; }
.tag-pending { background: rgba(245, 158, 11, 0.12); color: #D97706; }

@media (max-width: 576px) {
  .dashboard-container { height: 380px; }
  .dash-card-main { width: 95%; left: 2.5%; top: 5%; }
  .dash-card-calendar { display: none; }
  .dash-card-news { width: 65%; left: 0%; bottom: 0%; }
  .dash-card-order { width: 60%; right: 0%; bottom: 5%; }
}

/* --- SOBRE (ABOUT) SECTION --- */
.about-section {
  background: var(--bg-subtle);
  position: relative;
}

.about-card-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--glass-backdrop);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .about-card-wrapper { padding: 2.5rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.highlight-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(30, 41, 59, 0.5);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition-fast);
}

.highlight-box:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
}

/* --- SOLUÇÕES SECTION --- */
.solutions-section {
  position: relative;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

@media (max-width: 991px) {
  .solutions-grid { grid-template-columns: 1fr; }
}

.solution-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-backdrop);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(59, 130, 246, 0.4);
}

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

.solution-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.solution-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

.solution-title-wrap h3 {
  font-size: 1.75rem;
  color: #FFFFFF;
}

.solution-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: #818CF8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.solution-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Resources Check List */
.resources-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 576px) {
  .resources-grid { grid-template-columns: 1fr; }
}

.resource-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-body);
}

.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  color: #4ADE80;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg { width: 12px; height: 12px; }

/* --- DIFERENCIAIS SECTION --- */
.diferenciais-section {
  background: var(--bg-subtle);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 991px) {
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .diferenciais-grid { grid-template-columns: 1fr; }
}

.dif-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  backdrop-filter: var(--glass-backdrop);
}

.dif-card:hover {
  transform: translateY(-6px);
  border-color: rgba(109, 93, 246, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(109, 93, 246, 0.2);
}

.dif-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
}

.dif-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.dif-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- COMO FUNCIONA (TIMELINE) --- */
.how-section {
  position: relative;
}

.timeline-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 3rem;
}

.timeline-horizontal::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
  z-index: 0;
  opacity: 0.4;
}

@media (max-width: 991px) {
  .timeline-horizontal { grid-template-columns: 1fr; gap: 2rem; }
  .timeline-horizontal::before { display: none; }
}

.timeline-step {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
  backdrop-filter: var(--glass-backdrop);
}

.timeline-step:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--shadow-glow);
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

.step-title {
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- PREÇOS SECTION --- */
.pricing-section {
  background: var(--bg-subtle);
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1140px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
  }
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-backdrop);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 3.5rem 2.5rem;
  position: relative;
  box-shadow: var(--shadow-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.pricing-card.featured {
  border: 2px solid var(--primary-blue);
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.35);
}

.pricing-card.purple-featured {
  border: 2px solid var(--primary-purple);
  box-shadow: 0 0 50px rgba(109, 93, 246, 0.35);
}

.pricing-card:hover {
  transform: translateY(-6px);
}

@media (max-width: 576px) {
  .pricing-card { padding: 2.5rem 1.5rem; }
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.pricing-plan-name {
  font-size: 1.75rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: 'Poppins', sans-serif;
  font-size: 3.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 1.25rem 0;
  line-height: 1;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.pricing-price span {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 0.9rem;
}

.pricing-feature-item:last-child { margin-bottom: 0; }

.pricing-addon {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(109, 93, 246, 0.2);
  color: #A5B4FC;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(109, 93, 246, 0.3);
  margin-bottom: 2rem;
}

/* --- FUTURO (FUTURE MODULES) SECTION --- */
.future-section {
  position: relative;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 991px) {
  .future-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .future-grid { grid-template-columns: 1fr; }
}

.future-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px dashed rgba(109, 93, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-normal);
}

.future-card:hover {
  transform: translateY(-5px);
  background: rgba(30, 41, 59, 0.8);
  border-style: solid;
  border-color: var(--primary-purple);
  box-shadow: 0 0 30px rgba(109, 93, 246, 0.3);
}

.future-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: rgba(109, 93, 246, 0.2);
  color: #A5B4FC;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.future-title {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.future-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- BENEFÍCIOS (DEPOIS) SECTION --- */
.benefits-section {
  background: var(--bg-subtle);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 576px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.2);
}

.benefit-icon-wrapper {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.benefit-title {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
}

/* --- CONTATO SECTION --- */
.contact-section {
  position: relative;
}

.contact-card-wrapper {
  background: var(--bg-card);
  backdrop-filter: var(--glass-backdrop);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  padding: 4rem 3rem;
}

@media (max-width: 768px) {
  .contact-card-wrapper { padding: 2.5rem 1.5rem; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

@media (max-width: 991px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(30, 41, 59, 0.5);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
  transition: transform var(--transition-fast);
}

.contact-info-item:hover {
  transform: translateX(4px);
  border-color: rgba(59, 130, 246, 0.4);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.contact-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFFFFF;
}

.social-btns-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  background: rgba(30, 41, 59, 0.6);
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.social-btn.whatsapp:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 0 25px rgba(220, 39, 67, 0.4);
}

/* Contact Form Styling */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.8);
  color: #FFFFFF;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control::placeholder {
  color: #64748B;
}

.form-control:focus {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-alert {
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: none;
}

.form-alert.success {
  display: block;
  background: rgba(34, 197, 94, 0.2);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.form-alert.error {
  display: block;
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* --- FOOTER --- */
.footer {
  background: #04070D;
  color: #94A3B8;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-brand .brand-text { color: #FFFFFF; }

.footer-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #94A3B8; font-size: 0.9rem; }
.footer-links a:hover { color: #60A5FA; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* --- MODALS --- */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active { opacity: 1; visibility: visible; }

.modal-box {
  background: #0D1322;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-bounce);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(59, 130, 246, 0.2);
}

.modal-backdrop.active .modal-box { transform: scale(1); }

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border-subtle);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(51, 65, 85, 1);
  color: #FFFFFF;
}

/* --- ANIMATION UTILITIES FOR SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  border: none;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }
