/* ==========================================================================
   Caramelo Soluções Tecnológicas - Design System & Styles
   ========================================================================== */

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

:root {
  /* Color Palette - Emerald Health & Caramel Warmth */
  --primary: #059669;
  --primary-hover: #047857;
  --primary-light: #ecfdf5;
  --primary-glow: rgba(5, 150, 105, 0.25);
  
  --caramel: #d97706;
  --caramel-light: #fef3c7;
  --caramel-hover: #b45309;
  --caramel-glow: rgba(217, 119, 6, 0.25);

  --accent-teal: #0d9488;
  --accent-blue: #2563eb;
  
  /* Dark Mode & Slate Shades */
  --bg-dark: #090d16;
  --bg-dark-card: #111827;
  --bg-dark-border: #1f2937;
  
  /* Neutral Shades */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 30px -10px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 0 40px rgba(5, 150, 105, 0.18);
  --shadow-caramel-glow: 0 0 40px rgba(217, 119, 6, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate-900);
}

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

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Gradient Helpers */
.text-gradient-emerald {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-caramel {
  background: linear-gradient(135deg, #f59e0b 0%, var(--caramel) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-emerald {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.badge-caramel {
  background-color: var(--caramel-light);
  color: var(--caramel-hover);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
  background: linear-gradient(135deg, var(--primary-hover) 0%, #0b8276 100%);
}

.btn-caramel {
  background: linear-gradient(135deg, #f59e0b 0%, var(--caramel) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-caramel:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--slate-100);
  color: var(--slate-900);
  border-color: var(--slate-300);
  transform: translateY(-2px);
}

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

.btn-outline-emerald:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--slate-900);
}

.logo-img-wrapper {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main-text {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.logo-sub-text {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--caramel);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--slate-600);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  padding: 4px;
  border: 1px solid var(--slate-200);
  gap: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--slate-600);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: #ffffff;
  color: var(--slate-900);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lang-flag {
  font-size: 1rem;
  line-height: 1;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-800);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(236, 253, 245, 0.8) 0%, rgba(254, 243, 199, 0.3) 50%, rgba(248, 250, 252, 1) 90%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

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

.hero-title {
  font-size: 3.25rem;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  line-height: 1.15;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--slate-600);
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
  width: 100%;
}

.proof-avatars {
  display: flex;
  align-items: center;
}

.proof-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -10px;
  background-size: cover;
  background-position: center;
}

.proof-avatar:first-child {
  margin-left: 0;
}

.proof-text {
  font-size: 0.9rem;
  color: var(--slate-600);
}

.proof-text strong {
  color: var(--slate-900);
}

.stars {
  color: #f59e0b;
  font-size: 0.85rem;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.visual-card-wrapper {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border: 1px solid var(--slate-200);
  padding: 1rem;
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.visual-card-wrapper:hover {
  transform: translateY(-4px);
}

.visual-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--slate-100);
}

.window-dots {
  display: flex;
  gap: 6px;
}

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

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

.window-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-img-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 380px;
  background: var(--slate-900);
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-badge-1 {
  bottom: -20px;
  left: -20px;
}

.floating-badge-2 {
  top: 40px;
  right: -20px;
  animation-delay: -2s;
}

.badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.badge-icon-caramel {
  background: var(--caramel-light);
  color: var(--caramel);
}

.badge-info h4 {
  font-size: 0.95rem;
  color: var(--slate-900);
}

.badge-info p {
  font-size: 0.8rem;
  color: var(--slate-600);
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* Stats Section */
.stats-section {
  padding: 40px 0;
  background: var(--slate-900);
  color: #ffffff;
  position: relative;
}

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

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

.stat-number {
  font-size: 2.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #34d399;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number.caramel-stat {
  color: #fbbf24;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--slate-300);
  font-weight: 500;
}

/* Brand Story / Mascot Section */
.brand-story {
  padding: 100px 0;
  background: #ffffff;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.story-card-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--slate-100);
}

.story-card-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-bounce);
}

.story-card-box:hover img {
  transform: scale(1.03);
}

.story-content h2 {
  font-size: 2.5rem;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.story-content p {
  color: var(--slate-600);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.pillar-item {
  background: var(--slate-50);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  transition: transform var(--transition-fast);
}

.pillar-item.pillar-caramel {
  border-left-color: var(--caramel);
}

.pillar-item:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.pillar-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.pillar-item p {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 0;
}

/* Solutions & Features Section */
.features-section {
  padding: 100px 0;
  background: var(--slate-50);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--slate-600);
}

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

.feature-card {
  background: #ffffff;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(5, 150, 105, 0.4);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.feature-card.caramel-card .feature-icon-box {
  background: var(--caramel-light);
  color: var(--caramel);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--slate-600);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-list {
  list-style: none;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}

.feature-list li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Interactive Demo Simulator Section */
.demo-section {
  padding: 100px 0;
  background: var(--bg-dark);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.demo-section .section-header h2 {
  color: #ffffff;
}

.demo-section .section-header p {
  color: var(--slate-400);
}

.demo-app-container {
  background: var(--bg-dark-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--bg-dark-border);
  box-shadow: var(--shadow-xl), 0 0 50px rgba(5, 150, 105, 0.15);
  overflow: hidden;
}

.demo-tabs-bar {
  display: flex;
  align-items: center;
  background: #0d1322;
  padding: 0.75rem 1.5rem;
  gap: 1rem;
  border-bottom: 1px solid var(--bg-dark-border);
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--slate-400);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
}

.demo-workspace {
  padding: 2rem;
}

.demo-schedule-view {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

.demo-sidebar {
  background: #192233;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-sidebar h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.physio-type-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.physio-chip {
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--slate-300);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.physio-chip:hover, .physio-chip.active {
  background: var(--primary-glow);
  border-color: var(--primary);
  color: #34d399;
}

.demo-main-panel {
  background: #192233;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.appointment-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.appointment-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.appointment-card:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.patient-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.patient-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.patient-details h5 {
  color: #ffffff;
  font-size: 1rem;
}

.patient-details p {
  color: var(--slate-400);
  font-size: 0.85rem;
}

.status-tag {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-confirmed {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.status-in-progress {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-pending {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(129, 140, 248, 0.3);
}

.demo-action-btn {
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.demo-action-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Physiotherapy Modules Showcase */
.physio-spec-section {
  padding: 90px 0;
  background: #ffffff;
}

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

.spec-card {
  background: var(--slate-50);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  text-align: center;
  transition: all var(--transition-fast);
}

.spec-card:hover {
  background: #ffffff;
  border-color: var(--caramel);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.spec-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--caramel-light);
  color: var(--caramel-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem auto;
}

.spec-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.spec-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  background: var(--slate-100);
}

.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.toggle-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--slate-700);
}

.switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 30px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--slate-300);
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.discount-badge {
  background: #fef3c7;
  color: var(--caramel-hover);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--caramel);
}

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

.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  transform: scale(1.04);

}

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

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
  min-height: 42px;
}

.price-box {
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
}

.price-val {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: var(--slate-500);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-700);
  margin-bottom: 0.85rem;
}

.pricing-features li svg {
  color: var(--primary);
  flex-shrink: 0;
}


/* Contact / Demo CTA Banner */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--slate-900) 0%, #064e3b 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-text h2 {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.cta-text p {
  color: var(--slate-300);
  font-size: 1.1rem;
  max-width: 600px;
}

/* Modal Window */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

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

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-fast);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--slate-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  transition: background var(--transition-fast);
}

.modal-close:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

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

.modal-header p {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.375rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-300);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Footer */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid var(--slate-800);
}

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

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--slate-400);
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-800);
  font-size: 0.88rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid, .story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .features-grid, .pricing-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    flex-direction: column;
    padding: 2rem;
    align-items: flex-start;
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-xl);
  }

  .nav-menu.mobile-open {
    left: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .features-grid, .pricing-grid, .testimonials-grid, .spec-grid, .stats-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .demo-schedule-view {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
