/* ===== Герой ===== */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

.hero-image {
    width: 100%;
    max-width: 640px;
    margin: 0 auto 4rem;
    border: 1px solid var(--color-line-soft);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-pop);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.mockup {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 16px;
    border-bottom: 1px solid var(--color-line-soft);
}

.mockup-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-line);
}

.mockup-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    padding: 14px;
}

.mockup-tile {
    border-radius: 8px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: var(--color-surface);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    animation: slideUp 0.7s ease-out 0.1s both;
}

.hero-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent);
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw + 1rem, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: slideUp 0.7s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: slideUp 0.7s ease-out 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: slideUp 0.7s ease-out 0.4s both;
}

/* ===== Возможности ===== */
.features {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-surface);
    padding: 2rem;
    border: 1px solid var(--color-line-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-icon svg {
    display: block;
    width: 32px;
    height: 32px;
}

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

.feature-card p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* ===== О проекте ===== */
.info-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 4rem 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-line-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    animation: fadeIn 0.8s ease-out 0.5s both;
}

.info-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.info-section p {
    font-size: 1.1rem;
    color: var(--color-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.status-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

/* ===== Этапы ===== */
.steps-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--color-contrast-bg);
    color: var(--color-contrast-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* ===== Примеры галерей ===== */
.gallery-examples {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.galleries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.gallery-example {
    border: 1px solid var(--color-line-soft);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-example:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
}

.gallery-preview {
    width: 100%;
    height: 220px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 8px;
    background: var(--color-bg-alt);
}

.gallery-preview.layout-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-preview.layout-masonry {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 60px;
    gap: 8px;
    padding: 12px;
}

.gallery-preview.layout-single {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.gallery-preview.layout-asymmetric {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 100px 100px;
}

.tall {
    grid-row: span 2;
}

.photo-sample {
    border-radius: 6px;
    background: linear-gradient(135deg, #e8e8e8 0%, #d4d4d4 100%);
    animation: shimmer 2s infinite;
}

/* ===== Палитра плиток-заглушек ===== */
.tile-c1 { background: linear-gradient(135deg, #e3a99f 0%, #d69a8e 100%); }
.tile-c2 { background: linear-gradient(135deg, #a3c8bf 0%, #8fb8ac 100%); }
.tile-c3 { background: linear-gradient(135deg, #e0cc8e 0%, #d2bc79 100%); }
.tile-c4 { background: linear-gradient(135deg, #b0abd8 0%, #9d92cf 100%); }
.tile-c5 { background: linear-gradient(135deg, #9cc5aa 0%, #88b599 100%); }
.tile-c6 { background: linear-gradient(135deg, #d4a3b7 0%, #c592a8 100%); }

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-info p {
    font-size: 0.9rem;
    color: var(--color-faint);
    margin: 0;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ===== Адаптивность ===== */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .info-section {
        padding: 2rem;
    }
}
