:root {
    --bg-color: #0d0c11;
    --surface-color: #17151a;
    --surface-hover: #1f1d24;
    --surface-border: #282531;
    --text-main: #f4f2ee;
    --text-muted: #9e9a91;
    --accent-color: #d89f46;
    --accent-hover: #f1b353;
    --font-heading: Georgia, "Times New Roman", serif;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(216, 159, 70, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(216, 159, 70, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 100;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background-color: rgba(13, 12, 17, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
}

.site-header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 0.5px;
}

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

.main-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: #000;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: var(--font-body);
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--accent-hover);
    color: #000;
}

.btn:active {
    transform: scale(0.98);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

@media (max-width: 768px) {
    .main-nav .nav-link {
        display: none;
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(13, 12, 17, 0.95) 0%, rgba(13, 12, 17, 0.7) 60%, rgba(13, 12, 17, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    line-height: 1.1;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-overlay {
        background: linear-gradient(to top, rgba(13, 12, 17, 1) 0%, rgba(13, 12, 17, 0.7) 100%);
    }
}

section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    text-align: center;
}

.section-title.left {
    text-align: left;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.audience-card {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    padding: 48px 32px;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
    border-color: rgba(216, 159, 70, 0.3);
}

.audience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
}

.audience-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.how-it-works {
    background-color: rgba(23, 21, 26, 0.5);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

.hiw-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hiw-image {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step {
    display: flex;
    gap: 24px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(216, 159, 70, 0.3);
    border-radius: 50%;
    flex-shrink: 0;
    background-color: rgba(216, 159, 70, 0.05);
}

.step h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

@media (max-width: 900px) {
    .hiw-content {
        grid-template-columns: 1fr;
    }
    .hiw-image {
        order: -1;
    }
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.module-card {
    background-color: var(--surface-color);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--surface-border);
    display: flex;
    flex-direction: column;
}

.module-num {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.module-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.module-card p {
    color: var(--text-muted);
}

.teacher-section {
    background-color: rgba(23, 21, 26, 0.5);
    border-top: 1px solid var(--surface-border);
}

.teacher-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.teacher-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.teacher-text p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.teacher-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
    .teacher-content {
        grid-template-columns: 1fr;
    }
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    user-select: none;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--surface-hover);
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    top: 11px;
    left: 4px;
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    top: 4px;
    left: 11px;
    width: 2px;
    height: 16px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 32px 32px 32px;
    max-height: 500px;
}

.cta-section {
    background-color: var(--surface-color);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
    padding: 120px 0;
}

.cta-container {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-container p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
}

.form-control {
    background-color: var(--bg-color);
    border: 1px solid var(--surface-border);
    color: var(--text-main);
    padding: 16px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control::placeholder {
    color: #4a4752;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 1px var(--accent-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-legal {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

.form-legal a {
    text-decoration: underline;
    text-decoration-color: rgba(216, 159, 70, 0.3);
}

.form-legal a:hover {
    text-decoration-color: var(--accent-hover);
}

.site-footer {
    background-color: #08070b;
    padding: 80px 0 32px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    max-width: 400px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--surface-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.static-page {
    padding-top: calc(var(--header-height) + 64px);
    padding-bottom: 100px;
    min-height: calc(100vh - 300px);
}

.static-page-header {
    margin-bottom: 48px;
}

.static-page-header h1 {
    font-size: 2.5rem;
}

.content-block {
    background-color: var(--surface-color);
    padding: 48px;
    border-radius: 8px;
    border: 1px solid var(--surface-border);
}

.content-block h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.content-block h2:first-child {
    margin-top: 0;
}

.content-block p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.content-block ul {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-left: 24px;
    font-size: 1.05rem;
}

.content-block li {
    margin-bottom: 0.5rem;
}

.success-message {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(216, 159, 70, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px auto;
    font-size: 2.5rem;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 150%);
    background-color: var(--surface-color);
    border: 1px solid rgba(216, 159, 70, 0.2);
    padding: 20px 24px;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: calc(100% - 48px);
    max-width: 600px;
}

.cookie-banner.visible {
    transform: translate(-50%, 0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cookie-content p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin: 0;
}

.cookie-content a {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}
