/* CSS Reset & Premium Fintech Variables */
:root {
    --bg-light: #f8fafc;        /* Жемчужно-серый фон */
    --bg-white: #ffffff;        /* Чистый белый для карточек */
    --navy-dark: #080c17;       /* Очень темный синий */
    --navy-main: #0f172a;       /* Классический глубокий синий (Banking Navy) */
    --navy-light: #1e293b;
    --gold-accent: #d4af37;     /* Приглушенное золото */
    --gold-hover: #b48608;
    --text-dark: #0f172a;       /* Основной текст на светлом */
    --text-muted: #64748b;      /* Второстепенный текст на светлом */
    --text-light: #f8fafc;      /* Текст на темном */
    --danger: #991b1b;          /* Благородный темно-красный */
    
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 10px 25px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 20px 40px -5px rgba(15, 23, 42, 0.15);
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    color: inherit;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

strong { font-weight: 600; color: var(--navy-main); }

.grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Buttons & Forms */
.cta-form { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 40px; width: 100%; }
.form-row { display: flex; gap: 12px; width: 100%; }

input[type="email"] {
    padding: 16px 24px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    width: 100%;
    max-width: 340px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="email"]:focus { border-color: var(--gold-accent); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15); }

button {
    padding: 16px 32px;
    border-radius: 4px;
    border: none;
    background: var(--gold-accent);
    color: var(--navy-dark);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

button:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(214, 175, 55, 0.3);
}

.microcopy { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-top: 4px; font-weight: 300; }

/* Изображения (Premium Fintech Style) */
.image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    width: 100%;
    margin: 0 auto;
    box-shadow: var(--shadow-lg); /* Элегантная тень вместо черного градиента */
    border: 1px solid rgba(0,0,0,0.05);
}

/* Модификаторы размеров для разных секций */
.size-hero { max-width: 450px; }
.size-step { max-width: 280px; flex-shrink: 0; }
.size-book { 
    max-width: 320px; 
    border-radius: 4px 16px 16px 4px; /* Эффект обложки книги */
    box-shadow: 15px 15px 30px rgba(0,0,0,0.3);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Section 1: Hero */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-main) 100%);
    color: var(--text-light);
    border-bottom: 4px solid var(--gold-accent);
}
.hero .grid-split { align-items: center; }
.hero strong { color: var(--text-light); }
.pre-headline {
    display: inline-block; font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold-accent); margin-bottom: 24px; font-weight: 600;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 24px; font-weight: 600; }
.hero h1 span { color: var(--gold-accent); font-style: italic; }
.hero p { font-size: 1.1rem; color: #cbd5e1; font-weight: 300; }

/* Section 2: Pain Point */
.pain-points { padding: 100px 0; background-color: var(--bg-light); }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 60px auto; }
.section-header h2 { font-size: 2.75rem; color: var(--navy-main); margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }
.grid-2x2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; }
.card {
    background: var(--bg-white); padding: 48px; border-radius: 8px;
    box-shadow: var(--shadow-sm); border-top: 3px solid var(--danger);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: 1.35rem; color: var(--navy-main); margin-bottom: 16px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Section 3: How It Works */
.how-it-works { padding: 100px 0; background-color: var(--bg-white); border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.step-container { max-width: 1000px; margin: 0 auto; }
.step-card {
    background: var(--bg-light); padding: 40px; border-radius: 8px; margin-bottom: 32px;
    display: flex; gap: 40px; align-items: center; border-left: 4px solid var(--gold-accent);
}
.step-text-wrapper { display: flex; align-items: flex-start; flex: 1; }
.step-number { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-style: italic; color: var(--gold-accent); margin-right: 32px; line-height: 1; }
.step-content h3 { margin-bottom: 12px; font-size: 1.4rem; color: var(--navy-main); }
.step-content p { color: var(--text-muted); font-size: 0.95rem; }

/* Section 4: Lead Magnet */
.lead-magnet { 
    padding: 100px 0; 
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-main) 100%); 
    color: var(--text-light); 
}
.lead-magnet .grid-split { align-items: center; }
.lead-magnet h2 { font-size: 2.75rem; margin-bottom: 20px; }
.lead-magnet p.lead-desc { color: #cbd5e1; margin-bottom: 30px; font-size: 1.1rem; font-weight: 300; }

/* ВОТ ЭТА НОВАЯ СТРОКА: делает выделенный текст в этой секции белым */
.lead-magnet strong { color: #ffffff; }

.checklist-ul { list-style: none; margin-bottom: 35px; }
.checklist-ul li { margin-bottom: 16px; padding-left: 32px; position: relative; color: #e2e8f0; font-size: 0.95rem; }
.checklist-ul li::before { content: '♦'; position: absolute; left: 0; color: var(--gold-accent); font-size: 1.1rem; line-height: 1.2; }
.lead-magnet .cta-form { margin-top: 20px; }

/* Section 5: Trust & Technology */
.trust { padding: 100px 0; background-color: var(--bg-white); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.trust-card { background: var(--bg-light); padding: 48px 32px; border-radius: 8px; text-align: center; border: 1px solid #e2e8f0; }
.trust-icon { font-size: 2.2rem; margin-bottom: 24px; color: var(--gold-accent); }
.trust-card h3 { font-size: 1.3rem; color: var(--navy-main); margin-bottom: 16px; }
.trust-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Footer */
footer { background-color: var(--bg-light); padding: 60px 0 40px 0; text-align: center; border-top: 1px solid #e2e8f0; }
footer p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 12px; }
footer .disclaimer { font-size: 0.8rem; max-width: 800px; margin: 0 auto; opacity: 0.8; line-height: 1.5; }

/* Responsive */
@media (max-width: 992px) {
    .grid-split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero .grid-split { flex-direction: column-reverse; display: flex; }
    .lead-magnet .grid-split { flex-direction: column; display: flex; }
    .cta-form { align-items: center; }
    .form-row { flex-direction: column; align-items: center; }
    input[type="email"] { max-width: 100%; }
    button { width: 100%; }
    .step-card { flex-direction: column; gap: 24px; text-align: left; }
    .size-step { max-width: 100%; } /* На планшете картинка растягивается на всю ширину карточки */
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.4rem; }
    .section-header h2, .lead-magnet h2 { font-size: 2.2rem; }
    .grid-2x2 { grid-template-columns: 1fr; }
    .card { padding: 32px; }
    .step-text-wrapper { flex-direction: column; }
    .step-number { margin-bottom: 12px; }
}
