/* 
* ZentaLedger - Accounting Services Website
* Color Palette:
* - Primary Background: #101820 (deep dark indigo)
* - Accent: #FEE715 (bright sunny yellow)
* - Secondary: #6C63FF (purple-indigo)
* - Text: #F7F7F7, Secondary text: #CCCCCC
* Fonts: Poppins, Montserrat
*/

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #101820;
  color: #F7F7F7;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.8rem;
  width: 60px;
  height: 4px;
  background-color: #FEE715;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  color: #CCCCCC;
}

a {
  color: #FEE715;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #6C63FF;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section:nth-child(odd) {
  background-color: #0c131a;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* ===== HEADER & NAVIGATION ===== */
header {
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(16, 24, 32, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-svg {
  transition: transform 0.3s ease;
}

.logo-svg:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: #F7F7F7;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: #FEE715;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav ul li a:hover:after {
  transform: scaleX(1);
}

.cta-button {
  background-color: #FEE715;
  color: #101820;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #6C63FF;
  color: #F7F7F7;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(254, 231, 21, 0.3);
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(16, 24, 32, 0.9) 0%, rgba(16, 24, 32, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero h1 {
  animation: fadeIn 1s ease forwards;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeIn 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-cta {
  animation: fadeIn 1s ease 0.6s forwards;
  opacity: 0;
}

.hero-cta .cta-button {
  padding: 0.8rem 2.5rem;
  font-size: 1.1rem;
  animation: pulse 2s infinite;
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-text {
  flex: 1;
  animation: slideInLeft 1s ease;
}

.about-image {
  flex: 1;
  animation: slideInRight 1s ease;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: linear-gradient(145deg, #14202a, #0a121a);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 0.8s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  background-color: #FEE715;
  color: #101820;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  animation: float 3s ease infinite;
}

.feature-card:hover .feature-icon {
  background-color: #6C63FF;
  color: #F7F7F7;
}

.feature-title {
  color: #F7F7F7;
  margin-bottom: 1rem;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: linear-gradient(145deg, #14202a, #0a121a);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 0.8s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #F7F7F7;
}

.service-price {
  font-size: 1.5rem;
  color: #FEE715;
  font-weight: 700;
  margin: 1rem 0;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-slider {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  scrollbar-width: thin;
  scrollbar-color: #FEE715 #101820;
}

.testimonial-card {
  background: linear-gradient(145deg, #14202a, #0a121a);
  border-radius: 15px;
  padding: 2rem;
  min-width: 300px;
  max-width: 350px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content:before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: -10px;
  color: rgba(254, 231, 21, 0.2);
  font-family: sans-serif;
  z-index: -1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-name {
  font-weight: 600;
  color: #F7F7F7;
}

.author-title {
  font-size: 0.9rem;
  color: #CCCCCC;
}

/* ===== FAQ SECTION ===== */
.faq-container {
  margin-top: 3rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(254, 231, 21, 0.2);
  padding-bottom: 1.5rem;
}

.faq-question {
  font-weight: 600;
  color: #F7F7F7;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #FEE715;
}

.faq-answer {
  color: #CCCCCC;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #FEE715 0%, #6C63FF 100%);
  color: #101820;
  text-align: center;
  padding: 4rem 0;
  margin: 5rem 0;
  border-radius: 15px;
}

.cta-section h2 {
  color: #101820;
}

.cta-section h2:after {
  background-color: #101820;
  left: 50%;
  transform: translateX(-50%);
}

.cta-section p {
  color: #101820;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.cta-section .cta-button {
  background-color: #101820;
  color: #F7F7F7;
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

.cta-section .cta-button:hover {
  background-color: #F7F7F7;
  color: #101820;
}

/* ===== CONTACT FORM ===== */
.contact-section {
  padding-bottom: 7rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  animation: slideInLeft 1s ease;
}

.contact-info ul {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-info ul li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.contact-info ul li strong {
  color: #FEE715;
  margin-right: 0.5rem;
}

.contact-form {
  animation: slideInRight 1s ease;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #F7F7F7;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #F7F7F7;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #FEE715;
  background-color: rgba(255, 255, 255, 0.15);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%23FEE715'%3E%3Cpath d='M2 4L6 8L10 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  color: #F7F7F7;
}

.form-select option {
  background-color: #101820;
  color: #F7F7F7;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-checkbox input {
  margin-right: 0.8rem;
  margin-top: 0.3rem;
}

.form-checkbox label {
  color: #CCCCCC;
  font-size: 0.9rem;
}

.submit-button {
  background-color: #FEE715;
  color: #101820;
  border: none;
  border-radius: 30px;
  padding: 0.8rem 2.5rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: #6C63FF;
  color: #F7F7F7;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(254, 231, 21, 0.3);
}

/* ===== FOOTER ===== */
footer {
  background-color: #0a121a;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-tagline {
  margin-top: 1rem;
  max-width: 300px;
}

.footer-contact h3,
.footer-links h3 {
  color: #FEE715;
  margin-bottom: 1.5rem;
}

.footer-contact ul,
.footer-links ul {
  list-style: none;
}

.footer-contact ul li,
.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  color: #CCCCCC;
}

.footer-links ul li a:hover {
  color: #FEE715;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  color: #CCCCCC;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== COOKIE NOTICE ===== */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(16, 24, 32, 0.95);
  padding: 1rem 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-notice .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-notice p {
  margin-bottom: 0;
  padding-right: 2rem;
}

.cookie-accept {
  background-color: #FEE715;
  color: #101820;
  border: none;
  border-radius: 30px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept:hover {
  background-color: #6C63FF;
  color: #F7F7F7;
}

/* ===== POLICY PAGES ===== */
.policy-page {
  padding: 8rem 0 5rem;
}

.policy-content {
  background: linear-gradient(145deg, #14202a, #0a121a);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.policy-content h1 {
  margin-bottom: 2rem;
}

.policy-content h2 {
  margin-top: 3rem;
}

.policy-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.policy-content ul li {
  margin-bottom: 0.5rem;
  color: #CCCCCC;
}

/* ===== THANK YOU PAGE ===== */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #101820;
  padding: 100px 0 40px; /* Увеличил верхний отступ, чтобы учесть высоту заголовка */
}

.thankyou-content {
  max-width: 600px;
  animation: fadeIn 1s ease;
  margin: 0 auto;
}

.thankyou-icon {
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
}

.thankyou-content h1 {
  margin-bottom: 1.5rem;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.thankyou-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #CCCCCC;
}

.back-button {
  display: inline-block;
  background-color: #FEE715;
  color: #101820;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: #6C63FF;
  color: #F7F7F7;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(254, 231, 21, 0.3);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .features-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  /* Unfix header on mobile */
  header {
    position: relative;
    padding: 1rem 0;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin-top: 1rem;
  }
  
  nav ul li {
    margin: 0 0.5rem;
  }
  
  .about-content,
  .contact-grid {
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .features-grid,
  .services-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .cookie-notice .container {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-notice p {
    margin-bottom: 1rem;
    padding-right: 0;
  }
  
  /* Adjust hero section for non-fixed header */
  .hero {
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .policy-content {
    padding: 1.5rem;
  }
} 