/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

/* THEME SYSTEM VARIABLES */
body[data-theme="dark"] {
  --bg-primary: #0a0b14;
  --bg-secondary: #111322;
  --bg-tertiary: #171b30;
  --text-primary: #f3f4f6;
  --text-muted: #9ca3af;
  --text-inverse: #0f172a;
  --border-color: rgba(255, 255, 255, 0.08);
  --color-primary: #6366f1;
  --color-primary-hover: #4f46e5;
  --color-primary-rgb: 99, 102, 241;
  --color-secondary: #3b82f6;
  --color-secondary-hover: #2563eb;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-glow: rgba(99, 102, 241, 0.15);
  --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --footer-bg: #05060b;
}

body[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #f8fafc;
  --border-color: rgba(0, 0, 0, 0.08);
  --color-primary: #4f46e5;
  --color-primary-hover: #3730a3;
  --color-primary-rgb: 79, 70, 229;
  --color-secondary: #2563eb;
  --color-secondary-hover: #1d4ed8;
  --color-success: #059669;
  --color-warning: #d97706;
  --color-danger: #dc2626;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.05);
  --glass-glow: rgba(79, 70, 229, 0.08);
  --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
  --footer-bg: #0f172a;
}

/* TYPOGRAPHY */
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  gap: 0.5rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 8px 24px -6px rgba(var(--color-primary-rgb), 0.5);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 12px 28px -4px rgba(var(--color-primary-rgb), 0.6);
}

.btn-secondary {
  background-color: var(--bg-terdy, var(--bg-tertiary));
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--border-color);
}

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

.btn-outline:hover {
  background-color: rgba(var(--color-primary-rgb), 0.08);
}

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

/* BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-success);
  border-color: rgba(16, 185, 129, 0.2);
}

/* HEADER & NAVBAR */
.header-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  z-index: 1000;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon-box {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-icon {
  width: 24px;
  height: 24px;
}

.logo-text-box {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.3rem;
  color: var(--text-primary);
  line-height: 1.1;
}

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

.logo-subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

body[data-theme="dark"] .sun-icon {
  opacity: 0;
  transform: rotate(90deg);
}

body[data-theme="light"] .moon-icon {
  opacity: 0;
  transform: rotate(-90deg);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
}

.mobile-menu-btn .menu-close {
  display: none;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding-top: 180px;
  padding-bottom: 120px;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-1 {
  background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.15) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.hero-glow-2 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  bottom: -150px;
  right: -50px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 5;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-graphic {
  perspective: 1000px;
}

.graphic-frame {
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s ease;
}

.graphic-frame:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.frame-header {
  height: 40px;
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  gap: 0.5rem;
}

.frame-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.frame-dot.red { background-color: #ef4444; }
.frame-dot.yellow { background-color: #f59e0b; }
.frame-dot.green { background-color: #10b981; }

.frame-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 1rem;
  font-weight: 500;
}

.frame-body {
  padding: 0;
  display: flex;
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
}

/* STATS SECTION */
.stats-section {
  padding: 4rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
}

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

/* SECTION GLOBAL HEADERS */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* FEATURES SECTION (TABS) */
.features-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.features-tab-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.tabs-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1px;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 1.25rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
  background-color: rgba(var(--color-primary-rgb), 0.02);
}

.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.tab-icon {
  width: 20px;
  height: 20px;
}

.tabs-contents {
  position: relative;
  min-height: 400px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

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

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

.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tab-text-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.tab-text-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.bullet-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--color-success);
  margin-top: 0.25rem;
}

.bullet-close {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--color-danger);
  margin-top: 0.25rem;
}

.tab-visual-demo {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: 100%;
  max-width: 460px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.card-bar {
  height: 38px;
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.35rem;
}

.card-bar .card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-muted);
  opacity: 0.4;
}

.card-bar-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
  font-weight: 600;
}

.card-body-preview {
  padding: 2rem;
  text-align: center;
}

.preview-metric-row {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.preview-metric {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 12px;
  flex: 1;
}

.metric-val {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.preview-chart-bar-container {
  text-align: left;
  margin-top: 1rem;
}

.preview-chart-bar {
  height: 16px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

.chart-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.text-left {
  text-align: left !important;
}

.preview-receipt {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: monospace;
  font-size: 0.8rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
}

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

.preview-receipt hr {
  border: 0;
  border-top: 1px dashed var(--border-color);
}

.preview-kanban-cols {
  display: flex;
  gap: 1rem;
}

.kanban-col {
  flex: 1;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 10px;
}

.col-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.kanban-card {
  font-size: 0.75rem;
  padding: 0.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.active-card {
  border-left: 3px solid var(--color-primary);
}

/* BENEFITS SECTION */
.benefits-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.benefit-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
}

.benefit-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: rgba(var(--color-primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.benefit-icon-box svg {
  width: 24px;
  height: 24px;
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

/* CALCULATOR SECTION */
.calculator-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.calculator-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 70%);
  filter: blur(100px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.calc-box {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

.calc-tab-nav {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.calc-nav-btn {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.calc-nav-btn:hover {
  color: var(--text-primary);
}

.calc-nav-btn.active {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.calc-interactive-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.calc-module {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.calc-module.active {
  display: block;
}

.calc-module h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.form-group input, .form-group select {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.2);
}

.calc-results {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.calc-result-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.res-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.res-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-success);
}

.calc-notice {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* PRICING SECTION */
.pricing-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--color-primary);
  box-shadow: var(--card-shadow);
  transform: translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-header h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.price-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  min-height: 42px;
}

.price-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: baseline;
  font-family: 'Outfit', sans-serif;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 600;
  margin-right: 0.15rem;
}

.price-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.price-custom {
  font-size: 1.8rem;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.price-features li.disabled {
  color: var(--text-muted);
  opacity: 0.55;
}

.price-features li.disabled svg {
  color: var(--color-danger);
}

.pricing-card .btn {
  margin-top: auto;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.testimonial-slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 1rem 2rem;
  text-align: center;
}

.testimonial-slide.active {
  opacity: 1;
}

.testimonial-quote {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before, .testimonial-quote::after {
  font-size: 3rem;
  color: var(--color-primary);
  opacity: 0.2;
  position: absolute;
  font-family: Georgia, serif;
}

.testimonial-quote::before {
  content: '“';
  left: -20px;
  top: -15px;
}

.testimonial-quote::after {
  content: '”';
  right: -20px;
  bottom: -40px;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
}

.testimonial-author p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.slider-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
}

.slider-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.slider-btn svg {
  width: 16px;
  height: 16px;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
}

.slider-dots .dot.active {
  background-color: var(--color-primary);
  width: 20px;
  border-radius: 4px;
}

/* FAQ SECTION */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-trigger:hover {
  color: var(--color-primary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 2rem;
}

.faq-item.open .faq-content {
  max-height: 1000px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
  padding: 0 2rem 1.5rem 2rem;
}

.faq-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CONTACT & LEAD CAPTURE FORM */
.contact-section {
  padding: 120px 0;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.contact-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 70%);
  filter: blur(120px);
  bottom: -200px;
  left: -200px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
}

.meta-icon {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.contact-form-card {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.contact-form-card form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 0.5rem;
}

.form-check input {
  margin-top: 0.2rem;
}

.form-check a {
  color: var(--color-primary);
  text-decoration: none;
}

.form-check a:hover {
  text-decoration: underline;
}

.form-message {
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-message.success {
  display: block;
  color: var(--color-success);
}

.form-message.error {
  display: block;
  color: var(--color-danger);
}

/* FOOTER */
.site-footer {
  background-color: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem 0;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.text-white {
  color: white !important;
}

.footer-desc {
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-links-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .graphic-frame {
    transform: none;
    max-width: 650px;
    margin: 0 auto;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tab-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .calc-box {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .pricing-card.popular {
    transform: none;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 1.5rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  }
  
  .nav-menu.open {
    display: block;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-menu-btn.open .menu-open {
    display: none;
  }
  
  .mobile-menu-btn.open .menu-close {
    display: block;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .tabs-nav {
    grid-template-columns: 1fr;
    border-bottom: none;
  }
  
  .tab-btn {
    border-bottom: none;
    border-left: 3px solid transparent;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
  }
  
  .tab-btn.active {
    border-left-color: var(--color-primary);
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .calc-results {
    flex-direction: column;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* SCROLL REVEAL NATIVE STYLING */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-up {
      from {
        opacity: 0;
        transform: translateY(60px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .benefit-card, .pricing-card, .faq-item, .stat-card {
      animation: reveal-up auto linear forwards;
      animation-timeline: view();
      animation-range: entry 10% cover 40%;
    }
  }
}

/* DETAILED ENGINEERING SHOWCASE TABS */
.eng-showcase-container {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
  width: 100%;
}

.eng-showcase-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.eng-showcase-btn {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  width: 100%;
}

.eng-showcase-btn:hover {
  background-color: rgba(var(--color-primary-rgb), 0.03);
  border-color: rgba(var(--color-primary-rgb), 0.3);
}

.eng-showcase-btn.active {
  background: linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.12) 0%, rgba(var(--color-primary-rgb), 0.02) 100%);
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px -10px rgba(var(--color-primary-rgb), 0.2);
}

.eng-showcase-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  min-width: 42px;
  transition: all 0.3s ease;
}

.eng-showcase-icon svg {
  width: 20px;
  height: 20px;
}

.eng-showcase-btn:hover .eng-showcase-icon,
.eng-showcase-btn.active .eng-showcase-icon {
  background-color: var(--color-primary);
  color: white;
}

.eng-showcase-btn-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.eng-showcase-btn-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.eng-showcase-display {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eng-showcase-display .graphic-frame {
  transform: none !important;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: #0b0f19;
  box-shadow: var(--card-shadow);
}

.eng-showcase-display .frame-header {
  background-color: #0f1322;
  border-bottom: 1px solid var(--border-color);
}

.showcase-img {
  width: 100%;
  height: auto;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.showcase-img.active {
  display: block;
  opacity: 1;
}

.showcase-overlay-details {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  min-height: 140px;
  box-shadow: var(--card-shadow);
}

.showcase-details-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.showcase-details-panel.active {
  display: block;
}

.showcase-details-panel h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.showcase-details-panel p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.showcase-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .eng-showcase-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   NEW ADDITIONS: FLOATING BADGES & INTERACTIVE CALC METERS
   ========================================================================== */

.hero-graphic {
  position: relative;
  perspective: 1000px;
}

/* Floating Badge Styling */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.15rem;
  background: rgba(30, 41, 59, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  z-index: 10;
  pointer-events: none;
  animation: float-animation 6s ease-in-out infinite;
}

.floating-badge.badge-top-left {
  top: 10%;
  left: -8%;
  animation-delay: 0s;
}

.floating-badge.badge-bottom-right {
  bottom: 8%;
  right: -5%;
  animation-delay: 2s;
}

.floating-badge.badge-mid-left {
  top: 50%;
  left: -12%;
  animation-delay: 4s;
}

.badge-icon {
  width: 34px;
  height: 34px;
  background: rgba(8, 145, 178, 0.15);
  border: 1px solid rgba(8, 145, 178, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.badge-info {
  display: flex;
  flex-direction: column;
}

.badge-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

/* Calculator Visual Meter Box */
.calc-visual-meter-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.meter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meter-bar-track {
  height: 8px;
  background: var(--bg-primary);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.meter-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 9999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px var(--color-primary);
}

.meter-bar-fill.ges-fill {
  background: linear-gradient(90deg, var(--color-warning), var(--color-success));
  box-shadow: 0 0 10px var(--color-success);
}

.meter-scales {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}


