/* General styles */
body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    color: white;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Header logo */
.logo-container {
    margin-bottom: 0.8rem; /* Уменьшенный отступ */
    text-align: center;
}

.header-logo {
    height: 80px; /* Увеличенный размер логотипа */
    width: auto;
    filter: brightness(0) invert(1);
}

/* Animated gradient */
.gradient-bg {
    padding: 3rem 0 4rem;
    background: linear-gradient(135deg, #8E54E9, #6E48AA);
    background-size: 200% 200%;
    animation: gradientFlow 16s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header */
header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1rem;
    max-width: 600px;
    margin: 1rem auto 0;
    opacity: 0.9;
    line-height: 1.6;
    padding: 0 15px;
}

/* Features */
.features {
    position: relative;
    z-index: 2;
    padding: 0.5rem 0 2rem;
}

.feature-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0 10px;
}

.feature-card {
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.22);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.feature-icon i {
    font-size: 1.6rem;
    color: white;
}

.feature-card h3 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-card p {
    opacity: 0.9;
    font-size: 0.85rem;
    margin: 0.6rem 0 0;
    line-height: 1.5;
}

/* Download section */
.download {
    padding: 1.25rem 0 3rem;
    text-align: center;
    background: white;
}

.home-notice-container {
    margin-top: 22px;
    margin-bottom: 0;
}

.download h2 {
    font-size: 1.7rem;
    color: #444;
    margin-bottom: 0.7rem;
}

.download-subtitle {
    color: #666;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
}

.app-card {
    width: 220px;
    height: 280px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1.2rem 1rem;
    background: #f5f5f5;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.inner-box {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.app-card:hover .inner-box {
    transform: scale(1.05);
}

.inner-box i {
    font-size: 2.4rem;
    color: white;
}

.app-label {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.4rem;
}

.rating {
    margin: 0.2rem 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating i {
    color: #FF9500;
    font-size: 1rem;
    margin: 0 0.1rem;
}

.rating-value {
    margin-left: 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #555;
}

.store-badge {
    margin-top: 0.3rem;
    width: 100%;
    text-align: center;
}

.store-badge img {
    width: 170px;
    height: auto;
    min-width: 170px;
    border-radius: 7px;
    transition: transform 0.2s ease;
}

.store-badge img:hover {
    transform: scale(1.03);
}

/* iOS - оригинальный розово-фиолетовый */
.app-card.ios .inner-box {
    background: linear-gradient(135deg, #FAD0C4 0%, #FF9A9E 100%);
    box-shadow: 0 4px 12px rgba(255, 154, 158, 0.3);
}

/* Android - оригинальный зелено-голубой */
.app-card.android .inner-box {
    background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
    box-shadow: 0 4px 12px rgba(67, 206, 162, 0.3);
}

/* Hebrew title */
.hebrew-title {
    font-size: 1.8rem;
    color: #444;
    margin-bottom: 1rem;
    font-weight: normal; /* Убрано жирное начертание */
    direction: rtl;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Languages section */
.languages {
    background: white;
    padding: 1.5rem 0 1.8rem;
    text-align: center;
}

.languages-content p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.languages-content span {
    color: #444;
    font-weight: normal;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    
    .header-logo {
        height: 70px; /* Уменьшенный размер для мобильных */
    }
    
    header h1 {
        font-size: 1.9rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .feature-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0;
    }
    
    .feature-card {
        width: 100%;
        max-width: 260px;
        margin-bottom: 1rem;
        padding: 1.2rem 0.8rem;
    }
    
    .download-buttons {
        gap: 1.8rem;
        max-width: 100%;
    }
    
    .app-card {
        width: 200px;
        height: 260px;
    }
    
    .inner-box {
        width: 90px;
        height: 90px;
    }
    
    .hebrew-title {
        font-size: 1.5rem;
    }
    
    .store-badge img {
        width: 160px;
        min-width: 160px;
    }
    
    .languages-content p {
        font-size: 0.95rem;
        padding: 0 15px;
    }
}
