/* Подключение шрифта Cygre */

/* Regular */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* Light */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

/* Book */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Book.ttf") format("truetype");
  font-weight: 450;
  font-style: normal;
}

/* Medium */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

/* Semibold */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

/* Bold */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* ExtraBold */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

/* Black */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

/* Thin */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--main-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
}

h1 {
  font-size: var(--font-size-2xl);
}
h2 {
  font-size: var(--font-size-xl);
}
h3 {
  font-size: var(--font-size-lg);
}
h4 {
  font-size: var(--font-size-base);
}

p {
  margin: 0;
  line-height: 1.6;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--primary-color);
  opacity: 0.8;
}

/* a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
} */

/* Buttons */
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  overflow: visible;
  text-transform: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}
/* 
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-color);
} */

/* Lists */
ul,
ol {
  list-style: none;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Utility classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  display: block;
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-hover);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Selection */
::selection {
  background: var(--primary-color);
  color: white;
}

:root {
  /* Colors */
  --main-bg: #e0e3f2;
  --sidebar-bg: #ffffff;
  --primary-color: #6366f1;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-secondary2: #8f9bba;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --error-color: #dc2626;
  --warning-color: #f59e0b;
  --info-color: #3b82f6;
  --text-secondary3: #a3aed0;

  /* Background variants */
  --bg-hover: #f3f4f6;
  --bg-active: #eef2ff;
  --bg-error: #fef2f2;
  --bg-success: #f0fdf4;

  /* Typography */
  --font-family: "Cygre", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-symbols: "Segoe UI Symbol", sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;

  /* Font weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 20px;
  --spacing-2xl: 24px;
  --spacing-3xl: 32px;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* Layout */
  --sidebar-width: 286px;
  --tabs-width: 200px;
  --max-content-width: 1200px;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
}

.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin-left: 180px;
  margin-right: 180px;
}

.navbar {
  position: relative;
  margin: 15px auto 0 auto;
  width: 85%;
  z-index: 100;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    135deg,
    rgba(61, 115, 235, 0.3),
    rgba(222, 143, 255, 0.3)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  position: relative;
}

/* ===== УГЛОВЫЕ ЭЛЕМЕНТЫ НАВБАРА ===== */

.navbar-content::before,
.navbar-content::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid #323240;
  z-index: 2;
  pointer-events: none;
}

.navbar-content::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.navbar-content::after {
  top: -2px;
  right: -2px;
  border-left: none;
  border-bottom: none;
}

.navbar-corner {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid #323240;
  z-index: 2;
  pointer-events: none;
}

.navbar-corner--bottom-left {
  bottom: -2px;
  left: -2px;
  border-right: none;
  border-top: none;
}

.navbar-corner--bottom-right {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

/* ===== СТРУКТУРА НАВБАРА ===== */
.navbar__left {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.navbar__center {
  display: flex;
  gap: 32px;
  align-items: center;
}

.navbar__right {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ===== ЛОГОТИП ===== */
.logo {
  height: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
}

.logo--desktop {
  display: block;
}

.logo--mobile {
  display: none;
}

.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.navbar__left::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  background-image: url("images/logo2.svg");
  pointer-events: none;
}

/* ===== НАВИГАЦИЯ ===== */
.nav-link {
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link--active {
  color: #1f2937;
  font-weight: 600;
}

.nav-link:hover {
  color: #1f2937;
}

/* ===== КНОПКИ ===== */
.btn-login,
.btn-signup {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  border-radius: 0;
  white-space: nowrap;
  width: 90px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
}

.btn-login {
  background: transparent;
  /* border: 1px solid #e5e7eb; */
  color: #6b7280;
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #1f2937;
}

.btn-signup {
  background: linear-gradient(30deg, #3d73eb, #de8fff);
  border: none;
  color: white;
  font-weight: 400;
}

.btn-signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

/* ===== УГЛОВЫЕ ЭЛЕМЕНТЫ КНОПОК ===== */

.btn-login::before,
.btn-login::after,
.btn-signup::before,
.btn-signup::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid #323240;
  z-index: 3;
  pointer-events: none;
}

.btn-login::before,
.btn-signup::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.btn-login::after,
.btn-signup::after {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
}

.btn-login-corners,
.btn-signup-corners {
  position: relative;
  display: inline-block;
}

.btn-login-corners::before,
.btn-login-corners::after,
.btn-signup-corners::before,
.btn-signup-corners::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid #323240;
  z-index: 3;
  pointer-events: none;
}

.btn-login-corners::before,
.btn-signup-corners::before {
  bottom: -1px;
  left: -1px;
  border-right: none;
  border-top: none;
}

.btn-login-corners::after,
.btn-signup-corners::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

/* ===== МОБИЛЬНАЯ КНОПКА ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #1f2937;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.mobile-menu-toggle::before,
.mobile-menu-toggle::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid #323240;
  z-index: 3;
  pointer-events: none;
}

.mobile-menu-toggle::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.mobile-menu-toggle::after {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
}

.mobile-menu-toggle-corners {
  position: relative;
  display: none;
}

.mobile-menu-toggle-corners::before,
.mobile-menu-toggle-corners::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid #323240;
  z-index: 3;
  pointer-events: none;
}

.mobile-menu-toggle-corners::before {
  bottom: -1px;
  left: -1px;
  border-right: none;
  border-top: none;
}

.mobile-menu-toggle-corners::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    rgba(61, 115, 235, 0.3),
    rgba(222, 143, 255, 0.3)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px;
  z-index: 50;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.mobile-menu.mobile-menu--open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.mobile-menu .nav-link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #353544;
  font-weight: 500;
}

.mobile-menu .nav-link:last-child {
  border-bottom: none;
}

.mobile-menu .nav-link:hover {
  color: #ffffff;
  opacity: 0.8;
}

.mobile-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-auth-buttons .btn-login-corners,
.mobile-auth-buttons .btn-signup-corners {
  width: 100%;
}

.mobile-auth-buttons .btn-login,
.mobile-auth-buttons .btn-signup {
  width: 100%;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
}

/* ===== СОСТОЯНИЯ ===== */
.navbar.menu-open .mobile-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.navbar.menu-open .mobile-menu-toggle {
  background: rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle svg line {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: 12px 12px;
}

.mobile-menu-toggle.active svg line:nth-child(1) {
  transform: translate(0, 6px) rotate(45deg);
  transform-origin: 12px 6px;
}

.mobile-menu-toggle.active svg line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active svg line:nth-child(3) {
  transform: translate(0, -6px) rotate(-45deg);
  transform-origin: 12px 18px;
}

/* ===== ONLINE ===== */
.online {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-left: 7.5%;
  margin-top: 20px;
  flex-wrap: wrap;
}

.days,
.profitability {
  position: relative;
  text-transform: uppercase;
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: linear-gradient(
    135deg,
    rgba(61, 115, 235, 0.3),
    rgba(222, 143, 255, 0.3)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.days:hover,
.profitability:hover {
  background: linear-gradient(
    135deg,
    rgba(61, 115, 235, 0.25),
    rgba(222, 143, 255, 0.25)
  );
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* Угловые элементы для days */
.days::before,
.days::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid #323240;
  z-index: 2;
  pointer-events: none;
}

.days::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.days::after {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
}

/* Угловые элементы для profitability */
.profitability::before,
.profitability::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid #323240;
  z-index: 2;
  pointer-events: none;
}

.profitability::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.profitability::after {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
}

/* Нижние угловые элементы для days и profitability */
.online-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid #323240;
  z-index: 2;
  pointer-events: none;
}

.online-corner--bottom-left {
  bottom: -1px;
  left: -1px;
  border-right: none;
  border-top: none;
}

.online-corner--bottom-right {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 135px;
  margin-top: 32px;
  background-image: url("./images/Group 3.png");
  background-size: 113%;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-section::after,
.benefits-section::after,
.animation-section::after,
.news-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: #323240;
  opacity: 0.1;
}

.hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

/* Hero Content */
.hero-content {
  text-align: center;
  max-width: 647px;
  z-index: 2;
  margin-top: 200px;
}

.hero-title-wrapper {
  position: relative;
  display: inline-block;
  padding: 0 5px;
  margin-bottom: 0;
}

.hero-title {
  font-size: 62px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.1rem;
  margin-bottom: 0;
  color: var(--text-primary);
  border: 1px solid #d5d8e6;
}

.hero-title2 {
  font-size: 62px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.1rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

/* Уголки для hero-title (только верхняя строка) */
.hero-title-wrapper::before,
.hero-title-wrapper::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid #323240;
  z-index: 2;
  pointer-events: none;
}

.hero-title-wrapper::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.hero-title-wrapper::after {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.hero-title-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid #323240;
  z-index: 2;
  pointer-events: none;
}

.hero-title-corner--bottom-left {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.hero-title-corner--bottom-right {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.hero-description {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
  position: relative;
  display: flex;
  padding: 10px 5px;
  width: 90%;
  margin: auto;
  border: 1px solid #d5d8e6;
}

.description-text {
  width: 80%;
  margin: auto;
}

.hero-description::before,
.hero-description::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid #323240;
  z-index: 2;
  pointer-events: none;
}

.hero-description::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.hero-description::after {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.hero-description-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid #323240;
  z-index: 2;
  pointer-events: none;
}

.hero-description-corner--bottom-left {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.hero-description-corner--bottom-right {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.text-highlight {
  background: linear-gradient(30deg, #3d73eb 0%, #de8fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}

.btn-hero {
  background: linear-gradient(30deg, #3d73eb 0%, #de8fff 100%);
  color: white;
  padding: 14px 48px;
  margin-top: 32px;
  font-size: 16px;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  height: 48px;
}

/* Уголки для btn-hero */
.btn-hero::before,
.btn-hero::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid #323240;
  z-index: 3;
  pointer-events: none;
}

.btn-hero::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.btn-hero::after {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.btn-hero-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid #323240;
  z-index: 3;
  pointer-events: none;
}

.btn-hero-corner--bottom-left {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.btn-hero-corner--bottom-right {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 1100px;
}

.feature-card {
  border: 1px solid #d5d8e6;
  padding: 32px 24px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
}

/* Плюсики в верхних углах */
.feature-card::before,
.feature-card::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 14px;
  height: 14px;
  background: linear-gradient(#323240, #323240) center/1px 100% no-repeat,
    linear-gradient(#323240, #323240) center/100% 1px no-repeat;
}

.feature-card::before {
  left: -8px;
}

.feature-card::after {
  right: -9px;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: #667eea;
  text: left;
}

.feature-title {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 6px;
  background: linear-gradient(0deg, #3d73eb 0%, #de8fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-description {
  font-size: 14px;
  color: #32323f;
  line-height: 1.6;
}

.feature-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    #3d73eb 10%,
    #de8fff 90%,
    transparent 100%
  );
  border: none;
  margin: 20px 0;
  position: relative;
}

/* Точка слева */
.feature-divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 3px;
  background: #3d73eb;
}

/* Точка справа */
.feature-divider::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 3px;
  background: #de8fff;
}

/* Hero Corners */
.hero-corner {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.hero-corner--tl {
  top: 20px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

.hero-corner--tr {
  top: 20px;
  right: 20px;
  border-left: none;
  border-bottom: none;
}

.hero-corner--bl {
  bottom: 20px;
  left: 20px;
  border-right: none;
  border-top: none;
}

.hero-corner--br {
  bottom: 20px;
  right: 20px;
  border-left: none;
  border-top: none;
}

.hero-auth-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

/*==== BENEFITS SECTION ====*/
.benefits-section {
  position: relative;
  min-height: 523px;
  padding: 90px 0 60px;
  overflow: visible;
}

.benefits-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: -180px;
  width: 910px;
  height: 100%;
  background-image: url("./images/benefits_bg.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.benefits-container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.benefits-text {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.overlay {
  margin-bottom: 19px;
}

.benefits-description {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-primary);
}

.benefits-video {
  flex-grow: 1;
  max-width: 400px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.benefits-video::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  background-image: url("./images/benefits_image.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: -1;
}

.benefits-video img {
  position: relative;
  width: 200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.text-gray {
  color: #b6bbd4;
}

.anim-section-header {
  font-size: 40px;
  font-weight: 400;
  text-align: center;
  padding: 0 20px;
  margin-top: 40px;
}

/* Заголовок */
.benefits-title {
  font-size: 48px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-primary);
}

/* График */
.benefits-chart {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.chart-visual {
  margin-bottom: 40px;
}

.chart-visual img {
  max-width: 100%;
  height: auto;
}

.chart-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.chart-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/*==== ANIMATION ====*/

.animation-section {
  height: 560px;

  position: relative;
  margin-bottom: 10px;
}
.anim-section-header {
  font-size: 40px;
  font-weight: 400;
  text-align: center;
}

.anim-section {
  background-image: url("./images/anim_bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  padding-top: 100px;
  height: 560px;
  width: 980px;

  margin: auto;
}

.anim-content {
  display: flex;
  flex-direction: column;

  gap: 60px;
  align-items: center;
}

.content-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trading-element {
  height: 70px;
  width: 200px;
  background: linear-gradient(
    0deg,
    rgba(71, 255, 201, 0.5) 0%,
    rgba(104, 199, 215, 0.5) 100%
  );

  border-top: 2px solid #47ffc9;
  border-bottom: 2px solid #47ffc9;
  border-left: none;
  border-right: none;

  color: #41887b;
  /* Убираем несимметричный padding */
  padding: 12px 0;
  margin-bottom: 64px;

  /* Центрируем текст */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-size: 24px;
  font-weight: 400;
  font-family: var(--font-family);
}

.content-layer h1 {
  font-size: 48px;
  font-weight: 500;
  color: #353544;
  margin-bottom: 16px;
}

.content-layer p {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
}

/*=== ANIMATION ===*/
.animated-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Центральная точка */
.compass-center {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #47ffc9;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 0 20px rgba(71, 255, 201, 0.6);
}

/* Стрелка */
.compass-arrow {
  position: absolute;
  width: 4px;
  height: 120px;
  background: linear-gradient(
    to bottom,
    #47ffc9 0%,
    rgba(71, 255, 201, 0.8) 100%
  );
  border-radius: 2px;
  transform-origin: bottom center;
  bottom: 40%;
  left: 51%;
  margin-left: -2px;
  z-index: 5;
  box-shadow: 0 0 15px rgba(71, 255, 201, 0.8);
}

.compass-arrow::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 16px solid #47ffc9;
  filter: drop-shadow(0 0 8px rgba(71, 255, 201, 0.8));
}

/* Позиционные блоки для иконок */
.position-block {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.4s ease;
  filter: grayscale(100%) brightness(0.7) opacity(0.6);
}

.position-1 {
  top: 47px;
  left: -216px;
  background-image: url("./images/block1-gray.svg");
  animation: blockPulse1 6s infinite ease-in-out;

  width: 400px;
  height: 210px;

  transform: rotate(-7deg);
}

.position-2 {
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background-image: url("./images/block2-gray.svg");
  animation: blockPulse2 6s infinite ease-in-out;

  width: 340px;
  height: 110px;
}

.position-3 {
  top: 45px;
  right: -180px;
  background-image: url("./images/block3-gray.svg");
  animation: blockPulse3 6s infinite ease-in-out;

  width: 330px;
  height: 211px;
  transform: rotate(5deg);
}
/* Активные состояния блоков */
.position-1.active {
  background-image: url("./images/block1-green.svg"); /* Замени на путь к зеленому варианту */
  filter: grayscale(0%) brightness(1.2) opacity(1);
}

.position-2.active {
  background-image: url("./images/block2-green.svg"); /* Замени на путь к зеленому варианту */
  filter: grayscale(0%) brightness(1.2) opacity(1);
}

.position-3.active {
  background-image: url("./images/block3-green.svg"); /* Замени на путь к зеленому варианту */
  filter: grayscale(0%) brightness(1.2) opacity(1);
}

/* TRADING элемент */
.trading-element {
  height: 70px;
  width: 200px;
  background: linear-gradient(
    0deg,
    rgba(71, 255, 201, 0.5) 0%,
    rgba(104, 199, 215, 0.5) 100%
  );
  border-top: 2px solid #47ffc9;
  border-bottom: 2px solid #47ffc9;
  border-left: none;
  border-right: none;
  color: #41887b;
  padding: 12px 47px 18px 47px;
  margin-bottom: 64px;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  font-family: var(--font-family);
  animation: tradingPulse 3s infinite ease-in-out;
}

.main-content-area {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin: 10px 0 0 0;
}

.content-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 20;
  margin-top: 190px;
}

.content-layer h1 {
  font-size: 48px;
  font-weight: 500;
  color: #353544;
  margin-bottom: 16px;
}

.content-layer p {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
}

/* Анимации циркуля */
@keyframes compassRotation {
  0%,
  16.66% {
    transform: rotate(-60deg);
  }
  33.33%,
  49.99% {
    transform: rotate(0deg);
  }
  66.66%,
  83.32% {
    transform: rotate(60deg);
  }
  100% {
    transform: rotate(-60deg);
  }
}

/* Дополнительные эффекты свечения */
.animated-background::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(71, 255, 201, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: backgroundPulse 4s infinite ease-in-out;
}

.media-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 40px 60px;
  margin: 10px auto;
  flex-wrap: wrap;

  /* Отрицательные отступы для выхода за пределы контейнера */
  margin-left: -180px;
  margin-right: -180px;
  padding-left: 180px;
  padding-right: 180px;
}

.media-logos a {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.media-logos a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.media-logos img {
  height: 24px;
  width: auto;
  transition: filter 0.3s ease;
  object-fit: contain;
}

/*==== NEWS ====*/
.news-section {
  padding-top: 150px;
  padding-bottom: 60px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 65px;

  position: relative;
}

.news-card {
  display: flex;
  flex-direction: column;
  align-items: center;

  background: #dbdef2;
  padding: 22px;

  position: relative;

  gap: 70px;
  height: 520px;
  min-width: 0;
}

.news-card-info {
  text-align: center;
}

.news-card-info img {
  border-radius: 50px 0 50px 0;
  width: 300px;
}

.news-card-info h1 {
  background: linear-gradient(0deg, #3d73eb 0%, #de8fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  font-size: 18px;
  font-weight: 500;

  padding-top: 17px;
  padding-bottom: 17px;
  text-align: left;
}

.news-card-info p {
  width: 360px;
  font-size: 16px;
  font-weight: 400;
  color: #a4a6c5;
  line-height: 24px;
  letter-spacing: 0.27px;

  /* Функционал раскрытия */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 16px;

  text-align: left;
}

/* Расширенное состояние */
.news-card.expanded p {
  display: block;
  -webkit-line-clamp: unset;
  text-overflow: unset;
}

/* Кнопка MORE INFO */
.news-card button {
  background: linear-gradient(30deg, #3d73eb 0%, #de8fff 100%);
  border: #000;
  color: white;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-family);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  position: absolute;
  bottom: -20px;
  height: 48px;
  width: 200px;
}

.news-card button::before,
.news-card button::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid #323240;
  z-index: 3;
  pointer-events: none;
}

.news-card button::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.news-card button::after {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

/* Плюсики в верхних углах */
.news-card::before,
.news-card::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 14px;
  height: 14px;
  background: linear-gradient(#323240, #323240) center/1px 100% no-repeat,
    linear-gradient(#323240, #323240) center/100% 1px no-repeat;
}

.news-card::before {
  left: -8px;
}

.news-card::after {
  right: -9px;
}

.btn-news-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(#323240, #323240) center/1px 100% no-repeat,
    linear-gradient(#323240, #323240) center/100% 1px no-repeat;
}

.btn-news-corner--bottom-left {
  bottom: -7px;
  left: -7px;
}

.btn-news-corner--bottom-right {
  bottom: -7px;
  right: -7px;
}

/* ===== КНОПКА НАВЕРХ ===== */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: linear-gradient(30deg, #3d73eb 0%, #de8fff 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  cursor: pointer;
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.2);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
  stroke: #cacaceff;
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
  transform: translateY(-2px);
}

/*==== FOOTER ====*/
footer {
  margin-left: 176px;
  margin-right: 176px;
}

.footer-content {
  background-image: url("./images/logo-neutys3.svg");
  background-position: top left;
  background-repeat: no-repeat;

  border: 1px solid rgba(50, 50, 64, 0.1);
}

.footer-top {
  display: flex;
  justify-content: space-between;

  display: flex;
  flex-direction: row;
  align-items: center;

  padding: 68px 102px 42px 102px;
}

.footer-top img {
  width: 120px;
}

.footer-top-right {
  display: flex;
  flex-direction: row;
}

.footer-top-right img {
  width: 20px;
}

.footer-top-right span {
  text-transform: uppercase;
  color: #74767e;
}

/* ==== FOOTER MIDDLE ==== */
.footer-middle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 42px 18px 42px 42px;
  border-top: 1px solid rgba(50, 50, 64, 0.1);
  border-bottom: 1px solid rgba(50, 50, 64, 0.1);
}

.footer-column {
  display: flex;
  flex-direction: row;
  align-items: top;
  gap: 25px;
}

.footer-column h4 {
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 20px;
  color: #323240;
  display: flex;
  flex-direction: row;
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  color: #323240;
  text-decoration: none;
  font-size: 14px;
}

.footer-column a:hover {
  color: #6c63ff;
}

.footer-column-left {
  display: flex;
  text-transform: uppercase;
  color: #74767e;
  height: 25px;
}

.footer-column-left img {
  width: 20px;
}

.footer-column-left span {
  font-size: 10px;
}

.footer-column-right {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.footer-column-right a {
  font-size: 14px;
  color: #4c4c4c;
}

.footer-auth .auth-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-info p {
  font-size: 13px;
  margin-bottom: 12px;
  color: #74767e;
}

/* ==== FOOTER BOTTOM ==== */
.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: #74767e;
}

/* ===== АДАПТИВНЫЕ БРЕЙКПОИНТЫ ===== */

@media (max-width: 1900px) {
  .benefits-container {
    max-width: 1280px;
    padding: 90px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 1600px) {
  .container {
    margin-left: 120px;
    margin-right: 120px;
  }

  .navbar {
    width: 95%;
  }

  .hero-section {
    padding-top: 75px;
  }

  .benefits-section::before {
    right: -120px;
    width: 800px;
  }

  .benefits-container {
    justify-content: center;
  }

  .benefits-section::before {
    right: -180px;
    width: 750px;
  }

  .online {
    margin-left: 2.5%;
  }
}

@media (max-width: 1500px) {
  .hero-section {
    padding-top: 60px;
  }

  footer {
    margin: 0;
  }
}

@media (max-width: 1400px) {
  .navbar {
    width: 100%;
  }
  .navbar__center {
    gap: 20px;
  }

  .hero-section {
    padding-top: 40px;
  }

  .news-section {
    gap: 40px;
  }

  .news-card {
    padding: 20px;
  }

  .news-card-info img {
    width: 100%;
  }

  .news-card-info p {
    width: 100%;
  }

  .online {
    margin-left: 0;
  }
}

@media (max-width: 1200px) {
  .container {
    margin-left: 80px;
    margin-right: 80px;
  }

  .news-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 60px 20px;
  }

  .navbar {
    width: 100%;
  }
  .navbar-content {
    padding: 12px 12px;
  }
  .navbar__center {
    gap: 14px;
  }
  .navbar__right {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
  .btn-login,
  .btn-signup {
    padding: 6px 12px;
    font-size: 13px;
    width: 80px;
    min-width: 60px;
  }

  .hero-section {
    background-size: 120%;
    padding-top: 75px;
  }

  .hero-content {
    margin-top: 150px;
  }

  .hero-title,
  .hero-title2 {
    font-size: 52px;
  }

  .benefits-section::before {
    display: none;
  }

  .benefits-section {
    min-height: auto;
    padding: 60px 20px;
    overflow: hidden;
  }

  .benefits-container {
    flex-direction: column;
    padding: 0 20px;
    gap: 40px;
  }

  .benefits-video {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
  }

  .benefits-video::before {
    width: 270px;
    height: 270px;
  }

  .benefits-text {
    max-width: 100%;
  }

  .benefits-description {
    font-size: 24px;
  }

  .benefits-video img {
    width: 250px;
  }

  .animation-section {
    height: auto;
    padding: 60px 20px;
  }

  .anim-section {
    width: 100%;
    height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* .animated-background {
    width: 350px;
    height: 350px;
  } */

  .content-layer {
    margin-top: 250px;
  }

  .content-layer h1 {
    font-size: 40px;
  }

  .news-section {
    padding: 60px 20px;
    gap: 40px;
  }

  .news-card {
    width: calc(50% - 20px);
    min-width: 300px;
  }

  footer {
    margin-left: 80px;
    margin-right: 80px;
  }

  .footer-top {
    padding: 50px 60px 30px 60px;
  }

  .footer-middle {
    padding: 30px 18px;
    gap: 30px;
  }

  .media-logos {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 1024px) {
  .hero-section {
    padding-top: 40px;
  }

  .main-content-area {
    grid-template-columns: 1fr;
  }

  footer {
    margin: 0;
  }

  .benefits-section {
    background-image: none;
    background-color: transparent;
  }

  .benefits-video img {
    width: 200px;
  }
}

@media (max-width: 1000px) {
  .navbar {
    width: 98%;
  }
  .navbar-content {
    padding: 12px 20px;
    min-height: 60px;
  }
  .navbar__center {
    gap: 16px;
  }

  .navbar__right {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .logo--desktop {
    display: none;
  }
  .logo--mobile {
    display: block;
    animation: logoFadeIn 0.5s ease;
    height: 32px;
    max-width: 140px;
  }

  .navbar-content::before,
  .navbar-content::after,
  .navbar-corner {
    width: 12px;
    height: 12px;
  }
  .btn-login::before,
  .btn-login::after,
  .btn-signup::before,
  .btn-signup::after,
  .btn-login-corners::before,
  .btn-login-corners::after,
  .btn-signup-corners::before,
  .btn-signup-corners::after {
    width: 6px;
    height: 6px;
  }
  .btn-login,
  .btn-signup {
    padding: 5px 8px;
    font-size: 12px;
    width: 65px;
    min-width: 55px;
  }
}

@media (max-width: 968px) {
  .hero-section {
    background-size: 140%;
    min-height: auto;
    padding-top: 108px;
    padding-bottom: 80px;
  }

  .hero-content {
    margin-top: 100px;
  }

  .hero-title,
  .hero-title2 {
    font-size: 42px;
  }

  .hero-description {
    width: 95%;
    font-size: 15px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 500px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefits-section {
    padding: 60px 20px;
  }

  .benefits-description {
    font-size: 20px;
    line-height: 1.6;
  }

  .anim-section-header {
    font-size: 32px;
    padding: 0 20px;
  }

  .benefits-top {
    flex-direction: column;
    gap: 40px;
  }

  .benefits-video {
    margin: 40px 0;
  }

  .benefits-title {
    font-size: 36px;
  }

  .chart-title {
    font-size: 24px;
  }

  .animation-section {
    padding: 40px 20px;
  }

  .content-layer h1 {
    font-size: 32px;
  }

  .content-layer p {
    font-size: 15px;
    padding: 0 20px;
  }

  .trading-element {
    font-size: 20px;
    width: 180px;
    height: 60px;
  }

  .news-section {
    gap: 60px;
    padding: 50px 20px;
  }

  .news-card {
    width: 100%;
    max-width: 400px;
    height: auto;
    min-height: 480px;
  }

  .news-card-info img {
    width: 100%;
    max-width: 345px;
  }

  .news-card-info p {
    width: 100%;
  }

  footer {
    margin-left: 50px;
    margin-right: 30px;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    padding: 40px 30px;
  }

  .footer-middle {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 30px 20px;
  }

  .footer-column {
    flex-direction: column;
    gap: 15px;
  }

  .news-section {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 50px 20px;
  }

  .news-card {
    width: 100%;
    max-width: 400px;
    height: auto;
    min-height: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 950px) {
  .navbar-content {
    padding: 12px 16px;
    min-height: 50px;
  }

  .navbar__center {
    display: none !important;
  }
  .navbar__right .btn-login-corners,
  .navbar__right .btn-signup-corners {
    display: none !important;
  }

  .mobile-menu-toggle-corners {
    display: block !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }

  .navbar-content::before,
  .navbar-content::after,
  .navbar-corner {
    width: 10px;
    height: 10px;
  }

  .logo--desktop {
    display: block;
    animation: logoFadeIn 0.5s ease;
    height: 32px;
    max-width: 140px;
  }
  .logo--mobile {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-section {
    background-size: 160%;
    padding-top: 155px;
  }

  .hero-content {
    margin-top: 60px;
  }

  .hero-title,
  .hero-title2 {
    font-size: 36px;
    letter-spacing: 0.05rem;
  }

  .hero-title-wrapper::before,
  .hero-title-wrapper::after,
  .hero-title-corner,
  .hero-description::before,
  .hero-description::after,
  .hero-description-corner {
    width: 8px;
    height: 8px;
  }

  .btn-hero {
    padding: 12px 36px;
    font-size: 15px;
    height: 44px;
  }

  .btn-hero::before,
  .btn-hero::after,
  .btn-hero-corner {
    width: 10px;
    height: 10px;
  }

  .benefits-description {
    font-size: 18px;
  }

  .overlay {
    max-width: 200px;
  }

  .anim-section-header {
    font-size: 28px;
  }

  .position-1 {
    left: -141px;
    top: 31px;
    width: 300px;
    height: 172px;
    transform: rotate(-1deg);
  }

  .position-2 {
    top: 5px;
    width: 330px;
    height: 95px;
  }

  .position-3 {
    right: -145px;
    top: 30px;
    width: 300px;
    height: 180px;
    transform: rotate(-1deg);
  }

  .content-layer h1 {
    font-size: 28px;
    text-align: center;
  }

  .news-card {
    max-width: 350px;
    padding: 18px;
  }

  .news-card-info h1 {
    font-size: 16px;
  }

  .news-card-info p {
    font-size: 15px;
  }

  .news-card button {
    width: 180px;
    height: 44px;
    font-size: 11px;
  }

  footer {
    margin-left: 0;
    margin-right: 0;
  }

  .footer-content {
    margin: 0 20px;
  }

  .footer-middle {
    gap: 30px;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    padding: 40px 20px 30px 20px;
    align-items: center;
  }

  .footer-top-right span {
    font-size: 12px;
  }

  .footer-top img {
    width: 100px;
    max-width: 100px;
    height: auto;
  }

  .footer-top-right img {
    width: 20px;
  }

  .container {
    margin-left: 20px;
    margin-right: 20px;
  }

  .animation-section {
    height: auto;
    padding: 40px 10px;
    overflow: hidden;
  }

  .anim-section {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 40px 10px 60px;
    background-size: contain;
  }

  .anim-section-header {
    font-size: 28px;
    padding: 0 15px;
  }

  .animated-background {
    width: 280px;
    height: 280px;
  }

  .compass-arrow {
    height: 90px;
  }

  .compass-center {
    width: 12px;
    height: 12px;
  }

  .position-1 {
    left: -143px;
    top: 30px;
    width: 260px;
    height: 140px;
    transform: rotate(-3deg);
  }

  .position-2 {
    top: 8px;
    width: 280px;
    height: 80px;
  }

  .position-3 {
    right: -141px;
    top: 32px;
    width: 260px;
    height: 145px;
    transform: rotate(3deg);
  }

  .content-layer {
    margin-top: 210px;
  }

  .content-layer h1 {
    font-size: 28px;
    padding: 0 10px;
  }

  .content-layer p {
    font-size: 14px;
    padding: 0 15px;
  }

  .trading-element {
    width: 140px;
    height: 43px;
    font-size: 18px;
    margin-bottom: 50px;
  }

  .media-logos {
    margin-left: -20px;
    margin-right: -20px;
    padding: 30px 40px;
    gap: 20px;
  }

  .media-logos img {
    height: 20px;
  }
}

@media (max-width: 700px) {
  .logo--mobile {
    height: 28px;
    max-width: 120px;
  }

  .hero-section {
    padding-top: 133px;
  }

  .container {
    margin: 20px;
  }
}

@media (max-width: 600px) {
  .navbar-content {
    padding: 10px 14px;
  }

  .hero-section {
    background-size: 200%;
    padding-top: 55px;
  }

  .hero-title,
  .hero-title2 {
    font-size: 28px;
  }

  .hero-description {
    font-size: 14px;
  }

  .description-text {
    width: 90%;
  }

  .hero-content {
    margin-top: 150px;
  }

  .benefits-section {
    padding: 60px 0;
  }

  .benefits-title {
    font-size: 28px;
  }

  .benefits-description {
    font-size: 16px;
  }

  .animated-background,
  .position-1,
  .position-2,
  .position-3 {
    display: none;
  }

  .anim-section {
    padding: 40px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
  }

  .anim-content {
    gap: 40px;
  }

  /* Trading element остаётся и будет анимироваться */
  .trading-element {
    width: 220px;
    height: 60px;
    font-size: 18px;
    margin-bottom: 20px;
    animation: tradingPulse 3s infinite ease-in-out;
    margin-top: 60px;
  }

  .content-layer {
    margin-top: 0;
  }

  .content-layer h1 {
    font-size: 24px;
  }

  .content-layer p {
    font-size: 14px;
  }
  .news-section {
    padding: 40px 15px;
    gap: 50px;
  }

  .news-card {
    max-width: 100%;
  }

  footer {
    margin-left: 20px;
    margin-right: 20px;
  }

  .footer-top {
    padding: 30px 20px;
  }

  .footer-middle {
    padding: 20px 15px;
  }

  .footer-column h4 {
    font-size: 13px;
  }

  .footer-column a {
    font-size: 13px;
  }

  .footer-auth .auth-buttons {
    flex-direction: column;
  }

  .footer-auth .btn-login,
  .footer-auth .btn-signup {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    margin-left: 15px;
    margin-right: 15px;
  }

  .navbar {
    width: 98%;
  }
  .logo--mobile {
    height: 26px;
    max-width: 100px;
  }
  .navbar-content::before,
  .navbar-content::after,
  .navbar-corner {
    width: 8px;
    height: 8px;
    border-width: 1px;
  }
  .mobile-menu-toggle::before,
  .mobile-menu-toggle::after,
  .mobile-menu-toggle-corners::before,
  .mobile-menu-toggle-corners::after {
    width: 4px;
    height: 4px;
  }
  .mobile-auth-buttons .btn-login,
  .mobile-auth-buttons .btn-signup {
    font-size: 14px;
    padding: 12px 16px;
    min-height: 40px;
  }

  .hero-section {
    background-size: 250%;
    padding-top: 55px;
  }

  .hero-title,
  .hero-title2 {
    font-size: 24px;
  }

  .hero-title-wrapper::before,
  .hero-title-wrapper::after,
  .hero-title-corner {
    width: 6px;
    height: 6px;
  }

  .btn-hero {
    padding: 10px 28px;
    font-size: 14px;
    height: 40px;
  }

  .benefits-section {
    padding: 40px 10px;
  }

  .benefits-description {
    font-size: 15px;
  }

  .anim-section-header {
    font-size: 20px;
  }

  .animated-background {
    width: 180px;
    height: 180px;
  }

  .position-1,
  .position-2,
  .position-3 {
    display: none;
  }

  .compass-arrow {
    height: 80px;
  }

  .content-layer h1 {
    font-size: 22px;
  }

  .trading-element {
    font-size: 16px;
    width: 140px;
    padding: 10px 20px;
  }

  .news-card {
    padding: 15px;
    gap: 50px;
  }

  .news-card::before,
  .news-card::after {
    width: 10px;
    height: 10px;
    top: -6px;
  }

  .news-card::before {
    left: -6px;
  }

  .news-card::after {
    right: -7px;
  }

  .news-card button {
    width: 160px;
    font-size: 10px;
  }

  .news-card button::before,
  .news-card button::after,
  .btn-news-corner {
    width: 10px;
    height: 10px;
  }

  .footer-content {
    margin: 0;
    border-left: none;
    border-right: none;
    background-size: 80px;
    background-position: 20px 20px;
  }

  .news-section {
    padding: 30px 10px;
    gap: 40px;
    grid-template-columns: 1fr;
  }

  .news-card {
    padding: 15px;
    gap: 50px;
    max-width: 100%;
  }

  .news-card::before,
  .news-card::after {
    width: 10px;
    height: 10px;
    top: -6px;
  }

  .news-card::before {
    left: -6px;
  }

  .news-card::after {
    right: -7px;
  }

  .news-card-info img {
    width: 100%;
    max-width: 100%;
  }

  .news-card-info h1 {
    font-size: 16px;
    padding: 12px 0;
  }

  .news-card-info p {
    width: 100%;
    font-size: 14px;
    line-height: 22px;
  }

  .news-card button {
    width: 160px;
    height: 40px;
    font-size: 10px;
    padding: 8px 16px;
  }

  .news-card button::before,
  .news-card button::after,
  .btn-news-corner {
    width: 8px;
    height: 8px;
  }

  .media-logos {
    margin-left: -15px;
    margin-right: -15px;
    padding: 20px 30px;
    gap: 15px;
    justify-content: center;
  }

  .media-logos img {
    height: 18px;
  }
}

/* ===== АДАПТИВНЫЕ БРЕЙКПОИНТЫ ===== */

.btn-login:hover::before,
.btn-login:hover::after,
.btn-signup:hover::before,
.btn-signup:hover::after,
.btn-login-corners:hover::before,
.btn-login-corners:hover::after,
.btn-signup-corners:hover::before,
.btn-signup-corners:hover::after {
  border-color: #333333;
}

@media (hover: none) and (pointer: coarse) {
  .btn-login:hover,
  .btn-signup:hover,
  .mobile-menu-toggle:hover {
    transform: none;
    box-shadow: none;
  }
  .logo:hover {
    transform: none;
    filter: none;
  }
  .btn-login:active {
    background: rgba(255, 255, 255, 0.3);
  }
  .btn-signup:active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo--desktop,
  .logo--mobile {
    transition: none;
  }
  .logo:hover {
    transform: none;
    filter: none;
  }
  @keyframes logoFadeIn {
    from,
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media print {
  .navbar {
    display: none !important;
  }
}
