/*
Theme Name: GPP Pulse
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: Кастомная тема для GPP Pulse с поддержкой ACF и Polylang
Version: 1.0
Text Domain: gpppulse
*/

@font-face {
    font-family: 'Ermilov';
    src: url('Ermilov-bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

/* style.css */
:root {
    --primary-blue: #565ACF;
    --primary-blue: #2b7ca3;

    /* As per button in Figma */
    /* --dark-blue-bg: #252B42; */
    --dark-blue-bg: linear-gradient(105.18deg, #25CB9E 14.28%, #124AC3 79.53%);

    /* --dark-blue-bg: linear-gradient(105deg, #c8f0e0 0%, #a0d8ef 100%); */
    /* Main dark background, e.g., Hero, How it works, Pricing */
    --text-dark: #0F2137;
    /* For dark text on light backgrounds */
    --text-light: #E5ECF4;
    --text-gray: #374754;
    /* Paragraph text on light bg */
    --text-gray-middle: #343D48;
    --text-gray-light: #737373;
    /* Lighter gray for subtitles, etc. */
    --accent-pink: #EF5DA8;
    --accent-blue: #7FBCE9;

    /* Tagline color */
    --accent-green-light: #E2F3F0;
    /* Icon bg */
    --accent-blue-light: #E2F0FC;
    /* Icon bg */
    --accent-pink-light: #FBECF4;
    /* Icon bg */
    --accent-purple-light: #EEECF8;
    /* Icon bg */
    --accent-yellow-light: #FFF8E5;
    /* Icon bg */
    --accent-orange-light: #FFEFEB;
    /* Icon bg */

    --border-light: #E8E8E8;
    --star-color: #FFB800;
    /* Approx star color */

    --font-family-main: 'DM Sans', sans-serif;
    --font-family-dop: 'Ermilov', sans-serif;

    --container-width: 1100px;
    --section-padding-y: 100px;
    /* Based on Figma, adjust as needed */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-main);
    line-height: 1.7;
    /* Common line-height for body text */
    color: var(--text-gray);
    background-color: #FFFFFF;
    font-size: 16px;
    /* Base font size */
}

.container {
    width: 98%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
    /* Common horizontal padding */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Removes bottom space under images */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    /* Figma titles look bold */
    color: var(--text-dark);
    line-height: 1.3;
}

h1 {
    font-size: 58px;
    margin-bottom: 20px;
}

/* From Figma */
h2.section-title {
    font-family: var(--font-family-dop);
    font-weight: 700;
    font-size: 59px;
    line-height: 0.8;
    letter-spacing: -1.8px;
    text-align: center;
    vertical-align: middle;
    margin-bottom: 20px;
    text-align: center;
}

h2.section-title.align-left {
    text-align: left;
}

h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.section-tagline {
    font-family: var(--font-family-dop);
    font-weight: 700;
    font-size: 27px;
    line-height: 1;
    text-align: center;
    margin-bottom: 10px;
    /* text-transform: uppercase; */
}

.content-image-text .section-tagline,
.text-center-section .section-tagline {
    text-align: left;
}

.dark-bg-section .section-tagline {
    /* Tagline on dark bg is usually white or light */
    color: var(--text-light);
    opacity: 0.8;
    /* Figma seems to have lighter taglines on dark */
}


.section-description {
    font-size: 18px;
    /* Figma p text size */
    line-height: 1.7;
    color: var(--text-gray);
    max-width: 600px;
    /* For centered descriptions */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.section-description-small {
    /* For paragraphs in content-image sections */
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 30px;
}


.btn,.wpcf7-submit {
    display: inline-block;
    padding: 10px 15px;
    /* Figma buttons are quite padded */
    border-radius: 30px;
    /* Rounded buttons */
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    /* Base border for consistent sizing */
}

.btn-primary {
    background-color: var(--text-gray-middle);
    color: #ffffff;
    border-color: var(--text-gray-middle);
    transition: all 0.25s ease;
    cursor: pointer;
}
.btn-primary:hover {
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}


.btn-start {
  background: linear-gradient(145deg, #3ec8b7, #1ea6dd);
  border: none;
  color: #fff;
  padding: 16px 40px;
  font-family: var(--font-family-dop);
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.16px;
  border-radius: 50px;
  box-shadow: 
    0 8px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-start::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(120deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
  opacity: 0.5;
  pointer-events: none;
}

.btn-start:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 3px rgba(255, 255, 255, 0.7);
}

.btn-start:active {
  transform: translateY(2px);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.2),
    inset 0 3px 6px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
}




.btn-outline-light {
    /* For buttons on dark hero bg */
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-blue);
}

.btn-link-light {
    color: var(--text-light);
    font-weight: 700;
    font-size: 14px;
    padding: 15px 10px;
    /* Adjust if needed */
}

.btn-link-light i {
    margin-right: 8px;
    font-size: 1.2em;
    /* Larger play icon */
}

.btn-link-light:hover {
    opacity: 0.8;
}

.btn-outline-dark,.wpcf7-submit {
    background-color: var(--text-light);
    color: var(--text-dark);
    border-color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.16px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-outline-dark:hover,.wpcf7-submit:hover {
  background: #20c7b3;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-outline-dark:active,.wpcf7-submit:active {
  transform: translateY(2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-outline-dark-bg {
    /* For buttons on dark sections like pricing */
    background-color: var(--text-light);
    color: var(--primary-blue);
    border-color: var(--text-light);
}

.btn-outline-dark-bg:hover {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}


/* Header */
header {
    background-color: #E5ECF4;
    /* Header is transparent over hero */
    color: var(--text-dark);
    padding: 10px 0;
    position: fixed;
    /* Overlaps hero */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-family: var(--font-family-dop);
    display: flex;
    align-items: center;

    font-weight: 700;
    font-size: 36px;
    white-space: nowrap;
}

header .logo svg {
    /* If using inline SVG for logo icon */
    margin-right: 10px;
    width: 28px;
    height: 28px;
    /* Adjust as needed */
}

header .logo img {
    height: 100px;
    margin-right: 0px;
    
    transition: transform 0.3s ease;
    cursor: pointer;
}
header .logo img:hover {
    animation: pulse-logo 1.2s ease infinite;
}

@keyframes pulse-logo {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.logo img:active {
    animation: click-bounce 0.4s ease;
}

@keyframes click-bounce {
    0% { transform: scale(1); }
    30% { transform: scale(0.92); }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.98); }
    100% { transform: scale(1); }
}

header nav ul {
    display: flex;
}

header nav ul li {
    margin-left: 35px;
    /* Spacing from Figma */
}

header nav ul li a {
    font-family: var(--font-family-dop);
    color: var(--text-dark);
    font-weight: 600;
    /* Figma nav links seem semi-bold */
    font-size: 14px;
}

header nav ul li a:hover {
    opacity: 0.8;
}

header nav ul li a i {
    font-size: 0.7em;
    margin-left: 5px;
}


@media screen and (max-width: 1050px) {
    header .logo img {
        height: 50px;
    }

    header .logo {
        font-size: 19px;
    }

    .btn {
        font-size: 14px;
    }

    .btn-outline-dark {
        font-size: 14px;
    }
}
@media screen and (max-width: 400px) {
    header .logo span{
        display: none;
    }
}

/* Hero Section */
/* #hero {
    padding: 200px 0 120px;
    color: var(--text-light);
    position: relative;
    background: var(--dark-blue-bg);
    overflow: hidden;
    border-bottom-right-radius: 200px;
} */

#hero {
    display: flex;
    align-items: center;
    height: calc(100vh - 0px);
    padding: 210px 0 60px;
    color: var(--text-light);
    position: relative;
    background: var(--dark-blue-bg);
    overflow: hidden;
    border-bottom-right-radius: 200px;
    overflow: hidden;
}


#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(./images/pattern.png) center center / cover no-repeat, url(./images/apteka.png) right bottom -120px / 41% no-repeat;
    pointer-events: none;
    z-index: 1;
    
    transform: scale(0.8);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}


#hero.loaded::before {
    transform: scale(1);
    opacity: 1;
}

@media (max-width: 960px) {
    #hero::before {
        display: none;
    }
}

#hero>* {
    position: relative;
    z-index: 2;
}

/* Attempt at curved background shape */
.hero-background-shape {
    position: absolute;
    bottom: -150px;
    /* Adjust to control curve height */
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    /* Wider than viewport for curve */
    height: 300px;
    /* Height of the curved area */
    background-color: #FFFFFF;
    /* Or another color if the next section is different */
    border-radius: 50%;
    /* This creates the curve */
    z-index: 1;
}

/* A more accurate curve might need an SVG background-image or clip-path on #hero itself */
/* e.g. clip-path: ellipse(100% 60% at 50% 100%); */


.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    /* Spacing from Figma */
    position: relative;
    /* To be above the shape */
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 880px;
    /* Limit text width */
    padding: 0 0 0 50px;
}

.hero-text h1 {
    color: var(--text-light);
    font-family: var(--font-family-dop);
    font-weight: 700;
    font-size: 77px;
    line-height: 1;
    letter-spacing: -2px;
}

.hero-text p {
    font-family: var(--font-family-dop);
    font-weight: 700;
    font-size: 33px;
    line-height: 1;
    letter-spacing: 0px;

    margin-bottom: 40px;
    color: var(--text-light);
}

.hero-buttons {
    margin-bottom: 50px;
    /* Space before sponsors */
}

.hero-buttons .btn {
    margin-right: 20px;
}

.sponsors {
    display: flex;
    align-items: center;
    gap: 30px;
    /* Spacing for sponsor logos */
}

.sponsors span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.8;
}

.sponsors img {
    height: 24px;
    /* Adjust as needed */
    opacity: 0.7;
    /* Figma logos are somewhat transparent */
}

.hero-image {
    flex: 0 0 40%;
    /* Adjust width, looks around this in Figma */
}

.hero-image img {
    /* Max width is already 100% of its container */
}

@media (max-width: 850px) {
    .hero-text h1 {
        font-size: 70px;
        letter-spacing: -1px;
        line-height: 1;
    }

    .hero-text p {
        font-size: 23px;
        line-height: 31px;
    }

    header nav ul li {
        margin-left: 10px;
    }

    .btn-outline-dark {
        font-size: 11px;
    }

    .hero-text {
        padding: 0;
    }
}

@media (max-width: 460px) {
    .hero-text h1 {
        font-size: 35px;
        line-height: 1;
    }

    .hero-text p {
        font-size: 14px;
        line-height: 18px;
    }

    .btn {
        padding: 10px 20px;
    }
}

/* General Section Styling */
section {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}

.dark-bg-section {
    background: var(--dark-blue-bg);
    color: var(--text-light);
    /* Default text color for dark sections */
}

.dark-bg-section .section-title,
.dark-bg-section h3,
.dark-bg-section h4,
.dark-bg-section p {
    color: var(--text-light);
}

.dark-bg-section p {
    opacity: 0.85;
    /* Slightly less prominent paragraphs */
}

.light-text {
    color: var(--text-light) !important;
}


/* Features Sections (features-intro, app-features) */
.features-section .section-title {
    margin-bottom: 70px;
    /* More space after title in features */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}



.features-grid-condensed {
    /* For the 6-icon grid */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    /* Slightly less gap */
}

.feature-item {
    padding: 30px 20px;
    padding: 0;
}

.feature-item.top {
    padding-top: 140px;
}



@media screen and (max-width: 960px) {
    .feature-item.top {
        padding-top: 0px;
    }
}

.feature-icon-wrapper {
    width: 72px;
    /* Figma icon background size */
    height: 72px;
    /* border-radius: 18px; */
    /* Rounded corners for icon bg */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    /* Centered icon */
}
@media screen and (max-width: 400px) {
    .feature-icon-wrapper {
        margin: 0 auto 5px auto;
    }
}

.feature-icon-wrapper img {
    /* Assuming SVGs from Figma */
    width: 64px;
    /* Adjust based on actual SVG export */
    height: 64px;
}

/* Icon background colors from Figma */
.bg-green-light {
    background-color: var(--accent-green-light);
}

.bg-blue-light {
    background-color: var(--accent-blue-light);
}

.bg-pink-light {
    background-color: var(--accent-pink-light);
}

.bg-purple-light {
    background-color: var(--accent-purple-light);
}

.bg-yellow-light {
    background-color: var(--accent-yellow-light);
}

.bg-orange-light {
    background-color: var(--accent-orange-light);
}

.feature-item h3 {
    color: var(--text-dark);
    font-family: var(--font-family-dop);
    font-size: 20px;
    /* Figma feature title size */
}

#app-features .feature-item h3 {
    color: #ffffff;
}

.feature-item p {
    font-size: 14px;
    /* Figma feature text size */
    color: var(--text-gray-middle);
    line-height: 1.6;
}

/* Content-Image Sections (Analytics, Secure Payment) */
.content-image-section {
    background-color: #FAFAFA;
    /* Light gray bg from Figma */
}

.content-image-container {
    display: flex;
    align-items: center;
    gap: 80px;
    /* Large gap as in Figma */
}

.content-image-visual {
    flex: 1;
    text-align: center;
}

.content-image-visual img {
    max-width: 450px;
    /* Adjust as needed */
}

.content-image-text {
    flex: 1;
}

.content-image-text .section-title {
    margin-bottom: 30px;
}

.image-left-section .content-image-visual {
    order: 1;
}

.image-left-section .content-image-text {
    order: 2;
}

.image-right-section .content-image-visual {
    order: 2;
}

.image-right-section .content-image-text {
    order: 1;
}


.sub-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.sub-feature-icon-wrapper {
    /* Smaller icon backgrounds for sub-features */
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.sub-feature-icon-wrapper img {
    width: 30px;
    height: 30px;
}

#analytics-platform {
    position: relative;
    overflow: hidden;
}

#analytics-platform::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('./images/doc.png') right bottom -120px / 41% no-repeat;
    /* opacity: 0.2; */
    /* настрой прозрачность */
    pointer-events: none;
    z-index: 1;
    animation: breathing 4s infinite ease-in-out;
    transform-origin: center bottom;
}

@keyframes breathing {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.sub-feature-flex {
    margin: 50px 0 0 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 800px;
}


.sub-feature-flex>* {
    padding: 20px 0;
}

@media screen and (max-width: 1090px) {
    #analytics-platform::before {
        display: none;
    }
}

@media screen and (max-width: 982px) {

    .sub-feature-flex {
        justify-content: center;
        gap: 32px;
        max-width: 100%;
    }

    .sub-feature-flex>*:nth-child(even) {
        padding-top: 0px;
    }
}


.sub-feature-item {
    width: 380px;
}


/* Адаптация под мобильные (одна колонка) */
@media (max-width: 767px) {
    .sub-feature-flex {
        flex-direction: column;
        gap: 12px;
    }

    /* Убираем отступ на мобильных */
    .sub-feature-flex>*:nth-child(even) {
        padding-top: 0;
    }

    .sub-feature-item {
        width: 100%;
        margin-bottom: 30px;
    }
}



.sub-feature-item>div {
    width: 100%;
}

.sub-feature-item h4 {
    color: var(--text-dark);
    font-family: var(--font-family-dop);
    font-weight: 700;
    font-size: 21px;
    line-height: 1;
    letter-spacing: -1.5px;
    text-align: center;
    vertical-align: middle;
}

.sub-feature-item p {
    font-family: var(--font-family-main);
    font-weight: 500;
    font-size: 17px;
    line-height: 1;
    letter-spacing: -0.5px;
    text-align: center;
    vertical-align: middle;
}

.content-image-section .btn {
    margin-top: 20px;
}


/* Smart Jackpots Integrations (Tech Logos) */
.text-center-section .section-tagline {
    text-align: center;
}

.text-center-section .section-title {
    margin-bottom: 20px;
}

.text-center-section .section-description {
    margin-bottom: 60px;
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px 70px;
    /* Generous spacing like in Figma */
    margin-bottom: 60px;
}

.tech-logos img {
    height: 40px;
    /* Adjust based on exported logo sizes */
    opacity: 0.6;
    /* Logos are often subdued */
    transition: opacity 0.3s;
}

.tech-logos img:hover {
    opacity: 1;
}

/* How it Works */
#how-it-works{
    padding-top: 150px;    
}
@media screen and (max-width: 960px) {
 #how-it-works{
    padding-top: 80px;    
 }   
}

#how-it-works .section-title {
    margin-bottom: 70px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.step-item {
    padding: 0 25px;
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #0F2137;
    /* Circle bg color from Figma */
    color: #ffffff;

    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;

}

.step-item h3 {
    font-size: 20px;
}

.step-item p {
    font-size: 14px;
    line-height: 1.6;
}

/* Testimonials */
#testimonials .section-title {
    margin-bottom: 70px;
}

.testimonial-slider-wrapper {
    position: relative;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    overflow-x: auto;
    /* JS will enhance this */
    padding-bottom: 20px;
    /* For scrollbar, or hide with JS */
    scroll-snap-type: x mandatory;
    /* Basic snapping */
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    /* Aim for 3 cards, adjust for gap */
    min-width: 320px;
    padding: 0 35px;
    /* Generous padding from Figma */
    /* border: 1px solid var(--border-light); */
    /* border-radius: 10px; */
    /* Rounded cards */
    /* background-color: #fff; */
    text-align: center;
    scroll-snap-align: start;
}

.testimonial-card.top {
    padding-top: 70px;
}

@media screen and (max-width: 1090px) {
    .testimonial-card.top {
        padding-top: 0px;
    }

    .testimonial-card {
        flex: 0 0 calc(100% - 20px);
    }
}

.testimonial-card .rating {
    color: var(--star-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.testimonial-card .rating i {
    margin: 0 2px;
}

.testimonial-card h4 {
    font-family: var(--font-family-dop);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: 0px;
    vertical-align: middle;

    margin-bottom: 15px;
    color: var(--text-dark);
}

.testimonial-card p {
    font-size: 14px;
    color: var(--text-gray-light);
    line-height: 1.7;
    /* margin-bottom: 30px; */
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered author */
    gap: 15px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author h5 {
    margin-bottom: 2px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
}

.author span {
    font-size: 12px;
    color: var(--text-gray-light);
}

.slider-nav {
    text-align: center;
    margin-top: 40px;
    /* Position arrows absolutely if desired, for now, below */
}

.slider-arrow {
    background: var(--primary-blue);
    border: none;
    color: var(--text-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background-color: #4a4dc7;
}

/* Pricing */
#pricing .section-title {
    margin-bottom: 70px;
}

.pricing-plans {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    /* Figma cards seem vertically centered */
}

.pricing-card {
    background-color: #FFFFFF;
    color: var(--text-dark);
    /* Reset text color for content */
    padding: 40px 13px;
    border-radius: 10px;
    flex: 1;
    max-width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
    cursor: pointer;
}
.pricing-card:hover{
    transform: scale(1.05);
}


.pricing-card.premium {
    background-color: #343D48;
    color: #ffffff;
}
.pricing-card.premium:hover{
    transform: scale(1.05);
}

.pricing-card.premium h3,
.pricing-card.premium .plan-subtitle,
.pricing-card.premium .price-label,
.pricing-card.premium .price-amount,
.pricing-card.premium .price-period,
.pricing-card.premium ul li {
    color: #ffffff;
}

.pricing-card.premium .btn {
    background-color: #ffffff;
    color: var(--text-dark);
    border-color: #ffffff;
}

.pricing-card.premium .btn:hover {
    opacity: 0.8
}


.recommended-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-pink);
    /* Badge color */
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-card h3 {
    color: var(--text-dark);
    font-family: var(--font-family-dop);
    font-weight: 700;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: -0.25px;
    vertical-align: bottom;

    margin-bottom: 10px;
}

.pricing-card .plan-subtitle {
    font-size: 14px;
    color: var(--text-gray-light);
    font-weight: 500;
    margin-bottom: 30px;
}

.price-info {
    margin-bottom: 30px;
}

.price-label {
    display: block;
    font-size: 14px;
    color: var(--text-gray-light);
    font-weight: 600;
}

.price-amount {
    font-size: 50px;
    /* Large price */
    font-weight: 700;
    color: var(--primary-blue);
    /* Price color */
    line-height: 1;
}

.price-period {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gray-light);
    /* Or primary blue */
    margin-left: 5px;
}

.pricing-card.premium .price-amount {
    color: var(--text-light);
}


.pricing-card ul {
    margin: 30px 0;
    text-align: left;
    padding: 0 30px;
    min-height: 118px;
}

@media (max-width: 992px) {
    .pricing-card ul {
        min-height: 60px;
    }
}

@media (max-width: 460px) {
    .pricing-card ul {
        margin: 15px 0;
        padding: 0;
        min-height: 60px;
    }
}

.pricing-card ul li {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    display: flex;
    align-items: center;
}

.pricing-card ul li img {
    /* For check/cross SVGs */
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

.pricing-card .btn {
    display: inline-block;
    width: auto;
    margin-top: 0;
}

/* FAQ */
#faq .section-title {
    margin-bottom: 70px;
}

#faq {
    position: relative;
    overflow: hidden;
}

#faq::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(./images/faq.png) right 110px bottom 50px / 39% no-repeat;
    pointer-events: none;
    z-index: 1;

    animation: pulse 4s infinite ease-in-out;
    transform-origin: center center;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}


@media (max-width: 768px) {
    #faq::before {
        display: none;
    }
}

.faq-list {
    max-width: 480px;
    /* Wider FAQ */
    /* margin: 0 auto; */
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 0;
    padding: 0 115px 25px 0;
    
    /* Добавляем плавный переход */
    transition: transform 0.3s ease;
    cursor: pointer;
}
.faq-item:hover {
    transform: translateX(10px);
}

@media (max-width: 460px) {
    .faq-item {
        padding: 0 0 20px 0;
    }
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 25px 0 0 0;
    /* More padding in FAQ */
    font-weight: 700;
    font-size: 30px;
    line-height: 30px;
    letter-spacing: -0.5px;

    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question span {
    flex-grow: 1;
}

.faq-icon {
    width: 24px;
    /* Size of plus/minus icon */
    height: 24px;
    transition: transform 0.3s ease;
    margin-left: 20px;
}

/* JS will toggle icon src or class for rotation */
.faq-item.open .faq-icon {
    /* transform: rotate(45deg); */
    /* If using a plus that rotates to cross */
    /* Or JS changes src to minus.svg */
}

.faq-answer {

    /* Answer padding */
    font-size: 16px;
    color: var(--text-gray-middle);
    line-height: 1.8;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

/* Footer */
footer {
    background: var(--dark-blue-bg);
    color: var(--text-light);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 240px));
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Lighter border in footer */
}

.footer-column h4 {
    color: var(--text-light);
    font-size: 18px;
    /* Footer heading size */
    margin-bottom: 25px;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-light);
    opacity: 0.7;
    font-size: 14px;
    font-weight: 500;
}

.footer-column ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    opacity: 0.6;
}

/* Responsive Adjustments (General, refine as needed) */
@media (max-width: 992px) {
    h1 {
        font-size: 48px;
    }

    h2.section-title {
        font-size: 32px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        order: 2;
        max-width: 100%;
    }

    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }

    .hero-image img {
        max-width: 350px;
    }

    .hero-buttons {
        justify-content: center;
        display: flex;
    }

    .sponsors {
        justify-content: center;
    }

    .content-image-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .content-image-text .section-tagline,
    .content-image-text .section-title,
    .content-image-text h2.section-title.align-left {
        text-align: center;
    }

    .image-left-section .content-image-visual,
    .image-right-section .content-image-visual {
        order: 1;
        margin-bottom: 30px;
    }

    .image-left-section .content-image-text,
    .image-right-section .content-image-text {
        order: 2;
    }

    .sub-feature-item {
        justify-content: flex-start;
        text-align: left;
    }


    .pricing-plans {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 90%;
        max-width: 450px;
        margin-bottom: 30px;
    }

    .pricing-card.premium {
        transform: scale(1);
    }

    /* No scale on stack */
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .header-container {
        /* Implement mobile menu toggle here */
        /* For now, just stack */
        /* flex-direction: column; */
        gap: 15px;
    }

    header nav {
        display: none;
        /* Shown by JS toggle */
        width: 100%;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    header nav ul li {
        margin-left: 0;
    }

    header .btn-outline-light {
        margin-top: 10px;
    }


    #hero {
        padding: 150px 0 100px;
    }

    h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .section-padding-y {
        --section-padding-y: 70px;
    }

    h2.section-title {
        font-size: 28px;
        letter-spacing: 0px;
        margin-bottom: 50px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-slider {
        gap: 20px;
    }

    .testimonial-card {
        flex-basis: 100%;
        min-width: 280px;
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .faq-question {
        font-size: 18px;
        padding: 20px 0;
    }
}

@media (max-width: 360px) {
    .faq-question {
        font-size: 16px;
        padding: 20px 0 10px;
    }
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}
.language-switcher{
    opacity: 0.9;
}
.lang-item{
    padding: 2px;
    margin: 2px;
}
.lang-item.current-lang{
    background-color: rgba(0,0,0,0.15);
    border-radius: 2px;
}

.language-switcher img {
    width: 24px;
    height: 24px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  max-height: 100vh;
  overflow: auto;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #aabccf;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.4;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  color: #333;
  box-sizing: border-box;
  margin-bottom: 16px;
}

.wpcf7-form-control.wpcf7-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Фокус — при клике на поле */
.wpcf7-form-control:focus {
  border-color: #20c7b3;
  box-shadow: 0 0 0 3px rgba(32, 199, 179, 0.2);
  outline: none;
}

.contacts-section {
  background: linear-gradient(to right, #20c7b3, #207ddb);
  color: #fff;
  padding: 60px 0 0;
  text-align: center;
}

.contacts-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contacts-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
}

.contacts-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding-bottom: 60px;
}

.contact-card {
  background: #ffffff;
  color: #0a1c34;
  border-radius: 20px;
  padding: 30px 20px;
  width: 260px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-card p {
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
}

.map-wrapper {
  width: 100%;
  margin-top: -30px;
}

.contact-flex{
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
    padding: 80px 0 90px 0;
    flex-wrap: wrap;
    /* flex-direction: column-reverse;*/
}
.hero-text.v2{
    max-width: 550px;
    text-align: left;
}
.v2 .contact-card{
    padding: 20px 10px;
    width: 179px;
}
.v2 .contact-card p{
    font-size: 14px;
}
.wpcf7-form-control.wpcf7-text.wpcf7-not-valid,.wpcf7-form-control.wpcf7-textarea.wpcf7-not-valid{
    border-color: red;
}
