/* CSS DESIGN SYSTEM - ZEND PROCESSING LANDING PAGE & PORTAL */

:root {
  /* Colors */
  --bg-primary: #020617;      /* Extremely deep slate background */
  --bg-secondary: #0b0f19;    /* Glass card background base */
  --bg-card: rgba(15, 23, 42, 0.5); /* Semi-transparent glass */
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Accent colors */
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.15);
  --accent-indigo: #6366f1;
  --accent-indigo-hover: #4f46e5;
  --accent-orange: #f97316;
  --accent-red: #ef4444;
  
  /* Fonts */
  --font-headline: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Spacing */
  --container-max: 1200px;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

strong {
  color: #ffffff;
}

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

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

.hidden {
  display: none !important;
}

.highlight-orange {
  color: var(--accent-orange);
  background: linear-gradient(135deg, #f97316, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mt-16 {
  margin-top: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-indigo);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent-indigo-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
  background-color: var(--accent-emerald);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-secondary:hover {
  background-color: #0d9668;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid var(--border-color);
}

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

.btn-block {
  display: flex;
  width: 100%;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 24px;
  text-decoration: none;
  color: #ffffff;
  letter-spacing: 0.1em;
}

.zend-logo-icon {
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
  transition: transform 0.3s;
}

.logo:hover .zend-logo-icon {
  transform: rotate(-10deg) scale(1.1);
}

.logo-text {
  font-family: var(--font-headline);
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

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

/* Sections Header */
.section-header {
  margin-bottom: 56px;
  position: relative;
}

.section-title {
  font-size: 40px;
  margin-bottom: 16px;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 650px;
  margin: 0 auto;
  font-weight: 500;
}

/* Top Promo Section (Wholesale Rate Hero) */
.top-promo-section {
  position: relative;
  padding: 180px 0 100px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.03) 0%, rgba(2, 6, 23, 0) 70%);
}

.top-promo-glow {
  position: absolute;
  top: -10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(2, 6, 23, 0) 70%);
  z-index: 1;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.badge-accent {
  display: inline-block;
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.promo-title {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
  font-family: var(--font-headline);
  font-weight: 900;
}

.highlight-emerald {
  color: var(--accent-emerald);
  background: linear-gradient(135deg, #10B981, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.promo-subtitle {
  color: var(--text-secondary);
  font-size: 20px;
  margin-bottom: 40px;
  font-weight: 400;
}

.promo-actions {
  display: flex;
  gap: 16px;
}

.media-glow-violet {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(2, 6, 23, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.image-wrapper-glow {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  padding: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  max-width: 440px;
  margin: 0 auto;
}

.excited-owner-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  transition: transform 0.5s ease;
}

.image-wrapper-glow:hover .excited-owner-img {
  transform: scale(1.04);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(2, 6, 23, 0) 70%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.badge-new {
  display: inline-block;
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--accent-indigo);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 20px;
  margin-bottom: 40px;
  font-weight: 400;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
}

.stat-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.hero-media {
  position: relative;
}

.media-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, rgba(2, 6, 23, 0) 70%);
  z-index: 1;
}

.media-container {
  position: relative;
  z-index: 2;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.floating-dashboard {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.media-overlay-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-hover);
  border-left: 4px solid var(--accent-emerald);
  padding: 16px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: float 4s ease-in-out infinite;
}

.overlay-icon {
  font-size: 24px;
}

.media-overlay-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.media-overlay-card p {
  color: var(--text-secondary);
  font-size: 11px;
}
/* Trust Logos Banner */
.trust-logos-row {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
}

.trust-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
}

.trust-logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 60px;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  opacity: 0.45;
  transition: opacity 0.25s, color 0.25s;
  cursor: default;
}

.trust-logo-item:hover {
  opacity: 0.9;
  color: #ffffff;
}

.trust-logo-item svg {
  transition: transform 0.2s;
}

.trust-logo-item:hover svg {
  transform: scale(1.15);
}

.trust-logo-item span {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Calculator Section */
.calculator-section {
  padding: 120px 0;
  background-color: #050914;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.calc-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.label-row label {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.slider-display-container {
  display: inline-flex;
  align-items: center;
  background-color: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.slider-display-container:focus-within {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.25);
}

.currency-prefix {
  color: var(--accent-indigo);
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 15px;
  user-select: none;
  margin-right: 2px;
}

.slider-display-input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 15px;
  width: 65px;
  outline: none;
  padding: 0;
  text-align: left;
}

/* Hide spinner arrows on number inputs */
.slider-display-input::-webkit-outer-spin-button,
.slider-display-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.slider-display-input[type=number] {
  -moz-appearance: textfield;
}

/* Custom Sliders */
.custom-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 100px;
  background: #1e293b;
  outline: none;
  transition: background 0.3s;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-indigo);
  cursor: pointer;
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
  transition: transform 0.1s;
}

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

.custom-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-indigo);
  cursor: pointer;
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
  transition: transform 0.1s;
}

.custom-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.range-bounds {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

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

.stat-desc {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.stat-value {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 4px;
}

.competitor-selection {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.label-heading {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

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

.competitor-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-secondary);
}

.competitor-card:hover {
  border-color: var(--border-hover);
  background-color: rgba(255, 255, 255, 0.04);
}

.competitor-card.active {
  background-color: rgba(99, 102, 241, 0.08);
  border-color: var(--accent-indigo);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.comp-logo-svg {
  margin-bottom: 8px;
  color: var(--text-muted);
  transition: all 0.2s ease-out;
}

.competitor-card:hover .comp-logo-svg {
  color: var(--text-secondary);
}

.competitor-card.active .comp-logo-svg {
  color: var(--accent-indigo);
  filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.4));
}

.comp-name {
  font-size: 13px;
  font-weight: 700;
}

.comp-rate {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Custom Rate Panel */
.custom-rate-panel {
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.custom-rate-inputs {
  display: flex;
  gap: 16px;
}

.input-inline {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-inline label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 700;
}

.input-inline input {
  background-color: #0b0f19;
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 700;
  outline: none;
  transition: border-color 0.2s;
}

.input-inline input:focus {
  border-color: var(--accent-indigo);
}

/* Calculator Results */
.calc-results {
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.6) 80%);
  border-color: rgba(16, 185, 129, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background-color: rgba(16, 185, 129, 0.15);
  filter: blur(50px);
  border-radius: 50%;
  pointer-events: none;
}

.savings-main {
  text-align: center;
  margin-bottom: 24px;
}

.savings-tag {
  color: var(--accent-emerald);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.savings-amount-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 12px 0;
}

.currency-symbol {
  font-family: var(--font-headline);
  font-size: 40px;
  font-weight: 800;
  color: var(--accent-emerald);
  margin-top: 8px;
}

.savings-num {
  font-family: var(--font-headline);
  font-size: 80px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.savings-annual-projection {
  color: var(--text-secondary);
  font-size: 15px;
}

.savings-annual-projection strong {
  color: var(--accent-emerald);
  font-size: 18px;
}

/* Comparison Chart */
.comparison-chart-container {
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.chart-header {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.chart-wrapper {
  height: 120px;
  display: flex;
  align-items: center;
}

.chart-text {
  font-family: var(--font-body);
  font-size: 11px;
}

.label-text {
  font-weight: 700;
  dominant-baseline: middle;
}

.bar-val-text {
  font-weight: 800;
  font-size: 11px;
  dominant-baseline: middle;
}

#chart-competitor-bar, #chart-zend-bar {
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-legend {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 10px;
}

.legend-item {
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.legend-color.competitor {
  background-color: #64748b;
}

.legend-color.zend {
  background-color: var(--accent-emerald);
}

/* Disclaimer Block */
.disclaimer-block {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}

.disclaimer-block p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Benefits Section */
.benefits-section {
  padding: 120px 0;
  position: relative;
}

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

.benefit-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  transition: all 0.3s;
}

.benefit-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  background-color: rgba(15, 23, 42, 0.6);
}

.benefit-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background-color: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.benefit-icon {
  width: 28px;
  height: 28px;
  color: var(--accent-indigo);
}

.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* CRM Section */
.crm-section {
  padding: 120px 0;
  background-color: #050914;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

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

.crm-features-list {
  list-style: none;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.crm-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.crm-features-list p {
  font-size: 15px;
  color: var(--text-secondary);
}

.crm-features-list strong {
  color: #ffffff;
}

.crm-price-badge {
  display: inline-flex;
  align-items: baseline;
  background-color: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
}

.price-val {
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 900;
  color: var(--accent-indigo);
}

.price-period {
  font-size: 14px;
  color: var(--text-secondary);
  margin-left: 8px;
  font-weight: 600;
}

/* Phone Frame Mockup */
.crm-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 320px;
  height: 600px;
  border-radius: 40px;
  border: 12px solid #1e293b;
  background-color: #020617;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-speaker {
  width: 60px;
  height: 4px;
  background-color: #1e293b;
  border-radius: 100px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  flex: 1;
  padding: 24px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sms-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.sms-chat-header .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  font-family: var(--font-headline);
}

.sms-chat-header h4 {
  font-size: 13px;
  font-weight: 700;
}

.sms-chat-header .status {
  font-size: 10px;
  color: var(--accent-emerald);
}

.sms-chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.sms-message {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.4;
  word-wrap: break-word;
}

.sms-message.received {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.sms-message.sent {
  background-color: var(--accent-indigo);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.sms-message.confirmation {
  border-left: 3px solid var(--accent-emerald);
  background-color: rgba(16, 185, 129, 0.08);
}

.sms-chat-input {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 12px;
}

.send-btn {
  color: var(--accent-indigo);
  font-size: 16px;
  cursor: pointer;
}

/* Lead Gen Form Section */
.lead-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.lead-glow {
  position: absolute;
  bottom: -20%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, rgba(2, 6, 23, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.form-max-width {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.zend-form {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 16px;
  backdrop-filter: blur(20px);
}

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

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

.form-group label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 700;
}

.form-group input, .form-group select {
  background-color: #050914;
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: 6px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all 0.25s;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

.form-group select {
  cursor: pointer;
}

.form-success {
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  animation: slideDown 0.3s ease-out;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 24px auto;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.form-success h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Footer */
.main-footer {
  padding: 64px 0 40px 0;
  border-top: 1px solid var(--border-color);
  background-color: #010309;
}

.footer-logo {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer-disclosure {
  font-size: 11px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

.copyright {
  font-size: 11px;
  color: var(--text-muted);
}


/* ========================================== */
/*           DASHBOARD SPECIFIC STYLES         */
/* ========================================== */

.dashboard-body {
  overflow-y: auto;
}

.dashboard-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* Sidebar Styling */
.dashboard-sidebar {
  background-color: #050914;
  border-right: 1px solid var(--border-color);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.badge-status {
  font-size: 10px;
  color: var(--accent-emerald);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 40px;
  flex: 1;
}

.nav-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}

.nav-tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.03);
  color: #ffffff;
}

.nav-tab-btn.active {
  background-color: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  color: #ffffff;
}

.nav-icon {
  font-size: 16px;
}

.sidebar-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #ffffff;
  font-family: var(--font-headline);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.user-profile h4 {
  font-size: 13px;
  font-weight: 700;
}

.user-profile p {
  font-size: 11px;
  color: var(--text-muted);
}

.btn-logout {
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

.btn-logout:hover {
  color: #ffffff;
}

/* Content Layout */
.dashboard-content {
  padding: 40px 48px;
}

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

.content-header h1 {
  font-size: 32px;
}

.header-widget {
  background-color: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
  padding: 8px 16px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  text-align: right;
}

.widget-label {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.widget-value {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 800;
}

/* Tab Switching Content */
.tab-content {
  display: none;
}

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

/* KPI Cards Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.kpi-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.55) 0%, rgba(15, 23, 42, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 165px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease-out;
}

.kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.kpi-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.kpi-badge-trust {
  font-size: 9px;
  color: var(--text-secondary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: rgba(255, 255, 255, 0.04);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
}

.kpi-card.border-emerald {
  border-color: rgba(16, 185, 129, 0.35);
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.55) 100%);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.06);
}

.kpi-card.border-emerald:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.12);
}

.kpi-card.border-red {
  border-color: rgba(239, 68, 68, 0.3);
  background: radial-gradient(circle at top right, rgba(239, 68, 68, 0.05) 0%, rgba(15, 23, 42, 0.55) 100%);
}

.kpi-card.border-red:hover {
  border-color: rgba(239, 68, 68, 0.5);
}

.kpi-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 700;
}

.kpi-value-container {
  display: flex;
  align-items: flex-end;
  margin-top: 14px;
}

.kpi-symbol {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-muted);
  margin-right: 4px;
  margin-bottom: 6px;
}

.kpi-number {
  font-family: var(--font-headline);
  font-size: 42px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.015em;
}

.kpi-trend {
  font-size: 11px;
  font-weight: 700;
  margin-top: 14px;
}

.kpi-trend.positive {
  color: var(--accent-emerald);
}

.kpi-subtext {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 14px;
  font-weight: 600;
}

/* Progress bar inside KPI card */
.progress-container {
  margin-top: 12px;
}

.progress-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 4px;
}

.progress-track {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--accent-emerald);
  border-radius: 100px;
  transition: width 0.3s;
}

/* Split Layouts */
.dashboard-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.data-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
}

.panel-dark-glow {
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05) 0%, rgba(15, 23, 42, 0.5) 100%);
  border-color: rgba(99, 102, 241, 0.15);
}

.panel-header {
  margin-bottom: 24px;
}

.panel-header h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.panel-header p {
  color: var(--text-secondary);
  font-size: 13px;
}

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

/* Operating Expense Form & List */
.expense-list-container {
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th, .data-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
}

.data-table th {
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.data-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font-weight: 600;
}

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

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

.inline-form {
  display: flex;
  gap: 12px;
}

.inline-form input {
  background-color: rgba(2, 6, 23, 0.5);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: 6px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
}

.inline-form input[type="text"] {
  flex: 2;
}

.input-currency-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.input-currency {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.input-currency-wrapper input {
  padding-left: 24px;
  width: 100%;
}

.btn-delete {
  background: transparent;
  border: none;
  color: var(--accent-red);
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  transition: opacity 0.2s;
}

.btn-delete:hover {
  opacity: 0.7;
}

/* Efficiency graphics card */
.efficiency-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.metric-comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-comparison-row h4 {
  font-size: 14px;
}

.metric-comparison-row p {
  font-size: 12px;
  color: var(--text-secondary);
}

.efficiency-score {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 8px;
}

.efficiency-score.positive {
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

.comparison-bar-graph {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.graph-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 700;
}

.bar-track {
  width: 100%;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s;
}

.competitor-fill {
  background-color: var(--text-muted);
}

.zend-fill {
  background: linear-gradient(to right, #059669, var(--accent-emerald));
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.graph-values {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
}

.graph-values span:first-child {
  color: #ffffff;
}

.graph-values span:last-child {
  color: var(--text-muted);
}

/* CRM Dashboard Section */
.crm-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: stretch;
}

.crm-table-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.table-scroll-wrapper {
  overflow-x: auto;
  flex: 1;
}

/* Badges for Invoice list */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-paid {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-sent {
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--accent-indigo);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.badge-overdue {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 11px;
  border-radius: 4px;
}

/* CRM SMS Simulator in Dashboard */
.crm-sms-panel {
  display: flex;
  flex-direction: column;
}

.dashboard-sms-simulator {
  background-color: rgba(2, 6, 23, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.sms-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  flex: 1;
  max-height: 340px;
}

.sms-feed-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sms-bubble-received, .sms-bubble-sent {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.4;
  position: relative;
}

.sms-bubble-received {
  background-color: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.sms-bubble-sent {
  background-color: var(--accent-indigo);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
}

.sms-feed-block.success .sms-bubble-received {
  border-left: 3px solid var(--accent-emerald);
  background-color: rgba(16, 185, 129, 0.06);
}

.sms-timestamp {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.sms-feed-block.sent .sms-timestamp {
  align-self: flex-end;
}

.sms-feed-block.received .sms-timestamp {
  align-self: flex-start;
}

/* Settings Form Specifics */
.max-width-680 {
  max-width: 680px;
}

.form-group-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.input-readonly {
  background-color: rgba(255, 255, 255, 0.02) !important;
  color: var(--text-muted) !important;
  border-color: var(--border-color) !important;
  cursor: not-allowed;
}

/* Invoice Creation Modal */
.invoice-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.invoice-modal-card {
  background-color: #0b0f19;
  border: 1px solid var(--border-hover);
  width: 460px;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  animation: slideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.close-modal-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.close-modal-btn:hover {
  color: #ffffff;
}

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

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}

/* Toast alert notification */
.toast-alert {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: var(--accent-emerald);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  z-index: 2000;
  animation: slideLeft 0.3s ease-out;
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive Dashboard layout */
@media (max-width: 1200px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .dashboard-wrapper {
    grid-template-columns: 1fr;
  }
  
  .dashboard-sidebar {
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .sidebar-nav {
    flex-direction: row;
    margin-top: 20px;
    flex-wrap: wrap;
  }
  
  .dashboard-content {
    padding: 32px 24px;
  }
  
  .dashboard-split-grid {
    grid-template-columns: 1fr;
  }
  
  .crm-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  
  .inline-form {
    flex-direction: column;
  }
}
