/* ==========================================================================
   GreenConnect - Premium SaaS Landing Page Styling System (2026 Startup Theme)
   ========================================================================== */

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables & Theme Setup */
:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Color Palette - Cyber Emerald Dark Theme */
  --bg-dark: #07090e;
  --bg-deep: #0c0f17;
  --bg-surface: rgba(18, 24, 38, 0.6);
  --bg-surface-hover: rgba(26, 34, 54, 0.85);
  
  --primary: #10b981;
  --primary-rgb: 16, 185, 129;
  --primary-hover: #34d399;
  --primary-glow: rgba(16, 185, 129, 0.25);
  
  --secondary: #06b6d4;
  --secondary-rgb: 6, 182, 212;
  --secondary-glow: rgba(6, 182, 212, 0.25);
  
  --text-pure: #ffffff;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dark: #475569;
  
  --border-color: rgba(255, 255, 255, 0.07);
  --border-color-glow: rgba(16, 185, 129, 0.25);
  
  --status-resolved: #10b981;
  --status-pending: #f59e0b;
  --status-progress: #3b82f6;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.15);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Background Gradients & Glow Orbs */
.background-grid {
  position: fixed;
  top: -2%;
  left: -2%;
  width: 104%;
  height: 104%;
  z-index: -2;
  background-image: linear-gradient(to bottom, #07090e 0%, #0c0f17 100%);
  background-size: cover;
  transition: transform 0.2s ease-out; /* Smooth hover transition for mouse parallax */
  will-change: transform;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12; /* Keep it subtle so typography is highly readable */
  z-index: -3;
  pointer-events: none;
  filter: saturate(1.2);
}

/* Ensure consistent background on mobile devices */
@media (max-width: 768px) {
  .bg-video {
    opacity: 0.12; /* Force same opacity on mobile */
    filter: saturate(1.2);
    object-fit: cover;
  }
  
  .background-grid {
    background-image: linear-gradient(to bottom, #07090e 0%, #0c0f17 100%);
    background-size: cover;
  }
  
  .glow-orb {
    opacity: 0.65; /* Ensure orbs are visible on mobile */
    filter: blur(140px);
    -webkit-filter: blur(140px);
  }
}

/* Fallback background when video doesn't load */
.background-grid {
  background-image: linear-gradient(to bottom, #07090e 0%, #0c0f17 100%);
  background-size: cover;
}

/* Ensure video loads properly or falls back gracefully */
.bg-video {
  background: transparent;
}

.bg-video:not([src]) {
  display: none;
}

.background-grid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255,255,255,0.007) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.007) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
}

/* Ensure grid pattern is consistent on all devices */
@media (max-width: 768px) {
  .background-grid::after {
    background-image: linear-gradient(rgba(255,255,255,0.007) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.007) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 1;
  }
}

/* Dynamic Shifting Glowing Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  -webkit-filter: blur(140px);
  opacity: 0.65;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: -2;
  will-change: transform;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: drift-slow-1 25s infinite alternate ease-in-out;
}

.orb-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  animation: drift-slow-2 30s infinite alternate ease-in-out;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.18) 0%, transparent 70%);
  top: 35%;
  left: 30%;
  animation: drift-slow-3 22s infinite alternate ease-in-out;
}

/* Ensure orbs are properly sized and positioned on mobile */
@media (max-width: 768px) {
  .orb-1 {
    width: 400px;
    height: 400px;
    top: -50px;
    left: -50px;
  }
  
  .orb-2 {
    width: 450px;
    height: 450px;
    bottom: -75px;
    right: -50px;
  }
  
  .orb-3 {
    width: 350px;
    height: 350px;
    top: 30%;
    left: 25%;
  }
}

@keyframes drift-slow-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(250px, 120px) scale(1.15); }
  100% { transform: translate(120px, 250px) scale(0.9); }
}

@keyframes drift-slow-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-200px, -180px) scale(0.85); }
  100% { transform: translate(-80px, -350px) scale(1.1); }
}

@keyframes drift-slow-3 {
  0% { transform: translate(0, 0) scale(0.9); }
  50% { transform: translate(-120px, 180px) scale(1.1); }
  100% { transform: translate(180px, -80px) scale(1); }
}

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

p {
  color: var(--text-muted);
}

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

/* Glassmorphism card template utility */
.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-glass);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.05);
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  background: rgba(7, 9, 14, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-pure) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  width: 32px;
  height: 32px;
  fill: var(--primary);
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-dark);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 4px 25px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

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

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

/* Burger menu for Mobile navigation */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-pure);
  margin: 5px 0;
  transition: 0.3s ease;
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-deep);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    padding: 100px 40px;
    transition: 0.3s ease;
    z-index: 99;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-actions {
    display: none; /* Hide buttons in mobile bar, let waitlist button handle it */
  }
}

/* ==========================================================================
   Hero Section Styling
   ========================================================================== */
.hero {
  padding: 160px 0 100px 0;
  position: relative;
  overflow: hidden;
}

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

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-dashboard-mockup {
    transform: rotateY(-4deg) rotateX(4deg);
    margin: 0 auto;
  }
  .floating-card-1 {
    left: 10px;
    top: 10%;
  }
  .floating-card-2 {
    right: 10px;
    bottom: 10%;
  }
  .floating-card-3 {
    right: 20%;
    top: -15px;
  }
}

@media (max-width: 480px) {
  .hero-dashboard-mockup {
    transform: none !important;
    width: 100%;
  }
  .floating-card {
    display: none !important;
  }
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--primary-hover);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.05);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.25);
  }
  50% {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
  }
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 40%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.6;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  width: 100%;
}

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

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

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Floating Mockup Visual in Hero */
.hero-visual {
  position: relative;
  perspective: 1000px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-dashboard-mockup {
  position: relative;
  width: 90%;
  max-width: 500px;
  transform: rotateY(-12deg) rotateX(10deg);
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dashboard-mockup:hover {
  transform: rotateY(-4deg) rotateX(4deg) translateY(-8px);
}

.mock-window {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 340px;
}

.mock-window-header {
  height: 36px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
}

.mock-window-header span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.mock-dot-red { background: #ef4444; }
.mock-dot-yellow { background: #f59e0b; }
.mock-dot-green { background: #10b981; }

.mock-window-body {
  padding: 16px;
  height: calc(100% - 36px);
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

/* Floating cards around Hero visual */
.floating-card {
  position: absolute;
  background: rgba(18, 24, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-slow 6s ease-in-out infinite alternate;
}

.floating-card-1 {
  top: 15%;
  left: -20px;
  animation-delay: 0s;
  border-left: 3px solid var(--primary);
}

.floating-card-2 {
  bottom: 15%;
  right: -25px;
  animation-delay: 1.5s;
  border-left: 3px solid var(--secondary);
}

.floating-card-3 {
  top: -20px;
  right: 10%;
  animation-delay: 3s;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

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

.floating-card-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-hover);
}

.floating-card-details h5 {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.floating-card-details p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================================================
   About Section Styling
   ========================================================================== */
.about {
  padding: 80px 0;
  position: relative;
}

.about-box {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

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

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.about-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-main);
}

/* ==========================================================================
   Planned Features Section Styling
   ========================================================================== */
.features {
  padding: 80px 0;
  position: relative;
}

.section-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-box {
  background: var(--primary);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

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

/* ==========================================================================
   How It Works (Workflow) Styling
   ========================================================================== */
.workflow {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(to bottom, transparent, rgba(16, 185, 129, 0.02), transparent);
}

.workflow-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .workflow-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.workflow-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: var(--transition-smooth);
  z-index: 2;
}

.workflow-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(16, 185, 129, 0.05);
}

.workflow-number {
  position: absolute;
  top: -15px;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: var(--bg-dark);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.workflow-card-icon {
  width: 50px;
  height: 50px;
  color: var(--primary);
  margin-bottom: 16px;
}

.workflow-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 700;
}

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

/* Connecting line for workflow timeline (only desktop) */
.workflow-line {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, 
    var(--primary) 0%, 
    rgba(16, 185, 129, 0.4) 50%, 
    var(--primary) 100%
  );
  z-index: 1;
  transform: translateY(-50%);
  opacity: 0.3;
}

@media (max-width: 1024px) {
  .workflow-line {
    display: none;
  }
}

/* ==========================================================================
   Why GreenConnect Styling
   ========================================================================== */
.why-section {
  padding: 80px 0;
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.why-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.why-bullet-item:hover {
  border-color: rgba(6, 182, 212, 0.2);
  transform: translateX(6px);
  box-shadow: var(--shadow-glass);
}

.why-bullet-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}

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

.why-bullet-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

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

/* Interactive Before/After comparison widget */
.why-comparison {
  height: 380px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
}

.comparison-before, .comparison-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  transition: opacity 0.5s ease-in-out;
}

.comparison-before {
  background: radial-gradient(circle at top right, rgba(239, 68, 68, 0.05), transparent 60%);
  opacity: 1;
}

.comparison-after {
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.05), transparent 60%);
  opacity: 0;
  pointer-events: none;
}

.why-comparison.show-after .comparison-before {
  opacity: 0;
  pointer-events: none;
}

.why-comparison.show-after .comparison-after {
  opacity: 1;
  pointer-events: auto;
}

.comparison-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-before .comparison-tag {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.comparison-after .comparison-tag {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--primary);
}

.comparison-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  list-style: none;
}

.comparison-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.comparison-list-item-x {
  color: #ef4444;
}

.comparison-list-item-check {
  color: var(--primary);
}

.comparison-toggle-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-pure);
  cursor: pointer;
  z-index: 5;
  transition: var(--transition-fast);
}

.comparison-toggle-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}

/* ==========================================================================
   Development Roadmap Styling
   ========================================================================== */
.roadmap {
  padding: 80px 0;
  position: relative;
}

.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 40px auto 0 auto;
  position: relative;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, 
    var(--primary) 0%, 
    var(--primary) 40%, 
    var(--secondary) 60%, 
    rgba(255,255,255,0.05) 100%
  );
  z-index: 1;
}

.roadmap-item {
  display: flex;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.roadmap-marker {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: var(--transition-smooth);
}

.roadmap-item.completed .roadmap-marker {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.roadmap-item.in-progress .roadmap-marker {
  border-color: var(--secondary);
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
  animation: pulse-border 2s infinite alternate;
}

@keyframes pulse-border {
  0% { border-color: rgba(6, 182, 212, 0.4); }
  100% { border-color: rgba(6, 182, 212, 1); }
}

.roadmap-item.upcoming .roadmap-marker {
  color: var(--text-muted);
}

.roadmap-details {
  flex-grow: 1;
}

.roadmap-details h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.roadmap-status-badge {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.completed .roadmap-status-badge {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--primary);
}

.in-progress .roadmap-status-badge {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--secondary);
}

.upcoming .roadmap-status-badge {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.roadmap-details p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Sneak Peek (Platform Showcase & Mockup Viewport)
   ========================================================================== */
.showcase {
  padding: 100px 0;
  position: relative;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.02) 0%, transparent 70%);
}

.concept-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 10px;
}

.showcase-wrapper {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
}

@media (max-width: 900px) {
  .showcase-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Sidebar Nav Inside Device Mockup */
.showcase-sidebar {
  background: rgba(12, 15, 23, 0.8);
  border-right: 1px solid var(--border-color);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (max-width: 900px) {
  .showcase-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    gap: 15px;
    width: 100%;
    overflow: hidden; /* Force parent to stay within screen boundaries */
  }
}

.sidebar-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .sidebar-title {
    display: none;
  }
}

.showcase-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

@media (max-width: 900px) {
  .showcase-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    white-space: nowrap;
    gap: 8px;
    width: 100%; /* Limit width to sidebar */
    max-width: 100%;
    -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling on iOS */
  }
  .showcase-tabs li {
    flex-shrink: 0; /* Prevent list items from shrinking and breaking scroll */
  }
  .showcase-tabs::-webkit-scrollbar {
    height: 6px;
    display: block !important;
  }
  .showcase-tabs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
  }
  .showcase-tabs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
  }
  .tab-btn {
    width: auto;
    flex-shrink: 0;
    padding: 8px 12px;
    gap: 6px;
    font-size: 0.8rem;
  }
  .tab-btn svg {
    width: 15px;
    height: 15px;
  }
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-fast);
  width: 100%;
}

.tab-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tab-btn:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  color: var(--primary-hover);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

/* Screen Viewport Inside Mockup */
.showcase-viewport {
  background: var(--bg-deep);
  height: 580px; /* Constrained dashboard height */
  padding: 0; /* Clear padding so screen bodies can fill exactly */
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .showcase-viewport {
    height: 520px; /* Slightly shorter viewport for smaller screens */
  }
}

@media (max-width: 600px) {
  .showcase-viewport {
    padding: 0; /* Keep padding cleared */
    height: 500px; /* Mobile viewport height */
  }
}

.mockup-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px; /* Shift padding inside the absolute screen container */
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 600px) {
  .mockup-screen {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px; /* Reduced internal padding for mobile screen bodies */
  }
}

.mockup-screen.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Screen Headers & Layouts */
.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.screen-title-area h4 {
  font-size: 1.3rem;
  font-weight: 700;
}

.screen-title-area p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   Founder Section Styling
   ========================================================================== */
.founder {
  padding: 80px 0;
  position: relative;
}

.founder-container {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.founder-card {
  padding: 40px;
}

.founder-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .founder-header {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

.founder-avatar {
  position: relative;
}

.founder-logo {
  width: 120px;
  height: 120px;
  border: 3px solid var(--border-color);
  border-radius: 50%;
  object-fit: cover;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.1));
}

.founder-card:hover .founder-logo {
  border-color: var(--primary);
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.3));
  transform: scale(1.05);
}

.avatar-placeholder {
  width: 120px;
  height: 120px;
  background: var(--bg-deep);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.avatar-placeholder svg {
  width: 48px;
  height: 48px;
}

.founder-card:hover .avatar-placeholder {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.founder-intro h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text-pure) 60%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.founder-title {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

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

@media (max-width: 768px) {
  .founder-tags {
    justify-content: center;
  }
}

.tag {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--secondary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.founder-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.founder-story h4,
.founder-vision h4,
.founder-achievements h4,
.founder-contact h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-pure);
}

.founder-story p,
.founder-vision p,
.founder-contact p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
}

.founder-vision blockquote {
  background: rgba(16, 185, 129, 0.05);
  border-left: 4px solid var(--primary);
  margin: 20px 0;
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-pure);
  position: relative;
}

.founder-vision blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  position: absolute;
  top: -10px;
  left: 10px;
  font-family: serif;
  opacity: 0.3;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

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

.achievement-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: var(--transition-smooth);
}

.achievement-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.achievement-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.achievement-item h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-pure);
}

.achievement-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.founder-contact {
  text-align: center;
  background: rgba(16, 185, 129, 0.03);
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: 16px;
  padding: 30px;
}

.founder-contact .btn {
  margin-top: 16px;
}

/* ==========================================================================
   Continuing Screen Styling for Showcase
   ========================================================================== */
.screen-title-area p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.screen-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  padding-right: 8px; /* Extra padding so text doesn't touch the scrollbar */
}

/* Custom scrollbars for the dashboard screen body to keep it premium */
.screen-body::-webkit-scrollbar {
  width: 6px;
}
.screen-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
.screen-body::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.3);
}
.screen-body::-webkit-scrollbar-track {
  background: transparent;
}

/* Mockup Widget Details - Home Dashboard */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.stat-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.widget-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.widget-details h5 {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.widget-details p {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-pure);
}

.dash-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .dash-row {
    grid-template-columns: 1fr;
  }
}

.dash-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
}

.dash-box h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-bottom: 8px;
}

.dash-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 8px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
}

.dash-list-item span.status {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Mockup Widget Details - Issue Reporting Form */
.report-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .report-form {
    grid-template-columns: 1fr;
  }
}

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

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

.form-group input, .form-group select, .form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text-pure);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.05);
}

.drag-drop-area {
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: var(--transition-fast);
}

.drag-drop-area:hover {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.02);
}

.drag-drop-area svg {
  width: 36px;
  height: 36px;
  color: var(--text-muted);
}

.gps-field {
  display: flex;
  gap: 10px;
}

.gps-field input {
  flex-grow: 1;
}

.btn-gps {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  color: var(--text-pure);
  border-radius: 8px;
  padding: 0 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

.btn-gps:hover {
  background: rgba(255,255,255,0.1);
}

.form-full {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .form-full {
    grid-column: span 1;
  }
}

/* Mockup Widget Details - Interactive Map */
.map-canvas {
  height: 380px;
  background: #10141f;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.map-placeholder-svg {
  width: 100%;
  height: 100%;
  opacity: 0.45;
  stroke: rgba(255, 255, 255, 0.08);
  fill: none;
}

/* Interactive Pins on Map */
.map-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.map-pin::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.4;
  animation: radar-pulse 1.8s infinite ease-out;
}

.map-pin:hover {
  transform: scale(1.3);
  z-index: 12;
}

@keyframes radar-pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.pin-1 { top: 35%; left: 25%; color: var(--status-pending); background: var(--status-pending); }
.pin-2 { top: 60%; left: 55%; color: var(--status-progress); background: var(--status-progress); }
.pin-3 { top: 25%; left: 75%; color: var(--status-resolved); background: var(--status-resolved); }
.pin-4 { top: 75%; left: 15%; color: var(--status-pending); background: var(--status-pending); }

/* Map Info Card Overlay */
.map-info-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(18, 24, 38, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: translateY(150px);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 15;
}

.map-info-card.active {
  transform: translateY(0);
  opacity: 1;
}

.map-info-left h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.map-info-left p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.map-info-status {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 6px;
}

.map-info-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.map-info-right button {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.map-info-right button:hover {
  background: var(--primary);
  color: var(--bg-dark);
}

/* Mockup Widget Details - Community Feed */
.feed-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feed-post-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
}

.author-info h6 {
  font-size: 0.85rem;
  font-weight: 700;
}

.author-info span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.post-content p {
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 12px;
}

.post-image-placeholder {
  height: 140px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.post-actions {
  display: flex;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 10px;
}

.post-action-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-action-btn:hover, .post-action-btn.active {
  color: var(--primary-hover);
}

/* Mockup Widget Details - Cleanup Drives */
.drive-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .drive-cards {
    grid-template-columns: 1fr;
  }
}

.drive-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drive-header h5 {
  font-size: 1rem;
  font-weight: 700;
}

.drive-header p {
  font-size: 0.75rem;
  color: var(--primary);
  margin-top: 2px;
}

.drive-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drive-progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.03);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  margin-top: 6px;
}

.drive-progress-fill {
  height: 100%;
  background: var(--primary);
  width: 60%;
  transition: width 0.5s ease;
}

.btn-join-drive {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  color: var(--text-pure);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-fast);
}

.btn-join-drive:hover {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
}

.btn-join-drive.joined {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
  color: var(--primary-hover);
}

/* Mockup Widget Details - Leaderboard */
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.leaderboard-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  justify-content: space-between;
}

.leaderboard-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.leaderboard-rank {
  font-weight: 800;
  font-size: 0.95rem;
  width: 24px;
  color: var(--text-muted);
}

.leaderboard-row:nth-child(1) .leaderboard-rank { color: #fbbf24; }
.leaderboard-row:nth-child(2) .leaderboard-rank { color: #94a3b8; }
.leaderboard-row:nth-child(3) .leaderboard-rank { color: #b45309; }

.leaderboard-details h6 {
  font-size: 0.85rem;
  font-weight: 700;
}

.leaderboard-details span.badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--secondary);
}

.leaderboard-points {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-hover);
}

/* Mockup Widget Details - Analytics */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.chart-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-box h5 {
  font-size: 0.9rem;
  font-weight: 700;
}

.chart-svg-container {
  height: 160px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 20px;
}

.bar-chart-bar {
  width: 24px;
  background: linear-gradient(to top, rgba(16, 185, 129, 0.2), var(--primary));
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 1s ease;
}

.bar-chart-bar::after {
  content: attr(data-label);
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.area-chart-svg {
  width: 100%;
  height: 100%;
}

.area-chart-path {
  stroke: var(--secondary);
  stroke-width: 2px;
  fill: url(#area-gradient);
}

/* ==========================================================================
   Coming Soon (Waitlist CTA) Styling
   ========================================================================== */
.cta {
  padding: 120px 0;
  position: relative;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  border-radius: 30px;
  border: 1px solid rgba(16, 185, 129, 0.15);
  background: radial-gradient(circle at top, rgba(16, 185, 129, 0.08) 0%, rgba(12, 15, 23, 0.95) 100%);
  padding: 60px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(16, 185, 129, 0.05);
}

@media (max-width: 768px) {
  .cta-box {
    padding: 40px 20px;
  }
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 50%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 36px auto;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 6px;
  border-radius: 14px;
  box-shadow: var(--shadow-glass);
}

@media (max-width: 600px) {
  .cta-form {
    flex-direction: column;
    background: none;
    border: none;
    padding: 0;
    gap: 16px;
  }
}

.cta-form input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-pure);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
}

@media (max-width: 600px) {
  .cta-form input {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
  }
}

.cta-form button {
  white-space: nowrap;
}

/* Waitlist success state */
.success-msg {
  display: none;
  font-size: 1.1rem;
  color: var(--primary-hover);
  font-weight: 600;
  animation: fade-in-up 0.5s ease forwards;
}

@keyframes fade-in-up {
  0% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Footer Section Styling
   ========================================================================== */
.footer {
  background: #04060b;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

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

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

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
}

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

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-pure);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

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

/* Scroll-driven entry animation classes (JavaScript reveals them) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.appear {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Glassmorphic Modal Popups
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

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

.modal-content {
  width: 100%;
  max-width: 580px;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-glass);
  position: relative;
  transform: scale(0.92);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.05);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
  padding: 5px;
}

.modal-close-btn:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

.modal-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 50%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-body {
  margin-top: 16px;
  overflow-y: auto;
  padding-right: 6px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-body::-webkit-scrollbar {
  width: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.modal-body p {
  color: var(--text-main);
}

/* Mobile Optimization for Before/After Widget & Interactive Dashboard Mockups */
@media (max-width: 600px) {
  /* Before/After Widget */
  .why-comparison {
    height: 440px; /* Extra height to prevent text overlap if it wraps */
  }
  .comparison-before, .comparison-after {
    padding: 20px;
  }
  .comparison-title {
    font-size: 1.3rem;
  }
  .comparison-list-item {
    font-size: 0.85rem;
  }
  .comparison-toggle-btn {
    bottom: 16px;
    right: 16px;
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  /* Dashboard Screen Layout Optimizations */
  .screen-header {
    padding-bottom: 10px;
  }
  .screen-title-area h4 {
    font-size: 1.05rem;
  }
  .screen-title-area p {
    font-size: 0.75rem;
  }
  
  /* Home Dashboard Screen */
  .dashboard-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .stat-widget {
    flex-direction: column !important;
    padding: 10px 4px !important;
    gap: 6px !important;
    text-align: center !important;
    border-radius: 10px !important;
  }
  .widget-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
  }
  .widget-details h5 {
    font-size: 0.55rem !important;
    margin-bottom: 2px !important;
  }
  .widget-details p {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
  }
  .dash-box {
    padding: 12px !important;
    border-radius: 10px !important;
  }
  .dash-box h5 {
    font-size: 0.8rem !important;
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
  }
  .dash-list-item {
    padding: 6px !important;
    font-size: 0.7rem !important;
  }
  .dash-list-item span.status {
    padding: 1px 4px !important;
    font-size: 0.6rem !important;
  }

  /* Issue Reporting Form */
  .report-form {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .form-group {
    gap: 4px !important;
  }
  .form-group label {
    font-size: 0.75rem !important;
  }
  .form-group input, .form-group select, .form-group textarea {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }
  .drag-drop-area {
    padding: 14px !important;
    gap: 6px !important;
  }
  .drag-drop-area svg {
    width: 24px !important;
    height: 24px !important;
  }
  .drag-drop-area span {
    font-size: 0.75rem !important;
  }
  .gps-field {
    gap: 8px !important;
  }
  .btn-gps {
    padding: 0 10px !important;
    font-size: 0.75rem !important;
  }

  /* Interactive Map */
  .map-canvas {
    height: 260px !important;
  }
  .map-info-card {
    bottom: 10px !important;
    left: 10px !important;
    right: 10px !important;
    padding: 10px !important;
  }
  .map-info-left h5 {
    font-size: 0.8rem !important;
  }
  .map-info-left p {
    font-size: 0.65rem !important;
  }
  .map-info-status {
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
  }
  .map-info-right span {
    font-size: 0.7rem !important;
  }
  .map-info-right button {
    padding: 4px 8px !important;
    font-size: 0.65rem !important;
  }

  /* Community Feed */
  .feed-post-card {
    padding: 12px !important;
    border-radius: 10px !important;
  }
  .post-author {
    margin-bottom: 8px !important;
  }
  .author-avatar {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.75rem !important;
  }
  .author-info h6 {
    font-size: 0.75rem !important;
  }
  .author-info span {
    font-size: 0.65rem !important;
  }
  .post-content p {
    font-size: 0.75rem !important;
    margin-bottom: 8px !important;
  }
  .post-image-placeholder {
    height: 100px !important;
    font-size: 0.7rem !important;
    margin-bottom: 8px !important;
  }
  .post-actions {
    gap: 15px !important;
    padding-top: 8px !important;
  }
  .post-action-btn {
    font-size: 0.7rem !important;
  }

  /* Cleanup Drives */
  .drive-card {
    padding: 12px !important;
    gap: 8px !important;
    border-radius: 10px !important;
  }
  .drive-header h5 {
    font-size: 0.85rem !important;
  }
  .drive-header p {
    font-size: 0.7rem !important;
  }
  .drive-meta {
    font-size: 0.75rem !important;
    gap: 4px !important;
  }
  .btn-join-drive {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
  }

  /* Leaderboards */
  .leaderboard-row {
    padding: 8px 12px !important;
  }
  .leaderboard-rank {
    font-size: 0.8rem !important;
  }
  .leaderboard-details h6 {
    font-size: 0.8rem !important;
  }
  .leaderboard-details span.badge {
    font-size: 0.6rem !important;
    padding: 1px 4px !important;
  }
  .leaderboard-points {
    font-size: 0.8rem !important;
  }

  /* Analytics Screen */
  .chart-box {
    padding: 12px !important;
    gap: 8px !important;
  }
  .chart-box h5 {
    font-size: 0.8rem !important;
  }
  .chart-svg-container {
    height: 120px !important;
  }
  .bar-chart-bar {
    width: 18px !important;
  }
}

