/* ===== HEALTHOCC - MODERN THEME STYLES ===== */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --theme-primary: #6366f1;
  --theme-primary-dark: #4f46e5;
  --theme-secondary: #8b5cf6;
  --theme-accent: #ec4899;
  --theme-bg: #ffffff;
  --theme-bg-secondary: #f8fafc;
  --theme-bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --theme-border: #e2e8f0;
  --theme-radius: 16px;
  --theme-text-primary: #1e293b;
  --theme-text-secondary: #64748b;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--theme-bg);
  color: var(--theme-text-primary);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--theme-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo img {
  height: 64px;
  object-fit: contain;
  filter: brightness(1.2) contrast(1.1);
  mix-blend-mode: darken;
}

/* Navigation */
nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

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

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: white;
  border: 2px solid var(--theme-primary);
  color: var(--theme-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.mobile-menu-btn:hover {
  background: var(--theme-primary);
  color: white;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-bottom: 1rem;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: 0.5rem;
  color: #475569;
  font-weight: 500;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
  background: white;
  color: var(--theme-primary);
  padding: 14px 36px;
  border: 2px solid var(--theme-primary);
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: var(--theme-primary);
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 5rem 0 8rem;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, white, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section-bg {
  background: var(--theme-bg-secondary);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--theme-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.secondary-text {
  color: var(--theme-text-secondary);
}

/* Cards */
.card {
  background: var(--theme-bg);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 2rem;
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

/* Feature Icons */
.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 16px;
  margin: 0 auto 1rem;
}

.feature-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

/* Process Steps */
.process-step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  margin: 0 auto 1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.cta-section .section-title {
  color: white;
}

/* Sticky Quote Button */
.sticky-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: grab;
}

.sticky-buttons:active {
  cursor: grabbing;
}

.sticky-buttons .btn-quote {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--theme-primary);
  color: white;
  padding: 1rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.sticky-buttons .btn-quote:hover {
  background: var(--theme-primary-dark);
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.sticky-buttons .btn-quote svg {
  width: 24px;
  height: 24px;
}

/* Forms */
input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

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

/* Footer */
footer {
  background: var(--theme-bg-secondary);
  border-top: 1px solid var(--theme-border);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

footer .logo img {
  height: 64px;
  margin-bottom: 1rem;
}

footer h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--theme-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--theme-primary);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--theme-border);
  text-align: center;
  color: var(--theme-text-secondary);
}

/* Utilities */
.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-8 {
  margin-top: 2rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  nav {
    display: flex !important;
  }
  
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  header .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 767px) {
  nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.875rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .sticky-buttons {
    bottom: 16px;
    right: 16px;
  }
  
  .sticky-buttons .btn-quote span {
    display: none;
  }
  
  .py-20 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .card {
    padding: 1.5rem;
  }
}

/* Checkbox Styling */
input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  cursor: pointer;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: start;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.checkbox-label:hover {
  background: var(--theme-bg-secondary);
}

@media (min-width: 768px) {
  .checkbox-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Primary Color Helpers */
.primary-text {
  color: var(--theme-primary);
}

.primary-bg {
  background: var(--theme-primary);
}

/* Check Icon */
.check-icon {
  color: var(--theme-primary);
  flex-shrink: 0;
  margin-top: 2px;
}