@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #ffffff;
    --bg-card: #f8fafc;
    --bg-input: #ffffff;
    --border: #e2e8f0;
    --border-focus: #6366f1;
    --text: #0f172a;
    --text-muted: #64748b;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-light: #ede9fe;
    --danger: #ef4444;
    --radius: 10px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Nav */
.nav {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    height: 56px;
    gap: 2rem;
}

.nav-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    margin-left: auto;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text);
}

/* Layout */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    flex: 1;
    width: 100%;
}

/* Hero */
.hero {
    text-align: center;
    padding: 3rem 0 2rem;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
}

/* Page titles */
.page-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

/* Cards grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    flex: 1;
}

.card-link {
    display: block;
    color: inherit;
}

.card-link:hover {
    color: inherit;
}

/* About section */
.about {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.about h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 700px;
}

/* FAQ section */
.faq {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}

.faq h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.faq details {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background: var(--bg);
    transition: border-color 0.15s;
}

.faq details[open] {
    border-color: var(--accent);
}

.faq summary {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq summary::before {
    content: '\203A';
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    transition: transform 0.15s;
    display: inline-block;
}

.faq details[open] summary::before {
    transform: rotate(90deg);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq .faq-answer a {
    font-weight: 500;
}

/* Course page */
.course-hero {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.course-hero h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.course-hero p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 640px;
}

/* Checklist */
.checklist {
    padding: 2rem 0;
}

.checklist h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.checklist ul {
    list-style: none;
}

.checklist li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}

.checklist li::before {
    content: '\2713';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* Course contents */
.course-contents {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.course-contents h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.course-contents ul {
    list-style: none;
}

.course-contents li {
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    line-height: 1.6;
}

.course-contents li:last-child {
    border-bottom: none;
}

.course-contents li strong {
    color: var(--text);
}

/* Pricing card */
.pricing-card {
    background: var(--bg);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    max-width: 380px;
    margin: 2rem auto;
    box-shadow: var(--shadow);
}

.pricing-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.pricing-card .period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    max-width: 380px;
    margin: 0 auto;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--accent);
}

.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
    width: 100%;
    text-align: center;
}

.btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border);
    width: auto;
}

.btn-outline:hover {
    background: #f5f3ff;
    border-color: var(--accent);
}

/* Equipment list */
.equipment-list {
    list-style: none;
}

.equipment-item {
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    background: var(--bg);
}

.equipment-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.equipment-item .substitute {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.equipment-item .substitute strong {
    color: var(--accent);
    font-weight: 500;
}

/* Section titles */
.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    margin-top: 2.5rem;
    color: var(--text);
}

/* Contra list */
.contra-list {
    list-style: none;
    margin-top: 0.75rem;
}

.contra-list li {
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.contra-list li::before {
    content: '\2022';
    color: var(--danger);
    font-weight: 700;
    flex-shrink: 0;
}

/* Info blocks */
.info-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.info-block strong {
    color: var(--text);
}

/* Privacy / legal text */
.legal-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.legal-text h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-text p {
    margin-bottom: 0.75rem;
}

.legal-text ul {
    margin: 0.5rem 0 0.75rem 1.25rem;
    font-size: 0.85rem;
}

.legal-text li {
    margin-bottom: 0.4rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: auto;
}

.footer a {
    color: var(--text-muted);
    font-weight: 500;
}

.footer a:hover {
    color: var(--accent);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 600px) {
    .container { padding: 1rem; }
    .grid { grid-template-columns: 1fr; }
    .nav { padding: 0 1rem; gap: 1rem; }
    .hero h1 { font-size: 1.5rem; }
    .hero p { font-size: 0.95rem; }
    .course-hero h1 { font-size: 1.3rem; }
    .pricing-card { margin: 1.5rem auto; padding: 1.5rem; }
}
