/* =========================================================
   SecureNet Solutions LLC — site styles
   Brand teal: #2DC4A1 | dark teal: #1f9c80 | navy ink: #1a2940
   ========================================================= */

:root {
    --brand: #2DC4A1;
    --brand-dark: #1f9c80;
    --brand-darker: #178268;
    --brand-soft: #e7f8f3;
    --ink: #1a2940;
    --ink-soft: #4a5871;
    --muted: #6b7689;
    --line: #e5ebf2;
    --bg-soft: #f4f7fa;
}

/* 通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

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

/* ===== 导航栏 ===== */
nav {
    background-color: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(26, 41, 64, 0.02);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    gap: 24px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 76px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--ink-soft);
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.2s, background-color 0.2s;
}

.nav-links a:hover {
    background-color: var(--brand-soft);
    color: var(--brand-darker);
}

/* 语言切换 */
.language-switcher {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--muted);
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.language-option {
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 999px;
    transition: background-color 0.2s, color 0.2s;
}

.language-option.active {
    background-color: var(--brand);
    color: #fff;
    font-weight: 600;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--ink);
    margin: 3px 0;
    border-radius: 2px;
    transition: transform 0.2s;
}

/* ===== Hero ===== */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: linear-gradient(135deg, #f4faf8 0%, #e7f8f3 60%, #d8f1ea 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 196, 161, 0.18), transparent 70%);
    pointer-events: none;
}

.hero-content {
    flex: 1 1 480px;
    padding: 80px 50px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-darker);
    background-color: rgba(45, 196, 161, 0.12);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 22px;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero-content p {
    font-size: 18px;
    color: var(--ink-soft);
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.cta-button {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--brand);
    color: #fff;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 20px rgba(45, 196, 161, 0.28);
}

.cta-button:hover {
    background-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(45, 196, 161, 0.35);
}

.ghost-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: #fff;
    color: var(--ink);
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    border: 1.5px solid var(--line);
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.ghost-button:hover {
    border-color: var(--brand);
    color: var(--brand-darker);
    transform: translateY(-2px);
}

.hero-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding: 0;
    margin: 0;
}

.hero-badges li {
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 500;
}

.hero-image {
    flex: 1 1 420px;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 30px 60px -30px rgba(26, 41, 64, 0.35);
}

/* ===== 通用 section ===== */
.section {
    padding: 90px 0;
}

.section-alt {
    background-color: var(--bg-soft);
}

.section h2 {
    text-align: center;
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.section h2::after {
    content: '';
    width: 56px;
    height: 3px;
    background-color: var(--brand);
    display: block;
    margin: 18px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto 50px;
}

/* ===== 关于我们 ===== */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.about-text {
    flex: 1 1 400px;
    padding: 20px;
}

.about-text p {
    font-size: 17px;
    color: var(--ink-soft);
    margin-bottom: 24px;
}

.about-text ul {
    list-style: none;
    margin-bottom: 28px;
}

.about-text ul li {
    font-size: 16px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
    color: var(--ink);
}

.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: var(--brand);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.secondary-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: #fff;
    color: var(--brand-darker);
    border: 2px solid var(--brand);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s;
}

.secondary-button:hover {
    background-color: var(--brand);
    color: #fff;
}

.about-image {
    flex: 1 1 400px;
    padding: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px -20px rgba(26, 41, 64, 0.25);
}

/* ===== 服务项目 ===== */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-item {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(26, 41, 64, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(26, 41, 64, 0.12);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-item h3 {
    font-size: 20px;
    margin: 22px 24px 10px;
    color: var(--ink);
    font-weight: 700;
}

.service-item p {
    font-size: 15px;
    color: var(--ink-soft);
    margin: 0 24px 24px;
    line-height: 1.6;
}

/* ===== 优势 ===== */
.advantages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.advantage-item {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background-color: #fff;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.advantage-item:hover {
    transform: translateY(-6px);
    border-color: var(--brand);
    box-shadow: 0 12px 28px rgba(45, 196, 161, 0.12);
}

.advantage-item img {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--ink);
    font-weight: 700;
}

.advantage-item p {
    font-size: 15px;
    color: var(--ink-soft);
}

/* ===== 对比表 ===== */
.comparison-table {
    overflow-x: auto;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(26, 41, 64, 0.05);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.comparison-table th, .comparison-table td {
    border-bottom: 1px solid var(--line);
    padding: 18px 20px;
    text-align: center;
    font-size: 15px;
    color: var(--ink-soft);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table th {
    background-color: var(--ink);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.comparison-table th:nth-child(2) {
    background-color: var(--brand-darker);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--ink);
    background-color: var(--bg-soft);
    text-align: left;
}

.comparison-table td:nth-child(2) {
    color: var(--ink);
    font-weight: 500;
}

/* ===== 技术支持 ===== */
.support-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.support-item {
    text-align: center;
    padding: 24px;
}

.support-item img {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
}

.support-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--ink);
    font-weight: 700;
}

.support-item p {
    font-size: 15px;
    color: var(--ink-soft);
}

/* ===== 客户评价 ===== */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-item {
    background: linear-gradient(135deg, var(--brand-darker), var(--brand));
    color: #fff;
    padding: 32px 28px 28px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 14px 30px -10px rgba(45, 196, 161, 0.35);
}

.testimonial-item::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 80px;
    line-height: 1;
    position: absolute;
    top: 8px;
    left: 20px;
    color: rgba(255, 255, 255, 0.2);
}

.testimonial-item p {
    font-size: 16px;
    margin-bottom: 18px;
    position: relative;
}

.testimonial-item h4 {
    text-align: right;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ===== FAQ ===== */
.faq-container {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 14px;
    padding: 22px 26px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
    border-color: var(--brand);
    box-shadow: 0 8px 20px rgba(45, 196, 161, 0.1);
}

.faq-item h3 {
    font-size: 17px;
    margin-bottom: 10px;
    color: var(--ink);
    font-weight: 600;
}

.faq-item p {
    font-size: 15px;
    color: var(--ink-soft);
}

/* ===== 联系 ===== */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.contact-info, .contact-form {
    flex: 1 1 380px;
    padding: 32px;
    background-color: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.contact-info h3, .contact-form h3 {
    font-size: 22px;
    margin-bottom: 22px;
    color: var(--ink);
    font-weight: 700;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--ink-soft);
}

.contact-info strong {
    color: var(--ink);
    margin-right: 4px;
}

.contact-info a {
    color: var(--brand-darker);
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info .map {
    margin-top: 22px;
}

.contact-info .map img {
    width: 100%;
    border-radius: 12px;
}

/* ===== 表单 ===== */
form {
    max-width: 100%;
}

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

form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

form input, form textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(45, 196, 161, 0.15);
}

form textarea {
    min-height: 120px;
    resize: vertical;
}

form button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    background-color: var(--brand);
    color: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 16px rgba(45, 196, 161, 0.28);
}

form button:hover {
    background-color: var(--brand-dark);
    transform: translateY(-1px);
}

form button:disabled {
    background-color: var(--muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 提交结果反馈 */
.form-response {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.form-response.is-success {
    display: block;
    background-color: var(--brand-soft);
    color: var(--brand-darker);
    border: 1px solid rgba(45, 196, 161, 0.4);
}

.form-response.is-error {
    display: block;
    background-color: #fdecec;
    color: #b22424;
    border: 1px solid #f3b8b8;
}

/* ===== 页脚 ===== */
footer {
    background-color: var(--ink);
    color: rgba(255, 255, 255, 0.75);
    padding: 36px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 40px;
    width: auto;
    /* logo already teal — keep the source colors */
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-copy {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .hero-content {
        padding: 60px 30px;
    }
    .hero-content h1 {
        font-size: 40px;
    }
    .section {
        padding: 70px 0;
    }
    .section h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    nav .container {
        flex-wrap: wrap;
        gap: 10px;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }
    .nav-links.active {
        display: flex;
        padding: 10px 0;
        border-top: 1px solid var(--line);
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        display: block;
        padding: 10px 4px;
        border-radius: 0;
    }
    .menu-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
    }
    .language-switcher {
        order: 2;
    }
    .logo img {
        height: 56px;
    }
    .hero-section {
        flex-direction: column;
    }
    .hero-content {
        padding: 50px 24px 20px;
        text-align: left;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .hero-image {
        padding: 0 24px 50px;
    }
    .section h2 {
        font-size: 26px;
    }
    .section-subtitle {
        font-size: 15px;
        margin-bottom: 36px;
    }
    .about-content {
        flex-direction: column;
    }
    .about-text, .about-image {
        padding: 10px 0;
    }
    .contact-info, .contact-form {
        padding: 24px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
