/* ===== DESIGN TOKENS ===== */

:root {
  --font-heading: "Bricolage Grotesque", serif;
  --font-body: "Outfit", sans-serif;

  --text-color: #1a1a1a;
  --text-muted: #6b6b6b;
  --bg-color: #f7f9fc;
  --bg-surface: #fff;
  --bg-elevated: #edf1f7;
  --primary-color: #0765FF;
  --primary-hover: #0550D0;
  --primary-soft: rgba(7, 101, 255, 0.08);
  --accent-color: #0765FF;
  --border-color: #dce2ed;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 100px;
  --error-color: #e03131;
  --alert-info: rgba(0, 123, 255, 0.1);
  --alert-success: rgba(0, 200, 80, 0.1);
  --alert-warning: rgba(255, 193, 7, 0.1);
  --alert-error: rgba(220, 53, 69, 0.1);
  --white-color: #fff;
  --black-color: #000;
  --gray-color: #6b6b6b;
  --light-gray: #edf1f7;
  --forground-color: #edf1f7;
}

html[data-theme="dark"] {
  --text-color: #e8ecf0;
  --text-muted: #8a9aaa;
  --bg-color: #0e1117;
  --bg-surface: #161b22;
  --bg-elevated: #1c2128;
  --primary-color: #5B9AFF;
  --primary-hover: #7DB3FF;
  --primary-soft: rgba(91, 154, 255, 0.12);
  --accent-color: #5B9AFF;
  --border-color: #2a3340;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.35);
  --gray-color: #8a9aaa;
  --light-gray: #1c2128;
  --forground-color: #161b22;
  --white-color: #fff;
  --black-color: #000;
  --error-color: #ff6b6b;
}

/* ===== RESET & BASE ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 15px;
  padding-top: 100px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

/* ===== LAYOUT ===== */

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

.mt-60 {
  margin-top: 60px;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-left {
  text-align: left !important;
}

/* ===== HEADER ===== */

.header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 20px;
}

.header .container {
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  background-color: rgba(247, 249, 252, 0.85);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  transition: background-color 0.3s ease;
}

html[data-theme="dark"] .header .container {
  background-color: rgba(14, 17, 23, 0.85);
}

.header__logo a,
.site__logo a {
  display: flex;
  color: var(--text-color);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-decoration: none;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo__link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo__img {
  height: 40px;
  width: 40px;
  flex-shrink: 0;
}

.logo__text {
  font-weight: 700;
  font-size: 24px;
  color: inherit;
  white-space: nowrap;
}

.logo__img_mobile {
  height: 32px;
  width: 32px;
  flex-shrink: 0;
}

.logo__text_mobile {
  font-weight: 700;
  font-size: 20px;
  color: inherit;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .header .container {
    padding: 0 10px;
  }
  .logo__link {
    gap: 4px;
  }
  .logo__img {
    height: 32px;
    width: 32px;
  }
  .logo__text {
    font-size: 18px;
    letter-spacing: -0.5px;
  }
  .logo__img_mobile {
    height: 26px;
    width: 26px;
  }
  .logo__text_mobile {
    font-size: 16px;
    letter-spacing: -0.5px;
  }
}


.site__logo a {
  font-size: 1.5rem;
}

.header__logo a:hover {
  text-decoration: none;
  color: var(--text-color);
}

.header__logo a img {
  width: 40px;
  margin-right: 1rem;
}

.header__menu {
  margin-left: auto;
}

.header__menu_list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}

.header__menu_list li {
  position: relative;
}

.header__menu_list li a,
.header__menu_list li span {
  color: var(--text-muted);
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 14px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.header__menu_list li a:hover,
.header__menu_list li span:hover,
.header__menu_list li.active > a,
.header__menu_list li.active > span {
  color: var(--text-color);
  background-color: var(--primary-soft);
  text-decoration: none;
}

.header__menu_dropdown {
  position: absolute;
  top: calc(100% + 10px);
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  list-style: none;
  width: 200px;
  right: 0;
}

.header__menu_dropdown::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 20px;
  top: -10px;
  opacity: 0;
}

.header__menu_dropdown li {
  margin: 0;
}

.header__menu_dropdown li a {
  color: var(--text-color) !important;
  padding: 8px 12px !important;
  display: block;
  transition: all 0.15s ease;
  border-radius: var(--radius-sm);
  font-size: 13px !important;
}

.header__menu_dropdown li a:hover {
  background-color: var(--bg-elevated) !important;
}

.header__menu_list li:hover .header__menu_dropdown {
  opacity: 1;
  visibility: visible;
}

.mobile_only {
  display: none;
}

/* Header action buttons */
.toggle_button,
.language_select_triger {
  width: 48px;
  height: 48px;
  cursor: pointer;
  background-size: 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-left: 8px;
  transition: all 0.2s ease;
  background-color: transparent;
}

.toggle_button:hover,
.language_select_triger:hover {
  background-color: var(--bg-elevated);
  border-color: transparent;
}

.toggle_button {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' fill='none'%3E%3Cpath d='M21.0672 11.8568L20.4253 11.469L21.0672 11.8568ZM12.1432 2.93276L11.7553 2.29085V2.29085L12.1432 2.93276ZM21.25 12C21.25 17.1086 17.1086 21.25 12 21.25V22.75C17.9371 22.75 22.75 17.9371 22.75 12H21.25ZM12 21.25C6.89137 21.25 2.75 17.1086 2.75 12H1.25C1.25 17.9371 6.06294 22.75 12 22.75V21.25ZM2.75 12C2.75 6.89137 6.89137 2.75 12 2.75V1.25C6.06294 1.25 1.25 6.06294 1.25 12H2.75ZM15.5 14.25C12.3244 14.25 9.75 11.6756 9.75 8.5H8.25C8.25 12.5041 11.4959 15.75 15.5 15.75V14.25ZM20.4253 11.469C19.4172 13.1373 17.5882 14.25 15.5 14.25V15.75C18.1349 15.75 20.4407 14.3439 21.7092 12.2447L20.4253 11.469ZM9.75 8.5C9.75 6.41182 10.8627 4.5828 12.531 3.57467L11.7553 2.29085C9.65609 3.5593 8.25 5.86509 8.25 8.5H9.75ZM12 2.75C11.9115 2.75 11.8077 2.71008 11.7324 2.63168C11.6686 2.56527 11.6538 2.50244 11.6503 2.47703C11.6461 2.44587 11.6482 2.35557 11.7553 2.29085L12.531 3.57467C13.0342 3.27065 13.196 2.71398 13.1368 2.27627C13.0754 1.82126 12.7166 1.25 12 1.25V2.75ZM21.7092 12.2447C21.6444 12.3518 21.5541 12.3539 21.523 12.3497C21.4976 12.3462 21.4347 12.3314 21.3683 12.2676C21.2899 12.1923 21.25 12.0885 21.25 12H22.75C22.75 11.2834 22.1787 10.9246 21.7237 10.8632C21.286 10.804 20.7293 10.9658 20.4253 11.469L21.7092 12.2447Z' fill='%231a1a1a' stroke-width='1.5'%3E%3C/path%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}

html[data-theme="dark"] .toggle_button {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' fill='none'%3E%3Ccircle cx='12' cy='12' r='5' stroke='%23e8ecf0' stroke-width='1.5'%3E%3C/circle%3E%3Cpath d='M12 2V4' stroke='%23e8ecf0' stroke-width='1.5' stroke-linecap='round'%3E%3C/path%3E%3Cpath d='M12 20V22' stroke='%23e8ecf0' stroke-width='1.5' stroke-linecap='round'%3E%3C/path%3E%3Cpath d='M4 12L2 12' stroke='%23e8ecf0' stroke-width='1.5' stroke-linecap='round'%3E%3C/path%3E%3Cpath d='M22 12L20 12' stroke='%23e8ecf0' stroke-width='1.5' stroke-linecap='round'%3E%3C/path%3E%3Cpath d='M19.7778 4.22266L17.5558 6.25424' stroke='%23e8ecf0' stroke-width='1.5' stroke-linecap='round'%3E%3C/path%3E%3Cpath d='M4.22217 4.22266L6.44418 6.25424' stroke='%23e8ecf0' stroke-width='1.5' stroke-linecap='round'%3E%3C/path%3E%3Cpath d='M6.44434 17.5557L4.22211 19.7779' stroke='%23e8ecf0' stroke-width='1.5' stroke-linecap='round'%3E%3C/path%3E%3Cpath d='M19.7778 19.7773L17.5558 17.5551' stroke='%23e8ecf0' stroke-width='1.5' stroke-linecap='round'%3E%3C/path%3E%3C/svg%3E");
}

.language_select_triger {
  background-image: url("data:image/svg+xml,%3Csvg stroke='%231a1a1a' fill='%231a1a1a' stroke-width='0' viewBox='0 0 1024 1024' height='1em' width='1em' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0 0 10-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 0 0 3.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 0 0-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 0 1 887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 0 1-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 0 1 115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 0 1 540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 0 0 540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 0 1-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 0 0-81.5 55.9A373.86 373.86 0 0 1 137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 0 1-107.6 69.2z'%3E%3C/path%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}

html[data-theme="dark"] .language_select_triger {
  background-image: url("data:image/svg+xml,%3Csvg stroke='%23e8ecf0' fill='%23e8ecf0' stroke-width='0' viewBox='0 0 1024 1024' height='1em' width='1em' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0 0 10-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 0 0 3.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 0 0-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 0 1 887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 0 1-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 0 1 115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 0 1 540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 0 0 540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 0 1-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 0 0-81.5 55.9A373.86 373.86 0 0 1 137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 0 1-107.6 69.2z'%3E%3C/path%3E%3C/svg%3E");
}

/* Language selector */
.language__select {
  position: relative;
  display: flex;
  align-items: center;
}

.language__select_list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 6px;
  width: 280px;
  transition: all 0.2s ease;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  column-count: 2;
  column-gap: 0;
}

.language__select:hover .language__select_list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language__select_list::after {
  content: "";
  position: absolute;
  top: -8px;
  right: 0;
  width: 100%;
  height: 9px;
}

.language__select_list li {
  width: 100%;
}

.language__select_list li a {
  padding: 5px 10px;
  cursor: pointer;
  color: var(--text-color);
  text-decoration: none;
  border-radius: var(--radius-sm);
  text-align: left;
  width: 100%;
  display: flex;
  font-size: 13px;
  transition: all 0.15s ease;
}

.language__select_list li a:hover,
.language__select_list li a.active {
  background-color: var(--bg-elevated);
}

/* Hamburger menu */
.toogle_menu {
  width: 48px;
  height: 48px;
  cursor: pointer;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-left: 8px;
  background-color: transparent;
  position: relative;
  display: none;
  transition: all 0.2s ease;
}

.toogle_menu:hover {
  background-color: var(--bg-elevated);
}

.toogle_menu span,
.toogle_menu span::before,
.toogle_menu span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.toogle_menu span::before {
  top: -4px;
}

.toogle_menu span::after {
  top: 6px;
}

/* ===== HERO SECTION ===== */

.hero__section {
  padding: 70px 0 0;
  position: relative;
}

.hero__section::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--primary-soft) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.hero__section .container {
  max-width: 780px;
}

.hero__section_content {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
}

.hero__section_title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero__section_title span {
  color: var(--primary-color);
}

.hero__section_subtitle {
  font-size: 1.125rem;
  color: var(--text-color);
}

.hero__section_description {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 550px;
}

.hero__section_content .bookmark__text {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== DOWNLOAD FORM ===== */

.hero__section_form {
  width: 100%;
}

.hero__section_form form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.input_wrapper {
  width: 100%;
  display: flex;
  position: relative;
  flex: 1;
}

.hero__section_form input {
  flex: 1;
  appearance: none;
  padding: 16px 18px;
  background-color: var(--bg-surface);
  font-family: var(--font-body);
  font-size: 16px; /* 16px strictly prevents iOS Safari zoom on focus */
  border-radius: var(--radius-full);
  border: 2px solid var(--border-color);
  outline: none;
  transition: all 0.25s ease;
  color: var(--text-color);
  box-shadow: var(--shadow-sm);
}

.hero__section_form input::placeholder {
  opacity: 0.5;
  color: var(--text-muted);
}

.hero__section_form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.error__msg {
  text-align: left;
  color: var(--error-color);
  font-size: 0.75rem;
  display: none;
  position: absolute;
  bottom: -20px;
  left: 18px;
}

.input_wrapper.error .error__msg {
  display: block;
}

.hero__section_form button {
  border-radius: var(--radius-full);
  padding: 16px 28px;
  background-color: var(--primary-color);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 600;
  min-height: 54px;
  min-width: 140px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(7, 101, 255, 0.25);
}

.hero__section_form button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(7, 101, 255, 0.3);
}

html[data-theme="dark"] .hero__section_form button {
  color: #111;
  box-shadow: 0 2px 12px rgba(91, 154, 255, 0.25);
}

html[data-theme="dark"] .hero__section_form button:hover {
  box-shadow: 0 4px 20px rgba(91, 154, 255, 0.3);
}

.hero__section_form button.loader {
  cursor: not-allowed;
  position: relative;
  color: transparent;
}

.hero__section_form button.loader::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

html[data-theme="dark"] .hero__section_form button.loader::before {
  border-color: rgba(0, 0, 0, 0.2);
  border-top-color: #111;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== CONTENT SECTIONS ===== */

.content__section .container {
  max-width: 900px;
}

.content__wrapper {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.content__wrapper h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.content__wrapper h2 {
  font-family: var(--font-heading);
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.content__wrapper h2 span {
  color: var(--primary-color);
}

.content__wrapper > *:not(:first-child) {
  margin-top: 1.25rem;
}

.content__wrapper p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Steps list */
.content__wrapper .list > *:not(:first-child) {
  margin-top: 0.6rem;
}

.content__wrapper .list > * {
  padding-left: 20px;
}

.content__wrapper .list h3 {
  position: relative;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--text-color);
}

.content__wrapper .list.small h3 {
  font-weight: 400;
  font-size: 14px;
}

.content__wrapper .list h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.content__wrapper .list p {
  font-size: 14px;
}

/* ===== STEPS (numbered) ===== */

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.step__card {
  text-align: center;
  padding: 24px 16px;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-soft);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.step__card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step__card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== ALERTS ===== */

.alert {
  border: 1px solid var(--alert-info);
  background-color: var(--alert-info);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: none;
  width: 100%;
}

.alert.alert__info {
  border-color: var(--alert-info);
  background-color: var(--alert-info);
}

.alert.alert__success {
  border-color: var(--alert-success);
  background-color: var(--alert-success);
}

.alert.alert__warning {
  border-color: var(--alert-warning);
  background-color: var(--alert-warning);
}

.alert.alert__error {
  border-color: var(--alert-error);
  background-color: var(--alert-error);
}

.alert .alert__icon {
  margin-top: 2px;
}

.alert .alert__icon svg {
  height: 18px;
  width: 18px;
  display: none;
}

.alert__content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 14px;
}

.alert.alert__info .info__icon { display: block; }
.alert.alert__success .info__icon { display: block; }
.alert.alert__warning .warning__icon { display: block; }
.alert.alert__error .error__icon { display: block; }

.alert__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 6px;
  display: none;
}

/* ===== FAQ SECTION ===== */

.faqs h2 {
  font-family: var(--font-heading);
  text-align: center;
  margin-bottom: 32px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.faqs .container {
  max-width: 800px;
}

.faqs__accordion .faqs__accordion__item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  transition: all 0.2s ease;
}

.faqs__accordion__item:hover {
  border-color: var(--primary-color);
}

.faqs__accordion__item.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.faqs__accordion__item .faqs__accordion__item__header {
  padding: 16px 20px;
  cursor: pointer;
  position: relative;
}

.faqs__accordion__item .faqs__accordion__item__header h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  padding-right: 30px;
}

.faqs__accordion__item__header .faqs__accordion__item__header__icon {
  width: 20px;
  height: 20px;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") center no-repeat;
  background-size: 16px;
}

html[data-theme="dark"] .faqs__accordion__item__header .faqs__accordion__item__header__icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a9aaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.faqs__accordion__item.active .faqs__accordion__item__header__icon {
  transform: translateY(-50%) rotate(180deg);
}

.faqs__accordion__item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 20px 0;
}

.faqs__accordion__item.active .faqs__accordion__item__body {
  max-height: 800px;
  padding: 0 20px 18px;
}

.faqs__accordion__item__body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */

.footer {
  padding: 5rem 0 2rem;
  margin-top: 100px;
  border-top: 1px solid var(--border-color);
}

.footer .container {
  max-width: 1170px;
}

.footer__content__top .container {
  display: flex;
  max-width: 1170px;
  padding: 0px 20px 4rem;
  gap: 20px;
}

.site__info {
  width: 30%;
  padding-right: 20px;
}

.footer .disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
  margin-bottom: 10px;
  text-align: left;
  line-height: 1.6;
}

[dir="rtl"] .footer .disclaimer {
  text-align: right;
}

.social__share_icons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
  margin-left: -4px;
  list-style: none;
  gap: 6px;
}

.social__share_icons a {
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
  color: var(--text-muted);
  height: 34px;
  width: 34px;
}

.social__share_icons a:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.social__share_icons a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social__share_icons a:hover svg {
  fill: #fff;
}

.footer__menu {
  width: 17.5%;
}

.footer__menu h6 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: left;
  padding-left: 8px;
  letter-spacing: -0.01em;
}

.footer__menu__list {
  display: flex;
  flex-direction: column;
  text-align: left;
  align-items: flex-start;
}

.footer__menu__item {
  padding: 4px 8px;
  transition: all 0.15s ease;
  font-size: 14px;
  display: block;
}

.footer__menu__item > * {
  color: var(--text-muted);
}

.footer__menu__item a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.footer__content__bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.footer__content__bottom .container {
  max-width: 1170px;
}

.copyright {
  text-align: left;
  font-size: 13px;
  color: var(--text-muted);
}

.copyright a {
  font-weight: 500;
}

/* ===== DOWNLOAD PAGE ===== */

.download__page .container {
  max-width: 720px;
}

.download__page__card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.download__page__result {
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.download__page__result .download__wrapper {
  background-color: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.download__page__another {
  padding: 0 28px 28px;
}

.download__page__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-top: 4px;
}

.download__page__divider::before,
.download__page__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
}

.download__page__divider span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: lowercase;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.download__page__another .hero__section_form input {
  padding: 12px 18px;
  font-size: 14px;
}

.download__page__another .hero__section_form button {
  padding: 12px 24px;
  font-size: 14px;
}

.download__wrapper {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.download__items_tabs {
  display: flex;
  justify-content: flex-start;
  padding: 16px 24px 0;
  overflow: auto;
  gap: 4px;
}

.download__items_tabs__item {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  color: var(--text-muted);
}

.download__items_tabs__item:hover {
  background-color: var(--bg-elevated);
}

.download__items_tabs__item.active {
  background-color: var(--primary-soft);
  color: var(--primary-color);
}

.download_item {
  display: none;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.download_item.active {
  display: flex;
}

/* Video / Image area */
.video_wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background-color: #000;
  max-height: 420px;
}

.video_wrapper video,
video-js {
  width: 100% !important;
  border-radius: 0;
  aspect-ratio: 16/9;
  background-color: #000;
  height: auto !important;
}

.video_wrapper .video,
.video_wrapper .video > * {
  height: 100% !important;
  aspect-ratio: 16/9 !important;
  width: 100% !important;
  object-fit: contain;
  position: relative;
  cursor: pointer;
}

.video_wrapper .video > * video {
  height: 100% !important;
  width: 100% !important;
}

.video_wrapper.blur_thumb .vjs-poster:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
  z-index: 2;
}

.video-js .vjs-big-play-button {
  z-index: 3;
}

.video_wrapper.blur_thumb .video:not(.video-added)::after {
  display: none;
}

.image_wrapper {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  background-color: #000;
}

.image_wrapper img {
  width: 100%;
  border-radius: 0;
  aspect-ratio: auto;
  max-height: 420px;
  background-color: #000;
  object-fit: contain;
}

/* Info area below media */
.download_item_info {
  width: 100%;
  padding: 24px 28px 28px;
}

.download__item__heading div {
  font-weight: 600;
  font-size: 16px;
}

.download__item__user_info {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.download__item__user_info span {
  font-size: 0.95rem;
}

.download__item__profile_pic {
  display: flex;
  align-items: center;
}

.download__item__profile_pic img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  background-color: var(--bg-elevated);
  border: 2px solid var(--border-color);
}

.download__item__profile_pic div {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.download__item__profile_pic div span:first-child {
  font-weight: 600;
  font-size: 14px;
}

.download__item__profile_pic div span:last-child {
  opacity: 0.5;
  line-height: 1;
  font-size: 13px;
}

.download__item__caption__text {
  margin-top: 12px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.download_item table {
  width: 100%;
  margin-top: 20px;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.download_item table th {
  padding: 10px 20px;
  text-align: center;
  background-color: var(--bg-elevated);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.download_item table td {
  padding: 12px 20px;
  text-align: center;
  background-color: var(--bg-surface);
  font-size: 14px;
  font-weight: 500;
}

.download_item table th:first-child {
  border-radius: var(--radius-md) 0 0 0;
}

.download_item table th:last-child {
  border-radius: 0 var(--radius-md) 0 0;
}

.download_item table tr:last-child td:first-child {
  border-radius: 0 0 0 var(--radius-md);
}

.download_item table tr:last-child td:last-child {
  border-radius: 0 0 var(--radius-md) 0;
}

.download_item table th:not(:first-child),
.download_item table td:not(:first-child) {
  border-left: 1px solid var(--border-color);
}

.download_item table tr:not(:first-child) td {
  border-top: 1px solid var(--border-color);
}

.download_item table .btn {
  padding: 8px 28px;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(7, 101, 255, 0.2);
}

.download_item table .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(7, 101, 255, 0.3);
}

html[data-theme="dark"] .download_item table .btn {
  box-shadow: 0 2px 8px rgba(91, 154, 255, 0.2);
}

html[data-theme="dark"] .download_item table .btn:hover {
  box-shadow: 0 4px 14px rgba(91, 154, 255, 0.3);
}

.download__results a {
  padding: 5px;
  width: 140px;
  margin-left: auto;
  margin-right: auto;
  background-image: url("data:image/svg+xml,%3Csvg stroke='%23fff' fill='none' stroke-width='2' viewBox='0 0 24 24' stroke-linecap='round' stroke-linejoin='round' height='18' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2'%3E%3C/path%3E%3Cpath d='M7 11l5 5l5 -5'%3E%3C/path%3E%3Cpath d='M12 4l0 12'%3E%3C/path%3E%3C/svg%3E");
  background-position: center left 16px;
  background-repeat: no-repeat;
  padding-left: 27px;
}

.download_item .btn:before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg stroke='%23fff' fill='none' stroke-width='2' viewBox='0 0 24 24' stroke-linecap='round' stroke-linejoin='round' height='18' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2'%3E%3C/path%3E%3Cpath d='M7 11l5 5l5 -5'%3E%3C/path%3E%3Cpath d='M12 4l0 12'%3E%3C/path%3E%3C/svg%3E");
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

html[data-theme="dark"] .download_item .btn:before {
  background-image: url("data:image/svg+xml,%3Csvg stroke='%23000' fill='none' stroke-width='2' viewBox='0 0 24 24' stroke-linecap='round' stroke-linejoin='round' height='18' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2'%3E%3C/path%3E%3Cpath d='M7 11l5 5l5 -5'%3E%3C/path%3E%3Cpath d='M12 4l0 12'%3E%3C/path%3E%3C/svg%3E");
}

.vjs-poster img {
  object-fit: cover !important;
  border-radius: 0 !important;
}

.video-js {
  padding: 0 !important;
  border-radius: 0;
  height: 380px !important;
}

video {
  max-width: 100%;
  border-radius: 0;
}

/* Empty content box cleanup */
.contentBox:empty {
  display: none;
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  padding: 10px 24px;
  border: none;
  background-color: var(--primary-color);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-hover);
  text-decoration: none;
  color: #fff;
}

html[data-theme="dark"] .btn {
  color: #111;
}

.bookmark__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  padding: 10px 24px;
  border: 1px dashed var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.bookmark__text {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== PAGE CONTENT ===== */

.page__content {
  padding: 50px 0 0;
}

.page__content .container {
  max-width: 1050px;
}

.page__content h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.page__content__wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}

.max-750 .container {
  max-width: 750px;
}

.max-800 .container {
  max-width: 800px;
}

.content__page_section .container {
  max-width: 1100px;
  text-align: left;
}

.content__page_section h2 {
  text-align: left;
}

.content__page_section h1 {
  font-size: 2rem;
}

.content__section li {
  margin-left: 17px;
}

/* ===== HIGHLIGHTED ===== */

.highlighted {
  border-radius: var(--radius-md);
  background-color: var(--bg-elevated);
  padding: 20px;
  text-align: center;
}

html[data-theme="dark"] .highlighted {
  background-color: var(--bg-elevated);
}

/* ===== FORM ELEMENTS ===== */

.form__group {
  width: 100%;
  margin-bottom: 20px;
}

.form__group input,
.form__group textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 15px;
  font-size: 14px;
  font-family: var(--font-body);
  transition: all 0.2s ease;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.form__group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 500;
}

.contact__form .btn {
  min-width: 150px;
}

.success__msg {
  display: none;
}

/* ===== NOT FOUND ===== */

.not__found__section img {
  max-width: 400px;
}

.not__found__section .content__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.not__found__section .content__wrapper h3 {
  position: relative;
  top: -30px;
}

/* ===== SKELETON LOADING ===== */

.skeleton {
  background-color: var(--bg-elevated);
  border-radius: var(--radius-md);
  width: 100%;
  overflow: hidden;
}

.skeleton::before {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  animation: loading 1s infinite;
  background: linear-gradient(to right, transparent, var(--bg-color), transparent);
}

.loading_section .content__wrapper {
  display: flex;
  gap: 30px;
}

.loading_section .content__wrapper > * {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 !important;
}

@keyframes loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ===== MOBILE APPS ===== */

.mobile__apps .container {
  display: flex;
  justify-content: center;
}

.mobile__apps__links__wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile__apps__links__wrapper a {
  display: flex;
  transition: all 0.2s ease;
}

.mobile__apps__links__wrapper a:hover {
  transform: translateY(-2px);
}

.mobile__apps__links__wrapper img {
  max-width: 180px;
}

.mobile__apps__links__wrapper .appstore img {
  max-width: 170px;
}

/* ===== APP BADGES ===== */

.app__badges__section .container {
  max-width: 900px;
}

.app__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.app__badges a img {
  max-width: 180px;
  height: auto;
}

.app__badges a.googleplay img {
  transform: scale(1.05);
}

/* ===== ADBLOCK POPUP ===== */

.addblock_popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 100000;
  display: none;
}

.addblock_popup > div {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.addblock_popup > div > div {
  max-width: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 10px;
  margin: auto;
}

.addblock_popup #animation__image {
  width: 100%;
  max-width: 450px;
  margin-top: -100px;
}

.addblock_popup h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
}

.addblock_popup p {
  font-size: 1.1rem;
  margin-top: 10px;
}

.popup__close__button {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  width: 35px;
  height: 35px;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  z-index: 2;
  transition: all 0.2s ease;
}

.popup__close__button:hover {
  background-color: var(--bg-elevated);
}

.comparison__modal_wrapper {
  width: 90%;
  max-width: 800px;
}

/* ===== BLOG STYLES ===== */

.blog__section .container {
  max-width: 900px;
}

.blog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.blog__card {
  display: block;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all 0.25s ease;
  text-decoration: none;
  color: var(--text-color);
  position: relative;
  overflow: hidden;
}

.blog__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background-color: var(--primary-color);
  transition: width 0.25s ease;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.blog__card:hover {
  text-decoration: none;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog__card:hover::before {
  width: 4px;
}

.blog__card__date {
  font-size: 13px;
  color: var(--text-muted);
}

.blog__card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-top: 6px;
  text-align: left;
  color: var(--text-color);
  letter-spacing: -0.01em;
}

.blog__card__excerpt {
  font-size: 14px;
  margin-top: 8px;
  color: var(--text-muted);
  line-height: 1.6;
}

.blog__card__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

.blog__related__title {
  font-family: var(--font-heading);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

/* Blog Post */

.blog__post__section .container {
  max-width: 780px;
}

.blog__post__wrapper {
  text-align: left;
}

.blog__post__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.blog__post__back {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

.blog__post__date {
  font-size: 13px;
  color: var(--text-muted);
}

.blog__post__content {
  margin-top: 1.5rem;
  line-height: 1.8;
}

.blog__post__content h2 {
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.blog__post__content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog__post__content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.blog__post__content ul,
.blog__post__content ol {
  margin-bottom: 1rem;
  padding-left: 24px;
}

.blog__post__content li {
  margin-bottom: 6px;
  margin-left: 0;
  color: var(--text-muted);
}

.blog__post__content code {
  background-color: var(--bg-elevated);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
}

.blog__post__content a {
  color: var(--primary-color);
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1255px) {
  .footer .container {
    max-width: 1000px;
  }
}

@media (max-width: 1060px) {
  .footer .container {
    max-width: 980px;
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 845px) {
  .footer__content__top .container {
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 50px;
  }

  .site__info {
    width: 100%;
    padding-left: 8px;
  }

  .footer__menu {
    width: calc(33.33% - 30px);
  }

  .steps__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step__card {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
  }

  .step__number {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

[dir="rtl"] .step__card {
  text-align: right;
}

[dir="rtl"] .step__card > div {
  text-align: right;
}

@media (max-width: 767px) {
  body {
    padding-top: 90px;
  }

  .download_item {
    flex-direction: column;
  }

  .video_wrapper,
  .image_wrapper {
    width: 100%;
    max-height: 300px;
  }

  .video_wrapper .video,
  .video_wrapper .video > * {
    aspect-ratio: auto !important;
  }

  .video_wrapper .video > * {
    height: 300px !important;
  }

  .video-js {
    height: 280px !important;
  }

  .download_item_info {
    width: 100%;
    padding: 16px;
  }

  .download_item table {
    table-layout: fixed;
  }

  .download_item table th,
  .download_item table td {
    padding: 10px 8px;
  }

  .download_item table .btn {
    padding: 8px 14px;
    font-size: 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .download__page__another {
    padding: 0 16px 16px;
  }

  .toogle_menu {
    display: block;
  }

  .header__menu {
    position: fixed;
    height: 100vh;
    top: -16px;
    left: -321px;
    width: 300px;
    border-right: 1px solid var(--border-color);
    background-color: var(--bg-color);
    z-index: 1002;
    transition: all 0.3s ease;
  }

  body.open__menu .header__menu {
    left: -20px;
  }

  .mobile_only {
    display: block;
  }

  .language__select {
    margin-left: auto;
  }

  .header__menu .header__logo {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
  }

  .header__menu_list {
    flex-direction: column;
    padding: 16px;
    gap: 2px;
  }

  .header__menu_list li {
    text-align: left;
    width: 100%;
    margin: 0;
  }

  .header__menu_list li a {
    padding: 10px 14px !important;
    border-radius: var(--radius-sm);
    display: block;
    width: 100%;
  }

  .header__menu_list li.active > a {
    background-color: var(--primary-soft);
  }

  .header__menu_list li span {
    display: none;
  }

  .header__menu_dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border: none;
    width: 100%;
  }

  .close__overlay {
    position: fixed;
    top: -17px;
    left: -19px;
    width: calc(100% + 40px);
    height: 100vh;
    z-index: 1001;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    backdrop-filter: blur(2px);
  }

  body.open__menu .close__overlay {
    display: block;
  }

  .hero__section {
    padding: 40px 0 0;
  }

  .hero__section_title {
    font-size: 1.8rem;
    min-height: 80px;
  }

  .hero__section_content {
    gap: 14px;
    min-height: 310px;
  }

  .hero__section_form form {
    flex-direction: column;
    gap: 12px;
  }

  .hero__section_form input {
    width: 100%;
  }

  .hero__section_form button {
    min-width: 100%;
  }

  .content__wrapper {
    padding: 24px;
  }

  .content__wrapper h2 {
    font-size: 1.2rem;
  }

  .page__content h1,
  .content__wrapper h1 {
    font-size: 1.4rem;
  }

  .footer {
    padding: 3rem 0 2rem;
    margin-top: 60px;
  }

  .footer .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .blog__card {
    padding: 20px 24px;
  }

  .blog__card__title {
    font-size: 1.05rem;
  }

  .blog__post__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

@media (max-width: 575px) {
  .site__info {
    width: 100%;
  }

  .footer__menu {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .download_item {
    padding: 1rem;
  }

  .loading_section .content__wrapper {
    flex-direction: column;
  }
}

/* ===== RTL SUPPORT (Arabic) ===== */

[dir="rtl"] {
  direction: rtl;
}

[dir="rtl"] .header__logo a,
[dir="rtl"] .site__logo a {
  background-position: center right;
  padding-left: 0;
  padding-right: 0;
}

[dir="rtl"] .header__menu {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .language_select_triger,
[dir="rtl"] .toggle_button,
[dir="rtl"] .toogle_menu {
  margin-left: 0;
  margin-right: 8px;
  flex-shrink: 0;
}

[dir="rtl"] .language__select_list {
  right: auto !important;
  left: 0 !important;
}

[dir="rtl"] .language__select_list li a {
  text-align: right;
}

[dir="rtl"] .hero__section_form input {
  text-align: right;
}

[dir="rtl"] .error__msg {
  text-align: right;
  left: auto;
  right: 18px;
}

[dir="rtl"] .content__wrapper .list > * {
  padding-left: 0;
  padding-right: 20px;
}

[dir="rtl"] .content__wrapper .list h3::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .alert__content {
  text-align: right;
}

[dir="rtl"] .faqs__accordion__item__header {
  flex-direction: row-reverse;
}

[dir="rtl"] .faqs__accordion__item__header__icon {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .footer__menu,
[dir="rtl"] .footer__menu h6,
[dir="rtl"] .footer__menu__list {
  text-align: right;
}

[dir="rtl"] .footer__menu h6 {
  padding-left: 0;
  padding-right: 8px;
}


[dir="rtl"] .blog__card__title,
[dir="rtl"] .blog__post__wrapper,
[dir="rtl"] .blog__post__content h2,
[dir="rtl"] .blog__post__content p {
  text-align: right;
}

[dir="rtl"] .blog__post__content ul,
[dir="rtl"] .blog__post__content ol {
  padding-left: 0;
  padding-right: 24px;
}

@media (max-width: 767px) {
  [dir="rtl"] .header__menu {
    left: auto;
    right: -321px;
    border-right: none;
    border-left: 1px solid var(--border-color);
  }

  [dir="rtl"] body.open__menu .header__menu {
    right: -20px;
    left: auto;
  }

  [dir="rtl"] .language__select {
    margin-left: 0;
    margin-right: auto;
  }

  [dir="rtl"] .language_select_triger,
  [dir="rtl"] .toggle_button,
  [dir="rtl"] .toogle_menu {
    margin-right: 4px;
  }

  [dir="rtl"] .header__menu_list li {
    text-align: right;
  }
}
