:root {
  /* Тетрадная цветовая схема */
  --primary-color: #1a73e8;
  --primary-dark: #0d47a1;
  --primary-light: #64b5f6;
  
  --secondary-color: #e83a1a;
  --secondary-dark: #a12a0d;
  --secondary-light: #f67964;
  
  --tertiary-color: #1ae87a;
  --tertiary-dark: #0da147;
  --tertiary-light: #64f6b5;
  
  --quaternary-color: #b91ae8;
  --quaternary-dark: #6d0da1;
  --quaternary-light: #d364f6;
  
  /* Нейтральные цвета */
  --dark: #222222;
  --medium: #888888;
  --light: #f5f5f5;
  --white: #ffffff;
  
  /* Размеры тени для неоморфизма */
  --nm-shadow-small: 3px 3px 6px rgba(0, 0, 0, 0.1), -3px -3px 6px rgba(255, 255, 255, 0.7);
  --nm-shadow-medium: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.7);
  --nm-shadow-large: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.7);
  
  /* Переходы и анимации */
  --transition-fast: 0.2s all ease;
  --transition-medium: 0.3s all ease;
  --transition-slow: 0.5s all ease;
  
  /* Размеры радиуса скругления */
  --radius-small: 5px;
  --radius-medium: 10px;
  --radius-large: 20px;
  --radius-round: 50%;
}

/* Базовые стили */
html, body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 700;
}

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

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

/* Неоморфический стиль */
.neomorphic {
  background: var(--light);
  border-radius: var(--radius-medium);
  box-shadow: var(--nm-shadow-medium);
  transition: var(--transition-medium);
}

.neomorphic:hover {
  box-shadow: var(--nm-shadow-large);
  transform: translateY(-5px);
}

.neomorphic-button {
  background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  border: none;
  border-radius: var(--radius-medium);
  padding: 10px 20px;
  box-shadow: var(--nm-shadow-small);
  transition: var(--transition-medium);
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.neomorphic-button:hover {
  box-shadow: var(--nm-shadow-medium);
  transform: translateY(-2px) rotateX(5deg);
  background: linear-gradient(145deg, var(--primary-light), var(--primary-color));
}

.neomorphic-button-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: var(--radius-medium);
  padding: 10px 20px;
  box-shadow: var(--nm-shadow-small);
  transition: var(--transition-medium);
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.neomorphic-button-outline:hover {
  box-shadow: var(--nm-shadow-medium);
  transform: translateY(-2px) rotateX(5deg);
  background: rgba(255, 255, 255, 0.1);
}

.neomorphic-input, .neomorphic-select select {
  border: none;
  border-radius: var(--radius-medium);
  padding: 10px 15px;
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.1), inset -3px -3px 6px rgba(255, 255, 255, 0.7);
  transition: var(--transition-medium);
  background-color: var(--light);
}

.neomorphic-input:focus, .neomorphic-select select:focus {
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.15), inset -4px -4px 8px rgba(255, 255, 255, 0.8);
  outline: none;
}

/* Общие стили компонентов */
.button {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-medium);
}

.button.is-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.button.is-outlined.is-white {
  border-color: var(--white);
  color: var(--white);
}

.button.is-outlined.is-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.button.is-light {
  background-color: var(--light);
  color: var(--primary-color);
}

.button.is-light:hover {
  background-color: var(--primary-light);
  color: var(--white);
}

.button.is-small {
  font-size: 0.85rem;
}

.button.is-medium {
  font-size: 1.1rem;
}

.title, .subtitle {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: 10px 0;
}

.title.has-text-centered::after {
  margin: 10px auto;
}

.subtitle {
  color: var(--medium);
  font-weight: 400;
}

.section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition-medium);
}

.header .navbar {
  background-color: transparent;
}

.header .navbar-item {
  font-weight: 500;
  transition: var(--transition-fast);
  color: var(--dark);
}

.header .navbar-item:hover {
  color: var(--primary-color);
  background-color: transparent;
}

.header .navbar-burger {
  color: var(--dark);
}

.header .navbar-burger:hover {
  background-color: transparent;
}

.header .navbar-menu {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* Hero Section */
.hero {
  position: relative;
  margin-top: 80px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  z-index: 0;
}

.hero-body {
  position: relative;
  z-index: 1;
}

.hero-content {
  padding: 3rem;
  background: rgba(26, 115, 232, 0.1);
  border-radius: var(--radius-medium);
  backdrop-filter: blur(10px);
  transform: perspective(1000px) rotateY(0deg);
  transition: transform 0.5s ease;
}

.hero-content:hover {
  transform: perspective(1000px) rotateY(2deg);
}

.hero .title, .hero .subtitle {
  color: var(--white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero .title::after {
  background: linear-gradient(90deg, var(--white), transparent);
}

.hero .buttons {
  margin-top: 2rem;
}

/* Tasarruf Section */
.tasarruf-section {
  background-color: var(--light);
  position: relative;
  overflow: hidden;
}

.tasarruf-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  opacity: 0.3;
  z-index: 0;
}

.tasarruf-section .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-medium);
  overflow: hidden;
}

.tasarruf-section .card:hover {
  transform: translateY(-10px);
}

.tasarruf-section .card-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-medium) var(--radius-medium) 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tasarruf-section .image-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tasarruf-section .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.tasarruf-section .card:hover .image-container img {
  transform: scale(1.05);
}

.tasarruf-section .card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tasarruf-section .title {
  margin-bottom: 1rem;
}

.tasarruf-section p {
  flex-grow: 1;
  color: var(--dark);
  line-height: 1.6;
}

/* Success Stories Section */
.success-stories-section {
  background-color: var(--white);
  position: relative;
}

.success-stories-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--tertiary-light) 0%, transparent 70%);
  opacity: 0.3;
  z-index: 0;
}

.success-stories-section .card {
  margin-bottom: 2rem;
  overflow: hidden;
}

.success-stories-section .card-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.success-stories-section .image-container {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-round);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 5px solid var(--primary-light);
  box-shadow: var(--nm-shadow-small);
}

.success-stories-section .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.success-stories-section .card:hover .image-container img {
  transform: scale(1.1);
}

.success-stories-section .card-content {
  padding: 1.5rem;
}

.success-stories-section .card-content h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.success-stories-section .card-content p {
  color: var(--dark);
  line-height: 1.6;
  font-style: italic;
}

/* External Resources Section */
.external-resources {
  background-color: var(--light);
  position: relative;
}

.external-resources .card {
  height: 100%;
  transition: var(--transition-medium);
}

.external-resources .card:hover {
  transform: translateY(-5px);
}

.external-resources .card-content {
  padding: 1.5rem;
}

.external-resources .card-content h3 {
  margin-bottom: 1rem;
}

.external-resources .card-content a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

.external-resources .card-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.external-resources .card-content p {
  color: var(--medium);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Blog Section */
.blog-section {
  background-color: var(--white);
  position: relative;
}

.blog-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--quaternary-light) 0%, transparent 70%);
  opacity: 0.3;
  z-index: 0;
}

.blog-section .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-medium);
  overflow: hidden;
}

.blog-section .card:hover {
  transform: translateY(-10px);
}

.blog-section .card-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-medium) var(--radius-medium) 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-section .image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-section .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.blog-section .card:hover .image-container img {
  transform: scale(1.05);
}

.blog-section .card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-section .title {
  margin-bottom: 1rem;
}

.blog-section p {
  color: var(--dark);
  line-height: 1.6;
}

.blog-section .button {
  align-self: flex-start;
  margin-top: auto;
}

/* Events Section */
.events-section {
  background-color: var(--light);
  position: relative;
}

.events-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--secondary-light) 0%, transparent 70%);
  opacity: 0.3;
  z-index: 0;
}

.events-section .card {
  margin-bottom: 2rem;
  overflow: hidden;
}

.events-section .event-date {
  display: flex;
  justify-content: center;
  align-items: center;
}

.events-section .date-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 1rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--nm-shadow-small);
  width: 100px;
  height: 100px;
}

.events-section .month {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.events-section .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin: 5px 0;
}

.events-section .year {
  font-size: 0.8rem;
}

.events-section .card-content {
  padding: 1.5rem;
}

.events-section .card-content h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.events-section .card-content p {
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--white);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--tertiary-light) 0%, transparent 70%);
  opacity: 0.3;
  z-index: 0;
}

.contact-section .title {
  color: var(--primary-dark);
}

.contact-section .contact-info {
  margin-bottom: 2rem;
}

.contact-section .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-section .contact-item .icon {
  color: var(--primary-color);
  margin-right: 1rem;
}

.contact-section .business-hours {
  margin-bottom: 2rem;
}

.contact-section .business-hours h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.contact-section .business-hours p {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.contact-section .card {
  height: 100%;
}

.contact-section .card-content {
  padding: 2rem;
}

.contact-section .field {
  margin-bottom: 1.5rem;
}

.contact-section .label {
  color: var(--dark);
  font-weight: 500;
}

.contact-section .button {
  margin-top: 1rem;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 5rem 1.5rem 2rem;
}

.footer .title, .footer h3 {
  color: var(--white);
}

.footer .title::after, .footer h3::after {
  background: linear-gradient(90deg, var(--primary-color), transparent);
  margin: 10px 0;
}

.footer p {
  color: var(--medium);
  line-height: 1.6;
}

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

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: var(--medium);
  transition: var(--transition-fast);
}

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

.footer .social-links a {
  color: var(--medium);
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  transition: var(--transition-fast);
}

.footer .social-links a:hover {
  color: var(--primary-light);
  transform: translateY(-2px);
}

.footer .newsletter h3 {
  margin-bottom: 1rem;
}

.footer .newsletter .input {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
}

.footer .newsletter .button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
}

.footer .content {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

/* Success Page */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
  background-color: var(--light);
}

.success-page .icon {
  font-size: 5rem;
  color: var(--tertiary-color);
  margin-bottom: 2rem;
}

.success-page .title {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.success-page p {
  color: var(--dark);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.success-page .button {
  margin-top: 1rem;
}

/* Privacy & Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
  padding-bottom: 3rem;
}

.privacy-page .title, .terms-page .title {
  color: var(--primary-dark);
  margin-bottom: 2rem;
}

.privacy-page p, .terms-page p {
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.privacy-page h3, .terms-page h3 {
  color: var(--primary-dark);
  margin: 2rem 0 1rem;
}

.privacy-page ul, .terms-page ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.privacy-page ul li, .terms-page ul li {
  margin-bottom: 0.5rem;
  color: var(--dark);
  line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Cookie Consent */
#cookieConsent {
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  text-align: center;
  z-index: 9999;
  display: none;
}

#cookieConsent p {
  margin-bottom: 15px;
  color: white;
}

#acceptCookies {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

#acceptCookies:hover {
  background-color: var(--primary-dark);
}

/* Responsive Adjustments */
@media screen and (max-width: 1023px) {
  .header {
    padding: 0.5rem 0;
  }
  
  .hero-content {
    padding: 2rem;
  }
  
  .section {
    padding: 4rem 1rem;
  }
  
  .tasarruf-section .image-container,
  .blog-section .image-container {
    height: 180px;
  }
  
  .success-stories-section .image-container {
    width: 120px;
    height: 120px;
  }
  
  .events-section .date-box {
    width: 80px;
    height: 80px;
  }
  
  .events-section .day {
    font-size: 1.5rem;
  }
  
  .contact-section .card-content {
    padding: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    margin-top: 60px;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .title.is-1 {
    font-size: 2rem !important;
  }
  
  .title.is-2 {
    font-size: 1.75rem !important;
  }
  
  .title.is-3 {
    font-size: 1.5rem !important;
  }
  
  .title.is-4 {
    font-size: 1.25rem !important;
  }
  
  .success-stories-section .image-container {
    width: 100px;
    height: 100px;
  }
  
  .events-section .date-box {
    width: 70px;
    height: 70px;
    padding: 0.5rem;
  }
  
  .events-section .day {
    font-size: 1.25rem;
  }
  
  .footer {
    padding: 3rem 1rem 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .tasarruf-section .image-container,
  .blog-section .image-container {
    height: 160px;
  }
  
  .success-stories-section .image-container {
    width: 80px;
    height: 80px;
  }
  
  .events-section .date-box {
    width: 60px;
    height: 60px;
  }
  
  .events-section .day {
    font-size: 1rem;
  }
  
  .contact-section .card-content {
    padding: 1rem;
  }
}