* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent-color: #3A7BFF;
    --text-color: #111111;
    --bg-color: #FFFFFF;
    --border-color: #E5E7EB;
    --text-light: #6B7280;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    z-index: 50;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.nav {
    display: none;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.header-cta {
    padding: 8px 20px;
    border-radius: 9999px;
    background: var(--text-color);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header-cta:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 96px 0 80px;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--accent-color);
}

.hero-subtitle {
    max-width: 800px;
    margin: 0 auto 48px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

.hero-subtitle p {
    margin: 0 0 12px 0;
}

.hero-subtitle p:last-child {
    margin-bottom: 0;
}

.hero-subtitle-main {
    font-size: 17px;
    color: var(--text-color);
    font-weight: 500;
}

.text-highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.hero-subtitle-examples {
    font-size: 15px;
    color: var(--text-light);
    padding-left: 8px;
    border-left: 3px solid var(--accent-color);
}

.example-text {
    color: var(--text-color);
    font-weight: 500;
    font-style: italic;
}

.platform-text {
    color: var(--accent-color);
    font-weight: 600;
}

.hero-subtitle-benefit {
    font-size: 15px;
    color: var(--text-light);
}

.hero-subtitle-benefit strong {
    color: var(--text-color);
    font-weight: 600;
}

.hero-subtitle-tagline {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
    font-style: italic;
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.hero-visual {
    margin-top: 20px;
    margin-bottom: 40px;
}

.placeholder-image {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image img {
    width: 60%;
    height: auto;
    display: block;
    object-fit: cover;
}

.cta-button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #2D6BFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(58, 123, 255, 0.3);
}

/* Section Styles */
section {
    padding: 96px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
    line-height: 1.6;
}

.features-subtitle {
    text-align: left;
    margin-bottom: 48px;
    font-size: 16px;
    line-height: 1.7;
}

.features-subtitle p {
    margin: 0 0 12px 0;
}

.features-subtitle p:last-child {
    margin-bottom: 0;
}

.features-subtitle-main {
    font-size: 17px;
    color: var(--text-color);
    font-weight: 500;
}

.features-examples {
    margin: 16px 0;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 12px;
    border-left: 3px solid var(--accent-color);
}

.features-examples-intro {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.features-examples-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.features-examples-list li {
    padding: 6px 0;
    font-size: 15px;
    color: var(--text-light);
    padding-left: 20px;
    position: relative;
}

.features-examples-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 18px;
}

.features-examples-note {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

.features-tagline {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* Income Section */
.income-section {
    background-color: var(--gray-50);
}

.income-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.income-card {
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.income-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.income-icon-placeholder {
    width: 112px;
    height: 112px;
    background: var(--gray-100);
    border-radius: 12px;
    margin-bottom: 24px;
}
.income-icon-placeholder img {
    width: 112px;
    height: 112px;
}

.income-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.income-label {
    font-size: 14px;
    color: var(--text-light);
}

/* Features Section */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    padding: 32px;
    background: var(--gray-50);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon-placeholder {
    width: 64px;
    height: 64px;
    background: var(--gray-200);
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon-placeholder img {
    width: 30px;
    height: auto;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.feature-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Audience Section */
.audience {
    background-color: var(--gray-50);
}

.audience-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.audience-item {
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.audience-item:last-child {
    border-bottom: none;
}

.audience-item:hover {
    background-color: var(--gray-50);
    padding-left: 32px;
}

/* Calculator Section */
.calculator-section {
    background-color: white;
}

.calculator-card {
    margin-top: 80px;
    padding: 40px;
    background: var(--gray-50);
    border-radius: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-formula {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.calculator-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.calculator-chart-placeholder {
    width: 100%;
    height: 320px; /* Фиксированная высота родителя */
    background: var(--gray-200);
    border-radius: 12px;
    /* Добавьте flexbox или grid, чтобы центрировать изображение (опционально, но полезно) */
    display: flex; 
    justify-content: center;
    align-items: center;
    /* Установите overflow: hidden, чтобы гарантировать, что ничего не выйдет за границы */
    overflow: hidden; 
}

.calculator-chart-placeholder img {
    /* Эти три строки являются ключевыми для вашего решения: */
    width: 100%; /* Занимать до 100% ширины родителя */
    object-fit: contain; /* Масштабировать, сохраняя пропорции, чтобы поместиться */
}
/* Marketing Section */
.marketing {
    background-color: var(--gray-50);
}

.marketing-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.marketing-item {
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.marketing-item:last-child {
    border-bottom: none;
}

.marketing-item:hover {
    background-color: var(--gray-50);
    padding-left: 32px;
}

/* How to Create Section */
.how-to-create {
    background-color: white;
}

.video-container {
    margin: 64px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: #000;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* Footer */
.footer {
    background-color: var(--gray-50);
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.footer-contact {
    flex-shrink: 0;
}

.contact-button {
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-button:hover {
    background-color: #2D6BFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(58, 123, 255, 0.3);
}

.footer-info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    text-align: right;
}

.footer-info {
    max-width: 400px;
}

.footer-logo {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.footer-description {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-light);
}


/* Responsive Design */
@media (min-width: 768px) {
    .nav {
        display: flex;
    }

    .hero-title {
        font-size: 60px;
    }

    .section-title {
        font-size: 48px;
    }
}

@media (max-width: 968px) {
    .income-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-info-wrapper {
        align-items: flex-end;
        text-align: right;
    }
}

@media (max-width: 640px) {
    .header-content {
        flex-wrap: wrap;
        gap: 16px;
    }

    .nav {
        order: 3;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
        display: none;
    }

    .hero {
        padding: 64px 0 48px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        margin-bottom: 40px;
    }
    
    .hero-subtitle-main {
        font-size: 16px;
    }
    
    .hero-subtitle-examples {
        font-size: 14px;
        padding-left: 6px;
        border-left-width: 2px;
    }
    
    .hero-subtitle-benefit {
        font-size: 14px;
    }
    
    .hero-subtitle-tagline {
        font-size: 15px;
        margin-top: 12px;
        padding-top: 12px;
    }

    section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }
    
    .features-subtitle {
        margin-bottom: 40px;
    }
    
    .features-subtitle-main {
        font-size: 16px;
    }
    
    .features-examples {
        padding: 12px;
        margin: 12px 0;
    }
    
    .features-examples-intro {
        font-size: 14px;
    }
    
    .features-examples-list li {
        font-size: 14px;
        padding-left: 18px;
    }
    
    .features-examples-note {
        font-size: 13px;
    }
    
    .features-tagline {
        font-size: 15px;
        margin-top: 12px;
        padding-top: 12px;
    }

    .income-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .video-container {
        margin: 40px 0;
    }
    
    .video-embed {
        border-radius: 12px;
    }

    .placeholder-image {
        height: 100px;
    }

    .calculator-card {
        margin-top: 40px;
        padding: 24px;
    }

    .calculator-formula {
        font-size: 24px;
    }

    .calculator-chart-placeholder {
        height: 160px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .footer-contact {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .contact-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .footer-info-wrapper {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .footer-info {
        max-width: 100%;
    }
}

/* Fade-in animations for scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
