/*!
Theme Name: CareSuite
Theme URI: https://caresuite.example.com
Description: AI-powered clinic and aesthetics management landing page theme
Version: 1.0.0
Author: CareSuite
Author URI: https://caresuite.example.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: caresuite
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* Clinical Minimalism Design - Emerald Accents */

:root {
  --primary: #10b981;
  --primary-light: #d1fae5;
  --secondary: #0ea5e9;
  --secondary-light: #cffafe;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius: 0.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--white);
  color: var(--slate-900);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--slate-900);
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.3s ease;
}

input, textarea {
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 1280px;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
}

.site-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-900);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.875rem;
  color: var(--slate-600);
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: var(--slate-900);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: calc(var(--radius) + 0.25rem);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #059669;
  box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}

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

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, var(--white), rgba(16, 185, 129, 0.1), var(--white));
  padding: 5rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--slate-900);
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--slate-600);
  margin-bottom: 2rem;
  max-width: 28rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: calc(var(--radius) + 0.5rem);
  background-color: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: calc(var(--radius) + 0.25rem);
  background-color: var(--slate-50);
  color: var(--slate-700);
}

.stat-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--slate-900);
  line-height: 1;
}

.stat-content p {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-top: 0.25rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.hero-glow {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.3);
  filter: blur(80px);
  pointer-events: none;
}

/* Kicker Badge */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 9999px;
  background-color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  color: var(--slate-900);
}

.section-title p {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.features {
  padding: 3.5rem 0;
}

.feature-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.feature-nav button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--slate-200);
  background-color: var(--white);
  color: var(--slate-700);
  transition: all 0.3s ease;
}

.feature-nav button:hover,
.feature-nav button.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.feature-search {
  max-width: 56rem;
  margin: 0 auto 2rem;
  position: relative;
}

.feature-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid var(--slate-200);
  border-radius: calc(var(--radius) + 0.5rem);
  font-size: 0.875rem;
  outline: none;
  transition: all 0.3s ease;
}

.feature-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.feature-search svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--slate-400);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: calc(var(--radius) + 0.5rem);
  background-color: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: calc(var(--radius) + 0.25rem);
  background-color: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
}

.feature-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-900);
}

.feature-card-tag {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}

.feature-card-bullets {
  list-style: none;
}

.feature-card-bullets li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 0.5rem;
}

.feature-card-bullets svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Workflow Section */
.workflow {
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  background-color: var(--white);
  padding: 3.5rem 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.workflow-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 1.875rem;
  background-color: var(--slate-50);
}

.workflow-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.workflow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: calc(var(--radius) + 0.5rem);
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--slate-200);
}

.workflow-card h3 {
  font-size: 1.125rem;
  color: var(--slate-900);
}

.workflow-card p {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.workflow-items {
  list-style: none;
}

.workflow-items li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--slate-600);
  margin-bottom: 0.5rem;
}

.workflow-items svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Pricing Section */
.pricing {
  padding: 3.5rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.pricing-card {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 1.875rem;
  background-color: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: rgba(16, 185, 129, 0.3);
  background-color: rgba(16, 185, 129, 0.05);
  box-shadow: 0 10px 15px rgba(16, 185, 129, 0.1);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.25rem 0.75rem;
  border-radius: 0 1.875rem 0 0.75rem;
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.pricing-card h3 {
  font-size: 1.125rem;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.pricing-card-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.pricing-price-amount {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--slate-900);
}

.pricing-price-period {
  font-size: 0.875rem;
  color: var(--slate-600);
}

.pricing-cta {
  width: 100%;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
}

.pricing-features li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 0.75rem;
}

.pricing-features svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* FAQ Section */
.faq {
  padding: 3.5rem 0;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  padding: 1rem 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-900);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.3s ease;
}

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

.faq-toggle {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--slate-600);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 0;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  margin-top: 1rem;
}

.faq-answer p {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* CTA Section */
.cta {
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.05), rgba(14, 165, 233, 0.05));
  padding: 4rem 0;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 1rem;
  color: var(--slate-900);
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--slate-600);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  background-color: var(--white);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section a {
  font-size: 0.875rem;
  color: var(--slate-600);
}

.footer-section a:hover {
  color: var(--slate-900);
}

.footer-bottom {
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--slate-600);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgba(15, 23, 42, 0.5);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.open {
  display: flex;
}

.modal-content {
  width: 100%;
  max-width: 42rem;
  background-color: var(--white);
  border-radius: 1.875rem;
  border: 1px solid var(--slate-200);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-200);
  padding: 1.5rem;
}

.modal-header h3 {
  font-size: 0.875rem;
  color: var(--slate-900);
}

.modal-header p {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: transparent;
  color: var(--slate-600);
  font-size: 1.5rem;
  transition: background-color 0.3s ease;
}

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

.modal-body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .modal-body {
    grid-template-columns: 1fr;
  }
}

.modal-info {
  background-color: var(--primary-light);
  padding: 1rem;
  border-radius: calc(var(--radius) + 0.5rem);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.modal-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #047857;
}

.modal-info ul {
  list-style: none;
  margin-top: 0.5rem;
}

.modal-info li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #065f46;
  margin-bottom: 0.5rem;
}

.modal-info svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.25rem;
}

.form-group input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--slate-200);
  border-radius: calc(var(--radius) + 0.25rem);
  font-size: 0.875rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.modal-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.modal-form .form-note {
  font-size: 0.6875rem;
  color: var(--slate-500);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }

  .site-header-inner {
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 2rem 0;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

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

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

  .pricing-card.featured {
    transform: scale(1);
  }
}
