body {
  margin: 0;
  padding: 0;
  font-family: 'Heebo', 'Montserrat', Arial, sans-serif;
  direction: rtl;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

.hero-block {
  background-image: url('images/cover_1.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  width: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.btn-proceed {
  padding: 16px 48px;
  background-color: #ff7700;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 119, 0, 0.3);
  
  /* Position in left corner for RTL */
  position: absolute;
  bottom: 80px;
  left: 80px;
  z-index: 10;
}

.btn-proceed:active {
  transform: translateY(2px);
  box-shadow: 0 2px 10px rgba(255, 119, 0, 0.4);
}

/* Features section */
.features-section {
  padding: 80px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.features-heading {
  font-size: 38px;
  margin-bottom: 15px;
  font-weight: 700;
  background: linear-gradient(90deg, #ff7700, #ff9900, #ffbb00, #ff9900, #ff7700);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 3s ease infinite;
  text-shadow: 0px 2px 2px rgba(255, 119, 0, 0.1);
}

.features-subheading {
  font-size: 24px;
  margin-bottom: 60px;
  color: #555;
  font-weight: 500;
}

.features-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px;
}

.feature-item {
  width: 22%;
  margin-bottom: 40px;
  text-align: right;
}

.feature-icon {
  height: 80px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ff7700, #ff9900, #ffbb00, #ff9900, #ff7700);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 3s ease infinite;
  text-shadow: 0px 2px 2px rgba(255, 119, 0, 0.1);
}

.feature-description {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  font-weight: bold;
  text-align: right;
}

.footnote {
  font-size: 13px;
  color: #777;
  margin-top: 50px;
  text-align: right;
  line-height: 1.5;
}

/* Phone showcase section */
.phone-showcase {
  display: flex;
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.phone-image {
  flex: 1;
  text-align: center;
  min-height: 500px;
  position: relative;
}

.phone-image img {
  max-width: 100%;
}

.phone-content {
  flex: 1;
  padding: 0 40px;
  text-align: right;
}

.phone-heading {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 30px;
  color: #333;
}

/* Third section with background */
.third-section {
  background-image: url('images/cover_2.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  width: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* Large desktop */
@media (min-width: 1441px) {
  .features-section, .phone-showcase {
    max-width: 1400px;
  }
  
  .features-heading {
    font-size: 48px;
  }
  
  .features-subheading {
    font-size: 28px;
  }
  
  .phone-heading {
    font-size: 48px;
  }
  
  .btn-proceed {
    padding: 18px 54px;
    font-size: 22px;
  }
}

/* Regular desktop and tablets in landscape */
@media (max-width: 1200px) {
  .feature-item {
    width: 45%;
  }
  
  .phone-showcase {
    padding: 60px 30px;
  }
  
  .phone-heading {
    font-size: 36px;
  }
  
  .btn-proceed {
    bottom: 60px;
    left: 60px;
  }
}

/* Tablets in portrait */
@media (max-width: 992px) {
  .features-heading {
    font-size: 32px;
  }
  
  .features-subheading {
    font-size: 20px;
    margin-bottom: 40px;
  }
  
  .phone-showcase {
    flex-direction: column;
  }
  
  .phone-image {
    margin-bottom: 40px;
    min-height: auto;
  }
  
  .phone-content {
    padding: 0;
    text-align: center;
  }
}

/* For mobile devices */
@media (max-width: 768px) {
  .btn-proceed {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    text-align: center;
    width: 400px; /* Doubled width for mobile */
    padding: 30px 40px; /* Increased padding */
    font-size: 28px; /* Larger font */
    border-radius: 60px; /* More rounded */
  }
  
  .btn-proceed:active {
    transform: translateX(-50%) translateY(2px);
  }
  
  .hero-block, .third-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    background-color: #ffffff;
    height: 100vh;
    min-height: 500px;
    position: relative;
    width: 100%;
  }
  
  /* Mobile-specific background images */
  .hero-block {
    background-image: url('images/mob_1.jpg');
  }
  
  .third-section {
    background-image: url('images/mob_2.jpg');
  }
  
  .feature-item {
    width: 100%;
    margin-bottom: 40px;
  }
  
  .features-grid {
    flex-direction: column;
  }
  
  .features-section {
    padding: 50px 20px;
  }
  
  .phone-showcase {
    flex-direction: column;
    padding: 40px 20px;
  }
  
  .phone-image {
    min-height: auto;
    margin-bottom: 30px;
  }
  
  .phone-image img {
    max-height: 400px;
  }
  
  .phone-content {
    padding: 0;
  }
  
  .phone-heading {
    font-size: 28px;
    text-align: center;
  }
  
  .features-heading {
    font-size: 26px;
  }
  
  .features-subheading {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  .feature-title {
    font-size: 28px;
  }
  
  .feature-description {
    font-size: 17px;
    font-weight: bold;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .btn-proceed {
    width: 70%; /* Instead of fixed width, use percentage for small screens */
    font-size: 30px;
    padding: 20px 20px;
    bottom: 34px;
  }
  
  .features-heading {
    font-size: 24px;
  }
  
  .features-subheading {
    font-size: 16px;
  }
  
  .feature-title {
    font-size: 24px;
  }
  
  .phone-heading {
    font-size: 24px;
  }
  
  .footnote {
    font-size: 11px;
  }
  
  .feature-description {
    font-size: 16px;
    font-weight: bold;
  }
}

/* Animation keyframes for button pulse effect */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 119, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 119, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 119, 0, 0);
  }
}

/* Apply pulse animation to buttons */
.hero-block .btn-proceed, .third-section .btn-proceed {
  animation: pulse 2s infinite;
}

/* Animation for gradient flow effect */
@keyframes gradientFlow {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

/* Footer Styles */
.site-footer {
  background-color: #f8f8f8;
  padding: 60px 0 20px;
  color: #555;
  border-top: 1px solid #eaeaea;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  margin-bottom: 30px;
  text-align: right;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #ff7700;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-section a {
  color: #ff9900;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ff7700;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #eaeaea;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 13px;
  color: #888;
}

/* Footer Responsive Styles */
@media (max-width: 992px) {
  .footer-section {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .footer-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 0 20px;
  }
  
  .footer-section h3 {
    font-size: 16px;
  }
  
  .footer-section p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 30px 0 15px;
  }
  
  .footer-bottom p {
    font-size: 12px;
  }
}

/* Policy and Terms Pages Styles */
.page-header {
  background-color: #ff7700;
  color: white;
  padding: 50px 0;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.back-link {
  position: absolute;
  left: 20px;
  top: 0;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.back-link:hover {
  opacity: 0.8;
}

.page-header h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 700;
}

.page-content {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.content-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.content-container h2 {
  color: #ff7700;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 24px;
  border-bottom: 2px solid #ff990050;
  padding-bottom: 10px;
  text-align: right;
}

.content-container h2:first-of-type {
  margin-top: 0;
}

.content-container p, .content-container ul {
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: right;
}

.content-container ul {
  padding-left: 20px;
}

.content-container li {
  margin-bottom: 10px;
}

.policy-update {
  font-style: italic;
  color: #888;
  margin-top: 50px;
  text-align: right;
  font-size: 14px;
}

/* Policy and Terms Responsive Styles */
@media (max-width: 768px) {
  .page-header {
    padding: 30px 0;
  }
  
  .back-link {
    position: static;
    display: block;
    margin-bottom: 20px;
    text-align: left;
  }
  
  .page-header h1 {
    font-size: 26px;
  }
  
  .content-container {
    padding: 30px 20px;
  }
  
  .content-container h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 20px 0;
  }
  
  .page-header h1 {
    font-size: 22px;
  }
  
  .page-content {
    padding: 30px 15px;
  }
  
  .content-container {
    padding: 20px 15px;
  }
  
  .content-container h2 {
    font-size: 18px;
  }
  
  .content-container p, .content-container ul {
    font-size: 14px;
  }
}

/* Стили для ссылки "Вернуться на главную" на страницах policy и terms */
.back-to-main {
  margin-top: 30px;
  text-align: center;
}

.back-to-main a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff7700;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-to-main a:hover {
  background-color: #ff9900;
  box-shadow: 0 4px 8px rgba(255, 119, 0, 0.3);
}

/* Обновленные стили для h1 на страницах policy и terms */
.content-container h1 {
  color: #ff7700;
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #ff990050;
} 