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

body {
    font-family: 'Figtree', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-x: hidden;
}

/* ==================== ACCESSIBILITY ==================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

button:focus,
a:focus,
input:focus {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

/* ==================== CSS CUSTOM PROPERTIES ==================== */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(135deg, #ff6b6b, #ff8e53);
    --text-color: #333;
    --text-color-light: rgba(255,255,255,0.9);
    --magnetic-x: 0px;
    --magnetic-y: 0px;
    --magnetic-scale: 1;
}

/* ==================== KEYFRAME АНИМАЦИИ ==================== */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInScale {
    from { opacity: 0; transform: scale(0.8) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px) rotate(-2deg); }
    to { opacity: 1; transform: translateY(0) rotate(-2deg); }
}

@keyframes textGlow {
    0%,100% { text-shadow: 0 0 20px rgba(255,255,255,0.5); }
    50% { text-shadow: 0 0 30px rgba(255,255,255,0.8), 0 0 40px rgba(102,126,234,0.6); }
}

@keyframes buttonPulse {
    0%,100% { transform: scale(1); box-shadow: 0 8px 25px rgba(102,126,234,0.3); }
    50% { transform: scale(1.05); box-shadow: 0 12px 35px rgba(102,126,234,0.5); }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(360deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes softPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes photoPulse {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.03); filter: brightness(1.05); }
    100% { transform: scale(1); filter: brightness(1); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes blink {
    0%,50% { opacity: 1; }
    50.1%,100% { opacity: 0; }
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes organicGrow {
    0% { 
        transform: scale(0.8) rotate(-2deg);
        opacity: 0;
        border-radius: 20px;
    }
    50% { 
        transform: scale(1.01) rotate(1deg);
        border-radius: 25px;
    }
    100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
        border-radius: 20px;
    }
}

@keyframes liquidMorph {
    0%, 100% { border-radius: 20px 25px 30px 15px; }
    25% { border-radius: 30px 15px 20px 25px; }
    50% { border-radius: 25px 30px 15px 20px; }
    75% { border-radius: 15px 20px 25px 30px; }
}

@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== ОСНОВНЫЕ ЭЛЕМЕНТЫ ==================== */

.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    z-index: 10000;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53, #667eea);
    transition: width 0.2s ease-out;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102,126,234,0.3);
    z-index: 1;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 1;
    transform: translateZ(0) scale(1);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.section:not(.hero-section) {
    opacity: 0;
    transform: translateZ(0) scale(0.95);
}

.section.visible {
    opacity: 1;
    transform: translateZ(0) scale(1);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated,
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.hero-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    animation: fadeInLeft 1.0s ease-out 0.0s both;
}

.hero-image {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    background: rgba(74,144,226,0.3);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102,126,234,0.2);
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
}

.hero-right {
    flex: 1;
    padding-left: 60px;
    position: relative;
    z-index: 2;
    animation: 1.0s ease-out 0.5s both;
}

.hero-content {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 1s cubic-bezier(0.25,1,0.5,1);
}

.hero-content.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    line-height: 1.2;
    text-align: center;
    text-shadow: none;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-color-light);
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: translate(var(--magnetic-x), var(--magnetic-y)) scale(var(--magnetic-scale));
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    animation: buttonPulse 3s ease-in-out infinite;
}

.cta-button:hover {
    box-shadow: 0 15px 40px rgba(255,107,107,0.4);
}

.cta-button:active {
    --magnetic-scale: 0.98;
}

/* ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ СЕКЦИЙ БЕЗ ВНУТРЕННЕГО СКРОЛЛА */
.features-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

/* ИСПРАВЛЕНО: убрана фиксированная высота */
.features-section .features-container {
    max-width: 100%;
    width: 100%;
    /* УБРАНО: height: 100vh; */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* ИСПРАВЛЕНО: добавлена фиксированная высота для видео */
.features-section .features-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px; /* ДОБАВЛЕНО: фиксированная высота */
    overflow: hidden;
    z-index: 1;
}

.features-section .features-video video {
    display: block;
    width: 100%;
    height: 75px;
    object-fit: cover;
    object-position: center;
}

/* ИСПРАВЛЕНО: убран внутренний скролл и увеличен отступ */
.features-section .features-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 20px 20px; /* ИСПРАВЛЕНО: увеличен верхний отступ */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* УБРАНО: flex: 1; */
    position: relative;
    z-index: 2;
    /* УБРАНО: height: calc(100vh - 75px); */
    /* УБРАНО: overflow-y: auto; */
}

.features-section .features-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}

.features-section .features-content h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 20px auto 0;
    border-radius: 2px;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: stretch;
}

.feature-item-with-photo {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ИСПРАВЛЕНО: убран cursor: pointer */
.feature-item {
    background: rgba(255,255,255,0.15);
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(240,147,251,0.2);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInScale 0.8s ease-out both, softPulse 6s ease-in-out infinite;
    margin-bottom: 20px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    cursor: default; /* ИСПРАВЛЕНО: вместо pointer */
    transform: translate(var(--magnetic-x), var(--magnetic-y)) scale(var(--magnetic-scale)) translateY(30px);
    transition: all 0.5s cubic-bezier(0.68,-0.55,0.27,1.55), box-shadow 0.3s ease;
}

.feature-item.visible,
.feature-item.animated {
    transform: translate(var(--magnetic-x), var(--magnetic-y)) scale(var(--magnetic-scale)) translateY(0px);
}

.feature-item:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ИСПРАВЛЕНО: убран cursor: pointer */
.photo-frame {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(240,147,251,0.2);
    position: relative;
    opacity: 0;
    cursor: default; /* ИСПРАВЛЕНО: вместо pointer */
    transform: translate(var(--magnetic-x), var(--magnetic-y)) scale(var(--magnetic-scale)) translateY(30px);
    transition: all 0.5s cubic-bezier(0.68,-0.55,0.27,1.55), box-shadow 0.3s ease, border-color 0.3s ease;
}

.photo-frame.visible,
.photo-frame.animated {
    opacity: 1;
    transform: translate(var(--magnetic-x), var(--magnetic-y)) scale(var(--magnetic-scale)) translateY(0px);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 0;
    animation: photoPulse 8s ease-in-out infinite;
    border-radius: 15px;
}

.photo-frame:hover {
    border-color: rgba(255, 107, 107, 0.6);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.photo-frame:hover img {
    transform: scale(1.05);
}

.photo-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,107,0.1), rgba(255,142,83,0.1));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-frame:hover::before {
    opacity: 1;
}

.magnetic-element {
    --magnetic-x: 0px;
    --magnetic-y: 0px;
    --magnetic-scale: 1;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.hero-content h1.magnetic-element {
    transform: translate(var(--magnetic-x), var(--magnetic-y)) scale(var(--magnetic-scale));
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), text-shadow 0.3s ease;
}

.hero-content h1.magnetic-element:hover {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

.breathe-animation {
    animation: textGlow 4s ease-in-out infinite, breathe 6s ease-in-out infinite;
}

.heartbeat-animation {
    animation: buttonPulse 3s ease-in-out infinite, heartbeat 4s ease-in-out infinite;
}

.animated-gradient-text {
    background: linear-gradient(-45deg, #ff6b6b, #ff8e53, #667eea, #764ba2);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
}

.liquid-morph {
    animation: liquidMorph 12s ease-in-out infinite;
}

.ripple-container {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    animation: ripple 0.6s ease-out;
}

.organic-grow {
    animation: organicGrow 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) both;
}

.shake-error {
    animation: shake 0.5s ease-in-out;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    animation: float 6s ease-in-out infinite;
}

.particle.trailing {
    animation: float 2s ease-out forwards;
}

.floating-element {
    position: absolute;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.floating-element:nth-child(odd) {
    animation-delay: -3s;
}

.features-section:nth-child(even) {
    background: linear-gradient(135deg, #0d0397 0%, #3a5ad9 25%, #fd6b8b 65%, #ffffff 100%);
    color: white;
}

.features-section:nth-child(odd):not(.hero-section) {
    background: linear-gradient(135deg, #fd6b8b 0%, #fdd6e0 35%, #ffffff 70%, #0d0397 100%);
    color: black;
}

.progress-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.nav-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
}

.nav-dot:hover {
    transform: scale(1.2);
    background: #ff6b6b;
}

.nav-dot.active {
    background: #ff6b6b;
    transform: scale(1.3);
}

.typewriter::after {
    content: "|";
    margin-left: 5px;
    animation: blink 1s infinite;
}

.typewriter {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.typewriter.animated {
    opacity: 1;
}

.final-cta {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.features-section-final .feature-grid {
    margin-bottom: 40px;
    justify-content: center;
}

.features-section-final .features-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.form-overlay::-webkit-scrollbar {
    display: none;
}

.form-overlay.active {
    opacity: 1;
    visibility: visible;
}

.form-container {
    background: white;
    border-radius: 25px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.form-container::-webkit-scrollbar {
    display: none;
}

.form-overlay.active .form-container {
    transform: scale(1);
}

.form-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.form-close:hover {
    background: #f0f0f0;
    color: #333;
}

.form-close:focus {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

.form-container h2 {
    font-size: 1.8rem;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.form-container > p {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
    font-size: 15px;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lead-form::-webkit-scrollbar {
    display: none;
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"] {
    padding: 18px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    background: #f9f9f9;
}

.lead-form input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.lead-form input:invalid {
    border-color: #e74c3c;
}

.lead-form input:invalid:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.lead-form input.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
    text-align: left;
}

.checkbox-container input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.checkbox-container label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
    width: 100%;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox-container input:checked + label .checkmark {
    background: #ff6b6b;
    border-color: #ff6b6b;
}

.checkbox-container input:checked + label .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-container input:focus + label .checkmark {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

.highlight {
    color: #ff6b6b;
    font-weight: 500;
}

.form-submit {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.form-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 20px;
    line-height: 1.4;
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 15px;
    padding-left: 20px;
    display: none;
    animation: fadeInError 0.3s ease;
}

.error-message.show {
    display: block;
}

.developer-footer {
    background: rgba(3, 2, 46, 0.9);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    position: relative;
    z-index: 100;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-content p {
    margin: 5px 0;
    line-height: 1.4;
}

.developer-footer a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.developer-footer a:hover {
    color: #ff8e53;
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .feature-grid {
        justify-content: center;
    }
    .feature-item-with-photo {
        min-width: 280px;
        max-width: 350px;
    }
}

@media (max-width: 968px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .hero-right {
        padding-left: 0;
        margin-top: 40px;
        align-items: center;
    }
    .hero-image {
        width: 350px;
        height: 350px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .features-content h2 {
        font-size: 2.2rem;
    }
    .feature-grid {
        flex-direction: column;
        align-items: center;
    }
    .feature-item-with-photo {
        flex: 1 1 300px;
        max-width: 400px;
        width: 100%;
        padding: 25px;
        border-radius: 20px;
        background: rgba(255,255,255,0.12);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    .feature-item {
        padding: 25px 20px;
    }
    
    .magnetic-element {
        --magnetic-x: 0px !important;
        --magnetic-y: 0px !important;
        --magnetic-scale: 1 !important;
    }
    
    .breathe-animation {
        animation-duration: 8s;
    }
    .heartbeat-animation {
        animation-duration: 4s;
    }
}

/* ИСПРАВЛЕННЫЕ МОБИЛЬНЫЕ СТИЛИ */
@media (max-width: 568px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .features-content h2 {
        font-size: 1.8rem;
    }
    .feature-item {
        padding: 20px 15px;
        min-height: 180px;
    }
    .feature-item h3 {
        font-size: 1.1rem;
    }
    .feature-item p {
        font-size: 0.95rem;
    }
    /* ИСПРАВЛЕНО: увеличен отступ для мобильных */
    .features-section .features-content { 
        padding: 100px 15px 50px; 
    }
    /* ИСПРАВЛЕНО: уменьшена высота видео */
    .features-section .features-video { 
        height: 50px; 
    }
    .features-section .features-video video { 
        height: 50px; 
    }
    .photo-frame {
        max-width: 280px;
        aspect-ratio: 16/10;
    }
    
    .form-container {
        padding: 30px 25px;
        margin: 20px;
    }
    .form-container h2 {
        font-size: 1.5rem;
    }
    .form-container > p {
        font-size: 14px;
    }
    .lead-form input {
        padding: 15px 18px;
        font-size: 16px;
    }
    .form-submit {
        padding: 16px;
        font-size: 16px;
    }
    .checkbox-container label {
        font-size: 13px;
    }
    
    .developer-footer {
        font-size: 12px;
        padding: 15px 0;
    }
    .footer-content p {
        margin: 3px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .breathe-animation,
    .heartbeat-animation,
    .liquid-morph,
    .animated-gradient-text {
        animation: none !important;
    }
    .animate-on-scroll,
    .section {
        transition: none !important;
    }
    
    .floating-element {
        animation: none !important;
    }
}

@supports not (backdrop-filter: blur(1px)) {
    .feature-item {
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    .photo-frame {
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    .form-overlay {
        background: rgba(0,0,0,0.8);
    }
}

/* ==================== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ МОБИЛЬНОГО СКРОЛЛА ==================== */

/* viewport height для мобильных браузеров */
:root {
    --real-vh: 1vh;
}

/* Навигационные точки */
@media (max-width: 768px) {
    .progress-nav {
        right: 10px !important;
        gap: 6px !important;
    }

    .nav-dot {
        width: 6px !important;
        height: 6px !important;
        min-width: 6px !important;
        min-height: 6px !important;
        padding: 0 !important;
    }
}