/* Базовые стили */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #05030a;
    color: #f9fafb;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Хедер */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(5, 3, 16, 0.9);
    border-bottom: 1px solid rgba(248, 113, 150, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.logo-mark {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fecdd3, #f472b6);
}

.main-nav {
    display: flex;
    gap: 16px;
    font-size: 14px;
}

.main-nav a {
    opacity: 0.8;
}

.main-nav a:hover {
    opacity: 1;
}

.lang-switch {
    display: flex;
    gap: 8px;
    font-size: 12px;
}

.lang-switch a {
    padding: 4px 8px;
    border-radius: 999px;
    opacity: 0.6;
    border: 1px solid transparent;
}

.lang-switch a.active {
    opacity: 1;
    border-color: rgba(248, 113, 150, 0.8);
}

/* Hero */

.hero {
    padding: 48px 0 40px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px;
    align-items: center;
}

.hero-text h1 {
    margin: 0 0 12px;
    font-size: 36px;
}

.hero-subtitle {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
    max-width: 420px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #fb7185, #ec4899);
    box-shadow: 0 14px 32px rgba(248, 113, 150, 0.6);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(248, 113, 150, 0.7);
}

.btn.ghost {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 163, 184, 0.6);
}

.btn.outline {
    background: transparent;
    border-color: rgba(248, 113, 150, 0.7);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-phone-placeholder {
    width: 240px;
    height: 480px;
    border-radius: 32px;
    background: radial-gradient(circle at top left, rgba(248, 113, 150, 0.4), rgba(15, 23, 42, 0.97));
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(248, 113, 150, 0.5);
}

.hero-phone-text {
    font-size: 18px;
    opacity: 0.9;
}

/* Общие секции */

.section {
    padding: 32px 0;
}

.section h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.section-lead {
    max-width: 560px;
    opacity: 0.9;
}

/* Баннер приложения */

.section-app-banner .app-banner {
    padding: 18px 20px;
    border-radius: 24px;
    background: radial-gradient(circle at top left, rgba(248, 113, 150, 0.3), rgba(15, 23, 42, 0.96));
    border: 1px solid rgba(248, 113, 150, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.app-banner p {
    margin: 4px 0 0;
    opacity: 0.9;
}

.app-banner-action {
    flex-shrink: 0;
}

/* Секция о цикле */

.link-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
}

/* Фичи */

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

.feature-card {
    padding: 14px 16px 16px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

/* FAQ */

.section-faq .faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

/* Support */

.section-support p {
    max-width: 520px;
}

/* Page hero */

.page-hero {
    padding: 40px 0 28px;
}

.page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
    align-items: center;
}

.page-hero-simple .container {
    max-width: 720px;
}

.page-hero-text h1 {
    margin: 0 0 10px;
}

.page-hero-subtitle {
    margin: 0;
    opacity: 0.9;
    max-width: 560px;
}

/* Скриншоты приложения */

.app-screens-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 16px;
}

.app-screen-placeholder {
    border-radius: 22px;
    height: 260px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px dashed rgba(148, 163, 184, 0.7);
}

/* Страница цикла / политика / terms */

.cycle-phase {
    margin-bottom: 18px;
}

.legal-text h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.legal-text p {
    margin-top: 0;
    margin-bottom: 14px;
    opacity: 0.9;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.6);
    padding: 14px 0;
    font-size: 13px;
    background: rgba(5, 3, 16, 0.98);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.footer-right a {
    margin-left: 12px;
    opacity: 0.8;
}

.footer-right a:hover {
    opacity: 1;
}

/* Адаптив */

@media (max-width: 800px) {
    .hero-inner,
    .page-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .main-nav {
        display: none; /* Можно потом сделать бургер */
    }

    .hero {
        padding-top: 32px;
    }
}

.hero-phone-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-phone-img {
    width: 250px; /* можно менять при необходимости */
    max-width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
}
