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

:root {
    /* macOS цветовая палитра */
    --apple-blue: #007AFF;
    --apple-blue-hover: #0051D5;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --bg-primary: #FBFBFD;
    --bg-secondary: rgba(255, 255, 255, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.47059;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Градиентный фон в стиле macOS */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #FBFBFD 0%, #F5F5F7 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    padding: 44px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    object-fit: cover;
    width: 40px;
    height: 40px;
    border-radius: 9.6px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px;
    border-radius: 8px;
}

.back-link:hover {
    color: var(--apple-blue);
    background: rgba(0, 122, 255, 0.08);
}

/* Main */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
}

/* Hero Section */
.hero {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
    padding: 80px 0;
}

.hero-title {
    font-size: 72px;
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(180deg, var(--apple-blue) 0%, #5856D6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 21px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.381;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 17px;
    font-weight: 400;
    color: white;
    background: var(--apple-blue);
    border: none;
    border-radius: 980px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.39);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--apple-blue-hover);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.5);
    transform: translateY(-1px);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 122, 255, 0.3);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 100px;
    padding-top: 80px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.feature {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-glass);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 122, 255, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    filter: grayscale(0.2);
}

.feature h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.feature p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.47059;
}

/* App Page */
.app-page {
    justify-content: flex-start;
    padding-top: 60px;
}

.app-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-glass);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-radius: 20px;
    padding: 56px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border-color);
}

.app-icon {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.app-icon img {
    object-fit: cover;
    width: 120px;
    height: 120px;
    border-radius: 28.8px;
}

.app-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

.app-version {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 32px;
    font-weight: 400;
}

.app-description {
    text-align: left;
    margin-bottom: 32px;
    color: var(--text-secondary);
    line-height: 1.47059;
    font-size: 17px;
}

.app-description p {
    margin-bottom: 16px;
}

.app-description p:last-child {
    margin-bottom: 0;
}

.app-requirements {
    text-align: left;
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.app-requirements h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.app-requirements ul {
    list-style: none;
    padding: 0;
}

.app-requirements li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.47059;
}

.app-requirements li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--apple-blue);
    font-weight: 600;
    font-size: 18px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 17px;
    font-weight: 400;
    color: white;
    background: var(--apple-blue);
    border: none;
    border-radius: 980px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.39);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.download-button:hover::before {
    left: 100%;
}

.download-button:hover {
    background: var(--apple-blue-hover);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.5);
    transform: translateY(-1px);
}

.download-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 122, 255, 0.3);
}

.app-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.info-value {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
}

.feedback-section {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.feedback-section h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.feedback-section p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.47059;
}

.feedback-link {
    color: var(--apple-blue);
    text-decoration: none;
    font-weight: 400;
    font-size: 17px;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.feedback-link:hover {
    color: var(--apple-blue-hover);
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 44px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 22px;
    }

    .header {
        padding: 32px 0;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 19px;
    }

    .cta-button {
        padding: 11px 20px;
        font-size: 17px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 80px;
        padding-top: 60px;
    }

    .feature {
        padding: 28px 20px;
    }

    .app-card {
        padding: 40px 28px;
    }

    .app-title {
        font-size: 40px;
    }

    .app-info {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 40px;
    }

    .hero {
        padding: 40px 0;
    }

    .app-card {
        padding: 32px 24px;
    }

    .app-title {
        font-size: 36px;
    }
}
