/* ==========================================================================
   PayVST - Modern Dark Glassmorphic Landing Page Stylesheet
   ========================================================================== */

:root {
  --bg-dark: #090d16;
  --bg-card: rgba(18, 24, 38, 0.7);
  --bg-card-hover: rgba(26, 35, 54, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.3);
  
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.4);
  
  --accent-cyan: #06b6d4;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Interactive Custom Cursor & Spotlight */
.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.04) 40%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: opacity 0.3s ease, background-color 0.3s ease, width 0.3s ease, height 0.3s ease;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1.2px solid rgba(6, 182, 212, 0.4);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9998;
  transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.15);
}

/* Cursor Hover States */
body.cursor-hover .cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

body.cursor-hover .cursor-ring {
  width: 34px;
  height: 34px;
  border-color: rgba(99, 102, 241, 0.7);
  background-color: rgba(99, 102, 241, 0.05);
}

@media (pointer: coarse), (max-width: 768px) {
  .cursor-spotlight, .cursor-dot, .cursor-ring {
    display: none !important;
  }
}

/* Ambient Background Glows */
.bg-glow-1, .bg-glow-2, .bg-glow-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  top: -100px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
}

.bg-glow-2 {
  top: 800px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
}

.bg-glow-3 {
  top: 1800px;
  left: -150px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 70%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

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

/* Header Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 100;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  height: 70px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-logo img {
  height: 34px;
  width: auto;
}

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

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

.nav-links a:hover {
  color: #ffffff;
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--primary-glow);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  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);
}

.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--accent-cyan);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Drawer Backdrop Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hide main header elements when drawer is open */
body.nav-open .navbar .brand-logo,
body.nav-open .navbar .mobile-toggle {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* Mobile Drawer Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 80vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-color);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.drawer-logo img {
  height: 30px;
  width: auto;
}

.mobile-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
}

.mobile-nav .btn {
  padding: 10px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding-top: 170px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin: 20px 0 24px;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-dim);
  font-size: 0.875rem;
}

.upi-logos {
  display: flex;
  align-items: center;
  gap: 12px;
}

.upi-logos img {
  height: 22px;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.upi-logos img:hover {
  opacity: 1;
}

/* Hero Interactive Mockup */
.hero-visual {
  position: relative;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.mockup-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
}

.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qr-box {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 170px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.qr-box img {
  width: 130px;
  height: 130px;
}

.qr-label {
  color: #111827;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 6px;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pay-btn-mini {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.pay-btn-mini:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.live-status-pill {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.webhook-log {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #38bdf8;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Floating Elements Animation */
.floating-badge {
  position: absolute;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.floating-badge.top-right {
  top: -20px;
  right: -20px;
  animation: float 4s ease-in-out infinite;
}

.floating-badge.bottom-left {
  bottom: -20px;
  left: -20px;
  animation: float 4s ease-in-out infinite 2s;
}

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

/* Stats Section */
.stats-section {
  padding: 40px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
}

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

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin: 12px 0 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

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

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

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

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

/* Code Showcase Section */
.code-section {
  padding: 100px 0;
  position: relative;
}

.code-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.code-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
}

.code-block {
  background: #0d1117;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.code-content {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  color: #e6edf3;
  overflow-x: auto;
  display: none;
}

.code-content.active {
  display: block;
}

.code-keyword { color: #ff7b72; }
.code-string { color: #a5d6ff; }
.code-variable { color: #79c0ff; }
.code-function { color: #d2a8ff; }
.code-comment { color: #8b949e; }

/* Interactive Simulator Section */
.simulator-section {
  padding: 100px 0;
  position: relative;
}

.simulator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sim-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.input-field {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.15) 0%, rgba(18, 24, 38, 0.8) 100%);
  border-color: var(--primary);
  transform: scale(1.04);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
}

.price-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 16px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-features {
  list-style: none;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-features li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  position: relative;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-question {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
}

.faq-question svg {
  transition: transform 0.3s;
}

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

.faq-answer {
  padding: 0 28px 22px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA Banner Section */
.cta-section {
  padding: 80px 0 120px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  backdrop-filter: blur(20px);
}

.cta-box h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 80px 0 32px;
  background: rgba(5, 8, 15, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 16px 0 24px;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #fff;
}

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

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

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.875rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid, .code-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .features-grid, .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  html, body, .page-wrapper {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
  }

  /* Compact Navbar */
  .navbar {
    height: 64px;
  }

  .navbar.scrolled {
    height: 60px;
  }

  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
  }

  .nav-links, .nav-actions {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
  }

  .brand-logo {
    order: 2;
  }

  .brand-logo img {
    height: 28px;
  }

  /* Compact Buttons */
  .btn {
    padding: 10px 18px;
    font-size: 0.88rem;
    border-radius: var(--radius-md);
  }
  
  /* Hero Section Compact */
  .hero-section {
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .hero-content h1 {
    font-size: 1.85rem;
    margin: 14px 0 16px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: row;
    width: 100%;
    gap: 8px;
    align-items: center;
  }

  .hero-buttons .btn {
    flex: 1;
    width: auto;
    padding: 9px 8px;
    font-size: 0.78rem;
    white-space: nowrap;
    justify-content: center;
  }

  .hero-trust {
    margin-top: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .floating-badge {
    display: none; /* Hide floating badges on mobile to prevent vertical whitespace gaps */
  }

  .glass-card {
    padding: 18px 14px;
    border-radius: var(--radius-md);
  }

  .qr-box {
    width: 140px;
    padding: 10px;
  }

  .qr-box img {
    width: 110px;
    height: 110px;
  }

  /* Reduced Section Spacing & Headers */
  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.75rem;
    margin: 8px 0 10px;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .features-section,
  .code-section,
  .pricing-section,
  .faq-section {
    padding: 44px 0;
  }

  /* Compact Stats */
  .stats-section {
    padding: 24px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 12px;
    gap: 16px;
    border-radius: var(--radius-md);
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }
  
  /* Compact Features */
  .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  .feature-card h3 {
    font-size: 1.15rem;
  }

  .feature-card p {
    font-size: 0.9rem;
  }

  /* Code Showcase Compact */
  .code-tabs {
    padding: 4px;
  }

  .tab-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .webhook-log, .code-content {
    font-size: 0.75rem;
    padding: 14px;
    max-width: 100%;
    overflow-x: auto;
    word-break: break-all;
  }

  /* Pricing Compact */
  .pricing-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .price-title {
    font-size: 1.25rem;
  }

  .price-amount {
    font-size: 2.2rem;
    margin: 10px 0;
  }

  .price-features {
    margin: 18px 0;
    gap: 10px;
  }

  .price-features li {
    font-size: 0.88rem;
  }

  /* FAQ Accordion Compact */
  .faq-list {
    gap: 10px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 0 18px 16px;
    font-size: 0.88rem;
  }

  /* CTA Banner Compact */
  .cta-section {
    padding: 40px 0 50px;
  }

  .cta-box {
    padding: 32px 18px;
    border-radius: var(--radius-lg);
  }

  .cta-box h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }

  .cta-box p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .cta-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
    width: auto;
    display: inline-flex;
  }

  /* Footer Compact */
  .footer {
    padding: 40px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding-top: 24px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}
