/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    margin: 0;
    color: #333;
}

/* Main navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background-color: #f5f5f5;
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23000000"/><text x="50" y="50" font-family="Arial" font-size="14" fill="%2300ff00" text-anchor="middle" dominant-baseline="middle">HACKER</text></svg>');
    color: #fff;
    text-align: center;
    padding: 8rem 0 4rem;
    margin-top: 60px;
    background-size: cover;
    background-position: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 150px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #00ff00;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1.1rem;
    color: #fff;
}

/* Services section */
.services {
    padding: 4rem 0;
    background-color: #fff;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #f8f8f8;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.service-card h3 {
    color: #00ff00;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
    text-align: left;
    flex-grow: 1;
}

.service-features li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li:before {
    content: "✓";
    color: #00ff00;
    position: absolute;
    left: 0;
}

/* Advantages section */
.advantages {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.advantages h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 100%;
}

.advantage-item h3 {
    color: #00ff00;
    margin-bottom: 1rem;
}

/* Process section */
.process {
    padding: 4rem 0;
    background-color: #fff;
}

.process h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step {
    position: relative;
    padding: 2rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    height: 100%;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #00ff00;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

/* About section */
.about {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.team-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 100%;
}

.feature h3 {
    color: #00ff00;
    margin-bottom: 1rem;
}

/* FAQ section */
.faq {
    padding: 4rem 0;
    background-color: #fff;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: #f8f8f8;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 100%;
}

.faq-item h3 {
    color: #00ff00;
    margin-bottom: 1rem;
}

/* Contact section */
.contact {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-item h3 {
    color: #00ff00;
    margin-bottom: 1rem;
}

/* Links section */
.links {
    padding: 4rem 0;
    background-color: #fff;
}

.links h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.links-grid ul {
    list-style: none;
    padding: 0;
}

.links-grid li {
    margin: 1rem 0;
}

.links-grid a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
    white-space: nowrap;
}

.links-grid a:hover {
    color: #00ff00;
    background-color: rgba(0,255,0,0.1);
}

/* Advertisement section */
.advertisement {
    padding: 2rem 0;
    background-color: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.advertisement .container {
    text-align: center;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer a {
    color: #00ff00;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #fff;
}

/* Responsive design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
    }

    .logo {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        padding-right: 3rem;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        padding: 80px 20px 20px;
        z-index: 999;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 15px;
        font-size: 18px;
        border-bottom: 1px solid #eee;
    }

    .main-nav a:hover {
        background: #f5f5f5;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .service-grid,
    .advantages-grid,
    .process-steps,
    .team-features,
    .faq-grid,
    .contact-info,
    .links-grid {
        grid-template-columns: 1fr;
    }

    .advertisement {
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services h2,
    .advantages h2,
    .process h2,
    .about h2,
    .faq h2,
    .contact h2,
    .links h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .service-card,
    .advantage-item,
    .step,
    .feature,
    .faq-item,
    .contact-item {
        padding: 1.5rem;
    }

    .advertisement {
        padding: 1rem 0;
    }

    .footer {
        padding: 1.5rem 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    .main-nav a {
        font-size: 1rem;
        padding: 0.7rem 1rem;
    }
} 