/* ═══════════════════════════════════════════════════════════
   ROVAFLOW CUSTOMER PORTAL MASTER STYLESHEET
   Premium Light Glassmorphism Design System
   ═══════════════════════════════════════════════════════════ */

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* HSL Tailored Theme Colors */
  --hue: 224;
  --primary: hsl(var(--hue), 85%, 58%);       /* Electric Royal Blue */
  --primary-glow: hsl(var(--hue), 85%, 58%, 0.15);
  --secondary: hsl(282, 84%, 55%);     /* Magenta Orchid */
  --secondary-glow: hsl(282, 84%, 55%, 0.15);
  
  --bg-color: hsl(220, 30%, 97%);        /* Light Frost Gray */
  --text-dark: hsl(224, 40%, 15%);       /* Deep Charcoal */
  --text-muted: hsl(224, 15%, 45%);      /* Steel Gray */
  
  /* Glassmorphism Constants */
  --glass-bg: rgba(255, 255, 255, 0.42);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1200px;
}

/* Base Resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Radial Glows */
body::before,
body::after {
  content: '';
  position: absolute;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
}

body::before {
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

body::after {
  bottom: 100px;
  right: -100px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Glass panel base */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.08);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

h1 {
  font-size: 3rem;
  line-height: 1.15;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  text-align: center;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.btn-nav-action {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 50%, var(--secondary) 100%);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 40px;
  box-shadow: 0 4px 15px rgba(var(--hue), 85%, 58%, 0.15);
}

.btn-nav-action::after {
  display: none !important;
}

.btn-nav-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--hue), 85%, 58%, 0.25);
}

/* Button UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.35);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: rgba(255, 255, 255, 0.45);
  color: var(--primary) !important;
  border: 1.5px solid rgba(var(--hue), 85%, 58%, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: rgba(var(--hue), 85%, 58%, 0.08);
  border-color: var(--primary);
  color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(var(--hue), 85%, 58%, 0.1);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px 0;
  text-align: center;
  position: relative;
}

.hero-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
  background: var(--primary-glow);
  padding: 6px 16px;
  border-radius: 40px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 680px;
  margin: 24px auto 36px auto;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

/* Section Header */
.section-header {
  max-width: 700px;
  margin: 80px auto 48px auto;
  text-align: center;
}

.section-tag {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

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

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.feature-card {
  padding: 36px 28px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card:nth-child(even) .feature-icon {
  background: var(--secondary-glow);
  color: var(--secondary);
}

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

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Why Choose Us */
.why-us-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.why-us-badge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-badge-card {
  padding: 24px;
  text-align: left;
}

.why-badge-card h4 {
  font-size: 1.05rem;
  margin-top: 12px;
  margin-bottom: 6px;
}

.why-badge-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Video Showcase Section */
.video-section {
  margin-bottom: 80px;
  text-align: center;
}

.video-container {
  max-width: 850px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 4px solid var(--glass-border);
}

.video-ratio {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.video-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Interactive Pricing Section */
.pricing-section {
  margin-bottom: 80px;
}

.billing-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.billing-label {
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.billing-label.active {
  color: var(--primary);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.06);
  border: 1px solid var(--glass-border);
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: var(--primary);
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

input:checked + .toggle-slider:before {
  transform: translateX(28px);
  background-color: var(--secondary);
}

.discount-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  background: var(--secondary);
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 40px 28px;
  position: relative;
}

.pricing-card.premium-glow {
  border-color: rgba(var(--hue), 85%, 58%, 0.35);
  box-shadow: 0 10px 30px rgba(var(--hue), 85%, 58%, 0.08);
}

.pricing-card.premium-glow:hover {
  border-color: rgba(var(--hue), 85%, 58%, 0.6);
  box-shadow: 0 15px 40px rgba(var(--hue), 85%, 58%, 0.12);
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 28px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-name {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.plan-price-container {
  margin: 16px 0 24px 0;
  display: flex;
  align-items: baseline;
}

.plan-currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-heading);
}

.plan-cycle {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-left: 4px;
}

.plan-features {
  list-style: none;
  margin-top: 10px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

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

.plan-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 900;
}

.pricing-card.premium-glow .plan-features li::before {
  color: var(--secondary);
}

/* Authentication Layout (Login & Register) */
.auth-wrapper {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 40px;
  text-align: center;
}

.auth-logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.btn-auth-submit {
  width: 100%;
  margin-top: 10px;
}

.auth-switch {
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* Checkout Authentication Segmented Controls */
.checkout-auth-tabs {
  display: flex;
  background: rgba(15, 23, 42, 0.05);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  border: 1px solid var(--glass-border);
}

.checkout-auth-tab-btn {
  flex: 1;
  border: none;
  background: none;
  padding: 10px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: calc(var(--radius-sm) - 2px);
  cursor: pointer;
  transition: var(--transition);
}

.checkout-auth-tab-btn.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(31, 38, 135, 0.06);
}

/* Password Strength Validator */
.password-strength-wrapper {
  margin-top: 8px;
  display: none;
  animation: comp-fade-in 0.3s ease-out forwards;
}

.password-strength-bar-bg {
  height: 6px;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.password-strength-bar {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s ease;
}

.password-strength-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.password-strength-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.password-strength-desc {
  font-size: 0.72rem;
  font-weight: 800;
  transition: color 0.3s ease;
}

/* Strength Colors */
.strength-weak { background-color: hsl(354, 85%, 58%) !important; color: hsl(354, 85%, 58%) !important; }
.strength-fair { background-color: hsl(35, 95%, 55%) !important; color: hsl(35, 95%, 55%) !important; }
.strength-strong { background-color: hsl(142, 70%, 45%) !important; color: hsl(142, 70%, 45%) !important; }
.strength-secure { background-color: var(--primary) !important; color: var(--primary) !important; }

/* Alert Boxes */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 20px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-danger {
  background: hsl(354, 85%, 95%);
  border: 1px solid hsl(354, 85%, 85%);
  color: hsl(354, 70%, 45%);
}

.alert-success {
  background: hsl(142, 70%, 95%);
  border: 1px solid hsl(142, 70%, 85%);
  color: hsl(142, 70%, 35%);
}

/* Customer Profile Dashboard Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 40px 0 80px 0;
}

.dashboard-header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.user-profile-info h1 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.user-profile-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* License cards on Dashboard */
.licenses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.license-card {
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.license-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.license-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--primary-glow);
  color: var(--primary);
}

.license-badge.banned, .license-badge.expired {
  background: hsl(354, 85%, 95%);
  color: hsl(354, 70%, 45%);
}

.license-card h3 {
  font-size: 1.25rem;
}

.license-key-wrapper {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--glass-border);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.btn-copy, .btn-reveal {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-body);
  transition: var(--transition);
}

.btn-copy:hover, .btn-reveal:hover {
  color: var(--secondary);
}

.license-meta-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.license-meta-item label {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
}

.license-meta-item span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Device binding status log */
.binding-card {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: 20px;
}

.binding-header {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.binding-header::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: hsl(142, 70%, 45%);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px hsl(142, 70%, 45%);
}

.binding-header.inactive::before {
  background-color: hsl(354, 70%, 45%);
  box-shadow: none;
}

.binding-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.binding-meta-grid label {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  display: block;
}

.binding-meta-grid span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  word-break: break-all;
}

/* Order History Table */
.order-history-card {
  padding: 32px;
}

.order-history-header {
  margin-bottom: 20px;
  text-align: left;
}

.order-history-header h2 {
  font-size: 1.35rem;
  text-align: left;
  margin-bottom: 4px;
}

.order-history-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

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

th, td {
  padding: 14px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

th {
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.3);
}

tr:hover td {
  background-color: rgba(255, 255, 255, 0.25);
}

.status-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.status-badge.fulfilled, .status-badge.paid {
  background-color: hsl(142, 70%, 93%);
  color: hsl(142, 70%, 35%);
}

.status-badge.pending {
  background-color: hsl(35, 90%, 93%);
  color: hsl(35, 90%, 38%);
}

.status-badge.failed, .status-badge.cancelled {
  background-color: hsl(354, 85%, 95%);
  color: hsl(354, 70%, 45%);
}

/* Checkout Page Specifics */
.checkout-wrapper {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.checkout-form-card {
  padding: 40px;
}

.checkout-summary-card {
  padding: 40px;
  height: fit-content;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.checkout-item.total {
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
  margin-top: 16px;
  font-weight: 800;
  font-size: 1.15rem;
}

.checkout-item label {
  color: var(--text-muted);
}

.checkout-item.total label {
  color: var(--text-dark);
}

.payment-gateways-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.gateway-option {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.gateway-option:hover {
  border-color: var(--primary);
  background: rgba(255,255,255,0.7);
}

.gateway-option input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}

.gateway-label {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  flex-grow: 1;
}

.gateway-name {
  font-weight: 700;
  font-size: 1rem;
}

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

/* Generic Pages (About, Privacy, Contact) */
.page-wrapper {
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-wrapper h1 {
  margin-bottom: 12px;
  text-align: center;
}

.page-subtitle {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 48px;
  font-size: 1.1rem;
}

.text-content {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
}

.text-content h2, .text-content h3 {
  margin-top: 36px;
  margin-bottom: 12px;
  text-align: left;
}

.text-content p, .text-content ul {
  margin-bottom: 20px;
}

.text-content ul {
  padding-left: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-top: 40px;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.contact-info-text p, .contact-info-text a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
}

.contact-info-text a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Footer styling */
footer {
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid var(--glass-border);
  padding: 48px 0 32px 0;
  margin-top: auto;
}

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

.footer-about h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Interactive Expiry countdown banner in dashboard (under key, or overall) */
.expiry-banner-inline {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.08), rgba(244, 63, 94, 0.03));
  border: 1px solid rgba(225, 29, 72, 0.18);
  box-shadow: 0 0 15px rgba(225, 29, 72, 0.05);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: hsl(354, 70%, 45%);
  font-size: 0.8rem;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: pulse-banner 2s infinite alternate;
}

@keyframes pulse-banner {
  0% {
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.04);
  }
  100% {
    box-shadow: 0 0 25px rgba(225, 29, 72, 0.14);
  }
}

.btn-upgrade-inline {
  background: hsl(354, 70%, 45%);
  color: #fff;
  border: none;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-upgrade-inline:hover {
  background: hsl(354, 80%, 40%);
}

/* Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsiveness adjustments */
@media (max-width: 900px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .why-us-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .checkout-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .nav-links {
    display: none; /* simple burger placeholder or hide */
  }
}

/* ═══════════════════════════════════════════════════════════
   ROVAFLOW LANDING PAGE PREMIUM INTERACTIVE ENHANCEMENTS
   ═══════════════════════════════════════════════════════════ */

/* Split Hero Layout */
.hero-split-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
  position: relative;
}

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

/* Floating interactive HSL Hue Theme slider */
.hue-slider-card {
  margin-top: 32px;
  width: 100%;
  max-width: 420px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid hsl(var(--hue), 85%, 58%, 0.15);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(31, 38, 135, 0.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.hue-slider-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.hue-slider-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hue-icon {
  font-size: 1.3rem;
  background: var(--primary-glow);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary);
  transition: var(--transition);
}

.hue-title-wrap {
  display: flex;
  flex-direction: column;
}

.hue-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}

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

.hue-control-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.neon-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #ff0000, #ff00ff, #0000ff, #00ffff, #00ff00, #ffff00, #ff0000);
  outline: none;
  cursor: pointer;
  transition: opacity .2s;
}

.neon-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 0 10px var(--primary);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.neon-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.hue-badge {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary);
  background: var(--primary-glow);
  padding: 4px 8px;
  border-radius: 6px;
  min-width: 48px;
  text-align: center;
}

/* Mock "Live Device Farm" Monitor Widget */
.hero-farm-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
}

.hero-farm-showcase::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  right: 15%;
  bottom: 15%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  opacity: 0.8;
  pointer-events: none;
}

.phone-mockup {
  height: 310px;
  border-radius: 28px;
  border: 5px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 12px 30px rgba(31, 38, 135, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.phone-mockup:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 40px rgba(31, 38, 135, 0.08);
}

.phone-notch-pill {
  width: 40px;
  height: 8px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  margin: 6px auto 2px;
  z-index: 15;
  flex-shrink: 0;
}

.phone-header {
  padding: 4px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-body);
  z-index: 10;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.phone-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981; /* Green */
  box-shadow: 0 0 6px #10b981;
  animation: pulse-dot 1.5s infinite alternate;
}

.phone-status-dot.optimizing {
  background-color: #f59e0b; /* Amber */
  box-shadow: 0 0 6px #f59e0b;
}

@keyframes pulse-dot {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

.phone-screen {
  flex-grow: 1;
  padding: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 0.7rem;
}

.phone-screen-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top left, rgba(var(--hue), 85%, 58%, 0.03), transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.phone-screen-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.phone-footer {
  padding: 6px;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10;
  flex-shrink: 0;
}

/* Device 1: Instagram Scroll Feed Simulation */
.instagram-scroll-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: instagram-scroll 18s linear infinite;
  padding-bottom: 20px;
}

@keyframes instagram-scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.instagram-card {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ig-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.55rem;
  font-weight: 700;
}

.ig-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.ig-img-placeholder {
  height: 52px;
  background: linear-gradient(135deg, rgba(var(--hue), 85%, 58%, 0.1), rgba(282, 84, 55, 0.1));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.ig-actions {
  display: flex;
  gap: 6px;
  font-size: 0.55rem;
  color: var(--text-muted);
}

.ig-likes {
  font-size: 0.55rem;
  font-weight: 700;
}

/* Device 2: YouTube active stream simulation */
.yt-player-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.yt-video-wrapper {
  width: 100%;
  height: 80px;
  background: #000;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.yt-play-btn {
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  box-shadow: 0 0 10px var(--primary);
  z-index: 5;
  animation: yt-play-pulse 2s infinite;
}

@keyframes yt-play-pulse {
  0% { transform: scale(1); box-shadow: 0 0 10px var(--primary-glow); }
  50% { transform: scale(1.1); box-shadow: 0 0 20px var(--primary); }
  100% { transform: scale(1); box-shadow: 0 0 10px var(--primary-glow); }
}

.yt-live-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #ef4444;
  color: #fff;
  font-size: 0.45rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  z-index: 5;
  animation: yt-live-blink 1s infinite alternate;
}

@keyframes yt-live-blink {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.yt-progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 5;
}

.yt-progress-fill {
  height: 100%;
  background: #ef4444;
  width: 35%;
  animation: yt-progress-anim 15s linear infinite;
}

@keyframes yt-progress-anim {
  0% { width: 10%; }
  50% { width: 60%; }
  100% { width: 95%; }
}

.yt-metadata {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}

.yt-title {
  font-weight: 700;
  font-size: 0.6rem;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yt-channel {
  font-size: 0.52rem;
  color: var(--text-muted);
}

.yt-chat-simulation {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 6px;
  flex-grow: 1;
  margin-top: 4px;
  font-size: 0.52rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  max-height: 72px;
}

.yt-chat-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: yt-chat-scroll 10s linear infinite;
}

@keyframes yt-chat-scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.yt-chat-msg {
  line-height: 1.2;
}

.yt-chat-user {
  font-weight: 700;
  color: var(--primary);
}

/* Device 3: TikTok Engagement simulation */
.tiktok-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.tiktok-video-mock {
  flex-grow: 1;
  background: linear-gradient(180deg, #111 0%, #222 100%);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.tiktok-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(254, 44, 85, 0.15) 0%, transparent 60%);
  z-index: 1;
}

.tiktok-disk {
  position: absolute;
  bottom: 12px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #333;
  border: 2px solid #fff;
  z-index: 5;
  animation: tiktok-disk-rotate 3s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes tiktok-disk-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tiktok-disk-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(45deg, #fe2c55, #25f4ee);
}

.tiktok-action-column {
  position: absolute;
  right: 10px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.tiktok-action-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
}

.tiktok-action-label {
  font-size: 0.45rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.tiktok-info-overlay {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 36px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.52rem;
  line-height: 1.2;
}

.tiktok-author-tag {
  font-weight: 700;
}

.tiktok-caption-tag {
  font-size: 0.48rem;
  opacity: 0.85;
}

/* Floating heart animations for TikTok */
.tiktok-floating-hearts {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  pointer-events: none;
}

.tiktok-heart {
  position: absolute;
  bottom: 40px;
  right: 15px;
  color: #fe2c55;
  font-size: 0.9rem;
  opacity: 0;
  transform: scale(0.5);
  animation: tiktok-heart-float 2.5s ease-out infinite;
}

.tiktok-heart:nth-child(2) {
  animation-delay: 0.6s;
  font-size: 0.7rem;
  right: 12px;
}

.tiktok-heart:nth-child(3) {
  animation-delay: 1.2s;
  font-size: 1rem;
  right: 18px;
}

.tiktok-heart:nth-child(4) {
  animation-delay: 1.8s;
  font-size: 0.8rem;
  right: 14px;
}

@keyframes tiktok-heart-float {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5) rotate(0deg);
  }
  15% {
    opacity: 0.9;
    transform: translateY(-15px) scale(1.1) rotate(-15deg);
  }
  85% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateY(-80px) scale(0.7) rotate(20deg);
  }
}

/* Device 4: Cache Cleaner & Optimizer screen simulation */
.cleaner-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.cleaner-radar-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.cleaner-outer-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(var(--hue), 85%, 58%, 0.1);
  box-shadow: 0 0 15px rgba(var(--hue), 85%, 58%, 0.05);
}

.cleaner-pulse-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  animation: cleaner-pulse-anim 3s infinite cubic-bezier(0.1, 0.8, 0.3, 1);
}

@keyframes cleaner-pulse-anim {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 0; }
}

.cleaner-radar-line {
  position: absolute;
  width: 50%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary));
  top: 50%;
  left: 50%;
  transform-origin: left center;
  animation: cleaner-radar-rotate 3s linear infinite;
}

@keyframes cleaner-radar-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cleaner-percentage-center {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
  z-index: 5;
}

.cleaner-status-box {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 6px 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

.cleaner-status-label {
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 700;
}

.cleaner-status-value {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.cleaner-logs-window {
  width: 100%;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  padding: 6px;
  font-family: monospace;
  font-size: 0.5rem;
  color: var(--text-muted);
  height: 48px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
}

.cleaner-log-line {
  white-space: nowrap;
  animation: cleaner-log-fade 0.3s ease-out forwards;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes cleaner-log-fade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Live Trust Metrics / Stats Strip --- */
.stats-strip-container {
  width: 100%;
  padding: 24px 0;
  margin: 20px 0 60px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.8);
}

.stat-num-wrapper {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--text-dark);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-num {
  background: linear-gradient(135deg, var(--text-dark) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.stat-plus {
  color: var(--primary);
  margin-left: 2px;
}

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

/* --- Interactive Glassmorphism FAQ Accordion --- */
.faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.faq-card {
  padding: 0;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.35);
  transition: var(--transition);
}

.faq-card:hover {
  border-color: hsl(var(--hue), 85%, 58%, 0.25);
  background: rgba(255, 255, 255, 0.45);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.faq-question {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.faq-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 0.65rem;
  transition: var(--transition);
}

.faq-card.active {
  border-color: hsl(var(--hue), 85%, 58%, 0.4);
  box-shadow: 0 8px 25px hsl(var(--hue), 85%, 58%, 0.04);
  background: rgba(255, 255, 255, 0.5);
}

.faq-card.active .faq-icon-wrap {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.faq-content-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Live Farm Quick-Orchestrator Card */
.orchestrator-control-card {
  margin-top: 24px;
  width: 100%;
  max-width: 440px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}

.orchestrator-control-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.orchestrator-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.orch-icon {
  font-size: 1.2rem;
  background: var(--primary-glow);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary);
}

.orch-title-wrap {
  display: flex;
  flex-direction: column;
}

.orch-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}

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

.orchestrator-buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.orch-btn {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 6px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition);
  text-align: center;
  outline: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.orch-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
  transform: translateY(-1px);
}

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

.orch-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

/* Floating Telemetry Pills */
.floating-telemetry-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  padding: 6px 12px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-dark);
  pointer-events: none;
  z-index: 12;
  transition: var(--transition);
  white-space: nowrap;
}

.floating-telemetry-pill.fp-1 {
  top: -15px;
  left: -10px;
  animation: float-pill-1 4s ease-in-out infinite alternate;
}

.floating-telemetry-pill.fp-2 {
  bottom: -15px;
  right: 20%;
  animation: float-pill-2 5s ease-in-out infinite alternate;
}

.floating-telemetry-pill.fp-3 {
  top: 50%;
  right: -25px;
  animation: float-pill-3 4.5s ease-in-out infinite alternate;
}

@keyframes float-pill-1 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@keyframes float-pill-2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(6px); }
}

@keyframes float-pill-3 {
  0% { transform: translateX(0); }
  100% { transform: translateX(8px); }
}

/* Speed boost override classes */
.instagram-scroll-container.boosted {
  animation-duration: 4s !important;
}
.cleaner-radar-line.boosted {
  animation-duration: 0.8s !important;
}

/* Media Query Overrides for Landing Page interactive sections */
@media (max-width: 900px) {
  .hero-split-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 30px 0;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }

  .orchestrator-control-card {
    max-width: 100%;
  }

  .floating-telemetry-pill {
    display: none; /* Hide floating pills on mobile to prevent clipping/clutter */
  }

  .hero-farm-showcase {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
    margin: 0 auto;
  }
  
  .stats-strip {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  
  .stat-item:not(:last-child)::after {
    display: none;
  }
  
  .stat-item {
    padding-bottom: 16px;
  }
  
  .stat-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }
}

/* --- Rovaflow vs Emulators Head-to-Head Comparison --- */
.comparison-section {
  padding: 40px 0 60px 0;
}

/* Premium Tabs bar */
.comp-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.comp-tabs {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 50px;
  padding: 6px;
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  position: relative;
  z-index: 1;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.comp-tabs::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.comp-tabs {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Sliding active indicator pill */
.comp-tab-indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 0;
  border-radius: 40px;
  background: var(--primary);
  box-shadow: 0 4px 15px rgba(var(--hue), 85%, 58%, 0.35);
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.comp-tab-btn {
  background: transparent !important;
  border: none !important;
  border-radius: 40px;
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease, transform 0.15s ease;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  box-shadow: none !important;
}

.comp-tab-btn:hover {
  color: var(--primary);
}

.comp-tab-btn.active {
  color: #fff !important;
}

.comp-tab-btn:active {
  transform: scale(0.96);
}

/* Stage & Panel */
.comp-stage-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.comp-panel {
  display: none;
}

.comp-panel.active {
  display: block;
  animation: comp-fade-in 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.comp-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  position: relative;
}

/* VS divider */
.comp-vs-divider {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  pointer-events: none;
}

.comp-vs-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(var(--hue), 85%, 58%, 0.3);
  border: 4px solid var(--bg-color);
}

/* Cards */
.comp-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.comp-card-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  align-self: flex-start;
  margin-bottom: 16px;
}

.comp-card-badge.status-bad {
  background: hsl(354, 85%, 95%);
  color: hsl(354, 70%, 45%);
  border: 1px solid hsl(354, 85%, 90%);
}

.comp-card-badge.status-good {
  background: hsl(142, 70%, 95%);
  color: hsl(142, 70%, 30%);
  border: 1px solid hsl(142, 70%, 90%);
}

.comp-card-title {
  font-size: 1.45rem;
  margin-bottom: 6px;
  text-align: left !important;
}

.comp-card-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Bullet list */
.comp-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: auto;
}

.comp-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.list-bullet {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.list-bullet.bad {
  background: rgba(244, 63, 94, 0.08);
  color: hsl(354, 70%, 45%);
}

.list-bullet.good {
  background: rgba(16, 185, 129, 0.08);
  color: hsl(142, 70%, 30%);
}

.bullet-desc {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.bullet-desc strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-dark);
}

/* Pain and solution card modifications */
.pain-card {
  background: rgba(244, 63, 94, 0.015) !important;
  border: 1px solid rgba(244, 63, 94, 0.12) !important;
}

.pain-card:hover {
  border-color: rgba(244, 63, 94, 0.22) !important;
  box-shadow: 0 8px 30px rgba(244, 63, 94, 0.03) !important;
}

.solution-card {
  background: rgba(59, 130, 246, 0.035) !important;
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
}

.solution-card:hover {
  border-color: rgba(59, 130, 246, 0.35) !important;
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.06) !important;
}

/* Metric Banner */
.comp-metric-banner {
  display: flex;
  gap: 20px;
  border-top: 1px dashed rgba(59, 130, 246, 0.15);
  margin-top: 32px;
  padding-top: 24px;
}

.comp-metric-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive modifications for smaller screen viewports */
@media (max-width: 900px) {
  .comp-panel-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .comp-vs-divider {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    display: flex;
    justify-content: center;
    margin: -15px 0;
  }
  
  .comp-vs-circle {
    border-color: var(--bg-color);
  }
  
  .comp-card {
    padding: 24px;
  }
  
  .comp-tabs {
    border-radius: 20px;
    padding: 4px;
  }
  
  .comp-tab-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
}

/* --- Interactive Mockup UI Styles --- */
.mock-visual-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
  width: 100%;
}

/* Gauges and Progress Bars */
.mock-gauge-container, .mock-system-stats {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 6px 20px rgba(31, 38, 135, 0.02);
}

.mock-gauge-header, .stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gauge-title, .stats-header {
  color: var(--text-dark);
}

.gauge-status {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
}

.status-critical-blink {
  background: rgba(244, 63, 94, 0.1);
  color: #e11d48;
  animation: comp-blink 1.2s infinite;
}

.status-healthy-pulse {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  animation: comp-pulse 2s infinite;
}

@keyframes comp-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes comp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.mock-progress-bg {
  background: rgba(15, 23, 42, 0.06);
  border-radius: 8px;
  height: 8px;
  width: 100%;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid rgba(15, 23, 42, 0.03);
}

.mock-progress-bar {
  height: 100%;
  border-radius: 8px;
  transition: width 1s ease-in-out;
}

.mock-progress-bar.bg-danger {
  background: linear-gradient(90deg, hsl(354, 85%, 50%), hsl(340, 85%, 55%));
}

.mock-progress-bar.bg-danger-pulse {
  background: linear-gradient(90deg, hsl(354, 85%, 50%), hsl(340, 85%, 55%));
  animation: comp-danger-sweep 1.5s linear infinite;
  background-size: 200% 100%;
}

.mock-progress-bar.bg-success-glow {
  background: linear-gradient(90deg, hsl(142, 70%, 45%), hsl(160, 75%, 45%));
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.mock-progress-bar.bg-success {
  background: linear-gradient(90deg, hsl(142, 70%, 45%), hsl(150, 70%, 40%));
}

@keyframes comp-danger-sweep {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.mock-gauge-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Terminal Mockup */
.mock-terminal {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(31, 38, 135, 0.04);
  text-align: left;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.mock-terminal.danger-theme, .mock-pipeline-container.broken-theme, .mock-system-stats.danger-theme {
  border-color: rgba(244, 63, 94, 0.25);
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.03);
}

.mock-terminal.success-theme, .mock-pipeline-container.healthy-theme, .mock-system-stats.success-theme {
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.03);
}

.terminal-header {
  background: rgba(15, 23, 42, 0.04);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.terminal-dots {
  display: flex;
  gap: 6px;
  margin-right: 14px;
}

.terminal-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.danger-theme .terminal-dots .dot:nth-child(1) { background: #ef4444; }
.danger-theme .terminal-dots .dot:nth-child(2) { background: rgba(15, 23, 42, 0.1); }
.danger-theme .terminal-dots .dot:nth-child(3) { background: rgba(15, 23, 42, 0.1); }

.success-theme .terminal-dots .dot:nth-child(1) { background: rgba(15, 23, 42, 0.1); }
.success-theme .terminal-dots .dot:nth-child(2) { background: rgba(15, 23, 42, 0.1); }
.success-theme .terminal-dots .dot:nth-child(3) { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 550;
}

.terminal-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 86px;
}

.monospace {
  font-family: var(--font-mono, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace) !important;
}

.log-line {
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--text-dark, #0f172a);
}

.log-time {
  color: #64748b;
  margin-right: 4px;
}

.text-danger {
  color: #e11d48 !important;
}

.text-success {
  color: #059669 !important;
}

.font-bold {
  font-weight: 700;
}

.text-comment {
  color: #64748b;
}

.text-string {
  color: #d97706;
}

/* SMM Pipelines */
.mock-pipeline-container {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 6px 20px rgba(31, 38, 135, 0.02);
}

.pipeline-header {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
}

.pipeline-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 10px;
}

.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.pipeline-node .node-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.broken-node .node-icon {
  background: rgba(244, 63, 94, 0.04);
  border: 1px solid rgba(244, 63, 94, 0.15);
  color: rgba(244, 63, 94, 0.4);
}

.active-node .node-icon {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #3b82f6;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.pipeline-node .node-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pipeline-arrow-broken {
  color: #f43f5e;
  font-weight: 800;
  font-size: 0.9rem;
  opacity: 0.6;
}

.pipeline-arrow-glowing {
  color: #10b981;
  font-weight: 800;
  font-size: 0.9rem;
  text-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
  animation: comp-arrow-glow 1.5s infinite;
}

@keyframes comp-arrow-glow {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

.pipeline-alert-card {
  background: rgba(244, 63, 94, 0.06);
  border: 1px solid rgba(244, 63, 94, 0.12);
  color: #e11d48;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.pipeline-chips-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}

.glass-chip {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(31, 38, 135, 0.02);
}

/* Visual Script Builder Flow */
.mock-builder-container {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 6px 20px rgba(31, 38, 135, 0.02);
}

.builder-header {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
}

.builder-flow {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.builder-flow::-webkit-scrollbar {
  display: none;
}

.flow-block {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(31, 38, 135, 0.03);
  transition: var(--transition);
}

.flow-block.block-move {
  border-left: 3px solid #3b82f6;
}

.flow-block.block-tap {
  border-left: 3px solid #10b981;
}

.flow-block.block-wait {
  border-left: 3px solid #f59e0b;
}

.flow-block.block-like {
  border-left: 3px solid #ec4899;
}

.flow-arrow {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
}

.builder-footer-info {
  background: rgba(59, 130, 246, 0.04);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary, #3b82f6);
  line-height: 1.3;
}

/* System Stats */
.stat-progress-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.stat-progress-lbl {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
}

.system-status-alert {
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 10px;
}

.banner-pain {
  border-top-color: rgba(244, 63, 94, 0.12) !important;
}

.text-pain {
  background: linear-gradient(135deg, hsl(354, 85%, 50%) 0%, hsl(340, 85%, 55%) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Responsive override scaling for visual mockups under 900px */
@media (max-width: 900px) {
  .builder-flow {
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 8px;
  }
}

/* ==========================================
   FAKE SALES NOTIFICATION TOAST
   ========================================== */
.sales-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(var(--hue), 85%, 58%, 0.18);
  box-shadow: 0 10px 32px rgba(31, 38, 135, 0.08), 0 0 15px rgba(var(--hue), 85%, 58%, 0.04);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  max-width: 380px;
  width: calc(100% - 48px);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: auto;
}

.sales-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.sales-toast-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--hue), 85%, 58%, 0.2);
}

.sales-toast-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sales-toast-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.sales-toast-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin: 0;
}

.sales-toast-plan {
  color: var(--primary);
  font-weight: 600;
}

.sales-toast-time {
  font-size: 0.68rem;
  color: rgba(15, 23, 42, 0.45);
  font-weight: 500;
  margin-left: auto;
}

.sales-toast-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.3);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.sales-toast-close:hover {
  color: var(--text-dark);
}

/* ==========================================
   PREMIUM MOBILE BOTTOM NAVIGATION BAR
   ========================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--glass-border);
  display: none; /* Hidden on desktop */
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
  padding: 0 10px;
  padding-bottom: env(safe-area-inset-bottom, 0); /* Support notch margins */
  box-shadow: 0 -8px 32px rgba(31, 38, 135, 0.06);
}

.mobile-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(15, 23, 42, 0.45);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.02em;
  width: 60px;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav-item:active {
  transform: scale(0.92);
}

.mobile-bottom-nav-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-bottom-nav-item.active {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(var(--hue), 85%, 58%, 0.15);
}

.mobile-bottom-nav-item.active svg {
  transform: translateY(-4px) scale(1.1);
  stroke: var(--primary);
  filter: drop-shadow(0 0 8px rgba(var(--hue), 85%, 58%, 0.4));
}

/* Active background pill indicator */
.mobile-bottom-nav-item::after {
  content: '';
  position: absolute;
  bottom: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.mobile-bottom-nav-item.active::after {
  opacity: 1;
  transform: scale(1);
}

/* Responsive updates for mobile viewport */
@media (max-width: 767px) {
  .sales-toast {
    bottom: 84px; /* Position above sticky bottom bar on mobile */
    left: 16px;
    right: 16px;
    width: calc(100% - 32px);
  }

  .navbar .nav-links:not(.active) {
    display: none !important; /* Hide default menu when not active */
  }

  .hero-subtitle {
    font-size: 0.72rem !important;
    letter-spacing: 0.1em !important;
    padding: 5px 12px !important;
  }

  .navbar {
    padding: 12px 0;
  }

  .mobile-bottom-nav {
    display: flex; /* Show custom app bar on mobile */
  }

  body {
    padding-bottom: 74px !important; /* Give space for bottom nav */
  }

  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  /* Remove tap latency or click highlighting on mobile */
  a, button, select, input, .orch-btn, .comp-tab-btn {
    -webkit-tap-highlight-color: transparent !important;
  }
}

/* Gateway Brand Icons */
.gateway-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

.gateway-icon-svg {
  height: 22px;
  width: auto;
  border-radius: var(--radius-sm);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.gateway-option:hover .gateway-icon-svg {
  transform: translateY(-2px) scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM STOREFRONT REVAMP & TRUST SIGNALS CLASSES
   ═══════════════════════════════════════════════════════════ */

/* Sitemap Footer Refactoring */
.footer-sitemap-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 60px 0 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-trust-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.footer-payment-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-payment-badge-svg {
  height: 24px;
  width: auto;
  border-radius: 4px;
  opacity: 0.85;
  transition: var(--transition);
}

.footer-payment-badge-svg:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.trust-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
}

/* Grayscale-to-Color Brand Partner Grid */
.brands-section {
  padding: 60px 0;
  text-align: center;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}

.brand-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  height: 80px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.brand-logo-svg {
  height: 26px;
  max-width: 100%;
  fill: currentColor;
  color: var(--text-muted);
  opacity: 0.45;
  filter: grayscale(1);
  transition: var(--transition);
}

.brand-logo-card:hover {
  border-color: rgba(var(--hue), 85%, 58%, 0.3);
  box-shadow: 0 8px 24px rgba(var(--hue), 85%, 58%, 0.06);
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.06);
}

.brand-logo-card:hover .brand-logo-svg {
  opacity: 1;
  filter: grayscale(0) drop-shadow(0 4px 12px rgba(var(--hue), 85%, 58%, 0.15));
}

/* Specific SVG colors on hover */
.brand-logo-card:nth-child(1):hover .brand-logo-svg { color: #3b82f6; }
.brand-logo-card:nth-child(2):hover .brand-logo-svg { color: #8b5cf6; }
.brand-logo-card:nth-child(3):hover .brand-logo-svg { color: #ec4899; }
.brand-logo-card:nth-child(4):hover .brand-logo-svg { color: #06b6d4; }
.brand-logo-card:nth-child(5):hover .brand-logo-svg { color: #f59e0b; }

/* Testimonials Social Proof Grid */
.testimonials-section {
  padding: 80px 0;
}

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

/* Infinite Horizontal Marquee for Reviews */
.reviews-marquee-wrapper {
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: flex;
  padding: 24px 0;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.reviews-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 55s linear infinite;
  gap: 24px;
}

.reviews-marquee-track:hover {
  animation-play-state: paused;
}

.reviews-marquee-group {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.reviews-marquee-group .testimonial-card {
  width: 380px;
  flex-shrink: 0;
}


.testimonial-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card:hover {
  border-color: rgba(var(--hue), 85%, 58%, 0.35);
  box-shadow: 0 10px 30px rgba(var(--hue), 85%, 58%, 0.08);
  transform: translateY(-4px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-gradient {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  font-family: var(--font-heading);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ag-1 { background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%); }
.ag-2 { background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%); }
.ag-3 { background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%); }
.ag-4 { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.ag-5 { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.ag-6 { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }


.testimonial-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-user-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.06);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.12);
  width: fit-content;
}

.rating-stars {
  color: #f59e0b;
  display: flex;
  gap: 2px;
  font-size: 0.85rem;
  filter: drop-shadow(0 0 3px rgba(245, 158, 11, 0.2));
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
  position: relative;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  background: var(--primary-glow);
  border: 1px solid rgba(59, 130, 246, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-card:nth-child(even) .metric-pill {
  background: var(--secondary-glow);
  border-color: rgba(282, 84, 55, 0.15);
  color: var(--secondary);
}

/* FAQ Interactive Accordions */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.faq-question {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.faq-question h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
}

.faq-arrow {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  padding: 0 32px;
  border-top: 1px solid transparent;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active {
  border-color: rgba(var(--hue), 85%, 58%, 0.35);
  box-shadow: 0 8px 24px rgba(var(--hue), 85%, 58%, 0.04);
}

.faq-item.active .faq-question {
  background: rgba(255, 255, 255, 0.2);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  border-top-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.15);
}

/* Category Filter Tabs inside FAQ */
.btn-filter {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--glass-border);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.btn-filter:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
}

.btn-filter.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(var(--hue), 85%, 58%, 0.18);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .footer-sitemap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-col:first-child {
    grid-column: span 3;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-col:first-child {
    grid-column: span 2;
  }
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .brand-logo-card {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .footer-sitemap-grid {
    grid-template-columns: 1fr;
  }
  .footer-col:first-child {
    grid-column: span 1;
  }
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-question {
    padding: 20px 24px;
  }
  .faq-answer {
    padding: 0 24px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM GLASSMORPHIC TAB SWITCHER & AFFILIATE HUB STYLES
   ═══════════════════════════════════════════════════════════ */

.dashboard-tabs-container {
  grid-column: 1 / -1;
  padding: 6px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  width: fit-content;
}

.dashboard-tab-btn {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  color: var(--text-muted);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.dashboard-tab-btn:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(79, 158, 255, 0.15);
  transform: translateY(-1px);
}

.dashboard-tab-btn.active {
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(79, 158, 255, 0.3);
}

.dashboard-tab-btn.active:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 158, 255, 0.45);
}

/* Responsive Affiliate Assets */
.affiliate-promo-card {
  padding: 30px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(79, 158, 255, 0.05), rgba(139, 92, 246, 0.05));
  border: 1px solid rgba(79, 158, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

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

.referral-link-container {
  padding: 25px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  text-align: left;
}

.referral-link-box {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 8px 8px 8px 16px;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  transition: var(--transition);
}

.referral-link-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  user-select: all;
  flex-grow: 1;
  text-align: left;
}

@media (max-width: 768px) {
  .dashboard-tabs-container {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .dashboard-tab-btn {
    justify-content: center;
  }
  .referral-link-box {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 12px;
  }
  .referral-link-display {
    text-align: center;
    white-space: normal;
    word-break: break-all;
  }
  .referral-link-box button {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════
   SMM PANELS POWERED BY ROVAFLOW SHOWCASE STYLES (COMPACT)
   ═══════════════════════════════════════════════════════════ */

.smm-showcase-section {
  margin-top: 35px;
  margin-bottom: 55px;
}

.smm-panels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.smm-panel-card {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.smm-panel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 158, 255, 0.4);
  box-shadow: 0 12px 30px rgba(31, 38, 135, 0.06), 0 0 15px rgba(79, 158, 255, 0.04);
}

.card-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.country-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}

.flag-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sync-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #059669; /* emerald green text */
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
}

.pulse-indicator.live-green {
  animation: live-green-pulse 1.8s infinite;
}

@keyframes live-green-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.smm-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  min-height: 52px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

.smm-brand-logo-svg {
  max-width: 100%;
  height: auto;
}

.smm-panel-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
  text-align: left;
  flex-grow: 1;
}

.smm-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.05) 15%, rgba(0, 0, 0, 0.05) 85%, rgba(255, 255, 255, 0));
  margin-bottom: 12px;
}

/* Compact Horizontal Telemetry Rows - Prevents Cutoffs completely */
.telemetry-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.telemetry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.telemetry-row:hover {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(79, 158, 255, 0.15);
}

.telemetry-row-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.telemetry-icon {
  font-size: 0.8rem;
  opacity: 0.85;
  flex-shrink: 0;
}

.telemetry-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.telemetry-row-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.telemetry-value {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
}

.telemetry-sub {
  font-size: 0.65rem;
  color: #10b981; /* positive growth green */
  font-weight: 700;
}

.smm-panel-card:nth-child(2) .telemetry-row:nth-child(1) .telemetry-sub {
  color: #d97706; /* golden accent sub-label for DongVang active threads */
}

.smm-panel-card:nth-child(3) .telemetry-row:nth-child(1) .telemetry-sub {
  color: #dc2626; /* red accent sub-label for LongXin active threads */
}

/* Adjust grid structure for responsive mobile screens */
@media (max-width: 1200px) {
  .smm-panels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .smm-panels-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .smm-showcase-section {
    margin-top: 25px;
    margin-bottom: 40px;
  }
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ═══════════════════════════════════════════════════════════
   HORIZONTAL SCREENSHOT SHOWCASE & MODAL VIEWER SYSTEM
   ═══════════════════════════════════════════════════════════ */

.marquee-wrapper {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 250px;
  z-index: 10;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-color) 0%, rgba(238, 240, 255, 0.4) 40%, transparent 100%);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-color) 0%, rgba(238, 240, 255, 0.4) 40%, transparent 100%);
}

@media (max-width: 768px) {
  .marquee-wrapper::before,
  .marquee-wrapper::after {
    width: 80px;
  }
}

.marquee-row {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding-right: 24px;
}

.marquee-row-left .marquee-track {
  animation: marquee-scroll 75s linear infinite;
}

.marquee-row-right .marquee-track {
  animation: marquee-scroll 75s linear infinite reverse;
}

.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

/* Marquee Card Styling */
.marquee-card {
  flex-shrink: 0;
  width: 320px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  box-shadow: 0 4px 15px rgba(31, 38, 135, 0.04);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.marquee-card:hover {
  transform: scale(1.05) translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(var(--hue), 85%, 58%, 0.12);
  z-index: 15;
}

.marquee-card:hover img {
  transform: scale(1.06);
}

/* Float card gradient details overlay */
.marquee-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 65%, transparent 100%);
  opacity: 0.8;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  transition: opacity 0.3s ease;
}

.marquee-card:hover .marquee-card-overlay {
  opacity: 0.95;
}

.marquee-card-badge {
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 12px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.marquee-card:hover .marquee-card-badge {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(var(--hue), 85%, 58%, 0.3);
}

.marquee-card-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.marquee-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  font-family: var(--font-heading);
}

.marquee-card-zoom-icon {
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.7) rotate(-45deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  color: var(--secondary);
}

.marquee-card:hover .marquee-card-zoom-icon {
  opacity: 1;
  transform: scale(1.1) rotate(0);
}

/* Premium Glassmorphic Modal */
.glass-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.glass-modal-container {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(35px) saturate(220%);
  -webkit-backdrop-filter: blur(35px) saturate(220%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 24px 70px rgba(31, 38, 135, 0.16);
  width: 100%;
  max-width: 1100px;
  height: auto;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  position: relative;
  transform: scale(0.92) translateY(24px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 950px) {
  .glass-modal-container {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
}

.glass-modal-overlay.active .glass-modal-container {
  transform: scale(1) translateY(0);
}

.glass-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.25rem;
  z-index: 100100;
}

.glass-modal-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 4px 12px rgba(var(--hue), 85%, 58%, 0.2);
}

/* Modal Image Column */
.glass-modal-view {
  position: relative;
  background: #0d0f1e;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 950px) {
  .glass-modal-view {
    min-height: 300px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }
}

.glass-modal-view img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.glass-modal-view:hover img {
  transform: scale(1.01);
}

/* Floating Navigation Controls */
.glass-modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.4rem;
  user-select: none;
  z-index: 100010;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.glass-modal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.glass-modal-nav-prev {
  left: 20px;
}

.glass-modal-nav-next {
  right: 20px;
}

/* Sidebar Column */
.glass-modal-sidebar {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  max-height: 85vh;
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 950px) {
  .glass-modal-sidebar {
    padding: 28px;
    max-height: none;
  }
}

.modal-detail-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: var(--primary-glow);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  margin-bottom: 18px;
}

.modal-detail-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

.modal-detail-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-detail-meaning-box {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
}

.modal-detail-meaning-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-detail-meaning-text {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.5;
  opacity: 0.9;
}

/* Specifications Grid */
.modal-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 20px;
}

.modal-spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-spec-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-spec-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS AND NAVIGATION OVERRIDES (CUSTOM)
   ═══════════════════════════════════════════════════════════ */

/* Absolute Defensive Fix for Horizontal Overflow (No Left Right Spaces) */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Fix any container overflow and force wrapping on mobile */
.container {
  width: 100% !important;
  max-width: var(--container-width) !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

/* Ensure absolute elements do not trigger horizontal scrolling */
.hero-glowing-orb, .glowing-orb, [class*="glowing-orb"], [class*="-glowing-"], [class*="-decor-"] {
  max-width: 100% !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Responsive Navigation Toggle (Hamburger Button) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  z-index: 1005;
  position: relative;
  outline: none;
  -webkit-tap-highlight-color: transparent !important;
}

.nav-toggle * {
  pointer-events: none !important; /* Extremely important for flawless touch target hits! */
}

/* Add a glowing circle backdrop on hover/touch */
.nav-toggle::before {
  content: '';
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(var(--hue), 85%, 58%, 0);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
  transform: scale(0.85);
}

.nav-toggle:hover::before,
.nav-toggle:active::before,
.nav-toggle.active::before {
  background: rgba(var(--hue), 85%, 58%, 0.08);
  transform: scale(1);
}

.nav-toggle .hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  left: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-toggle .hamburger::before {
  top: -6px;
}

.nav-toggle .hamburger::after {
  bottom: -6px;
}

/* Hamburger Active State Transformation */
.nav-toggle.active .hamburger {
  background: transparent !important;
  transform: rotate(180deg);
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
  background: var(--primary) !important;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
  background: var(--primary) !important;
}

/* Mobile Drawer Navigation Styles */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex !important;
  }

  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    right: -100% !important; /* Slide-out state */
    width: 300px !important; /* Premium wide drawer */
    height: 100vh !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.05) !important;
    padding: 100px 24px 40px 24px !important;
    gap: 12px !important;
    z-index: 1000 !important;
    transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto !important;
    align-items: flex-start !important;
  }

  .nav-links.active {
    right: 0 !important; /* Slide-in active state */
  }

  .nav-links li {
    width: 100% !important;
    list-style: none !important;
    opacity: 0;
    transform: translateX(25px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  /* Stunning, cascading stagger animations */
  .nav-links.active li:nth-child(1) { transition-delay: 0.06s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.11s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.16s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.21s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.26s; }
  .nav-links.active li:nth-child(6) { transition-delay: 0.31s; }
  .nav-links.active li:nth-child(7) { transition-delay: 0.36s; }
  .nav-links.active li:nth-child(8) { transition-delay: 0.41s; }
  .nav-links.active li:nth-child(9) { transition-delay: 0.46s; }

  .nav-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 18px !important;
    font-size: 1.02rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius-md) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    color: var(--text-dark) !important;
    background: rgba(255, 255, 255, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.01) !important;
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    padding-left: 22px !important;
    box-shadow: 0 8px 20px rgba(var(--hue), 85%, 58%, 0.12) !important;
  }

  /* Interactive Arrow on Mobile Links */
  .nav-links a::after {
    content: '→' !important;
    display: inline-block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    bottom: auto !important;
    left: auto !important;
    opacity: 0.25 !important;
    transform: translateX(-4px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
  }

  .nav-links a:hover::after,
  .nav-links a:active::after {
    opacity: 1 !important;
    transform: translateX(0) !important;
    color: #ffffff !important;
  }

  .nav-links .btn {
    justify-content: center !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 18px rgba(var(--hue), 85%, 58%, 0.15) !important;
  }

  .nav-links .btn::after {
    display: none !important; /* Suppress the arrow on button elements */
  }

  .btn-nav-action {
    text-align: center !important;
    margin-top: 8px !important;
    display: flex !important;
    width: 100% !important;
  }
  
  /* Mobile menu overlay */
  .nav-overlay {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.3) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  
  .nav-overlay.active {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* Hurry System / Scarcity Banner Styling */
.scarcity-banner {
  margin-bottom: 24px !important;
  padding: 16px 24px !important;
  border-radius: var(--radius-md) !important;
  background: rgba(255, 255, 255, 0.45) !important;
  border: 1px solid rgba(var(--hue), 85%, 58%, 0.2) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(var(--hue), 85%, 58%, 0.08) !important;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.scarcity-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.scarcity-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  box-shrink: 0;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.scarcity-text {
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 500;
}

.scarcity-timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ef4444;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
  background: rgba(239, 68, 68, 0.06);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 68, 68, 0.15);
  min-width: 85px;
  text-align: center;
}

.scarcity-progress-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.03);
}

.scarcity-progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ef4444, var(--secondary));
  transition: width 1s linear;
}

@media (max-width: 600px) {
  .scarcity-banner {
    padding: 14px 18px !important;
  }
  .scarcity-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .scarcity-timer {
    align-self: flex-end;
    margin-top: -8px;
  }
}

/* Dynamic CSS Layout wrapping fixes */
@media (max-width: 600px) {
  /* Prevent horizontal margins or extreme paddings on mobile cards */
  .glass-panel {
    padding: 20px !important;
    border-radius: var(--radius-md) !important;
  }
  
  /* Hero Split buttons adjustment */
  .hero-content .btn, .btn {
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  
  .hero-content {
    padding: 0 5px !important;
  }
  
  /* Grid conversions to vertical list */
  .features-grid, .grid-3, .comp-panel-grid, .about-stats-grid, .brand-grid, .docs-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ==========================================================================
   Premium Responsive Custom Layout Sections
   ========================================================================== */

/* Premium White-Label Ecosystem Section Custom Classes */
.whitelabel-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.35) 100%);
  border-color: var(--glass-border);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

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

.whitelabel-content {
  text-align: left;
}

.whitelabel-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.whitelabel-value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.whitelabel-icon-wrap {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whitelabel-icon-primary {
  background: rgba(79, 158, 255, 0.08);
  border: 1px solid rgba(79, 158, 255, 0.15);
  color: var(--primary);
}

.whitelabel-icon-secondary {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  color: var(--secondary);
}

.whitelabel-icon-success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: #10b981;
}

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

/* Calculator Card styles */
.whitelabel-estimator {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
}

.whitelabel-results {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

/* Enterprise Security & Compliance Section Custom Classes */
.enterprise-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.38) 100%);
  border-color: var(--glass-border);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  text-align: left;
}

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

.enterprise-shield-box {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.enterprise-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.enterprise-pillar-card {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
  transition: var(--transition);
}

.enterprise-pillar-card:hover {
  background: rgba(255, 255, 255, 0.75);
}

.enterprise-pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.enterprise-pillar-icon-primary {
  background: rgba(79, 158, 255, 0.08);
  border: 1px solid rgba(79, 158, 255, 0.15);
  color: var(--primary);
}

.enterprise-pillar-icon-secondary {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  color: var(--secondary);
}

.enterprise-pillar-icon-success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: #10b981;
}

/* Responsive Media Queries for Custom Sections */

/* Breakpoint 1: Small Laptops and Large Tablets */
@media (max-width: 1024px) {
  .whitelabel-panel {
    padding: 36px;
  }
  .whitelabel-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .enterprise-panel {
    padding: 36px;
  }
  .enterprise-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .section-header {
    margin: 64px auto 36px auto;
  }
}

/* Breakpoint 2: Medium/Portrait Tablets & Wide Phones */
@media (max-width: 768px) {
  .whitelabel-panel,
  .enterprise-panel {
    padding: 28px 24px !important;
  }
  
  /* Force values and pillars to stack vertically to prevent severe horizontal squeezing */
  .whitelabel-values {
    grid-template-columns: 1fr !important;
    gap: 18px;
    margin-bottom: 24px;
  }
  
  .enterprise-pillars {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
  
  /* Force pricing plans to stack vertically to prevent cards overflowing off-screen */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 4px;
  }
  
  .pricing-card {
    padding: 32px 24px !important;
    margin: 0 !important;
    border-radius: var(--radius-md) !important;
  }
  
  /* Spacing and margins */
  .section-header {
    margin: 48px auto 28px auto !important;
    padding: 0 10px;
  }
  
  /* Typography Scaling for Premium Fluid Feel */
  .section-header h2,
  .whitelabel-panel h2,
  .enterprise-panel h2 {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }
  
  .section-desc {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }
}

/* Breakpoint 3: Portrait Mobile Devices (Extreme Clean & Compact) */
@media (max-width: 480px) {
  /* Zero margins & ultra premium tight padding inside glass panels */
  .whitelabel-panel,
  .enterprise-panel {
    padding: 20px 16px !important;
    border-radius: var(--radius-md) !important;
  }
  
  .whitelabel-grid,
  .enterprise-grid {
    gap: 24px !important;
  }
  
  /* Typography Scaling for Compact Mobile */
  .section-header h2,
  .whitelabel-panel h2,
  .enterprise-panel h2 {
    font-size: 1.45rem !important;
    letter-spacing: -0.01em !important;
  }
  
  .whitelabel-panel p,
  .enterprise-panel p {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
  }
  
  /* Inner items adjustments */
  .whitelabel-value-item {
    gap: 10px;
  }
  
  .whitelabel-value-item h4 {
    font-size: 0.88rem !important;
    margin-bottom: 2px !important;
  }
  
  .whitelabel-value-item p {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }
  
  /* Force buttons to fill and stack cleanly */
  .whitelabel-buttons {
    gap: 10px !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  .whitelabel-buttons .btn {
    width: 100% !important;
    text-align: center !important;
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
  }
  
  /* Calculator (Estimator) Mobile Adjustments */
  .whitelabel-estimator {
    padding: 16px !important;
    border-radius: var(--radius-sm) !important;
  }
  
  .whitelabel-estimator h3 {
    font-size: 1.1rem !important;
  }
  
  .whitelabel-estimator p {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
  }
  
  .whitelabel-results {
    padding: 14px !important;
  }
  
  .whitelabel-results #profit-display-home {
    font-size: 1.5rem !important;
  }
  
  .whitelabel-results #roi-display-home {
    font-size: 0.62rem !important;
    padding: 2px 6px !important;
  }
  
  /* Enterprise Shield box */
  .enterprise-shield-box {
    padding: 14px !important;
    border-radius: var(--radius-sm) !important;
  }
  
  .enterprise-shield-box p {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }
  
  .enterprise-pillar-card {
    padding: 16px 14px !important;
    border-radius: var(--radius-sm) !important;
  }
  
  .enterprise-pillar-card h3 {
    font-size: 0.9rem !important;
    margin-bottom: 4px !important;
  }
  
  .enterprise-pillar-card p {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
  }
  
  /* Pricing Cards adjustments */
  .pricing-card {
    padding: 24px 16px !important;
    border-radius: var(--radius-md) !important;
  }
  
  .plan-name {
    font-size: 1.1rem !important;
    margin-bottom: 2px !important;
  }
  
  .plan-price-container {
    margin: 10px 0 14px 0 !important;
  }
  
  .plan-price {
    font-size: 1.9rem !important;
  }
  
  .plan-features {
    gap: 8px !important;
    margin-bottom: 20px !important;
  }
  
  .plan-features li {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }
  
  /* Compact billing switch for extremely narrow screens */
  .billing-toggle-container {
    gap: 6px !important;
    margin-bottom: 20px !important;
  }
  
  .billing-label {
    font-size: 0.78rem !important;
  }
  
  .discount-badge {
    font-size: 0.58rem !important;
    padding: 1px 5px !important;
  }
  
  .toggle-switch {
    width: 48px !important;
    height: 26px !important;
  }
  
  .toggle-slider:before {
    height: 20px !important;
    width: 20px !important;
    left: 3px !important;
    bottom: 3px !important;
  }
  
  input:checked + .toggle-slider:before {
    transform: translateX(22px) !important;
  }

  /* Ultra-Premium Compact Mobile Overrides */
  .hero-subtitle {
    font-size: 0.62rem !important;
    letter-spacing: 0.05em !important;
    padding: 4px 10px !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
  }
  .hero-content h1 {
    font-size: 1.65rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
  }
  .hero-desc {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    margin-bottom: 16px !important;
  }
  .hero-actions {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    text-align: center !important;
    padding: 11px 16px !important;
  }
  .btn {
    font-size: 0.8rem !important;
    padding: 10px 16px !important;
    border-radius: var(--radius-sm) !important;
  }
  .glass-panel {
    padding: 14px !important;
    border-radius: var(--radius-sm) !important;
  }
  .section-header {
    margin: 32px auto 20px auto !important;
  }
  .section-header h2 {
    font-size: 1.35rem !important;
  }
  .section-desc {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
  }
  .orchestrator-control-card {
    padding: 12px !important;
    margin-top: 16px !important;
  }
  .orchestrator-buttons-grid {
    gap: 6px !important;
  }
  .orch-btn {
    font-size: 0.72rem !important;
    padding: 8px 10px !important;
  }
  /* Forms & Checkout Inputs */
  .form-control, input[type="text"], input[type="email"], input[type="password"], select {
    padding: 10px 12px !important;
    font-size: 0.82rem !important;
    border-radius: 6px !important;
  }
  .form-group label {
    font-size: 0.78rem !important;
    margin-bottom: 4px !important;
  }
  .gateway-option {
    padding: 10px 12px !important;
    gap: 10px !important;
  }
  .gateway-name {
    font-size: 0.84rem !important;
  }
  .gateway-desc {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }
  .gateway-icon-svg {
    height: 14px !important;
  }
  .checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  /* Sticky navigation bar on small devices */
  .navbar {
    padding: 10px 14px !important;
  }
  .brand-logo {
    font-size: 1.1rem !important;
  }
  .brand-tag {
    font-size: 0.62rem !important;
    padding: 1px 4px !important;
  }
}

/* Custom Responsive Card Optimizations for Connection Slots */
@media (max-width: 768px) {
  .license-meta-list,
  .binding-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  
  .license-card {
    padding: 20px !important;
  }
}

.platform-badge {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 12px !important;
  background: rgba(79, 158, 255, 0.08) !important;
  border: 1px solid rgba(79, 158, 255, 0.15) !important;
  color: var(--primary) !important;
  text-transform: capitalize;
  display: inline-block;
  line-height: 1.2;
  transition: var(--transition);
}

.platform-badge:hover {
  background: var(--primary-glow) !important;
  border-color: rgba(79, 158, 255, 0.3) !important;
  transform: translateY(-1px);
}
