
:root {
  /* Colors */
  --primary: #8b5cf6;
  --primary-dark: #7c3aed;
  --primary-light: #f3e8ff;
  --accent: #a78bfa;
  --accent-light: #ddd6fe;
  --background: #f8fafc;
  --surface: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  --gradient-accent: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  --gradient-hero: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  --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 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* App Header */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 2rem;
}

.logo-text h1 {
  font-size: 1.3rem;
  color: var(--primary);
  margin: 0;
}

.tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--gradient-accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.download-btn i {
  font-size: 0.9rem;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

/* Navigation Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: white;
  z-index: 2000;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.nav-drawer.active {
  right: 0;
}

.drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.close-drawer {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.close-drawer:hover {
  background: var(--primary);
  color: white;
}

.drawer-content {
  flex: 1;
  padding: 20px 0;
  overflow-y: auto;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  border-right: 3px solid transparent;
}

.drawer-link:hover,
.drawer-link.active {
  background: var(--primary-light);
  color: var(--primary);
  border-right-color: var(--primary);
}

.drawer-link i {
  width: 20px;
  font-size: 1.1rem;
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
}

.call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

.call-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-height: 50px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

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

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

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

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

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

.btn-block {
  width: 100%;
}

/* Quick Actions */
.quick-actions {
  padding: 30px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 10px;
  background: var(--background);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.action-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.action-icon.call {
  background: #fee2e2;
  color: #ef4444;
}

.action-icon.appointment {
  background: #ede9fe;
  color: #8b5cf6;
}

.action-icon.doctors {
  background: #f3e8ff;
  color: #8b5cf6;
}

.action-icon.about {
  background: #f3e8ff;
  color: #7c3aed;
}

/* Download QR Section */
.download-qr {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.05) 0%, rgba(255,255,255,0) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.qr-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.qr-info {
  flex: 1;
  min-width: 300px;
}

.qr-info .section-badge {
  margin-bottom: 16px;
}

.qr-info h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.qr-info p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.qr-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.qr-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--text-secondary);
  background: var(--surface);
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.qr-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.qr-feature i {
  color: var(--primary);
  font-size: 1.2rem;
}

.qr-code-container {
  flex: 0 0 auto;
  text-align: center;
}

.qr-code {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
  background: white;
  padding: 10px;
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 60px 20px;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -50px;
  left: -50px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 24px;
  color: var(--text-primary);
}

.highlight {
  color: var(--primary);
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(139, 92, 246, 0.2);
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

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

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

.image-placeholder {
  width: 350px;
  height: 350px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
}

.image-placeholder svg {
  width: 70%;
  height: 70%;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* About Section */
.about {
  background: var(--surface);
}

.about-card-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--background);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow-md);
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 4px;
}

.info-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.info-item p {
  color: var(--text-secondary);
  margin: 0;
}

.about-description h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--primary);
}

.about-description ul {
  list-style: none;
}

.about-description li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.about-description li i {
  color: var(--accent);
  font-size: 1.2rem;
}

/* Doctors Section */
.doctors {
  background: var(--background);
}

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

.doctor-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.doctor-image {
  height: 200px;
  overflow: hidden;
}

.doctor-avatar {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.doctor-info {
  padding: 24px;
}

.doctor-info h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.specialty {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}

.doctor-schedule {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--background);
  border-radius: var(--radius-md);
}

.doctor-schedule h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.doctor-schedule p {
  font-size: 0.9rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.doctor-schedule p i {
  width: 16px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Services Section */
.services {
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 30px;
  background: var(--background);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
}

/* Tips Section */
.tips {
  background: var(--background);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.tip-card {
  background: var(--surface);
  padding: 30px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-align: center;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tip-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.tip-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.tip-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Appointment Section */
.appointment {
  background: var(--surface);
}

.appointment-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.appointment-info {
  padding: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  color: white;
  position: relative;
  overflow: hidden;
}

.appointment-info::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.appointment-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
}

.appointment-info p {
  margin-bottom: 30px;
  opacity: 0.9;
  position: relative;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.contact-item p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.emergency-notice {
  margin-top: 30px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.emergency-notice i {
  color: #fbbf24;
}

.appointment-form-container {
  background: var(--background);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.appointment-form {
  display: grid;
  gap: 20px;
}

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

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.form-group label i {
  color: var(--primary);
  width: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.form-notice i {
  color: var(--accent);
}

/* Testimonials */
.testimonials {
  background: var(--background);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--surface);
  padding: 30px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  margin-bottom: 20px;
}

.stars {
  color: #fbbf24;
  margin-bottom: 12px;
}

.stars i {
  margin-left: 2px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.author-info strong {
  display: block;
  margin-bottom: 4px;
}

.author-info span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  background: var(--surface);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
  transition: color 0.3s ease;
}

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

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* CTA Section */
.cta {
  background: var(--gradient-primary);
  padding: 80px 0;
}

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

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 16px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

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

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-list li i {
  color: var(--primary);
  width: 16px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  color: white;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.install-prompt {
  margin-top: 10px;
}

.install-prompt a {
  color: var(--primary);
  text-decoration: underline;
}

/* Floating Action Button */
.fab-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 900;
}

.fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(139, 92, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: var(--radius-xl);
  text-align: center;
  max-width: 400px;
  width: 100%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--primary);
  color: white;
}

.modal-icon {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.modal-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Download Modal Specific */
.download-modal {
  max-width: 500px;
  text-align: right;
}

.download-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0;
}

.download-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--background);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  color: inherit;
}

.download-option:hover {
  border-color: var(--primary);
  transform: translateX(-5px);
  box-shadow: var(--shadow-md);
}

.option-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.option-icon.android {
  background: #3ddc84;
}

.option-icon.ios {
  background: #000;
}

.option-icon.pwa {
  background: var(--gradient-accent);
}

.option-text strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.option-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.download-instructions {
  background: var(--primary-light);
  padding: 20px;
  border-radius: var(--radius-lg);
  text-align: right;
}

.download-instructions h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--primary);
}

.download-instructions ol {
  padding-right: 20px;
  margin: 0;
}

.download-instructions li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 60px;
  }

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

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

  .hero-image {
    display: none;
  }

  .appointment-wrapper {
    grid-template-columns: 1fr;
  }

  .about-card-main {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .header-actions {
    gap: 8px;
  }
  
  .download-btn span {
    display: none;
  }
  
  .download-btn {
    padding: 10px;
    border-radius: 50%;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .qr-wrapper {
    flex-direction: column;
    text-align: center;
  }

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

  .qr-code {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    min-height: 48px;
  }

  .appointment-info,
  .appointment-form-container {
    padding: 24px;
  }

  .image-placeholder {
    width: 280px;
    height: 280px;
  }

  .fab {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }
}

/* Print Styles */
@media print {
  .app-header,
  .nav-drawer,
  .fab-container,
  .quick-actions,
  .download-qr,
  .cta,
  .download-btn {
    display: none;
  }
  
  body {
    padding-top: 0;
  }
}
