/* --- Global Styles & Variables --- */
:root {
    --wg-dark: #121212;
    --wg-dark-secondary: #1E1E1E;
    --wg-light-gray: #f4f5f7;
    --wg-accent: #336dff;
    --wg-accent-hover: #1a56e8;
    --wg-text: #E0E0E0;
    --wg-text-dark: #333333;
    --wg-white: #ffffff;
    --border-color: #333333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    background-color: var(--wg-dark);
    color: var(--wg-text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; font-weight: 800; }
h2 { font-size: 2.5rem; text-align: center; font-weight: 700; margin-bottom: 3rem;}
p { margin-bottom: 1.5rem; color: #b3b3b3;}
section { padding: 80px 0; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-primary {
    background-color: var(--wg-accent);
    color: var(--wg-white);
}
.btn-primary:hover {
    background-color: var(--wg-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(51, 109, 255, 0.2);
}
.btn-secondary {
    background-color: transparent;
    color: var(--wg-white);
    border-color: var(--border-color);
}
.btn-secondary:hover {
    background-color: var(--wg-white);
    color: var(--wg-dark);
}
.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* --- Header & Navigation --- */
.header {
    background-color: rgba(18, 18, 18, 0.8);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}
.main-nav { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 35px; }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--wg-text); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--wg-accent); }

/* ============== НОВАЯ HERO-СЕКЦИЯ ============== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 100px 0;
    background-image: url('img/Banner-1.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--wg-dark) 10%, rgba(18, 18, 18, 0.7) 50%, rgba(18, 18, 18, 0.8) 90%);
    z-index: 1;
}
.hero-container {
    position: relative;
    z-index: 2;
}
.hero-content { 
    max-width: 800px; 
    margin: 0 auto; 
}
.hero .subtitle { 
    font-size: 1.25rem; 
    color: #b3b3b3; 
    max-width: 700px; 
    margin: 1rem auto 2.5rem auto; 
}
.hero-actions { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap; 
}


/* --- About Section --- */
.about { background-color: var(--wg-dark-secondary); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image img { max-width: 100%; border-radius: 12px; }
.about-text p strong { color: var(--wg-white); }

/* --- Benefits Section --- */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.benefit-card {
    background-color: var(--wg-dark-secondary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card:hover { transform: translateY(-5px); border-color: var(--wg-accent); }
.benefit-card h3 { color: var(--wg-white); }

/* --- Main CTA Section --- */
.cta-main { background-color: var(--wg-light-gray); color: var(--wg-text-dark); }
.cta-main h2, .cta-main h4 { color: var(--wg-text-dark); }
.cta-main .cta-subtitle { max-width: 700px; margin: 0 auto 3rem auto; text-align: center; color: #555; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 3rem; }
.feature-item { background: var(--wg-white); padding: 25px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.feature-item p { color: #666; margin-bottom: 0; }
.cta-button { display: block; width: fit-content; margin: 0 auto; }

/* --- FAQ Section --- */
.faq-accordion { max-width: 800px; margin: 0 auto; }
details {
    background: var(--wg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 20px;
}
summary {
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--wg-white);
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}
details[open] summary::after { transform: rotate(45deg); }
details[open] p { padding-top: 15px; border-top: 1px solid var(--border-color); margin-top: 15px; }

/* --- Footer --- */
.footer {
    background-color: var(--wg-dark-secondary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    color: #888;
}
.copyright { text-align: center; font-size: 0.9rem; margin: 0; }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-image { display: none; } /* Hide image on smaller screens to save space */
    .benefits-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .main-nav { flex-direction: column; gap: 20px; }
    .nav-links { justify-content: center; width: 100%; }
}
