/* ============================================
   AllMed Solution - Main Stylesheet
   Modern Healthcare Revenue Management
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #0a2540;
  --primary-light: #1a3a5c;
  --secondary: #635bff;
  --secondary-light: #7c75ff;
  --accent: #00d4aa;
  --accent-dark: #00b894;
  --bg-light: #f6f9fc;
  --bg-white: #ffffff;
  --bg-dark: #0a1628;
  --text-primary: #0a2540;
  --text-secondary: #425466;
  --text-light: #8898aa;
  --text-white: #ffffff;
  --border: #e3e8ee;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
  --gradient-hero: linear-gradient(135deg, #0a2540 0%, #1a3a5c 50%, #0d3158 100%);
  --gradient-accent: linear-gradient(135deg, #635bff 0%, #00d4aa 100%);
  --gradient-card: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --container-max: 1280px;
  --header-height: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--text-white) !important; }
.text-accent { color: var(--accent); }
.text-secondary-color { color: var(--secondary); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(99, 91, 255, 0.1);
  color: var(--secondary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-header .badge {
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-light);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 91, 255, 0.4);
}
.btn-primary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 91, 255, 0.5);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.5);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.btn-outline-dark {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}
.btn-outline-dark:hover {
  background: var(--secondary);
  color: white;
}

.btn-white {
  background: white;
  color: var(--primary);
}
.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  z-index: 1001;
}

.header.scrolled .logo {
  color: var(--primary);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: white;
}

/* Logo Image */
.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Default: on dark hero backgrounds, brighten so dark logo text is visible */
  filter: brightness(1.8) drop-shadow(0 1px 3px rgba(0,0,0,0.15));
  transition: filter 0.3s ease, height 0.3s ease;
}

/* Scrolled header (white bg) — show logo at normal brightness */
.header.scrolled .logo-img {
  filter: brightness(1) drop-shadow(0 1px 2px rgba(0,0,0,0.06));
}

/* Footer (dark bg) — brighten moderately */
.footer .logo-img {
  height: 52px;
  filter: brightness(1.7) drop-shadow(0 1px 3px rgba(255,255,255,0.1));
}

/* Portal sidebar (dark bg) */
.sidebar-logo .logo-img {
  height: 36px;
}

/* Auth page login/register (light bg) */
.auth-logo .logo-img {
  height: 44px;
  filter: brightness(1) drop-shadow(0 1px 2px rgba(0,0,0,0.06));
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav a:hover,
.nav a.active {
  color: white;
  background: rgba(255,255,255,0.1);
}

.header.scrolled .nav a {
  color: var(--text-secondary);
}

.header.scrolled .nav a:hover,
.header.scrolled .nav a.active {
  color: var(--secondary);
  background: rgba(99, 91, 255, 0.08);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 240px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-secondary) !important;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: var(--bg-light) !important;
  color: var(--secondary) !important;
}

.dropdown-menu a .drop-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.header-actions .btn-portal {
  padding: 10px 24px;
  background: rgba(255,255,255,0.15);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.header.scrolled .header-actions .btn-portal {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}

.header-actions .btn-portal:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.header.scrolled .header-actions .btn-portal:hover {
  background: var(--secondary-light);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .mobile-toggle span {
  background: var(--primary);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.15) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-content .badge {
  background: rgba(0, 212, 170, 0.15);
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  color: white;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero h1 .gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat .number .accent {
  color: var(--accent);
}

.hero-stat .label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 380px;
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hero-card-header h4 {
  color: white;
  font-size: 1rem;
}

.hero-card-badge {
  background: rgba(0, 212, 170, 0.2);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-card-chart {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 20px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--secondary), var(--accent));
  border-radius: 6px 6px 0 0;
  opacity: 0.7;
  transition: var(--transition);
}

.chart-bar:hover {
  opacity: 1;
}

.hero-card-stats {
  display: flex;
  justify-content: space-between;
}

.hero-card-stat {
  text-align: center;
}

.hero-card-stat .value {
  font-weight: 700;
  color: white;
  font-size: 1.25rem;
}

.hero-card-stat .sublabel {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* --- Floating Elements --- */
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: cardFloat 8s ease-in-out infinite;
  z-index: 3;
}

.float-card .fc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-card .fc-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.float-card .fc-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* --- Insurance Partners --- */
.partners {
  background: var(--bg-light);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.partners-label {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 32px;
  opacity: 0.75;
}

/* --- Marquee Logo Scroll --- */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light), transparent);
}

/* --- Marquee Navigation Arrows --- */
.marquee-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.95);
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.marquee-wrapper:hover .marquee-arrow {
  opacity: 1;
}

.marquee-arrow:hover {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.marquee-arrow-left {
  left: 12px;
}

.marquee-arrow-right {
  right: 12px;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-left {
  animation: marqueeScrollLeft 120s linear infinite;
}

.marquee-right {
  animation: marqueeScrollRight 125s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-left,
  .marquee-right {
    animation: none;
  }
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 8px 20px;
}

.marquee-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: default;
  flex-shrink: 0;
}

.marquee-logo:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.marquee-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.marquee-logo .logo-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.marquee-logo .logo-fallback {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes marqueeScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* EHR Partners Section */
.ehr-partners {
  border-top: none;
  padding-top: 0;
}
.floating-specialties {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.float-tag {
  position: absolute;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  animation: floatDrift 12s ease-in-out infinite;
  will-change: transform, opacity;
}

.float-tag:nth-child(odd) {
  animation-name: floatDriftAlt;
  font-size: clamp(0.85rem, 1.5vw, 1.2rem);
  color: rgba(99, 91, 255, 0.06);
}

.float-tag:nth-child(3n) {
  color: rgba(0, 212, 170, 0.05);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
}

@keyframes floatDrift {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.6; }
  25% { transform: translateY(-15px) translateX(10px) rotate(1deg); opacity: 1; }
  50% { transform: translateY(-5px) translateX(-8px) rotate(-0.5deg); opacity: 0.8; }
  75% { transform: translateY(-20px) translateX(5px) rotate(0.5deg); opacity: 1; }
}

@keyframes floatDriftAlt {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.5; }
  33% { transform: translateY(-12px) translateX(-12px) rotate(-1deg); opacity: 1; }
  66% { transform: translateY(-25px) translateX(8px) rotate(0.8deg); opacity: 0.7; }
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: var(--bg-light);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-accent);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--secondary);
  transition: var(--transition);
}

.service-card:hover .service-icon svg {
  stroke: white;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-features {
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-features li svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
}

.service-link:hover {
  gap: 12px;
}

.service-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* --- About / Why Choose Us --- */
.about-section {
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 500px;
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.about-img-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(99, 91, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0, 212, 170, 0.2) 0%, transparent 50%);
}

.about-img-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.about-img-inner .big-number {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-img-inner .big-label {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 8px;
  opacity: 0.8;
}

.about-floating-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.about-floating-card.top-right {
  top: -20px;
  right: -30px;
}

.about-floating-card.bottom-left {
  bottom: -20px;
  left: -30px;
}

.afc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
}

.afc-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--secondary);
}

.afc-text h4 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.afc-text p {
  font-size: 0.8rem;
  margin: 0;
}

.about-content .badge {
  margin-bottom: 16px;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content > p {
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.about-feature {
  display: flex;
  gap: 16px;
}

.af-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 91, 255, 0.1);
  flex-shrink: 0;
}

.af-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--secondary);
}

.af-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.af-text p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-light);
}

/* --- Stats Counter --- */
.stats-section {
  background: var(--gradient-hero);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(99, 91, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 212, 170, 0.15) 0%, transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .accent {
  color: var(--accent);
}

.stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* --- Advantages/Process --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.advantage-card {
  text-align: center;
  padding: 40px 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary);
}

.advantage-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--bg-light);
  line-height: 1;
}

.advantage-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(99,91,255,0.1), rgba(0,212,170,0.1));
}

.advantage-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--secondary);
}

.advantage-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 0.9rem;
}

/* --- Specialties --- */
.specialties-section {
  background: var(--bg-light);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.specialty-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.specialty-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: var(--bg-light);
  transition: var(--transition);
}

.specialty-card:hover .specialty-icon {
  background: var(--gradient-accent);
}

.specialty-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--secondary);
  transition: var(--transition);
}

.specialty-card:hover .specialty-icon svg {
  stroke: white;
}

.specialty-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.specialty-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Testimonials --- */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: #fbbf24;
  stroke: #fbbf24;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(99, 91, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(0, 212, 170, 0.2) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  margin-top: 24px;
  justify-content: center;
  font-size: 1rem;
}

.cta-phone a {
  color: var(--accent);
  font-weight: 600;
}

/* --- Contact Form Section --- */
.contact-section {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.cd-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 91, 255, 0.1);
  flex-shrink: 0;
}

.cd-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--secondary);
}

.cd-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.cd-text p, .cd-text a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.cd-text a:hover {
  color: var(--secondary);
}

.contact-form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  font-size: 1rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--secondary);
  background: white;
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  margin: 16px 0 24px;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--secondary);
  color: white;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-links h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links ul li a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item p, 
.footer-contact-item a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

.hipaa-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.hipaa-badge svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

/* --- Digital Services Section --- */
.digital-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.digital-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.digital-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.digital-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(99,91,255,0.1), rgba(0,212,170,0.1));
}

.digital-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--secondary);
}

.digital-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.digital-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* --- Page Header (for sub-pages) --- */
.page-header {
  background: var(--gradient-hero);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(99, 91, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(0, 212, 170, 0.15) 0%, transparent 50%);
}

.page-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 16px;
}

.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: rgba(255,255,255,0.3);
}

.breadcrumb .current {
  color: var(--accent);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid,
  .testimonial-cards,
  .digital-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 1000;
  }
  
  .nav.active {
    display: flex;
  }
  
  .nav a {
    font-size: 1.2rem;
    padding: 12px 24px;
    color: white !important;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .services-grid,
  .testimonial-cards,
  .digital-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    gap: 24px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .header-actions .btn-cta-header {
    display: none;
  }
  
  .nav-dropdown .dropdown-menu {
    position: static;
    transform: none;
    background: rgba(255,255,255,0.05);
    box-shadow: none;
    border: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    min-width: auto;
  }
  
  .dropdown-menu a {
    color: white !important;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .service-card,
  .testimonial-card,
  .advantage-card {
    padding: 28px 20px;
  }
  
  .contact-form-card {
    padding: 28px 20px;
  }
  
  .floating-specialties {
    display: none;
  }

  .marquee-logo {
    padding: 8px 16px;
  }

  .marquee-logo .logo-label {
    font-size: 0.8rem;
  }

  .marquee-content {
    gap: 24px;
  }
}

/* --- Scroll to top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--secondary-light);
  transform: translateY(-3px);
}

.scroll-top svg {
  width: 22px;
  height: 22px;
  stroke: white;
}

/* --- Loading Animation --- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 998;
  display: none;
}

.cookie-banner.show {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 0.9rem;
  max-width: 600px;
}

/* --- Process/Timeline Section --- */
.process-section {
  background: var(--bg-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--secondary);
  margin: 0 auto 20px;
  transition: var(--transition);
}

.process-step:hover .process-number {
  background: var(--secondary);
  color: white;
}

.process-step h4 {
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .process-grid::before {
    display: none;
  }
}

/* --- Pricing Section --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--secondary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
  margin-bottom: 8px;
}

.pricing-header .price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.pricing-header .price span {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .pricing-card.featured {
    transform: none;
  }
}

/* --- Blog Card Styles --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 28px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-card-category {
  background: rgba(99, 91, 255, 0.1);
  color: var(--secondary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card h3 a:hover {
  color: var(--secondary);
}

.blog-card p {
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.blog-card-footer .read-more {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-footer .blog-stats {
  display: flex;
  gap: 12px;
  align-items: center;
}

.blog-card-footer .blog-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.blog-card-footer .blog-stats svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Placeholder SVG Images */
.svg-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Chat widget */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 90px;
  z-index: 997;
}

.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
  transition: var(--transition);
  border: none;
}

.chat-toggle:hover {
  transform: scale(1.1);
}

.chat-toggle svg {
  width: 24px;
  height: 24px;
  fill: white;
}
