/* ===== Kraken — Global Styles ===== */

* { scrollbar-width: thin; scrollbar-color: #0ea5e9 #f0ede8; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', sans-serif; background: #fefdfb; color: #0f172a; overflow-x: hidden; }
.font-display { font-family: 'Outfit', sans-serif; }

/* --- Decorative --- */
.dot-pattern {
  background-image: radial-gradient(circle, #0ea5e9 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
}
.blob {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 8s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* --- Octopus tentacles --- */
.tentacle { animation: sway 4s ease-in-out infinite; transform-origin: top center; }
.tentacle:nth-child(1) { animation-delay: 0s; }
.tentacle:nth-child(2) { animation-delay: 0.3s; }
.tentacle:nth-child(3) { animation-delay: 0.6s; }
.tentacle:nth-child(4) { animation-delay: 0.9s; }
@keyframes sway {
  0%, 100% { transform: rotate(-8deg); }
  50%      { transform: rotate(8deg); }
}

/* --- Float --- */
.float { animation: float 6s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-15px); }
}

/* --- Cards --- */
.card {
  background: white;
  border: 1px solid #e5e0d8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
  border-color: #0ea5e9;
  box-shadow: 0 20px 40px -15px rgba(14, 165, 233, 0.15);
  transform: translateY(-4px);
}

/* --- Buttons --- */
.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -5px rgba(14, 165, 233, 0.4);
}
.btn-secondary {
  border: 2px solid #0ea5e9;
  color: #0ea5e9;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: #0ea5e9;
  color: white;
}

/* --- Gradient text --- */
.gradient-text {
  background: linear-gradient(135deg, #0ea5e9 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Tags --- */
.tag {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

/* --- Number badge --- */
.number-badge {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

/* --- Checkmark items --- */
.check-item::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* --- Reveal on scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* --- Nav scroll state --- */
.nav-scrolled {
  background: rgba(254, 253, 251, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* --- FAQ --- */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-content.open {
  max-height: 200px;
}

/* --- Mobile nav --- */
.mobile-nav {
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
.mobile-nav.open {
  transform: translateX(0);
}

/* --- Review cards --- */
.review-card {
  background: white;
  border: 1px solid #e5e0d8;
  transition: all 0.4s ease;
}
.review-card:hover {
  border-color: #0ea5e9;
  box-shadow: 0 15px 35px -10px rgba(14, 165, 233, 0.12);
  transform: translateY(-3px);
}

/* --- Team cards --- */
.team-card {
  background: white;
  border: 1px solid #e5e0d8;
  overflow: hidden;
  transition: all 0.5s ease;
}
.team-card:hover {
  border-color: #0ea5e9;
  box-shadow: 0 20px 40px -15px rgba(14, 165, 233, 0.15);
  transform: translateY(-4px);
}
.team-card:hover img {
  transform: scale(1.05);
}

/* --- Social link --- */
.social-link-Kraken {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f0ede8;
  border: 1px solid #e5e0d8;
  color: #64748b;
  transition: all 0.3s ease;
}
.social-link-Kraken:hover {
  color: #0ea5e9;
  border-color: rgba(14, 165, 233, 0.3);
  background: rgba(14, 165, 233, 0.08);
}

/* --- Legal pages --- */
.legal-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.legal-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-content p {
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.legal-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: #475569;
  margin-bottom: 1rem;
}
.legal-content ul li {
  margin-bottom: 0.5rem;
}