* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #000;
}

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

html {
    scroll-behavior: smooth;
}

/* Header */
header {
    background: linear-gradient(135deg, #0362ff 0%, #764ba2 100%);
    color: white;
    padding: 30px 0 20px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.img-fluid {
    max-width: 100%;
    width: auto
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #a8e6cf 100%);
    opacity: 0.1;
}

.header-content {
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.logo img {
    width: 240px;
}

nav {
    display: flex;
    justify-content: center;
}

.apps-bg {
    display: block;
    position: absolute;
    left: 50%;
    top: 30%;
    z-index: 1;
    opacity: 0.1;
    transform: translateX(-50%);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
    padding-top: 10px;
    padding-bottom: 30px;
}

.left-arrow {
    display: block;
    position: absolute;
    left: 10%;
    top: 30%;
    height: 200px;
    width: 100px;
    z-index: 1;
    opacity: 1;
    transform: scaleX(-1);
}

.right-arrow {
    display: block;
    position: absolute;
    right: 10%;
    top: 30%;
    height: 200px;
    width: 100px;
    z-index: 1;
    opacity: 1;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.5rem;
    transition: opacity 0.3s;
}

.phone-screen,
.app-buttons {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Когда блок появляется в области экрана */
.phone-screen.visible,
.app-buttons.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: url(../img/header-bg.jpg) no-repeat center;
    background-size: cover;
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    border-bottom-left-radius: 90px;
    border-bottom-right-radius: 90px;
    max-height: 900px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}

.app-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.app-buttons img {
    width: 160px;
}

.phone-mockups {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

#animated-text {
    white-space: pre-wrap;
    /* сохраняет пробелы */
    font-size: 1.5rem;
    font-weight: 400;
    font-family: sans-serif;
}

#animated-text span {
    display: inline-block;
    filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: forwards;
    animation-name: appear;
    animation-duration: 0.4s;
    animation-timing-function: ease-out;
}

#animated-text span.space {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    width: 0.3em;
    /* ширина пробела */
    display: inline-block;
}

@keyframes appear {
    to {
        filter: blur(0);
        opacity: 1;
        transform: translateY(0);
    }
}

.phone {
    width: 280px;
    height: 400px;
    position: relative;
    z-index: 11;
}

/* Transform Section */
.transform-section {
    padding: 80px 0;
    margin-top: 30vh;
    text-align: center;
}

.transform-section h2 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: #000;
    line-height: 5.5rem;
}

.transform-section h2 .highlight {
    color: #0362ff;
}

.transform-section p {
    font-size: 1.5rem;
    margin-bottom: 60px;
    color: #000;
}

.waitlist-form {
    max-width: 650px;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #0362ff;
    padding: 25px 50px 35px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.waitlist-form input,
.waitlist-form input[type="text"],
.waitlist-form input[type="email"] {
    padding: 16px 25px;
    border: 1px solid #ffffff;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    margin-bottom: 10px;
    transition: border-color 0.3s;
}

form label {
    text-align: left;
    padding-left: 25px;
    color: #fff;
    font-weight: 500;
    font-size: 1.2rem;
}

.waitlist-form::before {
    content: '';
    display: block;
    width: 190px;
    height: 190px;
    left: -100px;
    top: -75px;
    position: absolute;
    background-image: url(../img/form-hat.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.waitlist-form::after {
    content: '';
    display: block;
    width: 375px;
    height: 470px;
    right: -190px;
    top: -52px;
    position: absolute;
    background-image: url(../img/form-girl.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.waitlist-form input:focus {
    border-color: #0362ff;
}

.waitlist-btn,
.waitlist-form .waitlist-btn {
    background: #0362ff;
    color: white;
    padding: 15px;
    border: 1px solid #fff;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

.waitlist-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    padding: 80px 0 20px;
    background: white;
    position: relative;
}

.about-section:before {
    content: '';
    display: block;
    width: 527px;
    height: 400px;
    left: -340px;
    top: 35%;
    position: absolute;
    background-image: url(../img/cloth-about.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.about-section h2 {
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 4.5rem;
    margin-bottom: 60px;
    line-height: 5.5rem;
    color: #000;
}

.about-text h2 .highlight {
    color: #0362ff;
}

.about-text p {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 20px;
}

.about-text p .highlight {
    color: #0362ff;
    font-weight: bold;
}

.about-phone {
    text-align: center;
}

.about-phone .phone {
    width: 290px;
    height: 100%;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 90px 0 60px;
    background: white;
    text-align: center;
}

.features-section h2 {
    font-size: 4.5rem;
    line-height: 5.5rem;
    margin-bottom: 90px;
    color: #000;
}

.features-section h2 .highlight {
    color: #0362ff;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: left;
}

.feature-card {
    background: #f8f9fa;
    padding: 30px 45px 45px 45px;
    border-radius: 12px;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: #0362ff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #000;
    line-height: 1.4;
    font-size: 1.5rem;
    margin: 0;
}

.features-image {
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-height: 735px;
}

.woman-with-phone {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.woman-illustration {
    position: absolute;
    right: 20px;
    bottom: 0;
    width: 200px;
    height: 300px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-radius: 100px 100px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.phone-in-hand {
    position: absolute;
    right: 60px;
    bottom: 100px;
    width: 80px;
    height: 140px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.phone-in-hand::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #000;
    border-radius: 1px;
}

.phone-screen-small {
    width: 90%;
    height: 80%;
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.faq-answer {
    overflow: hidden;
    height: 0;
    transition: height 0.4s ease;
    margin-bottom: 20px;
}

.faq-item+.faq-item {
    margin-top: 1rem;
}

.faq-section h2 {
    font-size: 4.5rem;
    line-height: 5.5rem;
    margin-bottom: 60px;
    color: #000;
}

.faq-section h2 .highlight {
    color: #0362ff;
}

.faq-list {
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #979797;
    margin-bottom: 20px;
}

.faq-question {
    padding: 20px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question {
    position: relative;
    padding-right: 2rem;
    cursor: pointer;
}

.faq-question::before,
.faq-question::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 20px;
    height: 4px;
    background-color: #0362ff;
    transition: transform 0.3s ease;
}

.faq-question::before {
    transform: translateY(-50%);
}

.faq-question::after {
    transform: translateY(-50%) rotate(90deg);
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(0deg);
}

/* Contact Section */
.contact-section {
    padding: 20px 0 120px;
    text-align: center;
}

.contact-section h2 {
    font-size: 4.5rem;
    margin-bottom: 30px;
    color: #000;
}

.contact-email {
    font-size: 2.5rem;
    color: #0362ff;
    text-decoration: none;
    font-weight: 600;
}

.contact-email:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: url(../img/footer-bg.jpg) no-repeat top;
    background-size: cover;
    color: white;
    padding: 90px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-logo img {
    width: 230px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    font-size: 1.5em;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: opacity 0.3s;
}

.social-links a img {
    height: 35px;
    width: auto;
}

.social-links a:hover {
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.wpcf7-form-control-wrap>* {
    width: 100%;
    display: block;
}

input[type="hidden"] {
    display: none;
}

.hidden-fields-container {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
	#animated-text {
	  word-wrap: break-word;
	  overflow-wrap: break-word;
	  line-height: 1.4;
	}

	#animated-text span.letter {
	  display: inline;
	  animation: fadeIn 0.6s ease forwards;
	  opacity: 0;
	}

	@keyframes fadeIn {
	  to {
		opacity: 1;
	  }
	}

    .waitlist-form::after,
    .waitlist-form::before {
        content: none;
    }

    .about-section,
    .features-section,
    .faq-section,
    .transform-section {
        padding: 40px 0;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .faq-question::before,
    .faq-question::after {
        right: 0.4rem;
    }

    .faq-section h2,
    .features-section h2,
    .about-text h2,
    .transform-section h2 {
        line-height: 2.4rem;
        margin-bottom: 30px;
    }

    .contact-email {
        font-size: 1.5rem;
    }

    .footer-links a {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .contact-section {
        padding-bottom: 90px;
    }

    #animated-text {
        font-size: 1.3rem;
    }

    .faq-question,
    .features-section,
    .about-text,
    .transform-section,
    .feature-card p,
    .about-text p,
    .transform-section p {
        font-size: 1.2rem;
    }

    .nav-links {
        flex-direction: row;
        gap: 15px;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .logo {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .phone-mockups {
        flex-direction: row;
        align-items: center;
    }

    .transform-section {
        margin-top: 10px;
    }

    .about-section:before {
        content: none;
    }

    .right-arrow,
    .left-arrow {
        width: 75px;
    }

    .phone {
        width: 160px;
        height: 320px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-image .phone {
        width: 220px;
        height: 440px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .waitlist-form {
        margin: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .transform-section h2,
    .about-text h2,
    .features-section h2,
    .faq-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .phone {
        width: 140px;
        height: 280px;
    }

    .container {
        padding: 0 15px;
    }
}