:root {
    --primary-blue: #538cc4;
    --white: #ffffff;
    --black: #111111;
    --light-gray: #f5f5f5;
    --text-secondary: #555555;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-image: url('images/background.png');
    background-repeat: repeat;
    color: var(--black);
    line-height: 1.6;
    font-size: 16px;
}

.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
    background-color: var(--white);
    padding: 8px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background-color: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: var(--light-gray);
}

.lang-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 50px 0;
}

section:nth-child(even) {
    background-color: var(--light-gray);
}

h1, h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
}

p {
    max-width: 600px;
    margin: 0 auto 20px auto;
    color: var(--text-secondary);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #4a91d7;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 0;
    padding-bottom: 15px;
}

.hero h1 {
    margin-bottom: 15px;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    padding-top: 20px;
}

.demo-video {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    display: block;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hero-cta-wrapper {
    margin-top: 60px;
}

.cta-caption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-top: 15px;
}

/* How It Works Section */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.step-card {
    text-align: center;
}

.step-card .icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step-card p {
    max-width: 300px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.feature-card h3 {
    margin-top: 0;
    font-size: 1.25rem;
}

.feature-card p {
    text-align: left;
    margin: 0;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.pricing-card .price-main {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
}

.pricing-card .price-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.pricing-card .price-value {
    font-size: 1.2rem;
    font-weight: 700;
}

/* FAQ Section */
.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-item summary {
    padding: 20px 0;
    font-weight: 700;
    cursor: pointer;
    list-style: none; /* Remove default marker */
    position: relative;
    padding-right: 30px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item .faq-answer {
    padding-bottom: 20px;
    color: var(--text-secondary);
}

/* Final CTA Section */
section.final-cta {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    color: var(--white);
}

.final-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.final-cta .cta-button {
    background-color: var(--white);
    color: var(--primary-blue);
}

.final-cta .cta-button:hover {
    background-color: #f0f0f0;
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

footer .footer-links span {
    margin: 0 5px;
}

footer .footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

footer .footer-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    footer .footer-links {
        flex-direction: row;
    }
}
