:root {
    --primary: #0056b3;
    --primary-dark: #003d80;
    --accent: #00a8e8;
    --accent-light: #33c9ff;
    --dark: #0a1f44;
    --text: #333333;
    --text-light: #666666;
    --bg-light: #f5f9ff;
    --white: #ffffff;
    --gray: #e6eef8;
    --shadow: 0 4px 20px rgba(0, 86, 179, 0.12);
    --shadow-hover: 0 8px 30px rgba(0, 86, 179, 0.2);
    --radius: 12px;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo img {
    height: 80px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav a {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
    background: rgba(0, 86, 179, 0.08);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--bg-light);
}

/* Section common */
.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-title p {
    font-size: 17px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding-top: 90px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/Modern_tech_company_hero_banne_2026-08-04T16-14-49.png') center/cover no-repeat;
    opacity: 0.18;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    color: var(--accent-light);
}

.hero p {
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 36px;
    opacity: 0.92;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.hero-stats .stat {
    text-align: left;
}

.hero-stats .stat .num {
    font-size: 40px;
    font-weight: 800;
    color: var(--accent-light);
}

.hero-stats .stat .label {
    font-size: 15px;
    opacity: 0.85;
}

/* Features / Services */
.bg-light {
    background: var(--bg-light);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1) 0%, rgba(0, 168, 232, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--primary);
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Solutions page */
.solution-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.solution-card .solution-img {
    height: 200px;
    overflow: hidden;
}

.solution-card .solution-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-img img {
    transform: scale(1.08);
}

.solution-card .solution-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solution-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.solution-card ul {
    margin-top: auto;
}

.solution-card ul li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text);
    padding-left: 20px;
    position: relative;
}

.solution-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Products page */
.product-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 140px 0 90px;
    text-align: center;
}

.product-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.product-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.product-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.product-feature:last-child {
    margin-bottom: 0;
}

.product-feature.reverse {
    direction: rtl;
}

.product-feature.reverse > * {
    direction: ltr;
}

.product-feature .feature-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.product-feature .feature-img img {
    width: 100%;
}

.product-feature .feature-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.product-feature .feature-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.product-feature .feature-list li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--text);
    padding-left: 24px;
    position: relative;
}

.product-feature .feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* Cases */
.case-card {
    overflow: hidden;
    padding: 0;
}

.case-card .case-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.case-card .case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-img img {
    transform: scale(1.08);
}

.case-card .case-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.case-card .case-body {
    padding: 24px;
}

.case-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.case-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item .icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item .detail h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-item .detail p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta p {
    font-size: 17px;
    opacity: 0.92;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand img {
    height: 90px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact .icon {
    color: var(--accent-light);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 14px;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.85;
}

/* Stats section */
.stats-section {
    background: var(--white);
    padding: 60px 0;
    border-top: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-box .num {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-box .label {
    font-size: 15px;
    color: var(--text-light);
    margin-top: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 72px;
    }

    .logo img {
        height: 55px;
    }

    .logo-text {
        font-size: 16px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav a {
        padding: 14px 16px;
        border-bottom: 1px solid var(--gray);
        border-radius: 0;
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 70px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-stats {
        gap: 24px;
        margin-top: 40px;
    }

    .hero-stats .stat .num {
        font-size: 28px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title p {
        font-size: 15px;
    }

    .grid-4,
    .grid-3,
    .grid-2,
    .about-content,
    .product-feature,
    .contact-content,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-feature.reverse {
        direction: ltr;
    }

    .about-content {
        gap: 36px;
    }

    .product-feature {
        gap: 30px;
        margin-bottom: 50px;
    }

    .page-banner h1,
    .product-hero h1,
    .cta h2,
    .about-text h2 {
        font-size: 28px;
    }

    .contact-form {
        padding: 28px;
    }

    .footer-grid {
        gap: 30px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .btn {
        width: 100%;
    }

    .hero-btns {
        flex-direction: column;
    }
}
