/* Подключение локальных шрифтов */
@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Common styles for all pages */
:root {
  --primary-color: #059669;
  --secondary-color: #047857;
  --accent-color: #10b981;
  --light-color: #d1fae5;
  --dark-color: #374151;
  --text-color: #374151;
  --background-color: #ffffff;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

body {
  font-family: "Rubik", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--background-color);
  box-shadow: 0 2px 20px rgba(3, 3, 3, 0.1);
  padding: 12px 0;
  border-bottom: 1px solid rgba(3, 3, 3, 0.05);
  transition: all 0.3s ease;
}

.header.sticky {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(3, 3, 3, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  padding-left: 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.logo-icon {
  width: 35px;
  height: 35px;
  margin-right: 10px;
  border-radius: 0;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo:hover .logo-icon {
  transform: rotate(-5deg) scale(1.15);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.logo-text {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  font-size: 0.9em;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: normal;
}

.logo-text span:first-child {
  font-weight: 700;
}

.logo-text span:last-child {
  font-weight: 600;
  font-size: 0.85em;
  color: var(--secondary-color);
}

.logo:hover .logo-text {
  text-shadow: 0 0 8px rgba(5, 150, 105, 0.3);
}

.logo-icon .dollar-eyes {
  animation: shine 3s infinite;
}

.logo-icon .dollar-eyes.wink {
  animation: wink 1s ease;
}

@keyframes wink {
  0% {
    transform: scaleY(1);
    opacity: 1;
  }
  10% {
    transform: scaleY(0.1);
    opacity: 0.5;
  }
  20% {
    transform: scaleY(1);
    opacity: 1;
    filter: brightness(1.5) drop-shadow(0 0 6px rgba(5, 150, 105, 1));
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes shine {
  0% {
    opacity: 0.8;
    filter: brightness(1) drop-shadow(0 0 1px rgba(5, 150, 105, 0.5));
  }
  50% {
    opacity: 1;
    filter: brightness(1.3) drop-shadow(0 0 4px rgba(5, 150, 105, 0.8));
  }
  100% {
    opacity: 0.8;
    filter: brightness(1) drop-shadow(0 0 1px rgba(5, 150, 105, 0.5));
  }
}

.logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--primary-color);
  border-radius: 2px;
  transition: height 0.3s ease, background 0.3s ease;
}

.logo:hover::before {
  height: 90%;
  background: linear-gradient(to bottom, var(--primary-color), #3452b1);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
}

.nav-list li {
  margin-left: 35px;
  position: relative;
}

.nav-list a {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.nav-list a:hover {
  color: var(--primary-color);
}

.nav-list a.active {
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.nav-list a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.nav-list li a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 8px;
  font-size: 0.9em;
  opacity: 0.8;
}

.nav-list li:nth-child(1) a::before {
  content: "\f013";
}

.nav-list li:nth-child(2) a::before {
  content: "\f046";
}

.nav-list li:nth-child(3) a::before {
  content: "\f0c0";
}

.nav-list li:nth-child(4) a::before {
  content: "\f0d6";
}

.nav-list li:nth-child(5) a::before {
  content: "\f1cd";
}

.cta-button .btn-primary {
  background: var(--primary-color);
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: white;
}

.cta-button .btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

.cta-button .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
  background: var(--secondary-color);
}

.cta-button .btn-primary:hover::before {
  left: 100%;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .logo-icon {
    width: 30px;
    height: 30px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo-text {
    max-width: 120px;
    font-size: 0.85em;
  }

  .logo-text span:last-child {
    font-size: 0.8em;
  }

  .nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(74, 110, 224, 0.1);
  }

  .nav.active .nav-list {
    flex-direction: column;
  }

  .nav.active .nav-list li {
    margin: 0 0 15px 0;
  }

  .nav.active .nav-list li:last-child {
    margin-bottom: 0;
  }

  .cta-button .btn-primary {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  body {
    font-size: 0.95rem;
  }

  p {
    margin-bottom: 12px;
  }

  section {
    padding: 50px 0;
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.02);
}

section {
  padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 20px;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(5, 150, 105, 0.2);
  font-family: "Rubik", sans-serif;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(5, 150, 105, 0.3);
}

.btn-large {
  padding: 15px 30px;
  font-size: 1.1rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50px;
}

.btn-large:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(5, 150, 105, 0.3);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-list {
  display: flex;
}

.nav-list li {
  margin-left: 30px;
}

.nav-list a {
  color: var(--dark-color);
  font-weight: 500;
}

.nav-list a:hover {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.footer {
  background: #f8f9fa;
  color: var(--dark-color);
  padding: 70px 0 30px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(3, 3, 3, 0.05);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(5, 150, 105, 0.06) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(5, 150, 105, 0.06) 0%,
      transparent 20%
    );
  z-index: 1;
}

.footer::after {
  content: "$";
  font-family: Arial, sans-serif;
  font-size: 400px;
  font-weight: bold;
  position: absolute;
  bottom: -120px;
  right: -80px;
  color: rgba(255, 255, 255, 0.03);
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
}

.footer-column {
  flex: 1;
  min-width: 240px;
  margin-bottom: 30px;
  padding: 0 20px;
  position: relative;
}

.footer-column:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
}

.footer-column h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  color: var(--dark-color);
  font-family: "Rubik", sans-serif;
  font-weight: 600;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.footer-column:hover h3::after {
  width: 100%;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: var(--dark-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
  display: inline-block;
}

.footer-column ul li a::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
  padding-left: 18px;
}

.footer-column ul li a:hover::before {
  left: 0;
  opacity: 1;
}

.footer-column p {
  color: var(--dark-color);
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  transition: all 0.3s ease;
}

.footer-column:nth-child(3) p:first-of-type {
  padding-left: 0;
}

.footer-column p:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  position: relative;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(3, 3, 3, 0),
    rgba(3, 3, 3, 0.1),
    rgba(3, 3, 3, 0)
  );
}

.footer-bottom p {
  color: var(--dark-color);
  font-size: 0.9rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 15px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(5, 150, 105, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-color);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(5, 150, 105, 0.4);
  color: white;
}

@media (max-width: 992px) {
  .footer-column:not(:last-child)::after {
    display: none;
  }

  .footer-links {
    flex-direction: column;
    gap: 40px;
  }

  .footer-column {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
    width: 100%;
  }

  .footer-column:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 50px 0 20px;
  }

  .footer-column h3 {
    font-size: 1.3rem;
  }

  .footer::after {
    font-size: 300px;
    right: -60px;
    bottom: -100px;
  }
}

@media (max-width: 576px) {
  .footer-links {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }

  .footer-column {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
}

.nav.active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.nav.active .nav-list {
  flex-direction: column;
}

.nav.active .nav-list li {
  margin: 0 0 15px 0;
}

.header.sticky {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) and (max-width: 1366px) {
  .container {
    max-width: 1000px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  section {
    padding: 70px 0;
  }

  .btn-large {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .nav-list li {
    margin-left: 25px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    max-width: 90%;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  h3 {
    font-size: 1.3rem;
  }

  section {
    padding: 60px 0;
  }

  .btn {
    padding: 8px 20px;
  }

  .btn-large {
    padding: 10px 22px;
    font-size: 1rem;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-list li {
    margin-left: 15px;
    margin-bottom: 5px;
  }

  .nav-list li a {
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .logo-icon {
    width: 35px;
    height: 35px;
  }

  .cta-button .btn-primary {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-column {
    min-width: 200px;
  }
}

@media (min-width: 770px) and (max-width: 1016px) {
  .header .container {
    padding: 0 10px;
  }

  .nav-list {
    margin-top: 5px;
  }

  .nav-list li {
    margin-left: 12px;
    margin-bottom: 5px;
  }

  .nav-list li a {
    font-size: 0.85rem;
  }

  .nav-list li a::before {
    font-size: 0.8em;
    margin-right: 4px;
  }

  .logo {
    font-size: 1.4rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    margin-right: 5px;
  }

  .cta-button .btn-primary {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
    margin-right: 5px;
  }

  .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .btn-large {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .footer {
    padding: 40px 0 15px;
  }

  .footer-column h3 {
    font-size: 1.1rem;
  }

  .logo-text {
    max-width: 110px;
    font-size: 0.8em;
  }
}
