/* ==========================================================================
   Awwwards Premium Brand Palette & Variables (Light Theme - Burgundy & Gold Accent)
   ========================================================================== */
:root {
  --bg-primary: #faf8f5; /* Premium Alabaster */
  --bg-secondary: #f2ede6; /* Rich Warm Sand */
  --text-primary: #1f1918; /* Obsidian Charcoal */
  --text-secondary: #5c5250; /* Muted Earth Taupe */

  /* Elegant Accents - Zero Orange */
  --accent-burgundy: #721c2a; /* Deep Regal Burgundy */
  --accent-burgundy-light: #8e2b3b;
  --accent-gold: #c09a6b; /* Warm Champagne Gold */
  --accent-gold-light: #d9b88e;

  --white: #ffffff;
  --card-shadow: 0 15px 40px rgba(31, 25, 24, 0.05);
  --border-color: rgba(114, 28, 42, 0.1);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-heading: "Syne", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Custom Selection */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-burgundy);
  border-radius: 4px;
}

/* ==========================================================================
   Typography & Global Layout
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 120px 0;
}

.text-center {
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(114, 28, 42, 0.06);
  border: 1px solid rgba(114, 28, 42, 0.15);
  color: var(--accent-burgundy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 16px auto 60px auto;
}

/* ==========================================================================
   Cinematic Preloader & Transitions
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1);
}

.preloader.fade-out {
  transform: translateY(-100%);
}

.preloader-content {
  text-align: center;
  max-width: 300px;
}

.preloader-logo {
  max-height: 80px;
  margin-bottom: 30px;
  animation: breathe 2s infinite ease-in-out;
}

.preloader-progress-bar {
  width: 100%;
  height: 3px;
  background: var(--bg-secondary);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.preloader-progress {
  height: 100%;
  width: 0%;
  background: var(--accent-burgundy);
  transition: width 0.1s linear;
}

.preloader-status {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Custom Cursor & Trailing Glow
   ========================================================================== */
.custom-cursor {
  width: 12px;
  height: 12px;
  background: var(--accent-burgundy);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s,
    height 0.2s;
}

.custom-cursor-glow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s cubic-bezier(0.1, 0.8, 0.3, 1);
}

/* Ambient Sound Toggle */
.sound-toggle {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--card-shadow);
}

.sound-wave {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 16px;
}

.sound-wave span {
  width: 2px;
  height: 4px;
  background: var(--accent-burgundy);
  animation: bounce 1s ease-in-out infinite alternate;
}

.sound-wave span:nth-child(2) {
  animation-delay: 0.2s;
}
.sound-wave span:nth-child(3) {
  animation-delay: 0.4s;
}
.sound-wave span:nth-child(4) {
  animation-delay: 0.6s;
}

.sound-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 990;
  padding: 24px 0;
  background: transparent;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(250, 248, 245, 0.95);
  padding: 16px 0;
  box-shadow: 0 10px 30px rgba(31, 25, 24, 0.02);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  max-height: 45px;
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-burgundy);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-close,
.nav-toggle {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-spring);
  border: none;
}

.btn-primary {
  background: var(--accent-burgundy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-burgundy-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(114, 28, 42, 0.2);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid rgba(31, 25, 24, 0.1);
}

.btn-secondary:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

/* Scroll Progress */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 1000;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-burgundy);
}

/* ==========================================================================
   1. Hero Section with 3D Grid & Generative Art Canvas
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 150px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(192, 154, 107, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 10% 85%,
      rgba(114, 28, 42, 0.05) 0%,
      transparent 50%
    );
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.smart-greeting {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-burgundy);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -2px;
}

.hero-headline .highlighted-text {
  display: block;
  color: var(--accent-burgundy);
}

.hero-subtext {
  font-size: 1.35rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 48px;
  font-weight: 300;
  line-height: 1.5;
}

.hero-actions-wrap {
  display: flex;
  gap: 20px;
}

/* Z-Axis Grid Floor concept */
.3d-perspective-grid {
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%) rotateX(60deg);
  width: 200%;
  height: 600px;
  background-image:
    linear-gradient(rgba(114, 28, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 28, 42, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  transform-origin: top center;
  perspective: 1000px;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   2. Marquee Ticker
   ========================================================================== */
.ticker-section {
  background: var(--bg-secondary);
  padding: 24px 0;
  border-top: 1px solid rgba(114, 28, 42, 0.1);
  border-bottom: 1px solid rgba(114, 28, 42, 0.1);
  overflow: hidden;
}

.ticker-wrap {
  display: flex;
  width: max-content;
}

.ticker-content {
  display: flex;
  gap: 80px;
  animation: marquee 30s linear infinite;
  padding-right: 80px;
}

.ticker-item {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticker-item i {
  color: var(--accent-burgundy);
}

/* ==========================================================================
   3. Core Services - 3D Card Deck Flip Setup
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card-3d-wrap {
  perspective: 1000px;
  height: 380px;
}

.service-card-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-3d-wrap:hover .service-card-3d {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.card-front {
  background: var(--white);
  color: var(--text-primary);
}

.card-back {
  background: var(--accent-burgundy);
  color: var(--white);
  transform: rotateY(180deg);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent-burgundy);
  margin-bottom: 20px;
}

.card-back .card-icon {
  color: var(--accent-gold);
}

.card-front h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.card-back h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.explore-hint {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   4. Industry-Specific Tabs
   ========================================================================== */
.industry-selector-wrapper {
  background: var(--white);
  border-radius: 30px;
  padding: 48px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}

.industry-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--accent-burgundy);
  color: var(--white);
  border-color: var(--accent-burgundy);
}

.industry-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.industry-text-col h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.industry-perks-list {
  list-style: none;
  margin-top: 30px;
}

.industry-perks-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 500;
}

.industry-perks-list i {
  color: var(--accent-burgundy);
}

.industry-stats-col {
  background: var(--bg-secondary);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ind-stat-item {
  display: flex;
  flex-direction: column;
}

.ind-stat-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-burgundy);
}

/* ==========================================================================
   5. Interactive ROI Calculator
   ========================================================================== */
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.calc-widget {
  background: var(--white);
  padding: 48px;
  border-radius: 32px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}

.calc-form-group {
  margin-bottom: 32px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 700;
}

.calc-value {
  color: var(--accent-burgundy);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: var(--bg-secondary);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-burgundy);
  cursor: pointer;
  transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}

.result-metric-card {
  background: var(--bg-secondary);
  padding: 24px;
  border-radius: 16px;
}

.result-metric-card.highlight {
  background: rgba(114, 28, 42, 0.05);
  border: 1px solid var(--accent-burgundy);
}

.metric-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 8px;
}

.metric-big-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-burgundy);
}

/* ==========================================================================
   6. KPI Dashboard & Live Charts
   ========================================================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.stat-card {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-burgundy);
}

.stat-label {
  font-weight: 600;
  color: var(--text-secondary);
  margin: 12px 0 20px 0;
}

.progress-track {
  width: 100%;
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent-burgundy);
  width: 0%;
  transition: width 1.5s cubic-bezier(0.1, 1, 0.1, 1);
}

.trend-chart-container {
  background: var(--white);
  border-radius: 30px;
  padding: 48px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.chart-legend {
  display: flex;
  gap: 20px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.wine {
  background: var(--accent-burgundy);
}
.legend-dot.gold {
  background: var(--accent-gold);
}

.canvas-holder {
  width: 100%;
  height: 300px;
  position: relative;
}

/* ==========================================================================
   7. Goal Matcher Widget
   ========================================================================== */
.goal-matcher-container {
  background: var(--white);
  border-radius: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  padding: 60px;
}

.matcher-step-panel {
  margin-top: 48px;
}

.step-card {
  display: none;
}

.step-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.option-card {
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.option-card i {
  font-size: 2rem;
  color: var(--accent-burgundy);
  margin-bottom: 20px;
}

.option-card.selected,
.option-card:hover {
  background: rgba(114, 28, 42, 0.04);
  border-color: var(--accent-burgundy);
  transform: translateY(-5px);
}

.recommendation-result {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.result-icon {
  font-size: 3.5rem;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.recommendation-badge {
  background: var(--accent-burgundy);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 50px;
  display: inline-block;
  font-weight: 700;
  margin-bottom: 20px;
}

.recommendation-perks {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
}

.perk {
  font-weight: 700;
}

.perk i {
  color: var(--accent-burgundy);
  margin-right: 8px;
}

/* ==========================================================================
   8. Before & After Interactive Slider
   ========================================================================== */
.before-after-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.ba-slider-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 450px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.img-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.dashboard-mock {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
}

.mockup-after {
  background: var(--white);
  color: var(--text-primary);
}

.mockup-before {
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.mockup-header {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}

.mockup-graph {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  height: 200px;
}

.bar {
  flex: 1;
  border-radius: 8px 8px 0 0;
  transition: height 0.5s;
}

.bar-up {
  background: var(--accent-burgundy);
}

.bar-down {
  background: var(--text-secondary);
  opacity: 0.4;
}

.ba-label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.label-after {
  right: 20px;
  background: var(--accent-burgundy);
  color: var(--white);
}

.label-before {
  left: 20px;
  background: var(--text-primary);
  color: var(--white);
}

.img-before {
  width: 50%;
  z-index: 2;
  border-right: 2px solid var(--accent-gold);
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--accent-gold);
  z-index: 3;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.ba-arrows {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   9. Operational Process Section
   ========================================================================== */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.process-step-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
}

.process-step-item:nth-child(even) {
  flex-direction: row-reverse;
}

.step-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--white);
  border: 2px solid var(--accent-burgundy);
  color: var(--accent-burgundy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  z-index: 2;
}

.step-content {
  width: 42%;
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}

.step-content h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

/* ==========================================================================
   10. Testimonials Deck
   ========================================================================== */
.testimonials-deck-wrapper {
  position: relative;
  max-width: 650px;
  margin: 40px auto 0 auto;
}

.testimonials-deck {
  height: 320px;
  position: relative;
}

.t-deck-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  padding: 48px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: var(--transition-spring);
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  pointer-events: none;
  z-index: 1;
}

.t-deck-card.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  z-index: 3;
}

.t-deck-card.next {
  opacity: 0.4;
  transform: scale(0.95) translateY(10px);
  z-index: 2;
}

.quote-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  opacity: 0.3;
  margin-bottom: 24px;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.testimonial-author h4 {
  font-size: 1rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.deck-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.deck-ctrl-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.deck-ctrl-btn:hover {
  background: var(--accent-burgundy);
  color: var(--white);
}

/* ==========================================================================
   11. Call To Action (3D Infinite Vortex)
   ========================================================================== */
.cta-section {
  position: relative;
  overflow: hidden;
  background: #000;
  color: var(--white);
  border-radius: 40px;
  margin: 0 24px 120px 24px;
}

.vortex-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  background:
    radial-gradient(circle, transparent 20%, #000000 80%),
    repeating-conic-gradient(from 0deg, #721c2a 0deg 15deg, #000000 15deg 30deg);
  animation: rotateVortex 20s linear infinite;
  pointer-events: none;
}

.relative-z {
  position: relative;
  z-index: 2;
}

.cta-wrapper h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.cta-wrapper p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 40px auto;
  opacity: 0.8;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ==========================================================================
   AI Strategy Widget
   ========================================================================== */
.ai-widget-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 998;
}

.ai-widget-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-burgundy);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(114, 28, 42, 0.3);
  position: relative;
}

.ai-chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 480px;
  background: var(--white);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition-spring);
}

.ai-chat-window.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ai-chat-header {
  background: var(--accent-burgundy);
  color: var(--white);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.active-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff66;
  display: inline-block;
}

.ai-close {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.ai-chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
}

.ai-msg.bot {
  background: var(--bg-secondary);
  align-self: flex-start;
}

.ai-msg.user {
  background: var(--accent-burgundy);
  color: var(--white);
  align-self: flex-end;
}

.ai-chat-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.ai-options-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-opt-btn {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.ai-opt-btn:hover {
  background: rgba(114, 28, 42, 0.05);
  border-color: var(--accent-burgundy);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-secondary);
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-about-text {
  color: var(--text-secondary);
  margin: 20px 0;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-links a:hover {
  background: var(--accent-burgundy);
  color: var(--white);
}

.footer-col-title {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a:hover {
  color: var(--accent-burgundy);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact i {
  color: var(--accent-burgundy);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Legal Inner Page Layout Specifics
   ========================================================================== */
.page-header-section {
  padding: 180px 0 100px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.breadcrumbs {
  margin-top: 16px;
  font-weight: 600;
}

.breadcrumbs span,
.breadcrumbs a {
  color: var(--accent-burgundy);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin: 48px 0 20px 0;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}

/* ==========================================================================
   Contact Page Layout Specifics
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}

.contact-info-panel {
  background: var(--accent-burgundy);
  color: var(--white);
  padding: 48px;
  border-radius: 32px;
}

.contact-info-panel h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--white);
}

.contact-details-list {
  list-style: none;
  margin-top: 40px;
}

.contact-details-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-details-list i {
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-top: 4px;
}

.contact-details-list h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--white);
}

.contact-details-list p,
.contact-details-list a {
  color: var(--bg-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--accent-burgundy);
}

/* Popup Form Validation */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: var(--white);
  padding: 48px;
  border-radius: 24px;
  max-width: 450px;
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
}

.popup-icon {
  font-size: 3.5rem;
  color: var(--accent-burgundy);
  margin-bottom: 20px;
}

/* ==========================================================================
   Animation Timers & Global Keyframes
   ========================================================================== */
@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes bounce {
  0% {
    height: 4px;
  }
  100% {
    height: 16px;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes rotateVortex {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered reveal properties */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Media Queries & Fully Adaptive Grid Layout
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 3.8rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition-smooth);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
  }

  .nav-toggle {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .hero-headline {
    font-size: 3rem;
  }
  .hero-actions-wrap {
    flex-direction: column;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .industry-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .options-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .process-timeline::before {
    left: 24px;
  }
  .process-step-item {
    flex-direction: row !important;
  }
  .step-marker {
    left: 24px;
    transform: none;
  }
  .step-content {
    width: calc(100% - 60px);
    margin-left: auto;
  }
}
