:root{
  --bg: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
  --card-glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.06);
  --muted: #a0aec0;
  --accent: #007aff;
  --accent-hover: #0051d5;
  --accent-glow: rgba(0, 122, 255, 0.3);
  --surface: rgba(17, 25, 40, 0.75);
  --text: #f7fafc;
  --container: 1200px;
  --radius: 24px;
  --gap: 1.5rem;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Theme: Purple Dream */
body[data-theme="purple"] {
  --accent: #a855f7;
  --accent-hover: #7c3aed;
  --accent-glow: rgba(168, 85, 247, 0.3);
}

body[data-theme="purple"] {
  background: #0a0615;
  background-image: 
    radial-gradient(at 20% 10%, rgba(168, 85, 247, 0.15) 0, transparent 50%),
    radial-gradient(at 80% 90%, rgba(147, 51, 234, 0.15) 0, transparent 50%),
    radial-gradient(at 50% 50%, rgba(10, 6, 21, 1) 0, rgba(15, 10, 25, 1) 100%);
}

/* Theme: Nature Green */
body[data-theme="green"] {
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-glow: rgba(16, 185, 129, 0.3);
}

body[data-theme="green"] {
  background: #051a10;
  background-image: 
    radial-gradient(at 20% 10%, rgba(16, 185, 129, 0.15) 0, transparent 50%),
    radial-gradient(at 80% 90%, rgba(5, 150, 105, 0.15) 0, transparent 50%),
    radial-gradient(at 50% 50%, rgba(5, 26, 16, 1) 0, rgba(10, 20, 15, 1) 100%);
}

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

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  background: #0a0e27;
  background-image: 
    radial-gradient(at 20% 10%, rgba(0, 122, 255, 0.15) 0, transparent 50%),
    radial-gradient(at 80% 90%, rgba(88, 86, 214, 0.15) 0, transparent 50%),
    radial-gradient(at 50% 50%, rgba(10, 14, 39, 1) 0, rgba(15, 20, 25, 1) 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:1.5rem;
}

/* Header - Liquid Glass */
.site-header {
  background: rgba(17, 25, 40, 0.4);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.brand:hover {
  color: var(--accent);
}

/* Theme Switcher */
.theme-switcher {
  display: flex;
  gap: 0.5rem;
  padding: 0.375rem;
  background: var(--card-glass);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

.theme-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.25rem;
}

.theme-btn:hover {
  background: var(--glass-hover);
  transform: scale(1.1);
}

.theme-btn.active {
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav-toggle {
  background: none;
  border: 0;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  padding: 0.5rem;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
}

.primary-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.625rem 1rem;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.primary-nav a:hover, .primary-nav a:focus {
  color: var(--text);
  background: var(--glass-hover);
  transform: translateY(-1px);
}

.primary-nav a:active {
  transform: translateY(0);
}

/* Hero - Liquid Glass */
.hero {
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 900px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin: 0 0 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #a0aec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  color: var(--muted);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 400;
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-row .btn {
  margin: 0;
}

/* Utilities */
.section {
  padding: 5rem 0;
}

h2 {
  margin: 0 0 3rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Services */
.card {
  background: var(--card-glass);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Projects - Liquid Glass */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project {
  background: var(--card-glass);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project figcaption {
  padding: 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Contact Form - Liquid Glass */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

label {
  display: block;
  color: var(--muted);
}

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

input, textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--card-glass);
  backdrop-filter: blur(20px);
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

input::placeholder, textarea::placeholder {
  color: rgba(160, 174, 192, 0.5);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

#formStatus {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Buttons - iOS Style */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 
    0 4px 16px rgba(0, 122, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px rgba(0, 122, 255, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border-color: var(--glass-border);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Footer - Liquid Glass */
.site-footer {
  padding: 3rem 0 2rem;
  margin-top: 6rem;
  border-top: 1px solid var(--glass-border);
  background: var(--card-glass);
  backdrop-filter: blur(40px);
  text-align: center;
}

.site-footer p {
  margin: 0.5rem 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--card-glass);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Newsletter */
.newsletter-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: var(--card-glass);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
}

/* Responsive - iOS Style */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }
  
  .primary-nav {
    position: absolute;
    right: 1.5rem;
    top: 70px;
    background: var(--surface);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .primary-nav[data-open="true"] {
    display: block;
  }
  
  .primary-nav ul {
    flex-direction: column;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 4rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Accessibility helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Smooth Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card, .project, .testimonial-card {
  animation: fadeIn 0.6s ease-out backwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }
.card:nth-child(8) { animation-delay: 0.8s; }

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* Testimonials */
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.25rem}
.testimonial-card{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);padding:1.25rem;border-radius:var(--radius);border:1px solid rgba(255,255,255,0.03)}
.testimonial-card .rating{color:#ffc107;margin-bottom:0.5rem}
.testimonial-card .name{font-weight:600;margin-top:1rem}
.testimonial-card .position{color:var(--muted);font-size:0.9rem}

/* Newsletter */
.newsletter-box{background:linear-gradient(135deg, rgba(46,125,50,0.08), rgba(27,94,32,0.06));padding:2.5rem;border-radius:var(--radius);text-align:center;max-width:600px;margin:0 auto}
.newsletter-form{display:flex;gap:0.75rem;margin-top:1.5rem;flex-wrap:wrap;justify-content:center}
.newsletter-form input{flex:1;min-width:250px;padding:0.75rem;border-radius:8px;border:1px solid rgba(255,255,255,0.1);background:rgba(0,0,0,0.2);color:var(--text)}
#newsletterStatus{margin-top:1rem;color:var(--muted)}

/* Blog */
.blog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}
.blog-card{background:var(--card);border-radius:var(--radius);overflow:hidden;border:1px solid rgba(255,255,255,0.03);transition:transform 0.2s}
.blog-card:hover{transform:translateY(-4px)}
.blog-card img{width:100%;height:200px;object-fit:cover}
.blog-card-content{padding:1.25rem}
.blog-card h3{margin:0 0 0.5rem;font-size:1.125rem}
.blog-card .meta{color:var(--muted);font-size:0.9rem;margin-bottom:0.75rem}
.blog-card .excerpt{color:var(--muted);margin-bottom:1rem}
.blog-filters{display:flex;gap:0.75rem;flex-wrap:wrap}
.filter-btn{background:transparent;border:1px solid rgba(255,255,255,0.1);color:var(--muted);padding:0.5rem 1rem;border-radius:8px;cursor:pointer}
.filter-btn.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.pagination{display:flex;gap:0.5rem;justify-content:center;margin-top:2rem}
.pagination button{background:transparent;border:1px solid rgba(255,255,255,0.1);color:var(--text);padding:0.5rem 1rem;border-radius:8px;cursor:pointer}
.pagination button.active{background:var(--accent);border-color:var(--accent)}

/* FAQ */
.faq-list{max-width:800px;margin:0 auto}
.faq-item{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);border:1px solid rgba(255,255,255,0.03);border-radius:var(--radius);margin-bottom:1rem;overflow:hidden}
.faq-question{margin:0;padding:1.25rem;cursor:pointer;user-select:none;position:relative;padding-right:3rem}
.faq-question:hover{background:rgba(255,255,255,0.02)}
.faq-question::after{content:'▼';position:absolute;right:1.25rem;top:50%;transform:translateY(-50%) rotate(-90deg);transition:transform 0.3s}
.faq-item.active .faq-question::after{transform:translateY(-50%) rotate(0)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height 0.3s ease;padding:0 1.25rem}
.faq-item.active .faq-answer{max-height:500px;padding:0 1.25rem 1.25rem}

/* Modal */
.modal{display:none;position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,0.8)}
.modal.active{display:flex;align-items:center;justify-content:center}
.modal-content{background:var(--surface);padding:2rem;border-radius:var(--radius);max-width:500px;width:90%;max-height:90vh;overflow-y:auto}
.modal-close{float:right;font-size:1.5rem;font-weight:bold;cursor:pointer;color:var(--muted)}

/* Loading */
.loading{text-align:center;padding:2rem;color:var(--muted)}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--card-glass);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.product-desc {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  width: 100%;
}

/* Appointments Section */
.appointment-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
}

.appointment-info ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.appointment-info li {
  padding: 0.5rem 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.appointment-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.appointment-form select {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--card-glass);
  backdrop-filter: blur(20px);
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.appointment-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.appointment-form select option {
  background: #1a1f3a;
  color: var(--text);
  padding: 0.5rem;
}

/* Modal Enhancements */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--surface);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
  margin-bottom: 1.5rem;
  text-align: left;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.3s ease;
  background: var(--card-glass);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
  background: var(--glass-hover);
  transform: rotate(90deg);
}

/* Responsive Enhancements */
@media (max-width: 860px) {
  .theme-switcher {
    position: absolute;
    top: 70px;
    right: 1.5rem;
    background: var(--surface);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .appointment-container {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    padding: 1.5rem;
    width: 95%;
  }
}

/* Payment Section Styling */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.payment-option {
  background: var(--card-glass);
  border: 2px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option:hover {
  border-color: var(--accent);
  background: var(--glass-hover);
}

.payment-option.selected {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.payment-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Success/Error Messages */
.status-message {
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1rem;
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.status-message.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.status-message.error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.status-message.info {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
}

/* Theme: Space Gray */
body[data-theme="gray"] {
  --accent: #8e8e93;
  --accent-hover: #636366;
  --accent-glow: rgba(142, 142, 147, 0.3);
}

body[data-theme="gray"] {
  background: #1c1c1e;
  background-image: 
    radial-gradient(at 20% 10%, rgba(142, 142, 147, 0.15) 0, transparent 50%),
    radial-gradient(at 80% 90%, rgba(99, 99, 102, 0.15) 0, transparent 50%),
    radial-gradient(at 50% 50%, rgba(28, 28, 30, 1) 0, rgba(44, 44, 46, 1) 100%);
}

/* Enhanced Order Form Styles */
.modal-subtitle {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: -0.5rem 0 2rem;
  text-align: center;
}

.form-section {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  margin-bottom: 1.5rem;
}

.form-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.delivery-options {
  display: grid;
  gap: 1rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--card-glass);
  border: 2px solid var(--glass-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.radio-option:hover {
  background: var(--glass-hover);
  border-color: var(--accent);
}

.radio-option input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  cursor: pointer;
}

.radio-option input[type="radio"]:checked {
  + .radio-label {
    color: var(--accent);
  }
}

.radio-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.radio-label strong {
  font-size: 1rem;
  color: var(--text);
}

.radio-label small {
  font-size: 0.875rem;
  color: var(--muted);
}

.form-note {
  background: rgba(0, 122, 255, 0.1);
  border: 1px solid rgba(0, 122, 255, 0.3);
  padding: 0.875rem;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 1rem;
  text-align: center;
}

/* Larger Modal for Quote Form */
.modal-content.quote-modal {
  max-width: 800px;
  max-height: 85vh;
}

/* Select dropdown improvements */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0aec0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Number input improvements */
input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Quote generation loading animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.generating-quote {
  animation: pulse 1.5s ease-in-out infinite;
}
