@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ==========================================
   DESIGN TOKENS & VARIABLES
   ========================================== */
:root {
  /* Colors */
  --bg-deep: #060b19;
  --bg-card: rgba(13, 23, 47, 0.7);
  --bg-card-hover: rgba(20, 35, 71, 0.9);
  --bg-offset: #091124;
  --color-primary: #ff7a00; /* Solar Orange */
  --color-primary-hover: #e66d00;
  --color-primary-glow: rgba(255, 122, 0, 0.35);
  --color-secondary: #0088ff; /* Electric Blue */
  --color-secondary-hover: #0077e0;
  --color-secondary-glow: rgba(0, 136, 255, 0.25);
  
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(0, 136, 255, 0.2);
  
  /* Fonts */
  --font-heading: 'Lexend', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Grid Overlay */
  --grid-pattern: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::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 {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Base grid effect on background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--grid-pattern);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2rem, 1.3rem + 2.5vw, 3.25rem);
  line-height: 1.15;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem);
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  text-wrap: balance;
}

h2 span {
  color: var(--color-primary);
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 1vw, 1.75rem);
}

p {
  color: var(--text-muted);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  text-wrap: pretty;
}

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

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

button, .btn {
  font-family: var(--font-heading);
  font-weight: 600;
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
  text-align: center;
}

/* ==========================================
   BUTTON VARIATIONS
   ========================================== */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--text-dark);
  box-shadow: 0 4px 20px var(--color-primary-glow);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 122, 0, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--color-secondary);
  box-shadow: 0 4px 15px var(--color-secondary-glow);
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 136, 255, 0.4);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-white:hover {
  border-color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Focus Outline */
button:focus-visible, 
a:focus-visible, 
input:focus-visible, 
textarea:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 4px;
}

/* ==========================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section-padding {
  padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem);
}

.section-offset {
  background-color: var(--bg-offset);
}

.text-center {
  text-align: center;
}

.max-w-3xl {
  max-width: 768px;
  margin-inline: auto;
}

.max-w-2xl {
  max-width: 640px;
  margin-inline: auto;
}

.badge {
  display: inline-block;
  background-color: rgba(0, 136, 255, 0.1);
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Glassmorphism Panel */
.glass-panel {
  background-color: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.glass-panel:hover {
  border-color: var(--border-color-glow);
}

/* ==========================================
   1. HEADER & NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(6, 11, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height var(--transition-normal);
}

.header.scrolled .container {
  height: 70px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 48px;
  width: auto;
  transition: height var(--transition-normal);
}

.header.scrolled .logo-img {
  height: 40px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================
   2. HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
  background-image: linear-gradient(135deg, rgba(6, 11, 25, 0.95) 0%, rgba(6, 11, 25, 0.75) 50%, rgba(6, 11, 25, 0.95) 100%), url('./assets/hero_background.png');
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--bg-deep), transparent);
  pointer-events: none;
}

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

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

.hero-heading {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-heading span {
  display: block;
  color: var(--color-primary);
}

.hero-description {
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1; /* Slate 300 - soft and highly readable */
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Hero Trust Badges */
.hero-badges-horizontal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 122, 0, 0.1);
  border: 1px solid rgba(255, 122, 0, 0.2);
  color: var(--color-primary);
}

.hero-badge-item h4 {
  font-size: 1rem;
  font-weight: 600;
}

.hero-badge-item p {
  font-size: 0.85rem;
}

/* Hero Visual Graphic (Ref: image.png) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
}

.hero-bg-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 136, 255, 0.15) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  z-index: 1;
  pointer-events: none;
}

.solar-panels-hero {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--border-color-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: transform var(--transition-slow);
}

.hero-visual:hover .solar-panels-hero {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

/* Floating Bill (Fatura) */
.floating-bill {
  position: absolute;
  top: 15%;
  left: -15%;
  z-index: 4;
  width: 60%;
  background-color: #ffffff;
  color: #333333;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
  font-size: 0.65rem;
  font-family: monospace;
  border-left: 5px solid var(--color-primary);
  transform: perspective(1000px) rotateY(15deg) rotateZ(-12deg) translateY(-10px);
  animation: floatBill 6s ease-in-out infinite alternate;
}

.floating-bill-header {
  border-bottom: 1px dashed #dddddd;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.floating-bill-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.floating-bill-total {
  border-top: 1px dashed #dddddd;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-primary);
}

/* Speech Bubble (Ref: image.png) */
.floating-speech {
  position: absolute;
  bottom: 10%;
  right: -5%;
  z-index: 5;
  background-color: #1e293b;
  border: 1px solid var(--color-secondary);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: 20px 20px 0 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  font-size: 0.95rem;
  font-weight: 600;
  max-width: 240px;
  animation: floatSpeech 5s ease-in-out infinite alternate;
}

/* Animations */
@keyframes floatBill {
  0% { transform: perspective(1000px) rotateY(15deg) rotateZ(-12deg) translateY(-10px); }
  100% { transform: perspective(1000px) rotateY(15deg) rotateZ(-12deg) translateY(10px); }
}

@keyframes floatSpeech {
  0% { transform: translateY(5px); }
  100% { transform: translateY(-15px); }
}

/* ==========================================
   3. TRUST BAR (MÉTRICAS)
   ========================================== */
.trust-bar {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(9, 17, 36, 0.5);
  padding-block: 2.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.trust-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

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

/* ==========================================
   4. SIMULATOR PREVIEW (CTA AZUME)
   ========================================== */
.simulator-preview .glass-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3.5rem;
}

.sim-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sim-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.sim-stat-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 1.25rem 1rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: all var(--transition-normal);
}

.sim-stat-card:hover {
  border-color: var(--color-secondary);
  background-color: rgba(0, 136, 255, 0.05);
  transform: translateY(-2px);
}

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

.sim-stat-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.simulator-form-demo {
  background-color: rgba(6, 11, 25, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.sim-input-group {
  margin-bottom: 1.5rem;
}

.sim-slider-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.sim-slider {
  flex: 1;
  accent-color: var(--color-primary);
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.sim-slider-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-primary);
  min-width: 90px;
  text-align: right;
}

.sim-breakdown {
  margin-top: 1rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sim-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.sim-cost-old {
  color: #ffb87a;
  text-decoration: line-through;
}

.sim-cost-new {
  color: var(--color-secondary);
  font-weight: 700;
}

.sim-result-box {
  margin-top: 1.5rem;
  background: radial-gradient(circle at top left, rgba(255, 122, 0, 0.08) 0%, rgba(255, 122, 0, 0.02) 100%);
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 10px 20px rgba(255, 122, 0, 0.1);
}

.sim-result-box h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.sim-result-val {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

@media (max-width: 576px) {
  .sim-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ==========================================
   5. VALUE PROPOSITION (INVESTMENT) - Ref: image copy 2
   ========================================== */
.investment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.investment-cards {
  display: grid;
  gap: 1.5rem;
}

.invest-card {
  display: flex;
  gap: 1.5rem;
  background-color: rgba(13, 23, 47, 0.5);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 16px;
  transition: all var(--transition-normal);
}

.invest-card:hover {
  transform: translateX(10px);
  border-color: rgba(255, 122, 0, 0.3);
  background-color: rgba(13, 23, 47, 0.7);
}

.invest-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: rgba(0, 136, 255, 0.1);
  color: var(--color-secondary);
}

.invest-card:hover .invest-card-icon {
  background-color: rgba(255, 122, 0, 0.15);
  color: var(--color-primary);
}

.invest-card-content h3 {
  margin-bottom: 0.5rem;
}

/* Visual Mockup for Investment */
.investment-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.investment-box-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  border: 2px solid var(--color-primary);
  background-color: var(--bg-card);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(255, 122, 0, 0.15);
  overflow: hidden;
}

.investment-box-wrapper::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.2) 0%, transparent 70%);
}

.investment-roof-mockup {
  margin-top: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.floating-lightning {
  position: absolute;
  width: 80px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 122, 0, 0.6));
  z-index: 5;
}

.floating-lightning.left {
  top: 10%;
  left: -15%;
  transform: rotate(-15deg);
  animation: floatLightL 4s ease-in-out infinite alternate;
}

.floating-lightning.right {
  bottom: 20%;
  right: -15%;
  transform: rotate(20deg);
  animation: floatLightR 4.5s ease-in-out infinite alternate;
}

@keyframes floatLightL {
  0% { transform: rotate(-15deg) translateY(-5px); }
  100% { transform: rotate(-15deg) translateY(10px); }
}

@keyframes floatLightR {
  0% { transform: rotate(20deg) translateY(5px); }
  100% { transform: rotate(20deg) translateY(-10px); }
}

/* ==========================================
   6. HOW IT WORKS (PASSO A PASSO)
   ========================================== */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 4rem;
  align-items: stretch;
}

/* Connecting Line */
.how-it-works-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, rgba(0,136,255,0.1), var(--color-primary), rgba(0,136,255,0.1));
  z-index: 1;
}

.step-card {
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--bg-deep);
  border: 3px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-normal);
}

.step-card:hover .step-number {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.3);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* ==========================================
   7. EQUIPMENT & TECHNOLOGY
   ========================================== */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.tech-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all var(--transition-normal);
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary);
}

.tech-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(0, 136, 255, 0.08);
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
}

.tech-card:hover .tech-icon-container {
  background-color: rgba(0, 136, 255, 0.15);
}

.tech-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.tech-card p {
  font-size: 0.875rem;
}

/* ==========================================
   8. WHY CHOOSE LWL
   ========================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  padding: 2.5rem;
  height: 100%;
}

.why-icon {
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  width: 48px;
  height: 48px;
}

.why-card h3 {
  margin-bottom: 1rem;
}

.why-list {
  margin-top: 1.5rem;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.why-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.why-list-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ==========================================
   9. BEFORE VS AFTER (COST COMPARISON)
   ========================================== */
.comparison-table-wrapper {
  margin-top: 3rem;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background-color: rgba(9, 17, 36, 0.4);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, 
.comparison-table td {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  background-color: rgba(13, 23, 47, 0.6);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.col-before {
  color: #ffb87a;
  font-weight: 600;
}

.comparison-table td.col-after {
  color: var(--color-secondary);
  font-weight: 700;
}

.comparison-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.comparison-badge.bad {
  background-color: rgba(255, 122, 0, 0.1);
  color: #ff7a00;
  border: 1px solid rgba(255, 122, 0, 0.2);
}

.comparison-badge.good {
  background-color: rgba(0, 136, 255, 0.1);
  color: #0088ff;
  border: 1px solid rgba(0, 136, 255, 0.2);
}

/* ==========================================
   10. PORTFOLIO / GALLERY
   ========================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 11, 25, 0.95) 10%, rgba(6, 11, 25, 0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.portfolio-overlay p {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* ==========================================
   11. CLIENT TESTIMONIALS
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  padding: 2.5rem;
  position: relative;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.testimonial-rating svg {
  width: 18px;
  height: 18px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
}

.client-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.client-info p {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================
   12. SEO DICAS/BLOG
   ========================================== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.tip-card {
  background-color: var(--bg-offset);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.tip-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-glow);
}

.tip-image-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: rgba(255, 122, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border-bottom: 1px solid var(--border-color);
}

.tip-content {
  padding: 2rem;
}

.tip-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.tip-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.tip-card h3:hover {
  color: var(--color-primary);
}

.tip-card p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.tip-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-primary);
}

/* ==========================================
   13. FAQ (PERGUNTAS FREQUENTES)
   ========================================== */
.faq-list {
  margin-top: 3rem;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-main);
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  gap: 1.5rem;
}

.faq-question-btn svg {
  transition: transform var(--transition-normal);
  color: var(--color-primary);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal);
  padding-inline: 2rem;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Active FAQ */
.faq-item.active {
  border-color: var(--border-color-glow);
  background-color: var(--bg-card-hover);
}

.faq-item.active .faq-question-btn svg {
  transform: rotate(180deg);
}

/* ==========================================
   14. CONTACT FORM & FOOTER
   ========================================== */
.footer-section {
  padding-top: 6rem;
  border-top: 1px solid var(--border-color);
  background-color: #040812;
  position: relative;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color-glow), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  margin-bottom: 5rem;
}

.contact-info h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.contact-desc {
  margin-bottom: 2.5rem;
}

.contact-details {
  display: grid;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  gap: 1rem;
}

.contact-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: rgba(0, 136, 255, 0.08);
  color: var(--color-secondary);
  flex-shrink: 0;
}

.contact-detail-content h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-detail-content p, 
.contact-detail-content a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-detail-content a:hover {
  color: var(--color-primary);
}

/* Lead Form Styling */
.contact-form {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background-color: rgba(6, 11, 25, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  background-color: rgba(6, 11, 25, 0.8);
}

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

.form-submit-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Main Footer Footer */
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-block: 2.5rem;
}

.footer-bottom-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
}

.social-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.social-link-icon:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-dark);
  transform: translateY(-3px);
}

.social-link-icon svg {
  width: 18px;
  height: 18px;
}

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

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */

/* 1024px Grid adjustments (Laptops) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-actions, .hero-badges-horizontal {
    justify-content: center;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .simulator-preview .glass-panel {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2.5rem;
  }
  
  .investment-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .investment-visual {
    order: -1;
  }
  
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: stretch;
  }
  
  .how-it-works-grid::before {
    display: none; /* Hide connecting line */
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 600px;
    margin-inline: auto;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* 768px Nav adjustments (Tablets) */
@media (max-width: 768px) {
  .header .container {
    height: 70px;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-deep);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2.5rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  }
  
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .header-cta .btn {
    display: none; /* Hide header CTA button on small screen */
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-grid {
    flex-direction: column;
    text-align: center;
  }

  .floating-bill {
    left: -5% !important;
    width: 65% !important;
    font-size: 0.6rem !important;
  }
  
  .floating-speech {
    right: 0 !important;
    font-size: 0.8rem !important;
    padding: 0.75rem 1rem !important;
  }

  .comparison-table th, 
  .comparison-table td {
    padding: 1rem 0.75rem !important;
  }
  
  .comparison-table {
    min-width: 580px !important;
  }
}

/* 480px Layout fixes (Mobile) */
@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-cards {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  .floating-bill {
    left: -2% !important;
    width: 70% !important;
    font-size: 0.55rem !important;
  }
  
  .floating-speech {
    right: -2% !important;
    font-size: 0.75rem !important;
    padding: 0.6rem 0.85rem !important;
  }

  .comparison-table th, 
  .comparison-table td {
    padding: 0.85rem 0.5rem !important;
    font-size: 0.85rem !important;
  }
}



/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

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

/* Staggered delay helpers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ==========================================
   INSTAGRAM FEED SECTION
   ========================================== */
.instagram-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.instagram-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  border-radius: 9999px !important;
  box-shadow: 0 10px 20px rgba(220, 39, 67, 0.25) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-insta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(220, 39, 67, 0.45) !important;
  filter: brightness(1.05);
}

.btn-insta-below {
  display: none !important;
}

.insta-badge {
  display: inline-block;
  padding: 3px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.insta-badge:hover {
  transform: scale(1.05);
}

.insta-badge-inner {
  background: var(--bg-deep);
  padding: 3px;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  overflow: hidden;
}

.insta-embed-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 490px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollable-insta-card::-webkit-scrollbar {
  display: none;
}

.insta-embed-iframe-responsive {
  width: 100% !important;
  border: none !important;
  display: block !important;
  height: 680px !important;
}

@media (max-width: 991px) {
  .instagram-layout {
    grid-template-columns: 45% 55%;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .instagram-layout {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    gap: 40px !important;
  }

  .instagram-content-col {
    align-items: center !important;
    text-align: center !important;
  }

  .btn-insta {
    width: 100% !important;
    max-width: 280px !important;
  }

  #insta-follow-btn-above {
    display: none !important;
  }

  .btn-insta-below {
    display: inline-flex !important;
    margin-top: 24px !important;
  }

  .instagram-feed-col {
    width: 100% !important;
  }

  .scrollable-insta-card {
    height: 380px !important;
  }

  .insta-embed-iframe-responsive {
    height: 480px !important;
  }
}

/* ==========================================
   16. ALTERNATING LIGHT SECTIONS
   ========================================== */
.section-light {
  background-color: #f8fafc !important; /* Slate 50 */
  color: #334155 !important; /* Slate 700 */
}

.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6 {
  color: #0f172a !important; /* Slate 900 */
}

.section-light p {
  color: #475569 !important; /* Slate 600 */
}

/* Overrides for glass panels and cards inside light sections */
.section-light .glass-panel,
.section-light .tech-card,
.section-light .invest-card,
.section-light .tip-card,
.section-light .faq-item,
.section-light .contact-form,
.section-light .sim-stat-card {
  background-color: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
}

.section-light .glass-panel h2 span,
.section-light .glass-panel h3 span {
  color: var(--color-primary) !important;
}

/* Trust Bar inside light section */
.section-light.trust-bar,
.section-light .trust-bar {
  background-color: #f1f5f9 !important; /* Slate 100 */
}

.section-light .trust-number {
  color: var(--color-secondary) !important;
}

.section-light .trust-label {
  color: #0f172a !important;
}

.section-light .trust-desc {
  color: #475569 !important;
}

/* Simulator Form inside light section */
.section-light .simulator-form-demo {
  background-color: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06) !important;
}

.section-light .sim-slider-container {
  color: #0f172a !important;
}

.section-light .sim-breakdown {
  background-color: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

.section-light .sim-breakdown-row {
  color: #475569 !important;
}

.section-light .sim-result-box {
  background: radial-gradient(circle at top left, rgba(255, 122, 0, 0.05) 0%, rgba(255, 122, 0, 0.01) 100%) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 10px 20px rgba(255, 122, 0, 0.05) !important;
}

.section-light .sim-stat-label {
  color: #64748b !important;
}

.section-light .sim-stat-val {
  color: #0f172a !important;
}

/* Step Card (How It Works) inside light section */
.section-light .step-card {
  background-color: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
}

.section-light .step-number {
  background-color: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: var(--color-secondary) !important;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05) !important;
}

.section-light .step-card:hover .step-number {
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.2) !important;
}

.section-light .step-card h3 {
  color: #0f172a !important;
}

/* Why card inside light section */
.section-light .why-card {
  background-color: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

.section-light .why-list-item {
  color: #334155 !important;
}

/* Testimonials / reviews inside light section */
.section-light .testimonial-card {
  background-color: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
}

.section-light .client-avatar {
  background-color: rgba(0, 136, 255, 0.1) !important;
  color: var(--color-secondary) !important;
}

.section-light .client-info h4 {
  color: #0f172a !important;
}

.section-light .client-info p {
  color: #64748b !important;
}

/* Instagram section inside light section */
.section-light.instagram-section {
  background-color: #f8fafc !important;
}

.section-light .insta-badge-inner {
  background-color: #ffffff !important;
}

.section-light .insta-embed-container {
  background-color: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
}

/* FAQ text color in light section */
.section-light .faq-question-btn {
  color: #0f172a !important;
}

.section-light .faq-answer p {
  color: #475569 !important;
}

/* ==========================================
   17. WHATSAPP FLOATING BUTTON & GREEN CTAs
   ========================================== */
.btn-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  border: 1px solid #1ebd5b !important;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25) !important;
  transition: all var(--transition-normal) !important;
}

.btn-whatsapp:hover {
  background: #20ba59 !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.45) !important;
}

/* Floating WhatsApp Button */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
  text-decoration: none;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #20ba59;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-floating-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-floating-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-floating-btn svg {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================
   PHONE VIDEO MOCKUP
   ========================================== */
.video-phone-mockup {
  position: relative;
  width: 240px;
  height: 480px;
  margin: 1.5rem auto 0;
  background-color: #000;
  border: 12px solid #1e293b;
  border-radius: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.video-phone-mockup:hover {
  transform: translateY(-5px) scale(1.02);
}

.phone-speaker {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background-color: #334155;
  border-radius: 2px;
  z-index: 10;
}

.phone-camera {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background-color: #334155;
  border-radius: 50%;
  z-index: 10;
}

.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.video-phone-mockup:hover .video-play-overlay {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(6, 11, 25, 0.95);
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 360px;
  height: 80vh;
  max-height: 720px;
  background-color: #000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--color-primary);
}

/* Rounding How it works step-cards */
.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem 2rem;
  border-radius: 24px !important;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

/* Portfolio Masmorra (Masonry Grid) */
.portfolio-grid-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1.5rem;
  margin-top: 3rem;
}

.portfolio-item-masonry {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.portfolio-item-masonry.aspect-wide {
  grid-column: span 2;
  grid-row: span 1;
}

.portfolio-item-masonry.aspect-tall {
  grid-column: span 1;
  grid-row: span 2;
}

.portfolio-item-masonry.aspect-square {
  grid-column: span 1;
  grid-row: span 1;
}

@media (max-width: 1024px) {
  .portfolio-grid-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
  }
  .portfolio-item-masonry.aspect-wide {
    grid-column: span 2;
  }
  .portfolio-item-masonry.aspect-tall {
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .portfolio-grid-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
  }
  .portfolio-item-masonry.aspect-wide {
    grid-column: span 1;
  }
  .portfolio-item-masonry.aspect-tall {
    grid-row: span 1;
  }
}

/* ==========================================
   SUB-PAGE / BLOG POST STYLES
   ========================================== */

/* Blog Hero */
.blog-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 6rem 0 3rem;
  overflow: hidden;
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.blog-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-deep) 0%, rgba(6,11,25,0.6) 50%, rgba(6,11,25,0.3) 100%);
}

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

.blog-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1rem;
  max-width: 700px;
}

.blog-hero h1 span {
  color: var(--color-primary);
}

.blog-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.breadcrumbs .separator {
  color: rgba(255,255,255,0.3);
}

/* Blog Content Area */
.blog-content {
  padding: 5rem 0;
}

.blog-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  max-width: 860px;
  margin: 0 auto;
}

.blog-prose {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.blog-prose h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
  font-weight: 700;
  color: #fff;
  margin: 3rem 0 1.25rem;
  letter-spacing: -0.02em;
}

.blog-prose h2 span {
  color: var(--color-primary);
}

.section-light .blog-prose h2 {
  color: var(--text-dark) !important;
}

.section-light .blog-prose {
  color: #475569 !important;
}

.blog-prose h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 2rem 0 0.75rem;
}

.section-light .blog-prose h3 {
  color: #1e293b !important;
}

.blog-prose p {
  margin-bottom: 1.25rem;
}

.blog-prose strong {
  color: #fff;
  font-weight: 700;
}

.section-light .blog-prose strong {
  color: #0f172a !important;
}

.blog-prose ul, .blog-prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-prose li {
  margin-bottom: 0.5rem;
}

.blog-inline-img {
  width: 100%;
  border-radius: 20px;
  margin: 2rem 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
}

/* Benefit Cards Grid */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 15px 30px rgba(255,122,0,0.1);
}

.section-light .benefit-card {
  background: #ffffff !important;
  border-color: rgba(15,23,42,0.08) !important;
  box-shadow: 0 10px 30px rgba(15,23,42,0.04) !important;
}

.section-light .benefit-card:hover {
  border-color: var(--color-primary) !important;
  box-shadow: 0 15px 30px rgba(255,122,0,0.08) !important;
}

.benefit-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255,122,0,0.1);
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.section-light .benefit-card h3 {
  color: #0f172a !important;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #1a7a3a 0%, #25D366 100%);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta-banner h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

.cta-banner .btn {
  position: relative;
  z-index: 2;
  background: #fff !important;
  color: #1a7a3a !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

.cta-banner .btn:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3) !important;
}

/* Timeline Visual */
.blog-timeline {
  position: relative;
  padding-left: 3rem;
  margin: 2rem 0 3rem;
}

.blog-timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.25rem;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--bg-deep);
  box-shadow: 0 0 10px rgba(255,122,0,0.3);
}

.section-light .timeline-item::before {
  border-color: #f8fafc;
}

.timeline-item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.section-light .timeline-item h3 {
  color: #0f172a !important;
}

.timeline-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Blog FAQ (reusing accordion mechanics) */
.blog-faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

/* Use Case Cards */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.usecase-card:hover {
  border-color: var(--color-secondary);
  transform: translateY(-3px);
}

.section-light .usecase-card {
  background: #ffffff !important;
  border-color: rgba(15,23,42,0.08) !important;
}

.usecase-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0,136,255,0.1);
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.usecase-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.section-light .usecase-card h4 {
  color: #0f172a !important;
}

.usecase-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Included Package List */
.included-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
  padding: 0;
}

.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.included-list li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--color-primary);
}

/* Responsive sub-page */
@media (max-width: 768px) {
  .blog-hero {
    min-height: 380px;
    padding: 5rem 0 2rem;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .usecase-grid {
    grid-template-columns: 1fr;
  }
  .blog-content {
    padding: 3rem 0;
  }
}

/* Massive CTA Panel Styles */
.massive-cta-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 5rem 3rem;
  text-align: center;
  margin-bottom: 5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.massive-cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,122,0,0.12) 0%, transparent 60%);
  z-index: 0;
}

.massive-cta-panel * {
  position: relative;
  z-index: 1;
}

.massive-cta-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 1.5rem auto 1rem;
  max-width: 700px;
}

.massive-cta-panel p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-size: 1.1rem;
}

.massive-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-huge {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-details-horizontal {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-detail-item-horizontal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-detail-item-horizontal svg {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .massive-cta-panel {
    padding: 3rem 1.5rem;
  }
  .contact-details-horizontal {
    gap: 1.5rem;
    flex-direction: column;
    align-items: center;
  }
}

/* Premium Footer Styles */
.footer-premium {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

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

.footer-brand-col .logo-container {
  margin-bottom: 1.25rem;
}

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

.footer-links-col h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

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

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

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-info-list li svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-copyright-bar {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  text-align: center;
}

.footer-copyright-bar p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

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







