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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'SF Pro Icons', system-ui, sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

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

.logo-img {
    height: 1.8rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Headline */
.headline {
    text-align: center;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: clamp(3.5rem, 5.5vw, 86px);
    font-style: normal;
    font-weight: 650;
    font-stretch: condensed;
    line-height: clamp(3.2rem, 5.1vw, 80px);
    letter-spacing: -1px;
    margin-bottom: 3rem;
    background: linear-gradient(to bottom, #C299FF, #ECB9FF, #FFE7DF, #FFF6D9, #FDFFD2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 900px;
    padding: 0 1rem;
}

/* CTA Button */
.cta-button {
    background: #B369FF;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 4rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    box-shadow: 
        0.67px 0.67px 0 0 rgba(255, 255, 255, 0.2),
        -0.67px -0.67px 0 0 rgba(255, 255, 255, 0.2);
    max-height: 48px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0.67px 0.67px 0 0 rgba(255, 255, 255, 0.2),
        -0.67px -0.67px 0 0 rgba(255, 255, 255, 0.2),
        0 10px 30px rgba(179, 105, 255, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.button-icon {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

/* Main Image */
.main-image-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* Phone Screens */
.phone-screens {
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: -2rem;
    margin-bottom: 4rem;
    perspective: 1000px;
}

.phone-screen {
    position: relative;
    width: 280px;
    flex-shrink: 0;
}

.phone-frame {
    background: #1a1a1a;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.phone-screen-left {
    transform: rotateY(-15deg) rotateZ(-5deg) translateX(20px);
    z-index: 1;
    opacity: 0.9;
}

.phone-screen-middle {
    transform: scale(1.1) translateY(-20px);
    z-index: 3;
}

.phone-screen-right {
    transform: rotateY(15deg) rotateZ(5deg) translateX(-20px);
    z-index: 2;
    opacity: 0.9;
}

/* Phone Header */
.phone-header {
    background: #0a0a0a;
    padding: 0.5rem 1rem;
    border-radius: 22px 22px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 1rem;
    background: #0a0a0a;
    font-size: 0.7rem;
}

.phone-close {
    font-size: 1.2rem;
    cursor: pointer;
}

.phone-logo-center {
    font-weight: 600;
    font-size: 0.9rem;
}

.phone-menu {
    font-size: 1.2rem;
    cursor: pointer;
}

.phone-time,
.phone-wifi {
    font-size: 0.7rem;
}

/* Phone Content - Left */
.phone-content {
    background: #1a1a1a;
    border-radius: 0 0 22px 22px;
    padding: 2rem 1.5rem;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.phone-purple-bg {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.big-c {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    opacity: 0.9;
}

.phone-text {
    color: #ffffff;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
}

/* Phone Content - Middle */
.phone-content-middle {
    background: #1a1a1a;
    border-radius: 0 0 22px 22px;
    padding: 1rem;
    min-height: 600px;
}

.purple-banner {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.lightning-icon {
    font-size: 1rem;
}

.instruction-text {
    color: #ffffff;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: left;
}

.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.tab {
    background: transparent;
    color: #888;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.tab.active {
    background: #2a2a2a;
    color: #ffffff;
}

.tab:hover {
    background: #2a2a2a;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.grid-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

/* Phone Content - Right */
.phone-content-right {
    background: #1a1a1a;
    border-radius: 0 0 22px 22px;
    padding: 1.5rem;
    min-height: 550px;
}

.vintage-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.vintage-subtitle {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.before-section,
.after-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

.image-placeholder {
    aspect-ratio: 3/4;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

.before-image {
    background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
}

.after-image {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    opacity: 0.8;
}

.dots-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #444;
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background: #a855f7;
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 1rem 1rem;
    font-size: 0.75rem;
    color: #888;
    margin-top: auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left {
    flex: 1;
    min-width: 200px;
}

.footer-right {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    color: #888;
}

.footer-social-link:hover {
    opacity: 0.8;
}

.footer-social-icon {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.footer-social-link svg.footer-social-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-social-en-only {
    display: none;
}

/* Показываем Instagram и X только для английской версии (lang выставляется в locale.js) */
html[lang="en"] .footer-social-en-only {
    display: inline-flex !important;
}

.footer-link {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #ffffff;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    display: inline-block;
}

.lang-switcher-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.5rem 0.75rem;
    color: #888;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.lang-switcher-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.current-flag,
.lang-flag {
    font-size: 1rem;
}

.current-lang,
.lang-code {
    font-weight: 500;
}

.lang-arrow {
    font-size: 0.6rem;
    transition: transform 0.2s;
}

.lang-switcher-btn:hover .lang-arrow {
    transform: translateY(2px);
}

.lang-dropdown {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 0.5rem;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background 0.2s;
    color: #ffffff;
}

.lang-option:first-child {
    border-radius: 8px 8px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 8px 8px;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Policy Pages Styles */
.policy-container {
    max-width: 1400px;
}

.policy-header {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
}

.policy-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.policy-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(to bottom, #C299FF, #ECB9FF, #FFE7DF, #FFF6D9, #FDFFD2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.policy-sections {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.policy-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.subsection-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.section-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
    text-align: left;
}

.section-list {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-list li {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
}

.policy-link {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.2s;
}

.policy-link:hover {
    color: #a855f7;
}

/* Mobile Adaptation */
@media (max-width: 1024px) {
    .phone-screens {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }

    .phone-screen {
        width: 240px;
    }

    .phone-screen-left,
    .phone-screen-right {
        transform: none;
        opacity: 1;
    }

    .phone-screen-middle {
        transform: none;
        order: -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .header {
        margin-bottom: 2rem;
    }

    .logo-img {
        height: 1.2rem;
    }

    .policy-header {
        margin-bottom: 1.5rem;
    }

    .policy-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .policy-sections {
        gap: 2rem;
    }

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

    .subsection-title {
        font-size: 1.1rem;
    }

    .section-text,
    .section-list li {
        font-size: 0.95rem;
    }

    .headline {
        margin-bottom: 2rem;
        font-size: clamp(3rem, 5.5vw, 5.5rem);
        line-height: clamp(2.8rem, 5.1vw, 5.1rem);
        letter-spacing: -0.5px;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        margin-bottom: 3rem;
        max-height: 40px;
        display: inline-flex;
        align-items: center;
    }

    .phone-screens {
        gap: 1.5rem;
    }

    .phone-screen {
        width: 200px;
    }

    .phone-content-middle {
        min-height: 500px;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        justify-content: center;
    }

    .language-switcher {
        margin-top: 0.5rem;
    }

    .lang-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }

    .lang-dropdown.active {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 1rem;
    }

    .headline {
        font-size: clamp(2.4rem, 8vw, 4.2rem);
        line-height: clamp(2.2rem, 7.5vw, 3.9rem);
        letter-spacing: -0.5px;
    }
}


@media (max-width: 360px) {
    .phone-screen {
        width: 160px;
    }

    .headline br {
        display: none;
    }
}
