/* ============================================
   AVIECLEAN - Plain CSS Stylesheet
   Replacing Tailwind with custom CSS
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #16928c;
  --primary-dark: #127a75;
  --primary-light: #e6f7f6;
  --primary-faint: #f0faf9;
  --bg: #ffffff;
  --bg-alt: #f4faf8;
  --bg-dark: #1a2634;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --white: #ffffff;
  --green-wa: #22c55e;
  --green-wa-hover: #16a34a;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;
  --amber-text: #92400e;
  --blue-bg: #eff6ff;
  --blue-border: #bfdbfe;
  --blue-text: #1e40af;
  --radius: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

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

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

main {
  flex: 1;
  padding-top: 4rem;
}

@media (min-width: 1024px) {
  main {
    padding-top: 5rem;
  }
}

/* --- Typography --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-sm { font-size: 0.875rem; line-height: 1.5; }
.text-base { font-size: 1rem; line-height: 1.5; }
.text-lg { font-size: 1.125rem; line-height: 1.75; }
.text-xl { font-size: 1.25rem; line-height: 1.75; }
.text-2xl { font-size: 1.5rem; line-height: 2; }
.text-3xl { font-size: 1.875rem; line-height: 2.25; }
.text-4xl { font-size: 2.25rem; line-height: 2.5; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.tracking-tight { letter-spacing: -0.025em; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.text-primary { color: var(--primary); }
.text-dark { color: var(--text); }
.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
.text-white { color: var(--white); }
.text-white-80 { color: rgba(255,255,255,0.8); }

/* --- Spacing --- */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

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

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }

.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-24 { padding-bottom: 6rem; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* --- Flex / Grid --- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-5xl { font-size: 3rem; }
  .sm\:block { display: block; }
  .sm\:hidden { display: none; }
  .sm\:p-8 { padding: 2rem; }
}

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:pt-8 { padding-top: 2rem; }
  .md\:pb-12 { padding-bottom: 3rem; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:pt-28 { padding-top: 7rem; }
  .lg\:pb-24 { padding-bottom: 6rem; }
  .lg\:pt-16 { padding-top: 4rem; }
  .lg\:pb-12 { padding-bottom: 3rem; }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .lg\:h-20 { height: 5rem; }
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:text-xl { font-size: 1.25rem; }
  .lg\:items-center { align-items: center; }
}

/* --- Width / Max Width --- */
.w-full { width: 100%; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-64 { width: 16rem; }
.w-72 { width: 18rem; }
.w-96 { width: 24rem; }
.w-\[60\%\] { width: 60%; }

.h-full { height: 100%; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.h-96 { height: 24rem; }

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-xl { max-width: 36rem; }

/* --- Components: Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.btn-outline:hover {
  background: var(--border-light);
}

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

.btn-white:hover {
  background: rgba(255,255,255,0.9);
}

.btn-white-outline {
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
}

.btn-white-outline:hover {
  background: rgba(255,255,255,0.1);
}

.btn-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--green-wa);
  color: var(--white);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}

.btn-wa:hover {
  transform: scale(1.1);
  background: var(--green-wa-hover);
}

.btn-wa svg {
  width: 1.75rem;
  height: 1.75rem;
}

/* --- Components: Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card-content {
  padding: 1.5rem;
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.card-header-alt {
  background: var(--primary-faint);
}

.card-dark {
  background: var(--bg-dark);
  color: var(--white);
  border: none;
}

/* --- Components: Badge / Pill --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-primary {
  background: rgba(22, 146, 140, 0.1);
  color: var(--primary);
}

.badge-white {
  background: var(--white);
  border: 1px solid var(--border);
}

/* --- Components: Inputs --- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 146, 140, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 5rem;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

/* --- Components: Alert Boxes --- */
.alert {
  padding: 0.875rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.alert-amber {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber-text);
}

.alert-blue {
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  color: var(--blue-text);
}

.alert-green {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

/* --- Components: Accordion --- */
.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  transition: color var(--transition);
}

.accordion-trigger:hover {
  color: var(--primary);
}

.accordion-trigger::after {
  content: '';
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.accordion-trigger.active::after {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.open {
  max-height: 500px;
  padding-bottom: 1rem;
}

.accordion-content p {
  color: var(--text-muted);
  line-height: 1.625;
}

/* --- Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 1024px) {
  .header-inner {
    height: 5rem;
  }
}

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

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform var(--transition);
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

.logo-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: var(--border-light);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-faint);
}

.nav-actions {
  display: none;
}

@media (min-width: 1024px) {
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}

.mobile-toggle {
  padding: 0.5rem;
  border-radius: var(--radius);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle:hover {
  background: var(--border-light);
}

.mobile-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-links {
  padding: 0.75rem 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.mobile-nav-link:hover {
  color: var(--text);
  background: var(--border-light);
}

.mobile-nav-link.active {
  color: var(--primary);
  background: var(--primary-faint);
}

.mobile-actions {
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.625;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-light);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #5eead4;
}

.footer-contact li {
  display: flex;
  align-items: start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-contact svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: #5eead4;
}

.footer-contact a:hover {
  color: #5eead4;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* --- Icons (inline SVG styled) --- */
.icon {
  display: inline-block;
  flex-shrink: 0;
}

.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }
.icon-2xl { width: 2.5rem; height: 2.5rem; }

.icon-primary { color: var(--primary); }
.icon-teal { color: #5eead4; }
.icon-amber { color: #f59e0b; }
.icon-green { color: #16a34a; }
.icon-muted { color: var(--text-muted); }

/* --- Hero Backgrounds --- */
.bg-gradient-hero {
  background: linear-gradient(135deg, var(--primary-faint) 0%, var(--white) 50%, var(--primary-light) 100%);
}

.bg-gradient-teal {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.bg-alt {
  background: var(--bg-alt);
}

.bg-white {
  background: var(--white);
}

/* --- Decorative --- */
.rounded-xl { border-radius: var(--radius-lg); }
.rounded-2xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: var(--radius); }

.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }

/* --- Aspect ratio helper --- */
.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

/* --- Positioning --- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.bottom-0 { bottom: 0; }
.right-0 { right: 0; }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.pointer-events-none { pointer-events: none; }
.overflow-hidden { overflow: hidden; }

/* --- Utility --- */
.block { display: block; }
.hidden { display: none; }

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes float-up {
  0% { transform: translateY(100%) translateX(0) scale(0.8); opacity: 0; }
  10% { opacity: 0.6; }
  50% { transform: translateY(40%) translateX(15px) scale(1); opacity: 0.4; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-20%) translateX(-10px) scale(0.6); opacity: 0; }
}

@keyframes float-up-slow {
  0% { transform: translateY(100%) translateX(0) scale(0.6); opacity: 0; }
  15% { opacity: 0.5; }
  50% { transform: translateY(30%) translateX(-20px) scale(1); opacity: 0.3; }
  85% { opacity: 0.1; }
  100% { transform: translateY(-10%) translateX(10px) scale(0.5); opacity: 0; }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

@keyframes shine-sweep {
  0% { transform: translateX(-150%) skewX(-25deg); opacity: 0; }
  30% { opacity: 0.15; }
  60% { opacity: 0.1; }
  100% { transform: translateX(250%) skewX(-25deg); opacity: 0; }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(3deg); }
  66% { transform: translateY(4px) rotate(-2deg); }
}

@keyframes drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(20px); }
}

@keyframes pop-in {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes ripple {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes blur-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.5; }
}

.animate-float-up {
  animation: float-up linear infinite;
}

.animate-float-up-slow {
  animation: float-up-slow linear infinite;
}

.animate-sparkle {
  animation: sparkle ease-in-out infinite;
}

.animate-shine-sweep {
  animation: shine-sweep 5s ease-in-out infinite;
}

.animate-float-gentle {
  animation: float-gentle ease-in-out infinite;
}

.animate-drift {
  animation: drift ease-in-out infinite;
}

.animate-pop-in {
  animation: pop-in 0.6s ease-out forwards;
}

.animate-ripple {
  animation: ripple 2s ease-out infinite;
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

.animate-blur-pulse {
  animation: blur-pulse 8s ease-in-out infinite;
}

/* ============================================
   ENHANCED CLEANING ANIMATIONS
   ============================================ */

/* --- More bubble animations --- */
@keyframes bubble-rise {
  0% { transform: translateY(100%) translateX(0) scale(0.5); opacity: 0; }
  5% { opacity: 0.7; }
  25% { transform: translateY(60%) translateX(8px) scale(1); opacity: 0.5; }
  50% { transform: translateY(30%) translateX(-5px) scale(1.1); opacity: 0.4; }
  75% { transform: translateY(5%) translateX(10px) scale(0.9); opacity: 0.2; }
  100% { transform: translateY(-15%) translateX(-3px) scale(0.4); opacity: 0; }
}

@keyframes bubble-rise-tiny {
  0% { transform: translateY(100%) translateX(0); opacity: 0; }
  10% { opacity: 0.4; }
  40% { transform: translateY(50%) translateX(-12px); opacity: 0.3; }
  70% { transform: translateY(15%) translateX(8px); opacity: 0.15; }
  100% { transform: translateY(-10%) translateX(0); opacity: 0; }
}

@keyframes bubble-wobble {
  0%, 100% { transform: translateX(0) scale(1); }
  25% { transform: translateX(5px) scale(1.05); }
  50% { transform: translateX(-5px) scale(0.95); }
  75% { transform: translateX(3px) scale(1.02); }
}

/* --- Droplet animation --- */
@keyframes droplet-fall {
  0% { transform: translateY(-20px) scale(0.8); opacity: 0; }
  20% { opacity: 0.6; }
  60% { transform: translateY(60px) scale(1); opacity: 0.4; }
  80% { transform: translateY(90px) scale(0.9); opacity: 0.2; }
  100% { transform: translateY(120px) scale(0.6); opacity: 0; }
}

@keyframes droplet-splash {
  0% { transform: scale(0); opacity: 0.8; }
  50% { transform: scale(1.5); opacity: 0.4; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* --- Clean swipe / wipe animation --- */
@keyframes clean-swipe {
  0% { transform: translateX(-100%); opacity: 0; }
  30% { opacity: 0.3; }
  50% { opacity: 0.2; }
  100% { transform: translateX(100%); opacity: 0; }
}

@keyframes wipe-reveal {
  0% { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

/* --- Scrub animation --- */
@keyframes scrub-motion {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  25% { transform: translateX(10px) rotate(-5deg); }
  50% { transform: translateX(0) rotate(0deg); }
  75% { transform: translateX(-10px) rotate(5deg); }
}

/* --- Spray / mist animation --- */
@keyframes spray-particles {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  20% { opacity: 0.6; }
  60% { transform: translate(15px, -30px) scale(0.6); opacity: 0.3; }
  100% { transform: translate(25px, -50px) scale(0.2); opacity: 0; }
}

/* --- Glow pulse for CTAs --- */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 146, 140, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(22, 146, 140, 0); }
}

/* ============================================
   BUBBLE POP-IN / POP-OUT ANIMATIONS
   Bubbles appear, float, then pop at intervals
   ============================================ */

/* Pop-in: bubble appears and grows */
@keyframes bubble-pop-in {
  0%   { transform: scale(0); opacity: 0; }
  15%  { transform: scale(1.15); opacity: 0.85; }
  30%  { transform: scale(0.95); opacity: 0.75; }
  45%  { transform: scale(1.05); opacity: 0.8; }
  60%  { transform: scale(1); opacity: 0.75; }
  85%  { transform: scale(1); opacity: 0.6; }
  92%  { transform: scale(1.3); opacity: 0.3; }
  100% { transform: scale(0); opacity: 0; }
}

/* Pop ripple: ring expands when bubble pops */
@keyframes pop-ripple {
  0%   { transform: scale(0.5); opacity: 0.5; border-width: 3px; }
  50%  { transform: scale(1.8); opacity: 0.2; border-width: 1px; }
  100% { transform: scale(3); opacity: 0; border-width: 0; }
}

/* Tiny droplets that spray out when a bubble pops */
@keyframes pop-spray {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.7; }
  40%  { opacity: 0.5; }
  100% { transform: translate(var(--spray-x, 20px), var(--spray-y, -20px)) scale(0); opacity: 0; }
}

/* Container for popping bubbles */
.pop-bubbles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Individual pop bubble */
.pop-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.9) 0%, rgba(200,237,230,0.5) 30%, rgba(167,227,223,0.3) 60%, rgba(22,146,140,0.15) 100%);
  border: 1.5px solid rgba(22, 146, 140, 0.3);
  box-shadow: inset -3px -3px 6px rgba(22, 146, 140, 0.1), 0 0 8px rgba(167, 227, 223, 0.2);
  animation: bubble-pop-in linear infinite;
  opacity: 0;
}

/* Highlight reflection on bubble */
.pop-bubble::before {
  content: '';
  position: absolute;
  top: 18%;
  left: 22%;
  width: 28%;
  height: 16%;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  transform: rotate(-35deg);
}

/* Secondary small highlight */
.pop-bubble::after {
  content: '';
  position: absolute;
  bottom: 22%;
  right: 25%;
  width: 12%;
  height: 8%;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: rotate(-35deg);
}

/* Pop ripple ring that appears when bubble pops */
.pop-ripple-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(22, 146, 140, 0.4);
  animation: pop-ripple linear infinite;
  opacity: 0;
  pointer-events: none;
}

/* Tiny droplets that fly out on pop */
.pop-droplet {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(22, 146, 140, 0.5);
  animation: pop-spray linear infinite;
  opacity: 0;
  pointer-events: none;
}

/* --- Pop bubble positions & timings scattered all over the hero --- */
/* Each bubble has a unique position, size, duration, and delay */

/* Row 1: top area */
.pop-b-1  { width: 22px; height: 22px; top: 8%;  left: 5%;   animation-duration: 4.2s; animation-delay: 0.0s; }
.pop-b-2  { width: 14px; height: 14px; top: 5%;  left: 18%;  animation-duration: 3.5s; animation-delay: 0.7s; }
.pop-b-3  { width: 28px; height: 28px; top: 12%; left: 30%;  animation-duration: 5.1s; animation-delay: 1.3s; }
.pop-b-4  { width: 18px; height: 18px; top: 6%;  left: 45%;  animation-duration: 3.8s; animation-delay: 2.1s; }
.pop-b-5  { width: 12px; height: 12px; top: 15%; left: 55%;  animation-duration: 2.9s; animation-delay: 0.4s; }
.pop-b-6  { width: 24px; height: 24px; top: 4%;  left: 68%;  animation-duration: 4.6s; animation-delay: 1.8s; }
.pop-b-7  { width: 16px; height: 16px; top: 10%; left: 78%;  animation-duration: 3.3s; animation-delay: 2.9s; }
.pop-b-8  { width: 20px; height: 20px; top: 7%;  left: 88%;  animation-duration: 4.0s; animation-delay: 0.9s; }
.pop-b-9  { width: 10px; height: 10px; top: 18%; left: 92%;  animation-duration: 2.5s; animation-delay: 3.3s; }
.pop-b-10 { width: 26px; height: 26px; top: 3%;  left: 38%;  animation-duration: 5.3s; animation-delay: 1.1s; }

/* Row 2: upper-mid area */
.pop-b-11 { width: 20px; height: 20px; top: 22%; left: 2%;   animation-duration: 3.7s; animation-delay: 0.3s; }
.pop-b-12 { width: 14px; height: 14px; top: 28%; left: 12%;  animation-duration: 2.8s; animation-delay: 1.5s; }
.pop-b-13 { width: 30px; height: 30px; top: 25%; left: 25%;  animation-duration: 5.5s; animation-delay: 2.7s; }
.pop-b-14 { width: 16px; height: 16px; top: 30%; left: 48%;  animation-duration: 3.2s; animation-delay: 0.6s; }
.pop-b-15 { width: 22px; height: 22px; top: 20%; left: 58%;  animation-duration: 4.4s; animation-delay: 1.9s; }
.pop-b-16 { width: 12px; height: 12px; top: 32%; left: 70%;  animation-duration: 2.6s; animation-delay: 3.5s; }
.pop-b-17 { width: 24px; height: 24px; top: 26%; left: 82%;  animation-duration: 4.8s; animation-delay: 0.8s; }
.pop-b-18 { width: 18px; height: 18px; top: 35%; left: 90%;  animation-duration: 3.4s; animation-delay: 2.2s; }
.pop-b-19 { width: 10px; height: 10px; top: 18%; left: 42%;  animation-duration: 2.3s; animation-delay: 4.0s; }
.pop-b-20 { width: 28px; height: 28px; top: 33%; left: 35%;  animation-duration: 5.0s; animation-delay: 1.6s; }

/* Row 3: mid area */
.pop-b-21 { width: 16px; height: 16px; top: 40%; left: 6%;   animation-duration: 3.1s; animation-delay: 0.5s; }
.pop-b-22 { width: 24px; height: 24px; top: 45%; left: 15%;  animation-duration: 4.3s; animation-delay: 2.4s; }
.pop-b-23 { width: 12px; height: 12px; top: 38%; left: 28%;  animation-duration: 2.7s; animation-delay: 3.8s; }
.pop-b-24 { width: 20px; height: 20px; top: 48%; left: 52%;  animation-duration: 3.9s; animation-delay: 0.2s; }
.pop-b-25 { width: 14px; height: 14px; top: 42%; left: 62%;  animation-duration: 2.9s; animation-delay: 1.2s; }
.pop-b-26 { width: 26px; height: 26px; top: 50%; left: 75%;  animation-duration: 5.2s; animation-delay: 2.8s; }
.pop-b-27 { width: 18px; height: 18px; top: 36%; left: 85%;  animation-duration: 3.6s; animation-delay: 4.2s; }
.pop-b-28 { width: 10px; height: 10px; top: 46%; left: 95%;  animation-duration: 2.4s; animation-delay: 0.1s; }
.pop-b-29 { width: 22px; height: 22px; top: 44%; left: 40%;  animation-duration: 4.1s; animation-delay: 3.0s; }
.pop-b-30 { width: 16px; height: 16px; top: 52%; left: 20%;  animation-duration: 3.0s; animation-delay: 1.4s; }

/* Row 4: lower-mid area */
.pop-b-31 { width: 20px; height: 20px; top: 58%; left: 3%;   animation-duration: 3.8s; animation-delay: 0.6s; }
.pop-b-32 { width: 14px; height: 14px; top: 55%; left: 22%;  animation-duration: 2.6s; animation-delay: 2.0s; }
.pop-b-33 { width: 24px; height: 24px; top: 62%; left: 45%;  animation-duration: 4.5s; animation-delay: 3.2s; }
.pop-b-34 { width: 18px; height: 18px; top: 56%; left: 60%;  animation-duration: 3.3s; animation-delay: 0.4s; }
.pop-b-35 { width: 12px; height: 12px; top: 65%; left: 72%;  animation-duration: 2.5s; animation-delay: 1.8s; }
.pop-b-36 { width: 22px; height: 22px; top: 60%; left: 85%;  animation-duration: 4.0s; animation-delay: 2.6s; }
.pop-b-37 { width: 16px; height: 16px; top: 68%; left: 32%;  animation-duration: 3.1s; animation-delay: 4.4s; }
.pop-b-38 { width: 28px; height: 28px; top: 54%; left: 50%;  animation-duration: 5.4s; animation-delay: 0.9s; }
.pop-b-39 { width: 10px; height: 10px; top: 70%; left: 12%;  animation-duration: 2.2s; animation-delay: 3.6s; }
.pop-b-40 { width: 20px; height: 20px; top: 66%; left: 92%;  animation-duration: 3.7s; animation-delay: 1.0s; }

/* Row 5: bottom area */
.pop-b-41 { width: 14px; height: 14px; top: 75%; left: 8%;   animation-duration: 2.8s; animation-delay: 0.3s; }
.pop-b-42 { width: 26px; height: 26px; top: 80%; left: 25%;  animation-duration: 4.7s; animation-delay: 1.7s; }
.pop-b-43 { width: 18px; height: 18px; top: 72%; left: 48%;  animation-duration: 3.5s; animation-delay: 2.5s; }
.pop-b-44 { width: 12px; height: 12px; top: 78%; left: 65%;  animation-duration: 2.4s; animation-delay: 3.9s; }
.pop-b-45 { width: 22px; height: 22px; top: 85%; left: 80%;  animation-duration: 4.2s; animation-delay: 0.7s; }
.pop-b-46 { width: 16px; height: 16px; top: 82%; left: 40%;  animation-duration: 3.2s; animation-delay: 4.6s; }
.pop-b-47 { width: 10px; height: 10px; top: 88%; left: 55%;  animation-duration: 2.1s; animation-delay: 1.3s; }
.pop-b-48 { width: 24px; height: 24px; top: 90%; left: 15%;  animation-duration: 4.9s; animation-delay: 2.1s; }
.pop-b-49 { width: 14px; height: 14px; top: 86%; left: 90%;  animation-duration: 2.7s; animation-delay: 3.1s; }
.pop-b-50 { width: 20px; height: 20px; top: 92%; left: 70%;  animation-duration: 3.8s; animation-delay: 0.5s; }

/* Additional scattered bubbles for more density */
.pop-b-51 { width: 18px; height: 18px; top: 15%; left: 62%;  animation-duration: 3.9s; animation-delay: 4.8s; }
.pop-b-52 { width: 12px; height: 12px; top: 50%; left: 8%;   animation-duration: 2.3s; animation-delay: 0.8s; }
.pop-b-53 { width: 26px; height: 26px; top: 70%; left: 58%;  animation-duration: 5.1s; animation-delay: 2.3s; }
.pop-b-54 { width: 14px; height: 14px; top: 35%; left: 65%;  animation-duration: 2.8s; animation-delay: 3.7s; }
.pop-b-55 { width: 22px; height: 22px; top: 78%; left: 35%;  animation-duration: 4.0s; animation-delay: 1.1s; }

/* --- Card shine hover effect --- */
@keyframes card-shine {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(200%) rotate(25deg); }
}

/* --- Checkmark draw animation --- */
@keyframes check-draw {
  0% { stroke-dashoffset: 24; }
  100% { stroke-dashoffset: 0; }
}

/* --- Rotating sparkle --- */
@keyframes sparkle-spin {
  0% { transform: scale(0) rotate(0deg); opacity: 0; }
  25% { transform: scale(1.2) rotate(90deg); opacity: 1; }
  50% { transform: scale(0.8) rotate(180deg); opacity: 0.6; }
  75% { transform: scale(1) rotate(270deg); opacity: 1; }
  100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

/* --- Bouncing dots --- */
@keyframes bounce-dot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- Section bubble decorations --- */
.section-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(22, 146, 140, 0.2);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6), rgba(167,227,223,0.2));
}

.bubble::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 25%;
  width: 25%;
  height: 15%;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  transform: rotate(-45deg);
}

/* Droplet shape */
.droplet {
  position: absolute;
  width: 8px;
  height: 12px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: linear-gradient(180deg, rgba(22,146,140,0.3), rgba(22,146,140,0.1));
  pointer-events: none;
}

.droplet::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 30%;
  width: 30%;
  height: 20%;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
}

/* Spray particle */
.spray-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(22, 146, 140, 0.4);
  pointer-events: none;
}

/* Animated bubble sizes and positions for hero */
.hero-bubble-1 { width: 24px; height: 24px; bottom: -10px; left: 8%; animation: bubble-rise 7s linear infinite; }
.hero-bubble-2 { width: 16px; height: 16px; bottom: -10px; left: 18%; animation: bubble-rise-tiny 9s linear infinite 1.5s; }
.hero-bubble-3 { width: 32px; height: 32px; bottom: -10px; left: 28%; animation: bubble-rise 8s linear infinite 2.5s; }
.hero-bubble-4 { width: 20px; height: 20px; bottom: -10px; left: 38%; animation: bubble-rise-tiny 10s linear infinite 0.8s; }
.hero-bubble-5 { width: 28px; height: 28px; bottom: -10px; left: 48%; animation: bubble-rise 6.5s linear infinite 3.2s; }
.hero-bubble-6 { width: 14px; height: 14px; bottom: -10px; left: 58%; animation: bubble-rise-tiny 11s linear infinite 4s; }
.hero-bubble-7 { width: 22px; height: 22px; bottom: -10px; left: 68%; animation: bubble-rise 7.5s linear infinite 1.2s; }
.hero-bubble-8 { width: 18px; height: 18px; bottom: -10px; left: 78%; animation: bubble-rise-tiny 8.5s linear infinite 2.8s; }
.hero-bubble-9 { width: 26px; height: 26px; bottom: -10px; left: 88%; animation: bubble-rise 9s linear infinite 5s; }
.hero-bubble-10 { width: 12px; height: 12px; bottom: -10px; left: 95%; animation: bubble-rise-tiny 7s linear infinite 3.8s; }
.hero-bubble-11 { width: 20px; height: 20px; bottom: -10px; left: 5%; animation: bubble-rise 8.5s linear infinite 6s; }
.hero-bubble-12 { width: 16px; height: 16px; bottom: -10px; left: 15%; animation: bubble-rise-tiny 10s linear infinite 4.5s; }
.hero-bubble-13 { width: 30px; height: 30px; bottom: -10px; left: 35%; animation: bubble-rise 7s linear infinite 2s; }
.hero-bubble-14 { width: 10px; height: 10px; bottom: -10px; left: 55%; animation: bubble-rise-tiny 9s linear infinite 5.5s; }
.hero-bubble-15 { width: 24px; height: 24px; bottom: -10px; left: 75%; animation: bubble-rise 8s linear infinite 1s; }

/* Hero droplets */
.hero-droplet-1 { top: 20%; left: 10%; animation: droplet-fall 4s ease-in infinite; }
.hero-droplet-2 { top: 35%; left: 85%; animation: droplet-fall 5s ease-in infinite 1.5s; }
.hero-droplet-3 { top: 15%; left: 50%; animation: droplet-fall 4.5s ease-in infinite 3s; }

/* Section-specific bubbles */
.section-bubble-sml { width: 16px; height: 16px; animation: bubble-rise-tiny 12s linear infinite; }
.section-bubble-med { width: 24px; height: 24px; animation: bubble-rise 10s linear infinite; }
.section-bubble-lrg { width: 36px; height: 36px; animation: bubble-rise 14s linear infinite; }

/* CTA section bubbles */
.cta-bubble-1 { bottom: -20px; left: 10%; animation: bubble-rise 8s linear infinite; }
.cta-bubble-2 { bottom: -20px; left: 30%; animation: bubble-rise-tiny 10s linear infinite 2s; }
.cta-bubble-3 { bottom: -20px; left: 50%; animation: bubble-rise 9s linear infinite 4s; }
.cta-bubble-4 { bottom: -20px; left: 70%; animation: bubble-rise-tiny 11s linear infinite 1s; }
.cta-bubble-5 { bottom: -20px; left: 85%; animation: bubble-rise 7s linear infinite 3s; }

/* Glow button */
.btn-glow {
  animation: glow-pulse 2.5s ease-in-out infinite;
}

/* Card shine on hover */
.card-shine {
  position: relative;
  overflow: hidden;
}

.card-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%) rotate(25deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.card-shine:hover::before {
  opacity: 1;
  animation: card-shine 0.8s ease forwards;
}

/* Scrub animated icon */
.scrub-animate {
  animation: scrub-motion 3s ease-in-out infinite;
}

/* Sparkle spin variant */
.sparkle-spin {
  animation: sparkle-spin 2s ease-in-out infinite;
}

/* Bouncing dots loader style */
.bounce-dot {
  animation: bounce-dot 1s ease-in-out infinite;
}

.bounce-dot:nth-child(2) { animation-delay: 0.15s; }
.bounce-dot:nth-child(3) { animation-delay: 0.3s; }

/* Check draw for service lists */
.check-draw svg {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
}

.reveal.visible .check-draw svg {
  animation: check-draw 0.4s ease forwards;
}

.reveal.visible .check-draw-delay-1 svg { animation-delay: 0.1s; }
.reveal.visible .check-draw-delay-2 svg { animation-delay: 0.2s; }
.reveal.visible .check-draw-delay-3 svg { animation-delay: 0.3s; }
.reveal.visible .check-draw-delay-4 svg { animation-delay: 0.4s; }
.reveal.visible .check-draw-delay-5 svg { animation-delay: 0.5s; }

/* Floating wipe icon */
.wipe-icon {
  animation: float-gentle 5s ease-in-out infinite;
}

/* Section divider wave */
@keyframes wave-float {
  0%, 100% { d: path("M0,30 Q150,0 300,30 T600,30"); }
  50% { d: path("M0,30 Q150,60 300,30 T600,30"); }
}

/* Subtle pulse for important elements */
.subtle-pulse {
  animation: glow-pulse 3s ease-in-out infinite;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Thank You / Success Pages --- */
.success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  width: 2rem;
  height: 2rem;
  color: #16a34a;
}

/* --- Service Detail Cards --- */
.service-card-header {
  padding: 1.5rem;
  background: var(--primary-faint);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card-header-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  background: rgba(22, 146, 140, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .service-price {
    text-align: left;
    margin-top: 0.75rem;
  }
}

/* --- Icon hover effect for service cards --- */
.service-card:hover .service-icon {
  background: var(--primary);
}

.service-card:hover .service-icon svg {
  color: var(--white);
}

/* ============================================
   SERVICE DETAIL CARDS V2 (Services & Prices page)
   Matching homepage service-card-v2 style
   ============================================ */

.service-detail-v2 {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.service-detail-v2:hover {
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  border-color: var(--primary-light);
}

.service-detail-v2-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-detail-v2-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 2;
}

.service-detail-v2-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.service-detail-v2-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-detail-v2-price {
  margin-bottom: 1rem;
}

.service-detail-v2-price-line {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  line-height: 1.2;
}

.service-detail-v2-price-main {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.service-detail-v2-price-suffix {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.service-detail-v2-price-sub {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.service-detail-v2-table {
  margin-bottom: 1rem;
}

.service-detail-v2-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9375rem;
}

.service-detail-v2-table-row:last-child {
  border-bottom: none;
}

.service-detail-v2-table-row span:first-child {
  color: var(--text);
}

.service-detail-v2-table-row span:last-child {
  font-weight: 500;
  color: var(--text);
}

.service-detail-v2-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}

.service-detail-v2-table {
  margin-bottom: 1rem;
}

.service-detail-v2-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9375rem;
}

.service-detail-v2-table-row:last-child {
  border-bottom: none;
}

.service-detail-v2-table-row span:first-child {
  color: var(--text);
}

.service-detail-v2-table-row span:last-child {
  font-weight: 500;
  color: var(--text);
}

.service-detail-v2-section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-detail-v2-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-detail-v2-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.service-detail-v2-features li svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.service-detail-v2.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  transition: none;
}

.service-detail-v2.reveal.visible {
  animation: service-card-appear 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* --- Numbered step lists --- */
.step-list {
  counter-reset: step;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.step-list li::before {
  counter-increment: step;
  content: counter(step);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Star rating --- */
.stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.stars svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #fbbf24;
  fill: #fbbf24;
}

/* --- Form checkbox style --- */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
}

/* ============================================
   SERVICE CARDS V2 (Homepage)
   ============================================ */

.service-card-v2 {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.service-card-v2:hover {
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  border-color: var(--primary-light);
}

.service-card-v2-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card-v2-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 2;
}

.service-card-v2-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.service-card-v2-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-card-v2-price {
  margin-bottom: 1rem;
}

.service-card-v2-price-line {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  line-height: 1.2;
}

.service-card-v2-price-main {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.service-card-v2-price-suffix {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.service-card-v2-price-sub {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.service-card-v2-table {
  margin-bottom: 1rem;
}

.service-card-v2-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9375rem;
}

.service-card-v2-table-row:last-child {
  border-bottom: none;
}

.service-card-v2-table-row span:first-child {
  color: var(--text);
}

.service-card-v2-table-row span:last-child {
  font-weight: 500;
  color: var(--text);
}

.service-card-v2-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card-v2-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.service-card-v2-features li svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* --- Services card appearance animation --- */
@keyframes service-card-appear {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.92);
  }
  60% {
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.service-card-v2.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  transition: none;
}

.service-card-v2.reveal.visible {
  animation: service-card-appear 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* --- Services section sparkles --- */
.services-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.services-sparkle {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  animation: sparkle-spin 2.5s ease-in-out infinite;
}

.services-sparkle svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.services-sparkle-sm {
  width: 1rem;
  height: 1rem;
}
