/* ========================================
   2025 Style Upgrade for Umbel Landing Page
   Only: Fonts + Buttons
   ======================================== */

/* ========== 1. Modern Fonts ========== */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --primary: #ef2146;
  --primary-glow: rgba(239, 33, 70, 0.4);
  --primary-light: #ff5c7a;
  --primary-gradient: linear-gradient(135deg, #ef2146 0%, #ff6b8a 50%, #ef2146 100%);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== 2. Global Font ========== */
body {
  font-family: 'Plus Jakarta Sans', 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== 3. Typography ========== */
.heading {
  font-family: 'Sora', sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: -0.03em;
}

.text-block {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 400;
  line-height: 1.7 !important;
}

.keyfeature_head {
  font-family: 'Sora', sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: -0.02em;
}

.text-block-6.page_2_explain {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  line-height: 1.7;
}

.text-block-5.nav-header-link {
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
}

/* ========== Nav Header - 完全匹配 app.umbel.io 登录页风?========== */
/* 覆盖原有导航栏样?*/
.div-block-8.nav-header {
  height: 65px !important;
  padding-left: calc(10vw - 30px) !important;
  padding-right: 2% !important;
  border-bottom: 1px solid #727272 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

/* Logo 容器 */
.div-block-8.nav-header .div-block-38 {
  margin-top: -2px;
}

/* Logo 尺寸 */
.div-block-8.nav-header .div-block-38 .logo {
  width: 110px !important;
  height: auto !important;
}

/* 右侧菜单容器 */
.nav-right-menu {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
}

/* 菜单?*/
.nav-menu-item {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  padding: 12px 22px !important;
  color: #fff !important;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none !important;
  display: flex;
  align-items: center;
}

.nav-menu-item:hover {
  opacity: 1;
  color: #fff !important;
}

/* 右上?CTA：Get Umbel Free（无背景，仅文字+箭头?Umbel 红） */
.nav-right-menu .nav-menu-item.link-7 {
  background: transparent !important;
  color: #F82A49 !important; /* Umbel red */
  opacity: 1 !important;
}

.nav-right-menu .nav-menu-item.link-7:hover {
  background: transparent !important;
  color: #e0243f !important;
}

/* 固定导航栏（浅色背景）时，避免被 .fixed .nav-menu-item 覆盖成黑?*/
.div-block-8.fixed .nav-right-menu .nav-menu-item.link-7 {
  color: #F82A49 !important;
}

.div-block-8.fixed .nav-right-menu .nav-menu-item.link-7:hover {
  color: #e0243f !important;
}

/* 箭头图标 - ?app 登录页完全一?*/
.nav-arrow-icon {
  width: 14px;
  height: 14px;
  margin-left: 7px;
  position: relative;
  right: -2px;
}
/* 兜底：若某些部署/脚本导致箭头 icon 被重复插入（出现“两个箭头叠加”），只保留第一?*/
.nav-right-menu .nav-menu-item.link-7 .nav-arrow-icon + .nav-arrow-icon {
  display: none !important;
}
.nav-right-menu .nav-menu-item.link-7 .nav-arrow-icon + img.nav-arrow-icon {
  display: none !important;
}
.nav-right-menu .nav-menu-item.link-7 img.nav-arrow-icon + .nav-arrow-icon {
  display: none !important;
}
.nav-right-menu .nav-menu-item.link-7 img.nav-arrow-icon + img.nav-arrow-icon {
  display: none !important;
}

/* 固定导航栏时的样?*/
.div-block-8.fixed.nav-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.div-block-8.fixed .nav-menu-item {
  color: #1a1a1a !important;
}

.div-block-8.fixed .nav-menu-item:hover {
  color: #1a1a1a !important;
}

.pin-from-anywhere-2 {
  font-family: 'Sora', sans-serif !important;
}

.text-block-11 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.text-block-37 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 500 !important;
}

.text-block-8,
.text-block-9,
.text-block-10 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* ========== 4. Primary CTA Button ========== */
/* 渐变移动效果 - 类似 Stripe/Linear 风格 */
.div-block-6.base-btn,
.div-block-37.base-btn {
  background: linear-gradient(90deg, #ef2146 0%, #ff6b8a 50%, #ef2146 100%) !important;
  background-size: 200% 100% !important;
  background-position: 0% 50% !important;
  border-radius: 0 12px 12px 0 !important; /* 左侧无圆角，右侧有圆?*/
  font-family: 'Sora', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0.02em;
  transition: background-position 0.5s ease !important;
  position: relative;
  overflow: hidden;
}

.div-block-6.base-btn:hover,
.div-block-37.base-btn:hover {
  background-position: 100% 50% !important;
}

/* Get Umbel Free 按钮 - 独立样式 */
.get-umbel-btn {
  border-radius: 12px !important;
  padding: 16px 32px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.get-umbel-btn .text-block-4 {
  color: white !important;
}

/* ========== CTA Buttons 双按钮组 ========== */
.div-block-5.cta-buttons {
  display: flex !important;
  gap: 20px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  width: auto !important;
  overflow: visible !important;
}

.cta-btn {
  padding: 18px 48px !important;
  border-radius: 12px !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  min-width: 200px !important;
}

/* Primary Button - Get Umbel Free (红色渐变) */
.cta-btn-primary {
  background: linear-gradient(90deg, #ef2146 0%, #ff6b8a 50%, #ef2146 100%) !important;
  background-size: 200% 100% !important;
  background-position: 0% 50% !important;
  color: white !important;
  border: none !important;
}

.cta-btn-primary:hover {
  background-position: 100% 50% !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(239, 33, 70, 0.4) !important;
  color: white !important;
}

/* Secondary Button - Book a Demo (纯白色背? */
.cta-btn-secondary {
  background: white !important;
  color: #ef2146 !important;
  border: none !important;
}

.cta-btn-secondary:hover {
  background: #fff5f7 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(239, 33, 70, 0.2) !important;
  color: #ef2146 !important;
}

/* Follow us on X section */
.section-13 .div-block-94 {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.section-13 .follow_on_twitter {
  text-align: center !important;
}

.section-13 .sign_up_email {
  text-align: center !important;
  background: transparent !important;
}

.section-13 .cta-center {
  display: flex !important;
  justify-content: center !important;
  width: auto !important;
  background: transparent !important;
}

.section-13 .div-block-36 {
  background: transparent !important;
}

/* Secondary Buttons - 同样使用渐变移动效果 */
.button.current_plan {
  background: linear-gradient(90deg, #ef2146 0%, #ff6b8a 50%, #ef2146 100%) !important;
  background-size: 200% 100% !important;
  background-position: 0% 50% !important;
  border: none !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 600 !important;
  transition: background-position 0.5s ease !important;
}

.button.current_plan:hover {
  background-position: 100% 50% !important;
}

/* ========== 5. Input Fields ========== */
.text-block-3 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 16px !important;
}

/* ========== 6. Remove Video Shadow ========== */
.background-video {
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* ========== 7. Logo - 文字部分变色，红色图标不?========== */
.div-block-38 {
  display: flex;
  align-items: center;
}

.div-block-38 .logo {
  height: 30px;
}

/* 文字部分颜色控制 */
.logo .logo-text {
  fill: white;
  transition: fill 0.3s ease;
}

/* 白色背景?- 文字变黑色，红色图标保持不变 */
.div-block-8.fixed .logo .logo-text {
  fill: #1a1a1a;
}

/* ========== 8. 用户反馈头像 Skeleton Loading ========== */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* 头像容器 - Umbel红色背景带波浪动?*/
.comments_section .div-block-22 {
  background: linear-gradient(
    90deg,
    #ef2146 0%,
    #ff4d6d 20%,
    #ff6b8a 40%,
    #ff4d6d 60%,
    #ef2146 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite ease-in-out;
  border-radius: 50%;
  overflow: hidden;
}

/* 头像图片加载完成后显?*/
.comments_section .div-block-22 img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.comments_section .div-block-22 img.loaded {
  opacity: 1;
}
