:root {
    --bg-color: #fbf9f4;
    --primary-color: #005063;
    --primary-light: #007c99;
    --primary-dark: #003643;
    --accent-color: #dca243;
    --accent-hover: #c48e35;
    --dark-text: #1a2c33;
    --card-bg: #efe5d3;
    --white: #ffffff;
    --gray-light: #f0ede6;
    --gray-text: #5a6b73;
    --tg-color: #24A1DE;
    --danger: #e05252;
    --success: #2ecc71;
    --warning: #f1c40f;
    --info: #3498db;
    --shadow-xs: 0 2px 4px rgba(0, 80, 99, 0.02);
    --shadow-sm: 0 4px 12px rgba(0, 80, 99, 0.05);
    --shadow-md: 0 10px 24px rgba(0, 80, 99, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 80, 99, 0.1);
    --shadow-accent: 0 10px 20px rgba(220, 162, 67, 0.2);
    --transition-fast: all 0.2s ease;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: all 0.6s ease-in-out;
    --radius-xl: 40px;
    --radius-lg: 30px;
    --radius-md: 15px;
    --radius-sm: 8px;
    --radius-xs: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--dark-text);
    line-height: 1.8;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: var(--gray-text); border-radius: var(--radius-sm); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }
::selection { background-color: var(--primary-color); color: var(--white); }

h1, h2, h3, h4, h5, h6, .logo-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button, input, textarea, select {
    font-family: inherit;
    outline: none;
    border: none;
}

button:focus-visible, a:focus-visible, input:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    user-select: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(0, 80, 99, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 80, 99, 0.3);
    background: var(--primary-light);
}

.btn-primary:active { transform: translateY(1px); }

.btn-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 80, 99, 0.15);
}

.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.tag {
    display: inline-block;
    background: var(--card-bg);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.form-group { margin-bottom: 20px; position: relative; }
.form-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--dark-text); }
.form-control {
    width: 100%;
    padding: 15px;
    background: var(--bg-color);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 16px;
    color: var(--dark-text);
    transition: var(--transition);
}
.form-control::placeholder { color: var(--gray-text); opacity: 0.7; }
.form-control:focus { border-color: var(--primary-color); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 80, 99, 0.1); }
.form-error { color: var(--danger); font-size: 12px; margin-top: 5px; display: none; animation: fadeIn 0.3s; }
.form-control.invalid { border-color: var(--danger); }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    opacity: 0.8;
    cursor: pointer;
    margin: 20px 0;
}
.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-text);
    border-radius: var(--radius-xs);
    margin-top: 2px;
    position: relative;
    cursor: pointer;
    transition: var(--transition-fast);
}
.checkbox-label input[type="checkbox"]:checked { background-color: var(--primary-color); border-color: var(--primary-color); }
.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toast {
    background: var(--white);
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    padding: 15px 25px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    min-width: 300px;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast-icon { font-size: 20px; display: flex; align-items: center; }
.toast-icon img { width: 24px; height: 24px; }
.toast-content h4 { margin: 0; font-size: 14px; color: var(--dark-text); }
.toast-content p { margin: 0; font-size: 12px; color: var(--gray-text); }

header {
    background: var(--white);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 0 10px;
    margin: -8px -15px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.logo-sq {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.logo-sq img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo:hover .logo-sq {
    transform: rotate(-5deg);
}

.logo-txt {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    font-family: 'Manrope', sans-serif;
    line-height: 1;
}

@media (max-width: 992px) {
    .logo-sq {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }

    .logo {
        margin: -5px -15px;
    }

    .logo-sq {
        width: 45px;
        height: 45px;
    }

    .logo-txt {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        gap: 0;
    }

    .logo-sq {
        width: 75px;
        height: 45px;
    }

    .logo-txt {
        font-size: 18px;
    }
}

.ai-highlight {
    background: linear-gradient(135deg, #005063 0%, #dca243 50%, #007c99 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    position: relative;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
}

.ai-highlight::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dca243, #007c99, transparent);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

.ai-highlight::after {
    content: '✨';
    position: absolute;
    top: -15px;
    right: -20px;
    font-size: 16px;
    animation: sparkle 1.5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

nav ul { display: flex; list-style: none; gap: 5px; }
.nav-link-btn {
    background: transparent;
    border: 2px solid transparent;
    color: var(--dark-text);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}
.nav-link-btn:hover { color: var(--primary-color); background: var(--gray-light); }
.nav-link-btn.active { background: var(--primary-color); color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 15px; }
.currency-selector {
    background: var(--gray-light);
    border: none;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    color: var(--dark-text);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23005063' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 30px;
}
.currency-selector:hover { background-color: var(--card-bg); }

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 32px;
    z-index: 1001;
}
.burger span { display: block; height: 3px; background: var(--primary-color); border-radius: 3px; transition: var(--transition); width: 100%; }
.burger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 40px 20px;
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav-close { position: absolute; top: 20px; right: 20px; background: none; border: none; cursor: pointer; }
.mobile-nav-close img { filter: none; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 300px; }
.mobile-nav-links button {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    background: none;
    border: none;
    padding: 15px;
    text-align: center;
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.mobile-nav-links button:hover { background: var(--gray-light); }
.mobile-login-btn { color: var(--accent-color) !important; }

@keyframes pageFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.page { display: none; padding: 60px 0 100px; flex: 1; }
.page.active { display: block; animation: pageFadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }

.hero-banner { text-align: center; max-width: 900px; margin: 0 auto 60px; position: relative; }
.hero-banner h1 { font-size: 64px; line-height: 1.1; margin-bottom: 30px; color: var(--primary-color); }
.hero-banner h1 span { color: var(--accent-color); position: relative; display: inline-block; }
.hero-banner h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-color);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}
.hero-banner p { font-size: 21px; opacity: 0.8; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.stats-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 60px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}
.stats-bar:hover { box-shadow: var(--shadow-md); }
.stat-item h3 { font-size: 36px; color: var(--accent-color); margin-bottom: 5px; }
.stat-item p { font-size: 14px; font-weight: 600; opacity: 0.7; }

.about-methodology { margin-top: 40px; }
.about-heading { font-size: 28px; margin-bottom: 20px; color: var(--primary-color); }
.about-methodology p { font-size: 16px; line-height: 1.8; margin-bottom: 15px; color: var(--dark-text); }
.methodology-card { background: var(--card-bg); border: none; }
.methodology-card h4 { color: var(--primary-color); font-size: 20px; margin-bottom: 20px; }
.methodology-list { list-style: none; margin-top: 15px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.methodology-list li { position: relative; padding-left: 30px; }
.methodology-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background: url('../assets/icons/check.svg') no-repeat center;
    background-size: contain;
}

.team-section { margin-top: 120px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: var(--primary-color); }
.avatar-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--card-bg), var(--gray-light));
    color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.team-card:hover .avatar-placeholder { transform: scale(1.1) rotate(5deg); background: var(--primary-color); color: var(--white); }
.team-role { color: var(--accent-color); font-weight: 800; font-size: 13px; margin-top: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.team-desc { font-size: 14px; opacity: 0.7; margin-top: 15px; }

.filter-container { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn {
    background: var(--white);
    border: 2px solid var(--gray-light);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    color: var(--gray-text);
    transition: var(--transition);
    font-size: 15px;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--primary-color); color: var(--white); background: var(--primary-color); box-shadow: 0 4px 15px rgba(0, 80, 99, 0.2); }

.course-card { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.course-card h3 { font-size: 20px; margin-bottom: 10px; }
.course-price { font-size: 28px; font-weight: 800; color: var(--primary-color); margin: 25px 0 20px; display: flex; align-items: center; gap: 5px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 50px; flex-wrap: wrap; }
.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-text);
}
.page-btn.active, .page-btn:hover:not(:disabled) { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }
.page-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.pricing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    background: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    width: fit-content;
    margin-inline: auto;
    box-shadow: var(--shadow-sm);
}
.pricing-toggle-wrap span { font-weight: 700; font-size: 16px; }
#label-monthly { color: var(--primary-color); }
#label-annually { opacity: 0.5; }
.toggle-switch {
    width: 64px;
    height: 32px;
    background: var(--gray-light);
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}
.toggle-switch.active { background: var(--primary-color); }
.toggle-circle {
    width: 26px;
    height: 26px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.toggle-switch.active .toggle-circle { left: 35px; }
.discount-badge { background: var(--accent-color); color: white; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 800; margin-left: 8px; box-shadow: var(--shadow-accent); }

.pricing-grid { max-width: 900px; margin: 0 auto; }
.pricing-card { padding: 50px 40px; }
.pricing-card h3 { font-size: 24px; }
.pricing-desc { font-size: 14px; opacity: 0.6; margin-top: 5px; }
.pricing-card.popular {
    border-color: var(--accent-color);
    border-width: 2px;
    transform: scale(1.05);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.pricing-card.popular:hover { transform: scale(1.05) translateY(-10px); }
.pricing-card.popular h3 { color: var(--accent-color); }
.popular-label {
    position: absolute;
    top: 25px;
    right: -40px;
    background: var(--accent-color);
    color: white;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 45px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.price-display { font-size: 48px; font-weight: 800; color: var(--primary-color); margin: 25px 0; display: flex; align-items: baseline; gap: 5px; }
.price-display span { font-size: 16px; opacity: 0.6; font-weight: 600; }
.pricing-features { list-style: none; margin-bottom: 40px; flex: 1; }
.pricing-features li { padding: 12px 0; border-bottom: 1px solid var(--gray-light); font-size: 15px; display: flex; align-items: center; gap: 12px; }
.pricing-features li::before { content: '✦'; color: var(--accent-color); font-size: 18px; }

.search-wrap { max-width: 700px; margin: 0 auto 60px; position: relative; }
.search-wrap input { padding-right: 120px; height: 60px; border-radius: 30px; font-size: 18px; }
.search-wrap .btn {
    position: absolute;
    right: 8px;
    top: 8px;
    height: 44px;
    border-radius: 22px;
    padding: 0 25px;
    gap: 8px;
}
.search-wrap .btn img { width: 18px; height: 18px; filter: brightness(0) invert(1); }

.kb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.kb-card {
    display: flex;
    gap: 25px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}
.kb-card:hover { transform: translateX(10px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }
.kb-icon {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.kb-icon img { width: 32px; height: 32px; }
.kb-card:hover .kb-icon { background: var(--primary-color); }
.kb-card:hover .kb-icon img { filter: brightness(0) invert(1); }

.faq-wrapper { max-width: 800px; margin: 80px auto 0; }
.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-light);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary-color); }
.faq-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
    user-select: none;
}
.faq-header span { font-size: 24px; transition: transform 0.3s ease; color: var(--primary-color); }
.faq-content { padding: 0 30px; max-height: 0; overflow: hidden; opacity: 0; transition: all 0.4s ease; font-size: 15px; line-height: 1.7; color: var(--dark-text); }
.faq-item.active .faq-content { max-height: 300px; padding: 0 30px 30px; opacity: 1; }
.faq-item.active .faq-header span { transform: rotate(45deg); }

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 26, 30, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-card {
    background: var(--bg-color);
    width: 90%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transform: translateY(30px) scale(0.95);
    transition: var(--transition);
    position: relative;
}
.modal-overlay.active .modal-card { transform: translateY(0) scale(1); }
.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-text);
    transition: var(--transition-fast);
}
.modal-close:hover { opacity: 0.7; transform: rotate(90deg); }
.modal-close img { filter: none; }
.modal-card h2 { font-size: 28px; margin-bottom: 10px; color: var(--primary-color); }
.modal-subtitle { color: var(--gray-text); margin-bottom: 25px; }

.payment-methods { display: flex; flex-direction: column; gap: 15px; }
.btn-payment { justify-content: flex-start; padding: 16px 20px; gap: 15px; }
.btn-payment img { width: 24px; height: 24px; }
.modal-divider { margin: 15px 0; border: none; border-top: 1px solid var(--gray-light); }

.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 450px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h4 { color: var(--primary-color); font-size: 16px; margin-bottom: 8px; }
.cookie-banner p { font-size: 13px; opacity: 0.8; line-height: 1.5; }
.cookie-actions { display: flex; gap: 12px; margin-top: 10px; }
.cookie-actions .btn { flex: 1; }

footer { background: var(--primary-dark); color: white; padding: 80px 0 30px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 50px; }
.footer-logo h2 { color: var(--accent-color); font-size: 32px; margin-bottom: 20px; }
.footer-logo p { opacity: 0.7; font-size: 15px; line-height: 1.8; max-width: 350px; }
.footer-col h4 { font-size: 16px; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 1px; color: var(--white); }
.footer-nav { display: flex; flex-direction: column; gap: 15px; }
.footer-nav button, .footer-nav a {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition-fast);
    text-decoration: none;
    width: fit-content;
}
.footer-nav button:hover, .footer-nav a:hover { color: var(--accent-color); transform: translateX(8px); }
.footer-contact-text { font-size: 14px; opacity: 0.7; margin-bottom: 15px; }
.tg-footer-btn {
    background: var(--tg-color);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(36, 161, 222, 0.2);
}
.tg-footer-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(36, 161, 222, 0.4); color: white; }
.tg-footer-btn img { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; font-size: 14px; opacity: 0.6; }
.footer-badges { display: flex; align-items: center; gap: 20px; }
.age-badge { border: 1px solid rgba(255,255,255,0.4); padding: 4px 8px; border-radius: 4px; font-weight: 800; font-size: 12px; }

@media (max-width: 1200px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .hero-banner h1 { font-size: 48px; }
    .kb-grid { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; gap: 30px; }
    .pricing-card.popular { transform: scale(1); border-width: 1px; z-index: 1; }
    .pricing-card.popular:hover { transform: translateY(-5px); }
    .pricing-grid { max-width: 500px; }
    .footer-grid { grid-template-columns: 1fr; text-align: left; }
    .footer-nav { align-items: flex-start; }
    .footer-logo p { max-width: 100%; }
}

@media (max-width: 768px) {
    header nav { display: none; }
    .desktop-only { display: none; }
    .burger { display: flex; }
    .grid-3 { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .stats-bar { flex-direction: column; gap: 30px; padding: 30px; }
    .hero-banner h1 { font-size: 36px; }
    .hero-banner p { font-size: 18px; }
    .section-title { font-size: 32px; }
    .container { width: 92%; }
    .card { padding: 30px; }
    .pricing-card { padding: 40px 30px; }
    .price-display { font-size: 40px; }
    .faq-header { padding: 20px; font-size: 16px; }
    .modal-card { padding: 30px 25px; }
    .cookie-banner { left: 20px; right: 20px; bottom: 20px; max-width: none; }
    .toast-container { bottom: 20px; right: 20px; left: 20px; }
    .toast { min-width: auto; }
}

@media (max-width: 480px) {
    .hero-banner h1 { font-size: 30px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .filter-btn { width: 100%; }
    .pricing-toggle-wrap { flex-wrap: wrap; width: 100%; }
    .pricing-features li { font-size: 14px; }
    .search-wrap .btn { position: static; width: 100%; margin-top: 10px; height: 50px; }
    .search-wrap input { padding-right: 15px; }
    .footer-logo h2 { font-size: 28px; }
}