/* ─── СБРОС И БАЗА ─── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0612;
    color: #e8e4f0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ─── ЗВЁЗДНЫЙ ФОН ─── */
#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 10%, rgba(120, 60, 200, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(80, 40, 160, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(60, 30, 120, 0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* ─── ОБЩИЕ СТИЛИ ─── */
section {
    position: relative;
    z-index: 2;
    padding: 100px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

h2 {
    font-size: clamp(32px, 5vw, 48px);
    text-align: center;
    margin-bottom: 20px;
    color: #f0e8ff;
}

.section-subtitle {
    text-align: center;
    color: #9d92b8;
    font-size: 17px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.hero-content {
    max-width: 700px;
}

.moon {
    font-size: 80px;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(200, 160, 255, 0.6));
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.hero h1 {
    font-size: clamp(48px, 9vw, 96px);
    background: linear-gradient(135deg, #f0e8ff 0%, #c9a8ff 50%, #a87fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    line-height: 1.1;
}

.tagline {
    font-size: clamp(16px, 2.5vw, 20px);
    color: #b8a8d8;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* ─── CTA-КНОПКА ─── */
.cta-button {
    display: inline-block;
    padding: 20px 48px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.03em;
    box-shadow: 
        0 10px 40px rgba(124, 58, 237, 0.4),
        0 0 0 1px rgba(200, 160, 255, 0.2) inset;
    transition: all 0.3s ease;
    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.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 50px rgba(124, 58, 237, 0.6),
        0 0 0 1px rgba(200, 160, 255, 0.4) inset;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.hero-note {
    margin-top: 24px;
    color: #8a7ea8;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    font-size: 28px;
    color: #7c3aed;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* ─── FEATURES ─── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    background: rgba(40, 25, 80, 0.4);
    border: 1px solid rgba(160, 120, 255, 0.15);
    border-radius: 20px;
    padding: 32px 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(160, 120, 255, 0.4);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 16px;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(200, 160, 255, 0.5));
}

.feature-card h3 {
    font-size: 22px;
    color: #e8d8ff;
    margin-bottom: 12px;
}

.feature-card p {
    color: #a89ec4;
    font-size: 15px;
    line-height: 1.7;
}

/* ─── SCREENSHOTS ─── */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.screenshot-placeholder {
    aspect-ratio: 9/16;
    max-width: 260px;
    margin: 0 auto;
    background: linear-gradient(160deg, rgba(60, 35, 120, 0.6) 0%, rgba(30, 15, 60, 0.8) 100%);
    border: 1px solid rgba(160, 120, 255, 0.25);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #a89ec4;
    font-size: 14px;
    transition: all 0.3s ease;
}

.screenshot-placeholder:hover {
    border-color: rgba(160, 120, 255, 0.6);
    transform: translateY(-5px);
}

.screenshot-placeholder span {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.screenshots-note {
    text-align: center;
    color: #6a5e88;
    font-size: 13px;
    font-style: italic;
}

/* ─── PRICING ─── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(40, 25, 80, 0.4);
    border: 1px solid rgba(160, 120, 255, 0.2);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: rgba(200, 160, 255, 0.5);
    background: rgba(60, 35, 120, 0.5);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: rgba(80, 50, 160, 0.9);
    border: 1px solid rgba(160, 120, 255, 0.4);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #d8c8ff;
}

.pricing-badge.gold {
    background: linear-gradient(135deg, #c9a227 0%, #f0d060 100%);
    color: #2a1800;
    border: none;
    box-shadow: 0 0 20px rgba(240, 208, 96, 0.5);
}

.pricing-card h3 {
    font-size: 28px;
    color: #e8d8ff;
    margin-bottom: 24px;
    text-align: center;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-card li {
    padding: 10px 0;
    color: #b8a8d8;
    font-size: 15px;
    border-bottom: 1px solid rgba(160, 120, 255, 0.1);
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-button {
    display: block;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.pricing-button.primary {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

.pricing-button.secondary {
    background: transparent;
    color: #c9a8ff;
    border: 1px solid rgba(160, 120, 255, 0.4);
}

.pricing-button:hover {
    transform: scale(1.03);
}

.pricing-button.secondary:hover {
    background: rgba(160, 120, 255, 0.1);
    border-color: rgba(160, 120, 255, 0.8);
}

/* ─── FAQ ─── */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-list details {
    background: rgba(40, 25, 80, 0.4);
    border: 1px solid rgba(160, 120, 255, 0.15);
    border-radius: 16px;
    margin-bottom: 12px;
    padding: 20px 24px;
    transition: all 0.3s ease;
}

.faq-list details[open] {
    border-color: rgba(160, 120, 255, 0.4);
    background: rgba(50, 30, 100, 0.5);
}

.faq-list summary {
    cursor: pointer;
    font-weight: 500;
    font-size: 17px;
    color: #e8d8ff;
    list-style: none;
    position: relative;
    padding-right: 30px;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: -2px;
    font-size: 24px;
    color: #a855f7;
    transition: transform 0.3s ease;
}

.faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.faq-list p {
    margin-top: 16px;
    color: #a89ec4;
    font-size: 15px;
    line-height: 1.7;
}

/* ─── FINAL CTA ─── */
.final-cta {
    text-align: center;
    padding: 120px 20px;
}

.final-cta h2 {
    margin-bottom: 16px;
}

.final-cta p {
    color: #b8a8d8;
    font-size: 18px;
    margin-bottom: 40px;
}

/* ─── FOOTER ─── */
footer {
    text-align: center;
    padding: 40px 20px;
    color: #6a5e88;
    font-size: 14px;
    border-top: 1px solid rgba(160, 120, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-note {
    margin-top: 8px;
    font-style: italic;
    color: #5a4e78;
}

/* ─── МОБИЛЬНАЯ АДАПТАЦИЯ ─── */
@media (max-width: 640px) {
    section {
        padding: 60px 16px;
    }
    
    .hero h1 {
        font-size: 44px;
    }
    
    .moon {
        font-size: 60px;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .feature-card, .pricing-card {
        padding: 24px 20px;
    }
    
    .pricing-card.featured {
        order: -1;
    }
}/* ─── SCREENSHOTS ─── */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.phone-frame {
    position: relative;
    width: 100%;
    max-width: 260px;
    aspect-ratio: 9/19.5;
    border-radius: 32px;
    padding: 8px;
    background: linear-gradient(160deg, #2a1a4a 0%, #1a0f30 100%);
    border: 2px solid rgba(160, 120, 255, 0.35);
    box-shadow: 
        0 20px 60px rgba(124, 58, 237, 0.3),
        0 0 0 1px rgba(200, 160, 255, 0.1) inset,
        0 0 80px rgba(124, 58, 237, 0.15);
    transition: all 0.4s ease;
    overflow: hidden;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(160, 120, 255, 0.4);
    border-radius: 100px;
    z-index: 2;
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 26px;
    display: block;
}

.screenshot-card:hover .phone-frame {
    transform: translateY(-8px);
    border-color: rgba(200, 160, 255, 0.7);
    box-shadow: 
        0 30px 80px rgba(124, 58, 237, 0.5),
        0 0 0 1px rgba(200, 160, 255, 0.3) inset,
        0 0 100px rgba(124, 58, 237, 0.3);
}

.screenshot-caption {
    font-size: 15px;
    color: #b8a8d8;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-align: center;
}