/* style/index-platform-advantages.css */

/* Variables for consistent styling */
:root {
  --winph-primary-color: #F2C14E;
  --winph-secondary-color: #FFD36B;
  --winph-background-dark: #0A0A0A;
  --winph-card-background: #111111;
  --winph-text-light: #FFF6D6;
  --winph-border-color: #3A2A12;
  --winph-glow-color: #FFD36B;
  --winph-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --header-offset-desktop: 120px; /* Default for desktop */
  --header-offset-mobile: 100px; /* Default for mobile */
}

/* Base styles for the page content, ensuring contrast with dark body background */
.page-index-platform-advantages {
  background-color: var(--winph-background-dark); /* Ensure consistency with body BG */
  color: var(--winph-text-light); /* Light text for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-index-platform-advantages__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-platform-advantages__section {
  padding: 60px 0;
}

.page-index-platform-advantages__section-title {
  font-size: 2.8em;
  font-weight: bold;
  color: var(--winph-secondary-color); /* Use secondary color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-platform-advantages__section-description {
  font-size: 1.1em;
  color: var(--winph-text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-index-platform-advantages__hero-section {
  position: relative;
  padding-top: 10px; /* Small padding-top to avoid double spacing with body padding */
  padding-bottom: 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-index-platform-advantages__hero-image-wrapper {
  width: 100%;
  height: 600px; /* Fixed height for desktop hero image container */
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
}

.page-index-platform-advantages__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index-platform-advantages__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-index-platform-advantages__hero-title {
  font-size: clamp(2.5em, 5vw, 4em); /* Responsive font size */
  font-weight: 700;
  color: var(--winph-secondary-color);
  margin-bottom: 15px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-platform-advantages__hero-description {
  font-size: 1.2em;
  color: var(--winph-text-light);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-platform-advantages__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}