/* Tradeadox - Custom CSS */

/* ========== ОСНОВНІ ЗМІННІ ========== */
:root {
    --primary-bg: #041212;
    --secondary-bg: #333;
    --light-bg: #f3f4f8;
    --white-bg: #fff;
    --accent-primary: #4d76ff;
    --accent-secondary: #0949e0;
    --text-light: #fff;
    --text-muted: #9da39f;
    --text-dark: #333;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* ========== БАЗОВІ СТИЛІ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Outfit", sans-serif;
    background: var(--primary-bg);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Градієнтний фон для body */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #041212 0%, #0a1f1f 50%, #041212 100%);
    z-index: -2;
}

/* ========== ЗАГАЛЬНІ КЛАСИ ========== */
.accent-color {
    color: var(--accent-primary) !important;
}

.section-light {
    background: var(--light-bg);
    color: var(--text-dark);
}

.section-dark {
    background: var(--primary-bg);
    color: var(--text-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

.section-title-dark {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ========== ХЕДЕР ========== */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--secondary-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light) !important;
    text-decoration: none;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

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

.btn-accent {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    color: white !important;
    font-weight: 600;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 18, 18, 0.9), rgba(4, 18, 18, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-points {
    margin-bottom: 2rem;
}

.point-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.point-item .material-icons-outlined {
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* ========== CONTENT SECTIONS ========== */
.content-box {
    padding: 2rem;
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

.image-container {
    padding: 1rem;
}

.image-container img {
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.image-container img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(4, 207, 94, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(4, 207, 94, 0.2);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(4, 207, 94, 0.15);
    transform: translateY(-2px);
}

.feature-item .material-icons-outlined {
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* ========== ЦІЛІ ТА ОЧІКУВАННЯ ========== */
.goal-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(10px);
}

.goal-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-medium);
}

.goal-icon {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.goal-icon .material-icons-outlined {
    color: white;
    font-size: 1.8rem;
}

.goal-card h5 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

/* ========== LERNINHALTE SECTION ========== */
.section-content {
    position: relative;
    overflow: hidden;
}

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

.section-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 18, 18, 0.95), rgba(4, 18, 18, 0.8));
}

.content-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.content-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.content-card h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.content-card p {
    color: var(--text-muted);
    margin: 0;
}

.content-card-full {
    text-align: center;
}

/* ========== APPROACH SECTION ========== */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.approach-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(4, 207, 94, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(4, 207, 94, 0.2);
    transition: var(--transition);
}

.approach-item:hover {
    background: rgba(4, 207, 94, 0.15);
    transform: translateX(5px);
}

.approach-item .material-icons-outlined {
    margin-right: 1rem;
    font-size: 1.3rem;
}

/* ========== STEPS SECTION ========== */
.section-steps {
    position: relative;
    overflow: hidden;
}

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

.step-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.step-number {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-muted);
    margin: 0;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-medium);
}

.quote-icon {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.quote-icon .material-icons-outlined {
    color: white;
    font-size: 1.5rem;
}

.testimonial-card p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========== ФОРМА ========== */
.form-container {
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(4, 207, 94, 0.1);
}

.registration-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.registration-form .form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 0.2rem rgba(4, 207, 94, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

/* ========== КОНТАКТИ ========== */
.contact-info {
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item .material-icons-outlined {
    margin-right: 1rem;
    margin-top: 0.25rem;
    font-size: 1.5rem;
}

.contact-item h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-muted);
    margin: 0;
}

.contact-item a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-secondary);
}

.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* ========== ФУТЕР ========== */
.footer {
    background: var(--secondary-bg);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-title {
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact a {
    color: var(--accent-primary);
    text-decoration: none;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ========== COOKIE POPUP ========== */
.cookie-popup {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    background: var(--secondary-bg);
    color: var(--text-light);
    padding: 1.5rem;
    z-index: 2000;
    border-top: 3px solid var(--accent-primary);
    box-shadow: var(--shadow-strong);
    transform: translateZ(0); 
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* ========== АДАПТИВНІСТЬ ========== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title,
    .section-title-dark {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 2rem;
    }
    .cookie-popup {
        bottom: -250px;
        padding: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .cookie-popup {
        bottom: -300px; 
    }
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title,
    .section-title-dark {
        font-size: 1.75rem;
    }
    
    .content-card,
    .goal-card,
    .step-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

/* ========== АНІМАЦІЇ ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ========== SMOOTH SCROLL ========== */
html {
    scroll-behavior: smooth;
}

/* Відступ для фіксованого хедера */
section {
    scroll-margin-top: 80px;
}


/* ========== FAQ SECTION ========== */
.faq-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-question {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.faq-answer {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    padding-left: 2.5rem;
}

/* ========== TEAM SECTION ========== */
.team-intro {
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(4, 207, 94, 0.1);
}

.founder-content {
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.founder-image-container {
    position: relative;
}

.founder-image-container img {
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.founder-image-container img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.founder-facts {
    background: rgba(4, 207, 94, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(4, 207, 94, 0.2);
}

.founder-facts h5 {
    color: var(--text-dark);
    font-weight: 600;
}

.fact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.fact-item:last-child {
    margin-bottom: 0;
}

.fact-item .material-icons-outlined {
    font-size: 1.3rem;
}

/* ========== АДАПТИВНІСТЬ ДЛЯ НОВИХ СЕКЦІЙ ========== */
@media (max-width: 768px) {
    .faq-group {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .faq-answer {
        padding-left: 0;
        margin-top: 0.5rem;
    }
    
    .faq-question {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .faq-question .material-icons-outlined {
        margin-bottom: 0.5rem;
    }
    
    .founder-content,
    .team-intro {
        padding: 1.5rem;
    }
    
    .founder-facts {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .faq-group {
        padding: 1rem;
    }
    
    .founder-content,
    .team-intro {
        padding: 1rem;
    }
}