/* ============================================================
   CryptoReview - Modern UI/UX Design System
   Bootstrap 5 + Font Awesome
   ============================================================ */

/* ---------- Theme Variables ---------- */
:root {
  --cr-primary: #0f766e;
  --cr-primary-dark: #115e59;
  --cr-secondary: #f59e0b;
  --cr-accent: #0ea5e9;
  --cr-success: #10b981;
  --cr-warning: #fbbf24;
  --cr-danger: #ef4444;
  --cr-dark: #0b1526;
  --cr-darker: #060d1a;
  --cr-gradient: linear-gradient(135deg, #0f766e 0%, #2dd4bf 50%, #f59e0b 100%);
  --cr-gradient-success: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
  --cr-gradient-danger: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  --cr-gradient-warning: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --cr-shadow-sm: 0 2px 8px rgba(11, 21, 38, 0.06);
  --cr-shadow-md: 0 8px 30px rgba(11, 21, 38, 0.1);
  --cr-shadow-lg: 0 20px 60px rgba(11, 21, 38, 0.18);
  --cr-shadow-primary: 0 10px 30px rgba(15, 118, 110, 0.35);
  --cr-radius: 1rem;
  --cr-radius-lg: 1.5rem;
  --cr-radius-pill: 50rem;
}

/* ---------- Base Typography ---------- */
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

::selection {
  background: rgba(15, 118, 110, 0.9);
  color: #fff;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #eef2f7;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0f766e, #2dd4bf);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #115e59, #0f766e);
}

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 21, 38, 0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar.navbar-scrolled {
  box-shadow: 0 4px 24px rgba(11, 21, 38, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--cr-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.navbar-brand i {
  -webkit-text-fill-color: initial;
  color: #0f766e;
}

.navbar-brand i.fa-bitcoin {
  color: #f39c12;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0.25rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--cr-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.navbar .form-control {
  border-radius: var(--cr-radius-pill);
  border: 1px solid #e5e7eb;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  background: #f4f6f8;
  transition: all 0.3s ease;
}

.navbar .form-control:focus {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
  border-color: #0f766e;
}

.navbar .input-group-text {
  border-radius: 0 var(--cr-radius-pill) var(--cr-radius-pill) 0;
  background: var(--cr-gradient);
  color: #fff;
  border: none;
}

.navbar-toggler {
  border: none;
  border-radius: 12px;
  padding: 0.4rem 0.7rem;
  box-shadow: var(--cr-shadow-sm);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--cr-gradient);
  background-size: 200% 200%;
  border: none;
  color: #fff;
  box-shadow: var(--cr-shadow-primary);
}

.btn-primary:hover {
  background-position: 100% 100%;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(15, 118, 110, 0.45);
  color: #fff;
}

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

.btn-outline-primary {
  border: 2px solid #0f766e;
  color: #0f766e;
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--cr-gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--cr-shadow-primary);
}

.btn-success {
  background: var(--cr-gradient-success);
  border: none;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.45);
  color: #fff;
}

.btn-warning {
  background: var(--cr-gradient-warning);
  border: none;
  color: #1f2937;
}

.btn-danger {
  background: var(--cr-gradient-danger);
  border: none;
}

.btn-soft {
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
  border: none;
}

.btn-soft:hover {
  background: var(--cr-gradient);
  color: #fff;
  transform: translateY(-3px);
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  border-radius: 1rem;
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-shine:hover::after {
  left: 120%;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0b1526 0%, #0e1a2b 40%, #0f766e 100%);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow-x: clip;
  overflow-y: visible;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 70%);
  top: -40px;
  right: -80px;
  animation: floatBlob 8s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 70%);
  bottom: -40px;
  left: -60px;
  animation: floatBlob 10s ease-in-out infinite reverse;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-floating-icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.15);
  font-size: 3rem;
  animation: floatIcon 6s ease-in-out infinite;
  z-index: 1;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: var(--cr-radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #fff 30%, #2dd4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-search .input-group {
  border-radius: var(--cr-radius-pill);
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.hero-search .form-control {
  border: none;
  padding: 1rem 1.4rem;
  font-size: 1rem;
  background: transparent;
}

.hero-search .form-control:focus {
  box-shadow: none;
}

.hero-search .input-group-text {
  background: var(--cr-gradient);
  border: none;
  color: #fff;
  padding: 0 1.6rem;
  border-radius: 0 var(--cr-radius-pill) var(--cr-radius-pill) 0 !important;
}

/* ---------- Stats Bar ---------- */
.stats-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: var(--cr-radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.stats-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: #fff;
  line-height: 1.2;
}

.stats-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   Cards & Icon Circles
   ============================================================ */
.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.icon-circle i {
  font-size: 1.8rem;
}

.icon-circle::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.icon-circle:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 15px 35px rgba(11, 21, 38, 0.15);
}

.icon-circle:hover::after {
  border-color: rgba(15, 118, 110, 0.4);
  transform: rotate(45deg);
}

.icon-circle-lg {
  width: 100px;
  height: 100px;
}

.icon-circle-lg i {
  font-size: 2.4rem;
}

/* ---------- Cards ---------- */
.card {
  border: none;
  border-radius: var(--cr-radius-lg);
  box-shadow: var(--cr-shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card-hover-effect {
  border: 2px solid transparent;
  border-radius: var(--cr-radius-lg);
  position: relative;
}

.card-hover-effect::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.06), rgba(245, 158, 11, 0.06));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.card-hover-effect > * {
  position: relative;
  z-index: 1;
}

.card-hover-effect:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--cr-shadow-lg);
  border-color: transparent;
  background: linear-gradient(135deg, #fff, #f9fafb);
}

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

/* ---------- Company Card ---------- */
.company-card {
  background: #fff;
  border-radius: var(--cr-radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--cr-shadow-sm);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--cr-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.company-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--cr-shadow-lg);
  border-color: rgba(15, 118, 110, 0.3);
}

.company-card:hover::before {
  transform: scaleX(1);
}

.company-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  transition: transform 0.4s ease;
}

.company-card:hover .company-icon {
  transform: scale(1.1) rotate(-8deg);
}

.company-icon-logo {
  background: #fff;
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow: var(--cr-shadow-sm);
}

.company-icon-logo .company-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.company-icon-duo .company-logo {
  width: 30px;
  height: 30px;
}

.company-icon-duo {
  gap: 4px;
}

.company-icon-duo .vs-badge {
  font-size: 0.6rem;
  font-weight: 800;
  color: #fff;
  background: var(--cr-gradient);
  border-radius: 8px;
  padding: 2px 5px;
  line-height: 1;
}

.exchange-hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--cr-shadow-md);
}

.exchange-hero-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.compare-table-logo {
  object-fit: contain;
  vertical-align: middle;
}

.compare-mobile-logo {
  object-fit: contain;
  vertical-align: middle;
}

.rating-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* ============================================================
   Section Headings
   ============================================================ */
.section-title {
  font-weight: 800;
  font-size: 2.2rem;
}

.section-subtitle {
  color: #4b5563;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: var(--cr-shadow-primary);
}

/* ============================================================
   Features / Process Steps
   ============================================================ */
.feature-card {
  border-radius: var(--cr-radius-lg);
  background: #fff;
  padding: 2rem 1.5rem;
  height: 100%;
  box-shadow: var(--cr-shadow-sm);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.12), transparent 70%);
  top: -40px;
  right: -40px;
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--cr-shadow-lg);
  border-color: rgba(15, 118, 110, 0.3);
}

.feature-card:hover::after {
  transform: scale(1.5);
}

.feature-number {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(15, 118, 110, 0.1);
  line-height: 1;
}

/* ============================================================
   Accordion
   ============================================================ */
.accordion-item {
  border: none;
  border-radius: var(--cr-radius) !important;
  box-shadow: var(--cr-shadow-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 700;
  padding: 1.2rem 1.5rem;
  background: #fff;
  border-radius: var(--cr-radius) !important;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(245, 158, 11, 0.08));
  color: #0f766e;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15);
}

.accordion-button::after {
  background-image: none;
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #0f766e;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

/* ============================================================
   Badges & Pills
   ============================================================ */
.badge {
  font-weight: 600;
  padding: 0.5em 1em;
  border-radius: var(--cr-radius-pill);
  letter-spacing: 0.03em;
}

.badge-gradient {
  background: var(--cr-gradient);
  color: #fff;
}

.badge-success-soft {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.badge-warning-soft {
  background: rgba(251, 191, 36, 0.15);
  color: #b45309;
}

.badge-primary-soft {
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
}

.badge-danger-soft {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

/* ============================================================
   Progress Bars (Rating Distribution)
   ============================================================ */
.rating-distribution {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.rating-row .progress {
  flex: 1;
  height: 10px;
  background: #eef2f7;
  border-radius: var(--cr-radius-pill);
  overflow: hidden;
}

.rating-row .progress-bar {
  background: var(--cr-gradient);
  border-radius: var(--cr-radius-pill);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-card {
  background: #fff;
  border-radius: var(--cr-radius-lg);
  padding: 2rem;
  box-shadow: var(--cr-shadow-sm);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: rgba(15, 118, 110, 0.1);
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--cr-shadow-lg);
  border-color: rgba(15, 118, 110, 0.3);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: var(--cr-gradient);
  flex-shrink: 0;
}

.avatar-sm {
  width: 40px;
  height: 40px;
  font-size: 0.85rem;
}

.avatar-gradient-1 { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.avatar-gradient-2 { background: linear-gradient(135deg, #10b981, #0ea5e9); }
.avatar-gradient-3 { background: linear-gradient(135deg, #ef4444, #f97316); }
.avatar-gradient-4 { background: linear-gradient(135deg, #fbbf24, #f97316); }
.avatar-gradient-5 { background: linear-gradient(135deg, #0984e3, #0ea5e9); }

/* ============================================================
   Review Cards
   ============================================================ */
.review-card {
  background: #fff;
  border-radius: var(--cr-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--cr-shadow-sm);
  border-left: 5px solid var(--cr-gradient);
  transition: all 0.4s ease;
  position: relative;
}

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

.review-card.highlight-positive {
  border-left-color: #10b981;
}

.review-card.highlight-negative {
  border-left-color: #ef4444;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--cr-radius-pill);
}

.helpful-btn {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: var(--cr-radius-pill);
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  transition: all 0.3s ease;
}

.helpful-btn:hover {
  background: var(--cr-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* ============================================================
   Comparison Table
   ============================================================ */
.table-compare {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--cr-radius-lg);
  overflow: hidden;
  box-shadow: var(--cr-shadow-md);
}

.table-compare thead th {
  background: var(--cr-gradient);
  color: #fff;
  font-weight: 700;
  padding: 1.2rem;
  border: none;
}

.table-compare tbody td {
  padding: 1.2rem;
  border-color: #eef2f7;
  vertical-align: middle;
}

.table-compare tbody tr {
  transition: background 0.3s ease;
}

.table-compare tbody tr:hover {
  background: rgba(15, 118, 110, 0.04);
}

.table-compare .fa-check {
  color: #10b981;
}

.table-compare .fa-xmark {
  color: #ef4444;
}

.table-compare .fa-minus {
  color: #9ca3af;
}

/* ============================================================
   CTA / Newsletter Section
   ============================================================ */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #0f766e 0%, #2dd4bf 50%, #f59e0b 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  border-radius: var(--cr-radius-lg);
  overflow: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  top: -80px;
  right: -80px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  bottom: -60px;
  left: 10%;
}

.newsletter-input {
  border-radius: var(--cr-radius-pill) !important;
  border: none !important;
  padding: 0.9rem 1.5rem !important;
}

.newsletter-input:focus {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3) !important;
}

/* ============================================================
   Floating CTA Buttons (Call / WhatsApp)
   ============================================================ */
.cta-buttons {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1050;
}

.cta-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--cr-radius-pill);
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.03);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid currentColor;
  opacity: 0;
  animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
  0% { opacity: 0.6; transform: scale(1); }
  70% { opacity: 0; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1.15); }
}

.cta-call {
  background: linear-gradient(135deg, #0f766e, #115e59);
}

.cta-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.cta-telegram {
  background: linear-gradient(135deg, #2aabee, #229ed9);
}

.cta-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.cta-label {
  font-size: 0.9rem;
}

/* ============================================================
   Back to Top
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cr-gradient);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--cr-shadow-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1040;
  cursor: pointer;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(15, 118, 110, 0.5);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #0b1526, #060d1a);
  color: #9ca3af;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.12), transparent 70%);
  top: -200px;
  right: -100px;
}

.footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: var(--cr-gradient);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer a {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer a:hover {
  color: #2dd4bf;
  padding-left: 6px;
}

.footer a i {
  font-size: 0.75rem;
  margin-right: 0.4rem;
  color: rgba(45, 212, 191, 0.5);
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #9ca3af;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--cr-gradient);
  color: #fff !important;
  transform: translateY(-4px);
  padding-left: 0 !important;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  background: transparent;
  padding: 0;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: #0f766e;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-item.active {
  color: #4b5563;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ============================================================
   Page Header (subpages)
   ============================================================ */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #0b1526 0%, #0e1a2b 50%, #0f766e 100%);
  padding: 4.5rem 0;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2), transparent 70%);
  top: -120px;
  right: -80px;
}

.page-header h1 {
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 1;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb {
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Forms
   ============================================================ */
.form-control,
.form-select {
  border-radius: 0.85rem;
  border: 2px solid #e5e7eb;
  padding: 0.75rem 1.1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background-color: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1f2937;
}

.form-check-input:checked {
  background-color: #0f766e;
  border-color: #0f766e;
}

.form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15);
}

/* ============================================================
   Animation Utilities
   ============================================================ */
.animate-fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-slide-in {
  animation: slideIn 0.8s ease-in-out;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-in-out;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Scroll Reveal (JS driven) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Staggered card entrance */
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.stagger-item.stagger-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Misc Utilities
   ============================================================ */
.text-gradient {
  background: var(--cr-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-soft-primary { background: rgba(15, 118, 110, 0.08); }
.bg-soft-success { background: rgba(16, 185, 129, 0.08); }
.bg-soft-warning { background: rgba(251, 191, 36, 0.1); }
.bg-soft-danger { background: rgba(239, 68, 68, 0.08); }
.bg-soft-info { background: rgba(14, 165, 233, 0.08); }

.text-purple { color: #0f766e !important; }

.rounded-4 { border-radius: 1rem !important; }
.rounded-5 { border-radius: 1.5rem !important; }

.shadow-soft { box-shadow: var(--cr-shadow-sm) !important; }
.shadow-hover { box-shadow: var(--cr-shadow-md) !important; }

.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.divider-gradient {
  height: 5px;
  background: var(--cr-gradient);
  border: none;
  border-radius: var(--cr-radius-pill);
  width: 80px;
  margin: 1.5rem auto;
  opacity: 1;
}

/* List group (legal pages) */
.legal-content h2 {
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.legal-content p,
.legal-content li {
  color: #374151;
  line-height: 1.8;
}

.legal-content .card {
  border-radius: var(--cr-radius-lg);
}

/* Contact info cards */
.info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--cr-radius);
  box-shadow: var(--cr-shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cr-shadow-md);
}

.info-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, #0f766e, #f59e0b);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #0f766e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item .timeline-icon {
  position: absolute;
  left: -1.95rem;
  top: 9px;
  font-size: 0.75rem;
  color: #0f766e;
  z-index: 1;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .hero-section {
    min-height: 480px;
  }

  .stats-number {
    font-size: 1.6rem;
  }

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

  .cta-buttons {
    bottom: 16px;
    left: 16px;
  }

  .cta-button {
    padding: 12px 16px;
  }

  .cta-label {
    font-size: 0.8rem;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
  }

  .footer {
    text-align: center;
  }

  .footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .hero-floating-icon {
    font-size: 2rem;
  }

  .display-3 {
    font-size: 2.4rem;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Toast Notifications
   ============================================================ */
.toast-notification {
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: var(--cr-radius);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--cr-shadow-lg);
  z-index: 1100;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 90vw;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success { background: linear-gradient(135deg, #10b981, #059669); }
.toast-error { background: linear-gradient(135deg, #ef4444, #dc2626); }
.toast-info { background: linear-gradient(135deg, #0f766e, #115e59); }

@media (max-width: 576px) {
  .toast-notification {
    top: 16px;
    right: 16px;
    left: 16px;
  }
}

/* ============================================================
   Search Results Dropdown
   ============================================================ */
[data-search-results] {
  border-radius: var(--cr-radius);
  box-shadow: var(--cr-shadow-lg) !important;
  border: 1px solid #eef2f7 !important;
  overflow: hidden;
  z-index: 1060;
  max-height: 380px;
  overflow-y: auto;
}

[data-search-results] a:hover {
  background: rgba(15, 118, 110, 0.06);
  color: #0f766e;
}

[data-search-results].hidden {
  display: none;
}

/* ============================================================
   Custom FAQ (non-Bootstrap pages)
   ============================================================ */
.faq-item {
  background: #fff;
  border-radius: var(--cr-radius);
  box-shadow: var(--cr-shadow-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: var(--cr-shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  font-weight: 700;
  color: #1f2937;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
}

.faq-question i {
  color: #0f766e;
  transition: transform 0.4s ease;
  flex-shrink: 0;
}

.faq-question:hover {
  color: #0f766e;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.open {
  max-height: 500px;
}

.faq-answer .faq-answer-content {
  padding: 0 1.5rem 1.4rem;
  color: #4b5563;
  line-height: 1.7;
}

/* ============================================================
   Helpful Button Active State
   ============================================================ */
.helpful-btn.active {
  background: linear-gradient(135deg, #0f766e, #2dd4bf) !important;
  color: #fff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: var(--cr-shadow-primary);
}

/* ============================================================
   Skip Link
   ============================================================ */
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.visually-hidden-focusable:focus,
.visually-hidden-focusable:focus-within {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0.5rem 1rem !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  border: 2px solid #0f766e !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #0f766e !important;
  font-weight: 600 !important;
  z-index: 9999 !important;
}