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

/* ==========================================================================
   Design Tokens & Reset (PREMIUM LIGHT THEME PIVOT)
   ========================================================================== */
:root {
  --bg-color: #fafbfc;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfdfe;
  --border-color: #e4e7ec;
  --border-color-hover: #d0d5dd;
  --accent-color: #ff5f38;
  --accent-color-hover: #e04f2c;
  --accent-color-rgb: 255, 95, 56;
  --text-primary: #101828;
  --text-secondary: #475467;
  --text-muted: #667085;
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
  
  --shadow-premium: 0 12px 32px -4px rgba(16, 24, 40, 0.04), 0 4px 12px -2px rgba(16, 24, 40, 0.02);
  --shadow-hover: 0 24px 48px -8px rgba(16, 24, 40, 0.08), 0 8px 24px -4px rgba(16, 24, 40, 0.04);
  --shadow-accent: 0 0 32px rgba(255, 95, 56, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

button, input, textarea, select {
  font-family: inherit;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent {
  color: var(--accent-color);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(var(--accent-color-rgb), 0.06);
  border: 1px solid rgba(var(--accent-color-rgb), 0.15);
  color: var(--accent-color);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-outline {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-premium);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  box-shadow: 0 4px 18px rgba(var(--accent-color-rgb), 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--accent-color-rgb), 0.4);
}

.btn-secondary {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  box-shadow: var(--shadow-premium);
}

.btn-secondary:hover {
  background-color: #f9fafb;
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

.btn-text {
  background: none;
  border: none;
  color: var(--accent-color);
  font-weight: 700;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-text:hover {
  color: var(--accent-color-hover);
  transform: translateX(4px);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(250, 251, 252, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  box-shadow: var(--shadow-premium);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.logo-shape {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-color), #ff8a6f);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.25);
}

.logo-shape::after {
  content: '';
  width: 16px;
  height: 16px;
  background-color: #fafbfc;
  border-radius: 4px;
}

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

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

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

/* Menu toggle for mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background-color: #fafbfc;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(var(--accent-color-rgb), 0.05) 0%, rgba(255, 255, 255, 0) 50%),
    radial-gradient(circle at 10% 80%, rgba(var(--accent-color-rgb), 0.02) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(rgba(16, 24, 40, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.hero-title {
  font-size: 4.2rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-highlight {
  background: linear-gradient(135deg, var(--accent-color) 0%, #ff8a6f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  font-weight: 800;
}

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(var(--accent-color-rgb), 0.2);
  border-radius: 2px;
}

.hero-title span {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

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

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1.1;
}

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

/* Floating Mock Dashboard Widgets (LIGHT PIVOT) */
.hero-visuals {
  position: relative;
  height: 520px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-base {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-premium);
  position: absolute;
  transition: var(--transition-smooth);
}

.widget-base:hover {
  transform: translateY(-8px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-hover);
}

.widget-main {
  width: 100%;
  max-width: 380px;
  height: 290px;
  top: 100px;
  left: 0;
  z-index: 2;
  background: linear-gradient(135deg, var(--bg-card) 0%, #fafbfc 100%);
}

.widget-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.widget-title {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.widget-value {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 800;
  margin-top: 4px;
  color: var(--text-primary);
}

.widget-subvalue {
  font-size: 0.85rem;
  color: #0f976a;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.chart-svg {
  width: 100%;
  height: 130px;
  overflow: visible;
}

.chart-path {
  stroke: var(--accent-color);
  stroke-width: 3.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-gradient {
  fill: url(#chart-glow);
}

.widget-float-1 {
  width: 240px;
  bottom: 40px;
  right: 0;
  z-index: 3;
  transform: rotate(2deg);
}

.widget-saving-meter {
  display: flex;
  align-items: center;
  gap: 16px;
}

.saving-circle {
  width: 56px;
  height: 56px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.saving-circle svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.circle-bg {
  stroke: #f1f3f5;
  stroke-width: 5.5;
  fill: none;
}

.circle-progress {
  stroke: var(--accent-color);
  stroke-width: 5.5;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 157;
  stroke-dashoffset: 62.8; /* 60% saving */
}

.saving-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  position: absolute;
}

.widget-float-2 {
  width: 220px;
  top: 50px;
  right: 10px;
  z-index: 1;
  transform: rotate(-3deg);
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
}

.widget-receipts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.receipt-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.receipt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.receipt-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Animations for widgets floating */
@keyframes floatY1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}
@keyframes floatY2 {
  0%, 100% { transform: translateY(0px) rotate(2deg); }
  50% { transform: translateY(10px) rotate(1.5deg); }
}
@keyframes floatY3 {
  0%, 100% { transform: translateY(0px) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(-3.5deg); }
}

.widget-main { animation: floatY1 6s ease-in-out infinite; }
.widget-float-1 { animation: floatY2 7s ease-in-out infinite; }
.widget-float-2 { animation: floatY3 5s ease-in-out infinite; }

/* ==========================================================================
   Trust Banner (Marquee)
   ========================================================================== */
.trust {
  padding: 60px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.trust-title {
  text-align: center;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-weight: 700;
}

.marquee-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: scrollMarquee 25s linear infinite;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.7;
  transition: var(--transition-fast);
}

.logo-item:hover {
  opacity: 1;
  color: var(--accent-color);
}

.logo-item svg {
  fill: currentColor;
  width: 24px;
  height: 24px;
}

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

/* ==========================================================================
   Services Section (Expanded & Light Redesign)
   ========================================================================== */
.services {
  padding: 120px 0;
  background-color: #ffffff;
}

.services-list-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
}

.service-section-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 80px;
}

.service-section-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-section-row.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.service-section-row.reverse .service-info-panel {
  grid-column: 2;
  grid-row: 1;
}
.service-section-row.reverse .service-visual-panel {
  grid-column: 1;
  grid-row: 1;
}

.service-info-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.service-info-panel h3 {
  font-size: 2.2rem;
  line-height: 1.2;
  color: var(--text-primary);
}

.service-info-panel p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.expanded-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  margin: 12px 0 20px 0;
  list-style: none;
}

.expanded-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.expanded-feature-item svg {
  color: var(--accent-color);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.service-visual-panel {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  position: relative;
}

/* Service-specific custom visual styles */
.visual-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  width: 80%;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.visual-ledger-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.visual-ledger-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* FP&A Projection Chart Alignment & Styling */
.visual-dashboard-columns {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 120px;
  width: 100%;
  position: relative;
  margin-top: 10px;
  z-index: 2;
}

.visual-db-col {
  width: 28px;
  background-color: var(--border-color-hover);
  border-radius: 6px 6px 0 0;
  transition: var(--transition-smooth);
  position: relative;
}

/* Define initial heights and colors for columns */
.visual-db-col:nth-child(1) { height: 35%; background-color: var(--border-color); }
.visual-db-col:nth-child(2) { height: 60%; background-color: var(--accent-color); }
.visual-db-col:nth-child(3) { height: 45%; background-color: var(--border-color); }
.visual-db-col:nth-child(4) { height: 85%; background-color: var(--accent-color); }
.visual-db-col:nth-child(5) { height: 60%; background-color: var(--border-color); }

/* Hover animations for FP&A columns on service row hover */
.service-section-row:hover .visual-db-col:nth-child(1) { height: 75%; background-color: var(--accent-color); }
.service-section-row:hover .visual-db-col:nth-child(2) { height: 40%; }
.service-section-row:hover .visual-db-col:nth-child(3) { height: 90%; background-color: var(--accent-color); }
.service-section-row:hover .visual-db-col:nth-child(4) { height: 50%; }
.service-section-row:hover .visual-db-col:nth-child(5) { height: 80%; background-color: var(--accent-color); }

/* Chart background grid lines */
.chart-gridlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 1;
}

.chart-gridline {
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
  opacity: 0.8;
}

/* ==========================================================================
   Savings Calculator Section (Interactive Element)
   ========================================================================== */
.calculator-section {
  padding: 120px 0;
  background-color: #fafbfc;
  border-top: 1px solid var(--border-color);
}

.calculator-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  box-shadow: var(--shadow-hover);
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.slider-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.slider-value-display {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent-color);
}

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

.slider-input {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 100px;
  background: var(--border-color);
  outline: none;
  transition: var(--transition-fast);
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-color);
  border: 4px solid var(--bg-card);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.3);
  transition: transform 0.15s ease;
}

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

.calc-results {
  background-color: #fcfdfe;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.calc-savings-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 700;
}

.calc-savings-value {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.calc-savings-subtext {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 260px;
}

.calc-cta {
  margin-top: 32px;
  width: 100%;
}

.calc-info-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.calc-info-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.calc-info-item span:last-child {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==========================================================================
   Why Choose Us (SGBS Advantage Metrics)
   ========================================================================== */
.benefits {
  padding: 120px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
}

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

.benefit-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-premium);
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-hover);
}

.benefit-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 24px;
}

.benefit-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

/* ==========================================================================
   Process (Step-by-step Workflow Timeline)
   ========================================================================== */
.process {
  padding: 120px 0;
  background-color: #fafbfc;
  border-top: 1px solid var(--border-color);
}

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

.process-steps::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 28px;
  bottom: 40px;
  width: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.process-step {
  display: flex;
  gap: 32px;
  z-index: 2;
}

.process-step-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.process-step:hover .process-step-num {
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.15);
}

.process-step-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: var(--shadow-premium);
}

.process-step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.process-step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   Contact Form & Calendar Scheduler
   ========================================================================== */
.contact-section {
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
  background-color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.2rem;
  box-shadow: var(--shadow-premium);
}

.contact-detail-text h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-detail-text p {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 700;
}

.contact-detail-text p a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-detail-text p a:hover {
  color: var(--accent-color);
}


/* Scheduler Widget */
.scheduler-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 12px;
  box-shadow: var(--shadow-premium);
}

.scheduler-header {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.calendar-day {
  background-color: #fafbfc;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 4px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.calendar-day.active, .calendar-day:hover {
  border-color: var(--accent-color);
  background-color: rgba(var(--accent-color-rgb), 0.04);
}

.calendar-day-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.calendar-day-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 2px;
  color: var(--text-primary);
}

.scheduler-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.scheduler-slot {
  background-color: #fafbfc;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.scheduler-slot.active, .scheduler-slot:hover {
  border-color: var(--accent-color);
  background-color: rgba(var(--accent-color-rgb), 0.04);
}

/* Contact Form UI */
.contact-form-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-hover);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-input {
  background-color: #fafbfc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-color);
  background-color: #ffffff;
  box-shadow: 0 0 16px rgba(var(--accent-color-rgb), 0.08);
}

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

/* Checkbox group styling */
.checkbox-group-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.checkbox-input {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border-color);
  background-color: #fafbfc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.checkbox-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.checkbox-input:checked::after {
  content: '✓';
  color: white;
  font-size: 0.75rem;
  font-weight: 900;
}

/* Form status messages */
.form-status {
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(15, 151, 106, 0.06);
  border: 1px solid rgba(15, 151, 106, 0.15);
  color: #0f976a;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.8fr);
  gap: 64px;
  margin-bottom: 60px;
}

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

.footer-brand p {
  color: var(--text-secondary);
  max-width: 280px;
}

.footer-column h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

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

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
}

/* ==========================================================================
   Scroll Animation (Triggered by JS)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* About Grid Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

/* Benefits Badge Grid Layout */
.benefits-badges-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
  gap: 30px;
}

/* ==========================================================================
   Data Visualization Section
   ========================================================================== */
.visualization-section {
  padding: 120px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
}

.visualization-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  margin-top: 56px;
}

/* Video Presentation Card */
.video-container-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition-smooth);
}

.video-container-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-hover);
}

.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #000;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
}

.dashboard-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-info h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.video-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Charts & Dashboard Card */
.charts-container-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 480px;
  position: relative;
  transition: var(--transition-smooth);
}

.charts-container-card:hover {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-hover);
}

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

.chart-tabs {
  display: flex;
  gap: 8px;
  background-color: var(--bg-color);
  padding: 4px;
  border-radius: 100px;
  border: 1px solid var(--border-color);
}

.chart-tab-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.chart-tab-btn.active {
  background-color: var(--bg-card);
  color: var(--accent-color);
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(var(--accent-color-rgb), 0.1);
}

.chart-legend {
  display: flex;
  gap: 16px;
  align-items: center;
  transition: var(--transition-fast);
}

.chart-legend.hidden {
  display: none !important;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: var(--transition-fast);
  user-select: none;
}

.legend-item:hover {
  background-color: var(--bg-color);
  border-color: var(--border-color);
}

.legend-item.inactive {
  opacity: 0.4;
  text-decoration: line-through;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* Chart Area */
.chart-area-wrapper {
  position: relative;
  width: 100%;
  margin-top: 10px;
  padding-left: 50px; /* Leave space for Y-axis labels */
}

.chart-plot {
  position: relative;
  height: 280px;
  width: 100%;
  border-bottom: 2px solid var(--text-primary);
  display: flex;
  align-items: flex-end;
}

.chart-y-axis-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.y-line-item {
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
  position: relative;
}

.y-line-label {
  position: absolute;
  left: -54px;
  top: -8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  width: 44px;
  text-align: right;
}

.chart-bars-viewport {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding-left: 10px;
}

/* Bars Column Container */
.chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48px;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}

.chart-bar-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  height: 0; /* Animated to full height in JS */
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.chart-segment {
  width: 100%;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
}

.chart-segment:hover {
  filter: brightness(1.08) saturate(1.1);
}

.chart-col-label {
  position: absolute;
  bottom: -28px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: center;
  white-space: nowrap;
}

/* Tooltip style */
.chart-tooltip {
  position: absolute;
  z-index: 100;
  background-color: rgba(16, 24, 40, 0.95);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  box-shadow: 0 10px 24px -4px rgba(16, 24, 40, 0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  transform: translate(-50%, -100%) scale(0.9);
  line-height: 1.4;
  font-family: var(--font-body);
}

.chart-tooltip.visible {
  opacity: 1;
  transform: translate(-50%, -100%) scale(1);
}

.chart-tooltip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--accent-color);
}

/* H1 Retail Table Styling */
.retail-table-wrapper {
  margin-top: 32px;
  padding: 32px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.4s ease;
  transition: var(--transition-smooth);
}

.retail-table-wrapper:hover {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-hover);
}


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

.table-card-title {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 4px;
}

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

.retail-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.retail-table th, .retail-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
}

.retail-table th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  background-color: rgba(0,0,0,0.015);
}

.retail-table tr:hover td {
  background-color: rgba(255, 95, 56, 0.02);
}

.retail-table .row-total td {
  border-top: 1.5px solid var(--text-primary);
  border-bottom: 2px double var(--text-primary);
  font-weight: 700;
  background-color: rgba(0,0,0,0.015);
  color: var(--text-primary);
}

.cell-actual {
  font-weight: 600;
  color: var(--accent-color);
}

.cell-budget {
  font-style: italic;
  color: var(--text-secondary);
}

.text-green {
  color: #0f976a;
}

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

.table-notes {
  display: flex;
  gap: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}

/* Helpers */
.hidden {
  display: none !important;
}

/* Styling for budget-specific segments */
.budget-segment {
  background-image: repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(255, 255, 255, 0.15) 6px, rgba(255, 255, 255, 0.15) 12px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-visuals {
    height: 460px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-section-row {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  .service-section-row.reverse .service-info-panel {
    grid-column: auto;
    grid-row: auto;
  }
  .service-section-row.reverse .service-visual-panel {
    grid-column: auto;
    grid-row: auto;
  }
  .calculator-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .visualization-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 32px 24px;
    box-shadow: var(--shadow-premium);
    z-index: 99;
  }
  .nav-links.active {
    display: flex !important;
  }
  .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-visuals {
    display: none;
  }
  .service-info-panel h3 {
    font-size: 1.8rem;
  }
  .service-visual-panel {
    height: 300px;
    padding: 20px;
  }
  .calculator-wrapper {
    padding: 32px;
  }
  .benefits-badges-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }
  .contact-form-wrapper {
    padding: 30px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Data Visualization Mobile overrides */
  .charts-container-card {
    padding: 24px;
    min-height: auto;
  }
  .chart-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .chart-area-wrapper {
    padding-left: 36px;
  }
  .y-line-label {
    left: -40px;
    font-size: 0.7rem;
  }
  .chart-bars-viewport {
    padding-left: 0;
  }
  .chart-col {
    width: 32px;
  }
  .chart-col-label {
    font-size: 0.7rem;
    bottom: -22px;
  }
  .retail-table th, .retail-table td {
    padding: 8px 6px;
    font-size: 0.75rem;
  }
  .table-notes {
    flex-direction: column;
    gap: 8px;
  }
  .retail-table-wrapper {
    padding: 16px;
    margin-top: 24px;
    border-radius: var(--radius-md);
  }
}

/* ==========================================================================
   Floating WhatsApp Widget
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.whatsapp-badge {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 24px -4px rgba(16, 24, 40, 0.12);
  white-space: nowrap;
  opacity: 0.95;
  transition: var(--transition-fast);
  transform: translateX(6px);
}

.whatsapp-float:hover .whatsapp-badge {
  opacity: 1;
  transform: translateX(0);
  border-color: #25D366;
  color: #128C7E;
}

.whatsapp-icon-btn {
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-icon-btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.6;
  animation: whatsapp-pulse 2s infinite ease-in-out;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

.whatsapp-float:hover .whatsapp-icon-btn {
  transform: scale(1.08);
  background-color: #20ba5a;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5), 0 6px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-badge {
    display: none;
  }
  .whatsapp-icon-btn {
    width: 52px;
    height: 52px;
  }
  .whatsapp-icon-btn svg {
    width: 26px;
    height: 26px;
  }
}



