/**
 * Raidho Coaching - Components CSS
 * 
 * Reusable component styles including:
 * 1. Button Variants
 * 2. Form Elements
 * 3. Card Components
 * 4. Badge/Tag Components
 * 5. Testimonial Cards
 * 6. Section Components
 * 7. Navigation Components
 * 8. Footer Components
 */

/* ============================================
   1. BUTTON VARIANTS
   ============================================ */

/* Primary Button - Filled with animated wave gradient */
.btn-primary {
  background-color: var(--accent);
  background-image: linear-gradient(
    90deg, 
    var(--accent) 0%, 
    #C4633A 15%,
    var(--primary) 35%,
    #1E6A6E 50%,
    var(--primary) 65%,
    #C4633A 85%,
    var(--accent) 100%
  );
  background-size: 300% 100%;
  background-position: 0% 50%;
  color: var(--text-light);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(168, 83, 47, 0.25);
  animation: buttonWave 8s var(--ease-slow, cubic-bezier(0.45, 0, 0.55, 1)) infinite;
}

/* Primary button hover - stop wave animation for golden wipe effect */
html body .btn-primary:hover {
  animation: none;
}

.btn-primary:disabled {
  background-color: var(--text-secondary);
  background-image: none;
  border-color: var(--text-secondary);
  animation: none;
}

/* Secondary Button - Outline with animated wave border */
.btn-secondary {
  background-color: transparent;
  background-image: linear-gradient(
    90deg, 
    var(--primary) 0%, 
    #1E6A6E 15%,
    var(--accent) 35%,
    #C4633A 50%,
    var(--accent) 65%,
    #1E6A6E 85%,
    var(--primary) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border: 2px solid var(--primary);
  animation: buttonWave 8s var(--ease-slow, cubic-bezier(0.45, 0, 0.55, 1)) infinite,
             buttonBorderWave 8s var(--ease-slow, cubic-bezier(0.45, 0, 0.55, 1)) infinite;
}

/* Secondary button hover - reset text fill for golden wipe effect */
html body .btn-secondary:hover {
  -webkit-text-fill-color: #2a2518;
  animation: none;
}

.btn-secondary:disabled {
  color: var(--text-secondary);
  border-color: var(--text-secondary);
  background-image: none;
  -webkit-text-fill-color: var(--text-secondary);
  animation: none;
}

/* Ghost Button - Text only with animated wave text */
.btn-ghost {
  background-color: transparent;
  background-image: linear-gradient(
    90deg, 
    var(--primary) 0%, 
    #1E6A6E 15%,
    var(--accent) 35%,
    #C4633A 50%,
    var(--accent) 65%,
    #1E6A6E 85%,
    var(--primary) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border-color: transparent;
  padding: 14px 16px;
  animation: buttonWave 8s var(--ease-slow, cubic-bezier(0.45, 0, 0.55, 1)) infinite;
}

/* Ghost button hover - reset text fill for golden wipe effect */
html body .btn-ghost:hover {
  -webkit-text-fill-color: #2a2518;
  animation: none;
}

.btn-ghost:disabled {
  background-image: none;
  -webkit-text-fill-color: var(--text-secondary);
  animation: none;
}

/* Button Sizes */
.btn-small {
  font-size: var(--font-size-sm);
  padding: 10px 20px;
  min-height: 40px;
}

.btn-medium {
  font-size: var(--font-size-base);
  padding: 14px 28px;
  min-height: 48px;
}

.btn-large {
  font-size: var(--font-size-lg);
  padding: 18px 36px;
  min-height: 56px;
}

/* Button with icon */
.btn-icon {
  gap: var(--space-sm);
}

.btn-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Full width button */
.btn-full {
  width: 100%;
}

/* ============================================
   2. FORM ELEMENTS
   ============================================ */

/* Form Group */
.form-group {
  margin-bottom: var(--space-md);
}

/* Form Label */
.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-label.required::after {
  content: " *";
  color: var(--error);
}

/* Error State */
.form-input.error,
.form-textarea.error,
.form-select.error {
  border-color: var(--error);
  background-color: rgba(239, 68, 68, 0.05);
}

.form-input.error:focus,
.form-textarea.error:focus,
.form-select.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Success State */
.form-input.success,
.form-textarea.success,
.form-select.success {
  border-color: var(--success);
  background-color: rgba(34, 197, 94, 0.05);
}

.form-input.success:focus,
.form-textarea.success:focus,
.form-select.success:focus {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

/* Error Message */
.form-error {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  color: var(--error);
  margin-top: var(--space-xs);
}

.form-error svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Success Message */
.form-success {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  color: var(--success);
  margin-top: var(--space-xs);
}

/* Form Help Text */
.form-help {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

/* Checkbox and Radio */
.form-checkbox,
.form-radio {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-checkbox input,
.form-radio input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary);
}

.form-checkbox span,
.form-radio span {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  line-height: var(--line-height-normal);
}

/* Select Dropdown */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23626C6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 44px;
}

/* ============================================
   3. CARD COMPONENTS
   ============================================ */

/* Card Header */
.card-header {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.card-header h3,
.card-header h4 {
  margin-bottom: 0;
}

/* Card Body */
.card-body {
  flex: 1;
}

/* Card Footer */
.card-footer {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

/* Card Hover Effect - Moved to main.css to avoid specificity conflicts */

/* Card with Image - Slow zoom */
.card-image {
  padding: 0;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.card-image:hover img {
  transform: scale3d(1.04, 1.04, 1);
}

.card-image .card-body {
  padding: var(--space-lg);
}

/* Card Variants */
.card-bordered {
  border: 2px solid var(--border-color);
  box-shadow: none;
}

.card-elevated {
  border: none;
  box-shadow: var(--shadow-md);
}

.card-flat {
  border: none;
  box-shadow: none;
  background-color: var(--bg-secondary);
}

/* Feature Card */
.feature-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
}

.feature-card .feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-accent-light) 0%, rgba(43, 138, 143, 0.15) 100%);
  border-radius: var(--radius-xl);
  color: var(--primary);
  font-size: 28px;
}

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

.feature-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

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

/* ============================================
   4. BADGE/TAG COMPONENTS
   ============================================ */

/* Badge Variants */
.badge-primary {
  background-color: var(--bg-accent-light);
  color: var(--primary);
}

.badge-success {
  background-color: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.badge-warning {
  background-color: rgba(234, 179, 8, 0.15);
  color: var(--warning);
}

.badge-error {
  background-color: rgba(239, 68, 68, 0.15);
  color: var(--error);
}

.badge-accent {
  background-color: rgba(168, 83, 47, 0.15);
  color: var(--accent);
}

.badge-neutral {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
}

/* Tag Component */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  -webkit-transition: background-color 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                      color 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                      transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  transition: background-color 0.8s cubic-bezier(0.19, 1, 0.22, 1),
              color 0.8s cubic-bezier(0.19, 1, 0.22, 1),
              transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.tag:hover {
  background-color: var(--bg-accent-light);
  color: var(--primary);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.tag-removable {
  cursor: pointer;
}

.tag-removable .tag-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  background-color: rgba(0, 0, 0, 0.1);
  margin-left: var(--space-xs);
}

.tag-removable .tag-remove:hover {
  background-color: var(--error);
  color: white;
}

/* ============================================
   5. TESTIMONIAL CARDS
   ============================================ */

.testimonial-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  -webkit-transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1),
                      box-shadow 1s cubic-bezier(0.19, 1, 0.22, 1),
                      border-color 1s cubic-bezier(0.19, 1, 0.22, 1);
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1),
              box-shadow 1s cubic-bezier(0.19, 1, 0.22, 1),
              border-color 1s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, box-shadow;
}

html body .testimonial-card:hover {
  -webkit-transform: translateY(-8px) scale(1.02);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(43, 138, 143, 0.12),
    0 10px 20px rgba(0, 0, 0, 0.06);
  border-color: rgba(43, 138, 143, 0.25);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--bg-accent-light);
}

.testimonial-info h4 {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-xs);
}

.testimonial-info p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: 0;
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
}

.testimonial-rating .star {
  width: 20px;
  height: 20px;
  color: #F59E0B;
}

.testimonial-rating .star.empty {
  color: var(--border-color);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: var(--font-size-lg);
  font-style: italic;
  color: var(--text-primary);
  line-height: var(--line-height-relaxed);
  position: relative;
  padding-left: var(--space-lg);
}

.testimonial-quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 48px;
  color: var(--primary);
  opacity: 0.3;
  font-family: var(--font-serif);
}

/* Featured Testimonial */
.testimonial-featured {
  background: linear-gradient(135deg, var(--primary) 0%, #1E6A6E 100%);
  color: var(--text-light);
}

.testimonial-featured .testimonial-info h4,
.testimonial-featured .testimonial-quote {
  color: var(--text-light);
}

.testimonial-featured .testimonial-info p {
  color: rgba(255, 253, 249, 0.8);
}

.testimonial-featured .testimonial-quote::before {
  color: var(--text-light);
  opacity: 0.2;
}

/* Testimonial Video */
.testimonial-video {
  position: relative;
  cursor: pointer;
}

.testimonial-video .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  box-shadow: var(--shadow-lg);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-video:hover .play-button {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 
    0 20px 50px rgba(168, 83, 47, 0.3),
    0 0 30px rgba(168, 83, 47, 0.15);
}

/* ============================================
   6. SECTION COMPONENTS
   ============================================ */

/* Section Base */
.section {
  padding: var(--space-2xl) 0;
}

.section-sm {
  padding: var(--space-xl) 0;
}

.section-lg {
  padding: calc(var(--space-2xl) * 1.5) 0;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

.section-header .section-label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.section-header h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
}

.section-header .section-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Section Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border-color) 50%,
    transparent 100%
  );
  margin: var(--space-xl) 0;
}

/* Section with Background */
.section-alt {
  background-color: var(--bg-secondary);
}

.section-dark {
  background-color: var(--text-primary);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-light);
}

.section-dark p {
  color: rgba(255, 253, 249, 0.8);
}

.section-gradient {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* ============================================
   7. NAVIGATION COMPONENTS
   ============================================ */

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-serif);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

.logo img {
  height: 40px;
  width: auto;
}

/* Main Navigation */
.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

/* Note: Main .nav-link styles are defined in HEADER & NAVIGATION STYLES section below */
/* This section kept for backwards compatibility with .nav-list structure */
.nav-list .nav-link {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
  position: relative;
  -webkit-transition: color 1s cubic-bezier(0.19, 1, 0.22, 1),
                      transform 1s cubic-bezier(0.19, 1, 0.22, 1);
  transition: color 1s cubic-bezier(0.19, 1, 0.22, 1),
              transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-list .nav-link:hover,
.nav-list .nav-link.active {
  color: var(--primary);
}

.nav-list .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  transform-origin: right;
  -webkit-transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-list .nav-link:hover::after,
.nav-list .nav-link.active::after {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  transform-origin: left;
}

/* Header CTA */
.header-cta {
  display: none;
}

/* Mobile Menu Button */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  -webkit-transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                      opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                      background-color 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
              opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
              background-color 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-primary);
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
  overflow-y: auto;
  z-index: 999;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-list {
  padding: var(--space-lg);
}

.mobile-nav-link {
  display: block;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
}

.mobile-nav-cta {
  padding: var(--space-lg);
}

/* ============================================
   8. FOOTER COMPONENTS
   ============================================ */

.footer {
  background-color: var(--text-primary);
  color: var(--text-light);
  padding: 24px 0 16px;
}

.footer-container {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer-grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

/* Footer Brand */
.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: rgba(255, 253, 249, 0.7);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

/* Footer Links */
.footer-links h4 {
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: var(--font-size-sm);
  color: rgba(255, 253, 249, 0.7);
  -webkit-transition: color 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                      transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  transition: color 0.8s cubic-bezier(0.19, 1, 0.22, 1),
              transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.footer-links a:hover {
  color: var(--text-light);
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}

/* Footer Newsletter */
.footer-newsletter h4 {
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.footer-newsletter p {
  font-size: var(--font-size-sm);
  color: rgba(255, 253, 249, 0.7);
  margin-bottom: var(--space-md);
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
}

.newsletter-form input::placeholder {
  color: rgba(255, 253, 249, 0.5);
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-light);
  -webkit-transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1),
                      background-color 1s cubic-bezier(0.19, 1, 0.22, 1),
                      box-shadow 1s cubic-bezier(0.19, 1, 0.22, 1);
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1),
              background-color 1s cubic-bezier(0.19, 1, 0.22, 1),
              box-shadow 1s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.social-link:hover {
  background-color: var(--primary);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(43, 138, 143, 0.25);
}

.social-link:active {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--font-size-sm);
  color: rgba(255, 253, 249, 0.5);
  margin-bottom: 0;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: var(--font-size-sm);
  color: rgba(255, 253, 249, 0.5);
}

.footer-legal a:hover {
  color: var(--text-light);
}

/* ============================================
   9. CTA SECTION COMPONENT
   ============================================ */

.cta-section {
  text-align: center;
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--primary) 0%, #1E6A6E 50%, var(--accent) 100%);
  border-radius: var(--radius-2xl);
  color: var(--text-light);
  box-shadow: var(--shadow-xl);
}

.cta-section h2 {
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 253, 249, 0.9);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
}

/* CTA Section buttons - color overrides only, hover uses magical golden wipe */
.cta-section .btn-primary {
  background-color: var(--text-light);
  background-image: none;
  color: var(--primary);
  border-color: var(--text-light);
}

/* Note: .cta-section .btn-primary:hover now uses magical golden wipe from main.css */

.cta-section .btn-secondary {
  color: var(--text-light);
  border-color: var(--text-light);
  background-color: transparent;
}

/* Note: .cta-section .btn-secondary:hover now uses magical golden wipe from main.css */

.cta-reassurance {
  font-size: var(--font-size-sm);
  color: rgba(255, 253, 249, 0.7);
  margin-top: var(--space-md);
}

/* ============================================
   10. ACCORDION/FAQ COMPONENT
   ============================================ */

.accordion {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--space-lg);
  background-color: var(--bg-primary);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  -webkit-transition: background-color 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                      color 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  transition: background-color 0.8s cubic-bezier(0.19, 1, 0.22, 1),
              color 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.accordion-header:hover {
  background-color: var(--bg-accent-light);
  color: var(--primary);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  -webkit-transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  transition: max-height 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.accordion-item.active .accordion-content {
  max-height: 600px;
}

.accordion-body {
  padding: 0 var(--space-lg) var(--space-lg);
}

.accordion-body p {
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

/* ============================================
   11. PROCESS/TIMELINE COMPONENT
   ============================================ */

.timeline {
  position: relative;
  padding-left: var(--space-xl);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: calc(-1 * var(--space-xl) + 8px);
  top: 0;
  width: 16px;
  height: 16px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 3px var(--bg-accent-light);
}

.timeline-content h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.timeline-content p {
  color: var(--text-secondary);
}

.timeline-meta {
  font-size: var(--font-size-sm);
  color: var(--primary);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
}

/* ============================================
   12. STATS/COUNTER COMPONENT
   ============================================ */

.stats-grid {
  display: grid;
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   13. AVATAR COMPONENT
   ============================================ */

.avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.avatar-sm {
  width: 32px;
  height: 32px;
}

.avatar-md {
  width: 48px;
  height: 48px;
}

.avatar-lg {
  width: 64px;
  height: 64px;
}

.avatar-xl {
  width: 96px;
  height: 96px;
}

.avatar-2xl {
  width: 128px;
  height: 128px;
}

.avatar-group {
  display: flex;
}

.avatar-group .avatar {
  border: 3px solid var(--bg-primary);
  margin-left: -12px;
}

.avatar-group .avatar:first-child {
  margin-left: 0;
}

/* ============================================
   14. FILTER BUTTONS
   ============================================ */

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  -webkit-transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1),
                      background-color 1s cubic-bezier(0.19, 1, 0.22, 1),
                      border-color 1s cubic-bezier(0.19, 1, 0.22, 1),
                      color 1s cubic-bezier(0.19, 1, 0.22, 1),
                      box-shadow 1s cubic-bezier(0.19, 1, 0.22, 1);
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1),
              background-color 1s cubic-bezier(0.19, 1, 0.22, 1),
              border-color 1s cubic-bezier(0.19, 1, 0.22, 1),
              color 1s cubic-bezier(0.19, 1, 0.22, 1),
              box-shadow 1s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.filter-btn:hover:not(.active) {
  background-color: var(--bg-secondary);
  border-color: var(--primary);
  color: var(--primary);
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(43, 138, 143, 0.12);
}

.filter-btn:active {
  -webkit-transform: scale(0.98);
  transform: scale(0.98);
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

.filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* ============================================
   15. LOADING STATES
   ============================================ */

.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-secondary) 25%,
    var(--bg-primary) 50%,
    var(--bg-secondary) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-text {
  height: 16px;
  margin-bottom: var(--space-sm);
}

.skeleton-heading {
  height: 32px;
  width: 60%;
  margin-bottom: var(--space-md);
}

.skeleton-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
}

/* Spinner */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.spinner-lg {
  width: 40px;
  height: 40px;
  border-width: 4px;
}

/* ============================================
   HEADER & NAVIGATION STYLES
   NOTE: header.header styles moved to navigation.css
   ============================================ */

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.nav-desktop {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-lg);
  align-items: center;
}

.nav-desktop li {
  display: inline-flex;
  align-items: center;
}

/* Hide CTA on mobile by default */
#cta-nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  
  #cta-nav-desktop {
    display: inline-block;
  }
}

/* NOTE: .nav-link styles moved to navigation.css to avoid conflicts */

@keyframes underlineReveal {
  from {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
  to {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}

/* nav-mobile styles moved to navigation.css */

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-primary);
  flex-direction: column;
  padding: var(--space-lg);
  gap: var(--space-md);
  z-index: 99;
  overflow-y: auto;
  border-top: 1px solid var(--border-color);
}

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

.mobile-menu a {
  padding: var(--space-md);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-md);
  -webkit-transition: background-color 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                      color 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                      transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                      padding-left 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  transition: background-color 0.8s cubic-bezier(0.19, 1, 0.22, 1),
              color 0.8s cubic-bezier(0.19, 1, 0.22, 1),
              transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
              padding-left 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.mobile-menu a:hover {
  background-color: var(--bg-secondary);
  color: var(--primary);
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}

/* ============================================
   FOOTER STYLES (Additional - main styles at line 877)
   ============================================ */

footer.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 24px 0 16px;
  margin-top: var(--space-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section h3,
.footer-section h4 {
  margin: 0 0 var(--space-md) 0;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  -webkit-transition: color 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  transition: color 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-accent-light);
  border-radius: var(--radius-full);
  -webkit-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.footer-social a:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

.footer-bottom {
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

@media (max-width: 767px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  footer.footer {
    padding: 20px 0 8px;
  }
}

/* ============================================
   SALES/CONVERSION ENHANCEMENTS
   ============================================ */

/* Floating CTA for mobile */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  animation: floatUp 0.6s var(--ease-elegant) forwards;
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 767px) {
  .floating-cta {
    display: block;
  }
  
  .floating-cta .btn {
    box-shadow: 0 8px 30px rgba(168, 83, 47, 0.4);
    padding: 16px 32px;
    font-size: 15px;
  }
}

/* Pulse animation for primary CTAs */
.btn-pulse {
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 4px 14px rgba(168, 83, 47, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(168, 83, 47, 0.5), 0 0 0 8px rgba(168, 83, 47, 0.1);
  }
}

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.trust-badge span {
  font-size: 18px;
}

/* Urgency banner */
.urgency-banner {
  background: linear-gradient(90deg, var(--accent), #c4633a);
  color: white;
  text-align: center;
  padding: 1px 5px;
  font-size: 14px;
  font-weight: 500;
}

.urgency-banner strong {
  font-weight: 700;
}

/* Social proof counter */
.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 138, 143, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.social-proof-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* ============================================
   WHATSAPP FLOATING BUTTON (Sales Enhancement)
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 10px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 95;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
              box-shadow 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.whatsapp-float .whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--text-primary);
  color: white;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
}

.whatsapp-float .whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--text-primary);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 18px; /* Same line as floating CTA */
    right: 16px;
    width: 56px;
    height: 56px;
  }
  
  .whatsapp-float .whatsapp-tooltip {
    display: none;
  }
}
