/* Reset & Global */
:root {
    --bg-dark: #020b1c;
    --bg-darker: #010612;
    --primary-blue: #007bff;
    --accent-cyan: #00d2ff;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container-wrap {
    background: url('../images/all-bg.jpg') no-repeat center center;
    background-size: 100% 100%;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    max-width: 100%;
}

/* Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    /* background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent); */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.logo h1 {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo span {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-gray);
    margin-top: -5px;
}

.company-desc {
    position: absolute;
    top: 16px;
    left: 200px;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-white);
}



.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--text-white);
    font-size: 14px;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* background: radial-gradient(circle at center top, #1a4f8b 0%, #020b1c 70%); */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(2, 11, 28, 0.3), rgba(2, 11, 28, 1)),
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop'); /* Placeholder City Tech Image */
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    margin-top: -50px;
}

.hero-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-content h3 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
}

.hero-content h3 i {
    font-size: 32px;
    vertical-align: middle;
    margin-left: 10px;
    opacity: 0.8;
}

.hero-subtext {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 60px;
    letter-spacing: 1px;
}

/* Process Steps */
.process-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 800px;
    margin: 0 auto;
    padding-top: 40px;
}

.step-line {
    position: absolute;
    top: 45px;
    left: 50px;
    right: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
}

.step-item .dot {
    width: 10px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.step-item .label {
    font-size: 16px;
    color: var(--text-white);
}

.step-item:nth-child(2) { margin-top: -20px; } /* Create the wave effect roughly */
.step-item:nth-child(4) { margin-top: -20px; }

/* Sections Common */
.section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
}

.section-desc {
    color: var(--text-gray);
    margin-bottom: 60px;
    font-size: 16px;
    line-height: 1.8;
}

.rjkf-title {
    background: url('../images/rjkf.png') no-repeat center center;
    background-size: 100% 100%;
    height: 80px;
    width: 280px;
    text-align: center;
    margin: 0 auto;
}

.qrs-title {
    background: url('../images/qrs.png') no-repeat center center;
    background-size: 100% 100%;
    height: 80px;
    width: 250px;
    text-align: center;
    margin: 0 auto;
}



/* Cards Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: transparent;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-image {
    height: 200px;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-color);
}

.img-xcx {
    background: url('../images/xcx.png') no-repeat center center;
    background-size: 100% 100%;
}

.img-app {
    background: url('../images/app.png') no-repeat center center;
    background-size: 100% 100%;
}

.img-software {
    background: url('../images/software.png') no-repeat center center;
    background-size: 100% 100%;
}

.card h4 {
    font-size: 18px;
    font-weight: normal;
}

/* Feature Grid (IoT) */
.feature-grid {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.feature-item:hover .icon-circle {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

/* SaaS Text Section */
.saas-desc .text-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.saas-desc h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.saas-desc p {
    color: var(--text-gray);
    line-height: 2;
    text-align: justify;
}

/* Latest News / Downloads */
.divider-blue {
    width: 40px;
    height: 4px;
    background: var(--primary-blue);
    margin: 0 auto 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.news-image {
    height: 180px;
    /* background: linear-gradient(135deg, #007bff, #00c6ff); */
    background: url('../images/SAAS.png') no-repeat center center;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.news-content {
    padding: 20px;
}

.news-content p {
    margin-bottom: 20px;
    font-size: 14px;
}

.download-btns {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn-dl {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    padding: 8px 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.3s;
}

.btn-dl:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.more-container {
    margin-top: 40px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 10px 40px;
    border-radius: 4px;
    font-size: 14px;
}

.btn-primary:hover {
    background: #0056b3;
}

/* Footer */
.site-footer {
    position: relative;
    padding-top: 100px;
    padding-bottom: 40px;
    /* background: #010612; */
}

.footer-left {
    text-align: left;
    margin-bottom: 80px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo h2 {
    font-size: 24px;
}

.footer-logo span {
    font-size: 12px;
    color: var(--text-gray);
    letter-spacing: 2px;
}

.contact-info {
    margin-top: 40px;
}

.contact-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-cta {
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
}

.footer-cta h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 300;
}

.vision-form {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.vision-form input {
    flex: 1;
    padding: 15px;
    background: white;
    border: none;
    outline: none;
    color: #333;
}

.vision-form button {
    padding: 15px 30px;
    background: #f0f0f0;
    border: none;
    color: #333;
    cursor: pointer;
    font-weight: bold;
    border-left: 1px solid #ddd;
}

.vision-form button:hover {
    background: #e0e0e0;
}

/* Floating Sidebar */
.floating-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.sidebar-item {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.sidebar-item:hover {
    background: var(--primary-blue);
}

.sidebar-item .tooltip {
    position: absolute;
    right: 50px;
    background: var(--primary-blue);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.sidebar-item:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    .card-grid, .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-content h3 {
        font-size: 28px;
    }
    
    .card-grid, .news-grid, .feature-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 40px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .vision-form {
        flex-direction: column;
    }
    
    .vision-form button {
        margin-top: 10px;
        width: 100%;
    }
}
