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

:root {
    --primary-color: #8e44ad;
    --secondary-color: #3498db;
    --dark-bg: #0d1117;
    --light-bg: #161b22;
    --text-color: #c9d1d9;
    --text-muted: #8b949e;
    --accent-color: #58a6ff;
    --card-bg: #161b22;
    --border-color: #30363d;
    --header-bg: rgba(13, 17, 23, 0.8);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.7;
}

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

header {
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-color);
    border-bottom-color: var(--accent-color);
}

main {
    padding-top: 70px; /* Adjust for fixed header */
}

section {
    padding: 5rem 0;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(13, 17, 23, 0.9), rgba(13, 17, 23, 0.9)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    text-align: center;
    padding: 7rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero-section h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    background: var(--accent-color);
    color: var(--dark-bg);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background: #7cc0ff;
}


/* Services Section */
.services-section {
    background-color: var(--dark-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light-bg);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.service-card h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

/* Downloads Section Specific Styles */
#downloads .service-grid {
    grid-template-columns: repeat(3, 1fr);
}

#downloads .service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* Advantages Section */
.advantages-section {
    background-color: var(--light-bg);
}
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    text-align: center;
}

.advantage-item .advantage-icon {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.advantage-item h4 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

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

/* Industry Section */
.industry-section {
    background-color: var(--dark-bg);
}

.industry-content {
     display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.industry-card {
    background: var(--light-bg);
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
}

.industry-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.industry-card p {
    color: var(--text-muted);
}


/* About Section */
.about-section {
    background-color: var(--light-bg);
}

.about-section h2 {
    color: var(--text-color);
}

.about-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--accent-color);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.team-member h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.team-member p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-section {
    background-color: var(--dark-bg);
    text-align: center;
}

.contact-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-group {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form textarea {
    grid-column: 1 / -1;
}

/* Footer */
.footer {
    background-color: var(--light-bg);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simple responsive for now */
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    #downloads .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    #downloads .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}