:root {
    --primary-background: #121212;
    --secondary-background: #FFFFFF;
    --accent-gold: #D4AF37;
    --accent-green: #22C55E;
    --accent-brown: #A67C52;
    --text-on-dark: #FFFFFF;
    --text-on-light: #1A1A1A;
    --secondary-text-on-dark: #9CA3AF;
    --secondary-text-on-light: #4B5563;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--secondary-background);
    color: var(--text-on-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

button:active {
    transform: scale(0.98);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: inherit;
}

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

ul,
ol {
    list-style: none;
}

input,
textarea,
select {
    font-family: inherit;
}

.focus-visible:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    h2 {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    h3 {
        font-size: clamp(1.5rem, 5vw, 1.75rem);
    }

    p,
    a,
    span,
    li {
        font-size: 0.95rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .mobile-text-sm {
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ===== header_main ===== */
#header {
    background-color: var(--secondary-background);
}

.js-mobile-menu {
    background-color: var(--secondary-background);
}

/* ===== hero_section ===== */
#hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.js-hero-content {
    transition: all 1s ease-out;
}

/* ===== about_us ===== */
.bg-primary-background {
    background-color: var(--primary-background);
}

.bg-secondary-background {
    background-color: var(--secondary-background);
}

.text-accent-gold {
    color: var(--accent-gold);
}

.text-text-on-light {
    color: var(--text-on-light);
}

.text-secondary-text-on-light {
    color: var(--secondary-text-on-light);
}

/* ===== benefits ===== */
#advantages {
    width: 100%;
    min-height: 100px;
}

.js-advantage-card {
    backface-visibility: hidden;
}

/* ===== course_details ===== */
#programs {
    width: 100%;
}

.js-course-card {
    border-color: transparent;
}

.js-course-card:hover {
    border-color: var(--accent-gold);
}

/* ===== tariff_plans ===== */
#pricing .container {
    width: 100%;
    max-width: 1200px;
}

#pricing .card {
    border-radius: 1rem;
    overflow: visible;
}

#pricing .badge {
    border-radius: 0.5rem;
}

#pricing .btn {
    transition: opacity 0.2s ease-in-out;
}

#pricing .btn:hover {
    opacity: 0.9;
}

/* ===== process_steps ===== */
#how_it_works {
    width: 100%;
}

#how_it_works .js-step-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#how_it_works .js-step-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 1024px) {
    #how_it_works .js-step-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 3rem;
        left: calc(50% + 4rem);
        width: calc(100% - 8rem);
        height: 2px;
        border-top: 2px dashed var(--accent-gold);
        opacity: 0.2;
        z-index: 0;
    }
}

/* ===== trust_block ===== */
.js-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.js-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== contact_form ===== */
#contact {
    scroll-margin-top: 5rem;
}

.input-error {
    border-color: #ef4444 !important;
}

/* ===== footer ===== */
.footer-container {
    width: 100%;
}

.footer-container a {
    text-decoration: none;
}

.footer-container i {
    display: flex;
    align-items: center;
    justify-content: center;
}