@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary-color: #0d1117;
    --secondary-color: #161b22;
    --accent-color: #58a6ff;
    --text-color: #c9d1d9;
    --border-color: #30363d;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Header */
header {
    background-color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: var(--header-height);
}

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

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

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

/* Main Content */
main {
    padding-top: var(--header-height);
}

.content-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.content-section h2 {
    font-size: 2.5em;
    color: var(--accent-color);
    margin-bottom: 30px;
    text-align: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(13, 17, 23, 0.8), rgba(13, 17, 23, 0.9)), url('https://via.placeholder.com/1920x1080/0d1117/0d1117') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #79b8ff;
    transform: translateY(-2px);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    background-color: var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.feature-item h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.image-container {
    text-align: center;
    margin-top: 40px;
}

.content-image {
    max-width: 100%;
    width: 600px;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.caption {
    margin-top: 10px;
    font-style: italic;
    font-size: 0.9em;
    color: #8b949e;
}


/* FAQ Section */
#faq [itemprop="mainEntity"] {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 20px;
}

#faq [itemprop="name"] {
    font-size: 1.3em;
    color: var(--text-color);
    cursor: pointer;
}

#faq [itemprop="acceptedAnswer"] {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--secondary-color);
    padding: 25px;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 5px 5px 0;
}

.review-author {
    margin-top: 15px;
    font-weight: 700;
    color: var(--text-color);
    text-align: right;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto 40px;
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 5px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form .btn {
    width: 100%;
    font-size: 1.1em;
}

.contacts-info {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.contacts-info h3 {
    margin-bottom: 10px;
}

/* Footer */
footer {
    padding: 30px 0;
    background-color: var(--secondary-color);
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }
    
    header {
        position: static;
        height: auto;
    }

    main {
        padding-top: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .content-section h2 {
        font-size: 2em;
    }
}