:root {
    --primary: #1e40af; /* Deep blue */
    --primary-light: #eff6ff;
    --primary-glow: rgba(30, 64, 175, 0.15);
    --secondary: #2563eb;
    --dark: #0f172a;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-main: #ffffff;
    --bg-sec: #f8fafc;
    --border: #e2e8f0;
    
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow: 0 10px 30px -5px rgba(0,30,80,0.08);
    --shadow-lg: 0 20px 40px -5px rgba(0,30,80,0.12);
    
    --font-sans: 'Manrope', system-ui, sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--bg-sec); }
.bg-dark { background-color: var(--dark); }
.text-white { color: white; }
.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }
.text-blue { color: var(--secondary); }

h1, h2, h3, h4 {
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: white; }

h2.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.align-center { align-items: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px var(--primary-glow);
}
.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px var(--primary-glow);
}
.btn-block { width: 100%; }

/* Hero */
.hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 80% -20%, var(--primary-light) 0%, transparent 60%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(1.8rem, 8.5vw, 4.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    overflow-wrap: break-word;
}
.hero-title span {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--primary);
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 2.5rem;
    max-width: 500px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.hero-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Problem & Solution Cards */
.problem-card, .solution-card {
    padding: 3rem;
    border-radius: var(--radius-lg);
}
.problem-card {
    background: #f1f5f9;
    color: #475569;
}
.problem-card h2 { color: #0f172a; }
.problem-card .highlight {
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.solution-card {
    background: white;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.solution-card .highlight-blue {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: white;
    color: #94a3b8;
}
.icon-wrap.solid {
    background: var(--primary-light);
    color: var(--primary);
}
.icon-wrap svg { width: 30px; height: 30px; }

/* Course overview */
.about-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1.5rem;
}
.quote-box {
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--primary);
    background: white;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-muted);
}

/* Format */
.format-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.format-item {
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}
.format-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.format-time {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}
.format-item svg {
    margin: 0 auto 1.5rem;
    width: 40px; height: 40px;
    color: var(--primary);
}

/* Program */
.program-modules {
    max-width: 900px;
    margin: 0 auto;
}
.module-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid var(--border);
}
.intro-module {
    background: var(--primary-light);
    border-color: transparent;
}
.module-header {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--border);
    background: #fcfcfd;
}
.intro-module .module-header {
    background: transparent;
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
}
.module-number {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.module-header h3 {
    margin: 0;
    font-size: 1.75rem;
}
.module-date { color: var(--primary); font-weight: 600; margin-top: 0.5rem; }
.module-body {
    padding: 2.5rem;
}
.module-intro {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.module-list {
    list-style: none;
    margin: 2rem 0;
}
.module-list li {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
}
.module-list svg {
    min-width: 20px; width: 20px; margin-right: 12px;
    color: var(--primary);
    margin-top: 3px;
}
.module-result {
    padding: 1.5rem;
    background: var(--bg-sec);
    border-radius: var(--radius-sm);
    color: var(--dark);
    margin-top: 2rem;
}

.live-info {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 3rem;
}
.live-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: #fee2e2; color: #dc2626;
    display: flex; align-items: center; justify-content: center;
    margin-right: 1.5rem; flex-shrink: 0;
}
.live-info h4 { margin: 0 0 0.5rem; font-size: 1.25rem; }

/* Bonus */
.badge-accent {
    display: inline-block;
    padding: 6px 16px;
    background: #fef3c7;
    color: #d97706;
    border-radius: 100px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}
.custom-list {
    list-style: none;
    margin: 1.5rem 0;
}
.custom-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 1rem;
}
.custom-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 10px;
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
}
.value-tag {
    display: inline-block;
    padding: 12px 24px;
    background: var(--bg-sec);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    margin-top: 1rem;
}
.bonus-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* Author */
.author-photo img {
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    object-fit: cover;
    aspect-ratio: 4/5;
}
.author-info span {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: #94a3b8;
}
.author-name {
    font-size: 3rem;
    margin: 0.5rem 0 1.5rem;
    font-family: var(--font-serif);
}
.author-bio {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 500px;
}

/* Tariffs */
.special-offer {
    max-width: 700px;
    margin: 0 auto;
}
.offer-box {
    background: var(--primary-light);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 2rem;
}
.offer-box h3 { color: var(--primary); margin-bottom: 1rem; }
.timer-wrapper {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(30, 64, 175, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-weight: 600;
}
.countdown {
    display: flex;
    gap: 1rem;
}
.countdown div {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.countdown span { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.countdown small { font-size: 0.7rem; text-transform: uppercase; margin-top: 4px; color: var(--text-muted); }

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.tariff-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tariff-card.disabled {
    opacity: 0.7;
    background: #f8fafc;
}
.status-msg {
    font-size: 0.9rem;
    color: #ef4444;
    background: #fee2e2;
    padding: 10px;
    border-radius: 6px;
    margin-top: 1rem;
}

.tariff-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
    z-index: 10;
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.tariff-card.premium { background: var(--dark); color: white; border-color: var(--dark); }
.tariff-card.premium h3, .tariff-card.premium .text-blue { color: white; }

.tariff-header { margin-bottom: 2rem; text-align: center; }
.tariff-header h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.price-wrap { display: flex; flex-direction: column; align-items: center; margin-top: 1rem; }
.old-price { text-decoration: line-through; color: #94a3b8; font-size: 1.1rem; }
.new-price { font-size: 2.5rem; font-weight: 800; color: var(--dark); line-height: 1; }
.premium .new-price { color: white; }

.tariff-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}
.tariff-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.tariff-features svg {
    min-width: 20px; width: 20px;
    margin-right: 12px;
    margin-top: 2px;
}
.disabled-line { color: #94a3b8; }
.disabled-line svg { color: #94a3b8; }

.tariff-card.premium .btn { background: white; color: var(--dark); }
.tariff-card.premium .btn:hover { background: #f1f5f9; }

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-info { margin-bottom: 2rem; }
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.footer-links a { text-decoration: underline; text-underline-offset: 4px; }
.footer-links a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .badge { margin: 0 auto 1.5rem; }
    .hero-visual { max-width: 600px; margin: 0 auto; }
    .tariffs-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .tariff-card.popular { transform: none; }
    .about-visual { order: -1; }
}

@media (max-width: 768px) {
    h2.section-title { font-size: 2rem; }
    .format-grid { grid-template-columns: 1fr; }
    .timer-wrapper { flex-direction: column; gap: 1rem; }
    .problem-card, .solution-card { padding: 2rem; }
    .module-header, .module-body { padding: 1.5rem; }
}
