.white-btn {
  padding: clamp(10px, 2vw, 16px) clamp(28px, 5vw, 48px);
  background: #ffffff;
  color: #622CFF;
  border-radius: 40px;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.3px;
}

.white-btn:hover {
  box-shadow: 0 10px 20px rgba(255,255,255,0.45),
              0 5px 15px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

.margin-left-bottom-1 {
    margin-left: 1em;
}

.home_btn {
    display: flex;
    gap: 16px;
}

@media (max-width: 600px) {
    .home_btn {
        flex-direction: column;
        gap: 12px;
    }
}

/* =====================================================
   Open App Button - Hero CTA
   ===================================================== */
.open-app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 44px;
    background: #ffffff;
    color: #622CFF;
    border: 2px solid #ffffff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
}

.open-app-btn::after {
    content: '→';
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.3s ease;
}

.open-app-btn:hover {
    background: #ffffff;
    color: #4a15d4;
    border-color: #ffffff;
    box-shadow: 0 10px 36px rgba(255, 255, 255, 0.35),
                0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.open-app-btn:hover::after {
    transform: translateX(5px);
}

.open-app-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

/* Tablet - centered layout */
@media all and (max-width: 1300px) {
    .open-app-btn {
        padding: 12px 36px;
        font-size: 15px;
    }
}

/* Mobile - compact, left-aligned, must not overlap the phone image */
@media all and (max-width: 600px) {
    .open-app-btn {
        padding: 9px 18px;
        font-size: 12px;
        letter-spacing: 0.2px;
        gap: 5px;
        border-radius: 30px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-width: 1.5px;
    }
    .open-app-btn::after {
        font-size: 12px;
    }
}

.submit-button {
  padding: 14px 40px;
  background: #622CFF;
  color: #E6DDFF;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
}
.submit-button:hover {
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.834),
              0 5px 15px rgba(255, 255, 255, 0.898);
  color: #ffffff;
  transform: translateY(-3px);
}

#contact-us.submit-button {
  border-radius: inherit;
}

/* =====================================================
   Language Selector Styles - Modern & Responsive
   ===================================================== */

/* Add space for language selector on desktop */
.lnb {
  margin-right: 160px !important;
}

.language-selector {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  z-index: 50;
}

/* Language Toggle Button */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(98, 44, 255, 0.1);
  border: 2px solid rgba(98, 44, 255, 0.2);
  border-radius: 24px;
  color: #622CFF;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  line-height: 1;
  height: 40px;
}

.lang-toggle:hover {
  background: rgba(98, 44, 255, 0.15);
  border-color: #622CFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(98, 44, 255, 0.2);
}

.lang-toggle:active {
  transform: translateY(0);
}

/* When header is at top (transparent state) */
#header.top .lang-toggle {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

#header.top .lang-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Language elements inside toggle */
.lang-flag {
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.lang-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.lang-arrow {
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.lang-toggle[aria-expanded="true"] .lang-arrow,
#langOptions.show ~ .lang-toggle .lang-arrow {
  transform: rotate(180deg);
}

/* Language Dropdown */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 1000;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Language Option Buttons */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.lang-btn:hover {
  background: #f8f8f8;
  color: #622CFF;
}

.lang-btn.active {
  background: rgba(98, 44, 255, 0.08);
  color: #622CFF;
  font-weight: 600;
}

.lang-btn.active::after {
  content: "✓";
  margin-left: auto;
  font-size: 16px;
  color: #622CFF;
}

.lang-btn .lang-flag {
  font-size: 22px;
}

.lang-btn .lang-name {
  font-size: 14px;
  flex: 1;
}

/* =====================================================
   Mobile & Responsive Styles (< 1100px)
   ===================================================== */

@media (max-width: 1100px) {
  /* Reset navigation margin on mobile */
  .lnb {
    margin-right: 0 !important;
  }

  .language-selector {
    position: fixed;
    top: 10px;
    right: 60px;
    transform: none;
    z-index: 100;
  }

  .lang-toggle {
    padding: 6px 12px;
    height: 36px;
    gap: 6px;
  }

  .lang-text {
    display: none; /* Hide text on mobile, show only flag */
  }

  .lang-flag {
    font-size: 22px;
  }

  .lang-arrow {
    width: 10px;
    height: 10px;
  }

  .lang-dropdown {
    right: 0;
    min-width: 160px;
  }

  /* Make sure it's visible above the menu */
  #header.open .language-selector {
    z-index: 100;
  }
}

/* Small mobile screens */
@media (max-width: 600px) {
  .language-selector {
    right: 55px;
  }

  .lang-toggle {
    padding: 5px 10px;
    height: 32px;
  }

  .lang-flag {
    font-size: 20px;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .language-selector {
    right: 50px;
  }

  .lang-dropdown {
    min-width: 140px;
  }

  .lang-btn {
    padding: 10px 12px;
    gap: 8px;
  }
}

/* =====================================================
   Section Titles Styling - Make Titles Bold
   ===================================================== */

/* Section h2 - override to handle two spans properly */
section h2 {
  font-weight: 700;
}

/* First span (Title) - BOLD */
section h2 span:first-child {
  font-weight: 700 !important;
  display: block;
  font-size: 48px;
  line-height: 57px;
  letter-spacing: -0.2px;
}

/* Second span (Subtitle) - LIGHT */
section h2 span:last-child {
  font-weight: 300 !important;
  display: block;
  font-size: 24px;
  margin-top: 0;
}

@media all and (max-width: 1100px) {
  section h2 span:first-child {
    font-size: 25px;
    line-height: 32px;
  }

  section h2 span:last-child {
    font-size: 15px;
    line-height: 20px;
    margin-top: 8px;
    word-break: keep-all;
  }
}

/* =====================================================
   Feature Titles Styling - Preserve Design with i18n
   ===================================================== */

/* Feature items - all spans styling */
.point_tab a {
  display: block;
}

/* Feature title (first span) - make it bold */
.point_tab a span {
  display: block;
}

.point_tab a span[data-i18n*="Title"] {
  font-weight: 600 !important;
  margin-bottom: 5px;
}

.point_tab a span[data-i18n*="Desc"] {
  font-weight: 400 !important;
}

/* Rank item titles - make them bold */
.rank_item b {
  font-weight: 600 !important;
}

/* Rank item descriptions - lighter weight */
.rank_item span {
  font-weight: 400 !important;
}

/* =====================================================
   Active Menu Item Styling
   ===================================================== */

/* Active state - Default (white header) */
.menu_item.active .menu_anchor {
  color: #622CFF !important;
  font-weight: 600;
  position: relative;
}

.menu_item.active .menu_anchor:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #622CFF;
  border-radius: 2px;
}

/* Active state - Transparent header (.top state) */
#header.top .menu_item.active .menu_anchor {
  color: #fff !important;
}

#header.top .menu_item.active .menu_anchor:after {
  background-color: #fff;
}

/* Desktop menu active state */
@media all and (min-width: 1100px) {
  .menu_item.active .menu_anchor:after {
    bottom: 10px;
    width: 100%;
  }

  #header.top .menu_item.active .menu_anchor:after {
    bottom: 10px;
    background-color: #fff;
  }
}

/* Mobile menu active state */
@media all and (max-width: 1100px) {
  .menu_item.active .menu_anchor {
    background-color: rgba(98, 44, 255, 0.1);
    padding-left: 13px;
  }

  .menu_item.active .menu_anchor:after {
    left: 0;
    width: 4px;
    height: 100%;
    bottom: auto;
  }

  /* Mobile with white background */
  #header.open .menu_item.active .menu_anchor {
    background-color: rgba(98, 44, 255, 0.1);
    color: #622CFF !important;
  }

  #header.open .menu_item.active .menu_anchor:after {
    background-color: #622CFF;
  }
}

