/*
 * Hann.io — WordPress Custom CSS
 * ─────────────────────────────────────────────────
 * Brand: Primary #4648d4 | Secondary #8127cf | Green #4de082
 * Fonts: Geist (headings) + Inter (body)
 */

body {
  background-color: #faf8ff !important;
  color: #131b2e;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

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

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.05); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(77, 224, 130, 0.4); }
  50%       { box-shadow: 0 0 40px rgba(77, 224, 130, 0.7); }
}

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

#hannio-nav,
.hannio-clay-nav,
.elementor-section.clay-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 0 0 20px 20px !important;
  box-shadow:
    0 8px 40px rgba(70, 72, 212, 0.08),
    0 2px 12px rgba(70, 72, 212, 0.04),
    inset 0 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 1px 4px rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(70, 72, 212, 0.08) !important;
  transition: all 0.3s ease !important;
}

#hannio-nav.scrolled {
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow:
    0 12px 50px rgba(70, 72, 212, 0.14),
    0 4px 16px rgba(70, 72, 212, 0.07),
    inset 0 2px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(70, 72, 212, 0.1) !important;
}

.elementor-section:not(#hannio-nav):first-child,
#hero {
  padding-top: 80px !important;
}

.hannio-glass,
.elementor-widget-html .glass-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
}

#hero,
.elementor-section.hero-section {
  background: linear-gradient(135deg, #eaedff 0%, #faf8ff 50%, rgba(225,224,255,0.3) 100%);
  background-size: 200% 200%;
  animation: gradientMove 15s ease infinite;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

#hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(193, 193, 255, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 5s ease-in-out infinite;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(77, 224, 130, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 7s ease-in-out infinite reverse;
}

.hannio-gradient-text {
  background: linear-gradient(90deg, #4648d4, #8127cf, #4648d4);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 4s linear infinite;
}

.hannio-btn-green,
.elementor-button.btn-green {
  background: #4de082 !important;
  color: #00210c !important;
  font-family: 'Geist', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  border-radius: 8px !important;
  box-shadow: 0 0 30px -5px rgba(77, 224, 130, 0.5) !important;
  transition: all 0.3s ease !important;
  animation: pulseGlow 3s ease-in-out infinite !important;
}

.hannio-btn-green:hover,
.elementor-button.btn-green:hover {
  background: #6dfe9c !important;
  transform: scale(1.05) !important;
  box-shadow: 0 0 40px -5px rgba(77, 224, 130, 0.8) !important;
}

.hannio-btn-ghost,
.elementor-button.btn-ghost {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  color: #131b2e !important;
  font-family: 'Geist', sans-serif !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.hannio-btn-ghost:hover {
  background: rgba(234, 237, 255, 0.8) !important;
  border-color: rgba(77, 224, 130, 0.4) !important;
  color: #008644 !important;
}

.hannio-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 224, 255, 0.82);
  backdrop-filter: blur(8px);
  color: #07006c;
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(192, 193, 255, 0.65);
  letter-spacing: 0.05em;
}

.hannio-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4de082;
  flex-shrink: 0;
  animation: pulseGlow 2s ease-in-out infinite;
}

.hannio-hero-headline .elementor-heading-title {
  background: linear-gradient(135deg, #4648d4 0%, #8127cf 50%, #4648d4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 5s linear infinite;
}

.hannio-nav-links p {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
}

.hannio-nav-links a {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #464554;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.hannio-nav-links a:hover {
  background: rgba(70,72,212,0.07);
  color: #4648d4;
}

.hannio-footer-links p {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  flex-wrap: wrap;
}

.hannio-footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #464554;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s;
}

.hannio-footer-links a:hover {
  color: #4648d4;
}

#blueprint,
.elementor-section.timeline-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

#pricing,
.elementor-section.pricing-section {
  background: #faf8ff;
}

.hannio-featured-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 2px #4de082,
    0 20px 50px rgba(77, 224, 130, 0.2);
  transform: translateY(-24px);
  position: relative;
}

#footer,
.elementor-section.footer-section {
  background: #ffffff;
  border-top: 1px solid #dae2fd;
}

.hannio-display {
  font-family: 'Geist', sans-serif !important;
  font-size: clamp(40px, 6vw, 72px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.05 !important;
  color: #131b2e !important;
}

.hannio-h2 {
  font-family: 'Geist', sans-serif !important;
  font-size: 30px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  color: #131b2e !important;
}

.hannio-body {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #464554 !important;
}

.hannio-label {
  font-family: 'Geist', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
}

.hannio-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hannio-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  #hannio-nav,
  .hannio-clay-nav {
    border-radius: 0 0 14px 14px !important;
  }

  #hero::before,
  #hero::after {
    width: 200px;
    height: 200px;
  }

  .hannio-featured-card {
    transform: translateY(0);
  }
}
