/* CSS RESET & VARIABLES */
:root {
    --primary: #781915; /* Темно-бордовий з обкладинки */
    --primary-light: #f5ecec;
    --text: #333333;
    --text-light: #555555;
    --bg-main: #f8f6f2; /* Світло-бежевий, теплий фон */
    --bg-card: #ffffff;
    --border-color: #e5dfd3;
    --accent: #E03131;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #e2dfd8; /* Темніший фон для десктопу, щоб виділити мобільний контейнер */
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* LINK-IN-BIO MOBILE FIRST CONTAINER */
.app-container {
    max-width: 500px; /* Ідеальна ширина для "link in bio" сторінок */
    margin: 0 auto;
    background-color: var(--bg-main);
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* На мобільних пристроях контейнер розтягується на весь екран і прибирає тіні */
@media (max-width: 500px) {
    .app-container {
        width: 100%;
        box-shadow: none;
    }
}

/* ТИПОГРАФІКА ТА БАЗОВІ СТИЛІ */
.section {
    padding: 40px 20px;
    border-bottom: 1px solid var(--border-color);
}
.section:last-child {
    border-bottom: none;
}

.bg-light {
    background-color: #ffffff;
}

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }

.hero-title {
    font-size: 1.6rem;
    line-height: 1.3;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

p {
    margin-bottom: 15px;
}

.highlight-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

/* СПИСКИ */
.custom-list {
    list-style: none;
    margin: 20px 0;
    padding-left: 10px;
}
.custom-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}
.custom-list li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.check-list {
    list-style: none;
    margin: 20px 0;
}
.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}
.check-list li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ВІЗУАЛЬНІ БЛОКИ */
.module-card {
    background: var(--bg-card);
    border-left: 4px solid var(--primary);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-size: 0.95rem;
}

.bonus-box {
    background: var(--primary-light);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 25px 20px;
    margin-top: 30px;
}
.bonus-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.price-box {
    text-align: center;
    background: var(--bg-card);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 30px 0;
}
.price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.launch {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 10px;
}

/* FAQ */
.faq-item {
    margin-bottom: 20px;
}
.faq-q {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary);
}
.faq-a {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* SOCIAL PROOF */
.social-proof {
    background: #fff3cd;
    color: #856404;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    border-top: 1px solid #ffeeba;
    border-bottom: 1px solid #ffeeba;
}

/* PLACEHOLDERS ДЛЯ ФОТО ТА ОПЛАТИ */
.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: #e9e5db;
    border: 2px dashed #bbaaa5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #887a76;
    font-weight: 600;
    margin: 25px 0;
    text-align: center;
    padding: 20px;
}

.payment-placeholder {
    background: #e3f2fd;
    border: 2px dashed #2196f3;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    color: #1976d2;
    font-weight: 700;
    margin: 20px 0;
}

.footer {
    padding: 30px 20px;
    font-size: 0.8rem;
    color: #888;
    background: #ffffff;
}

/* АНІМАЦІЇ ПРИ ПРОКРУТЦІ (базові) */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
