* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #2c5f7c, #4a90a4);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4caf50, #81c784);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.circle-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f57c00, #ffb74d);
    top: 50%;
    left: 10%;
    animation-delay: -10s;
}

.circle-4 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #7b1fa2, #ba68c8);
    bottom: 20%;
    right: 10%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.05); }
    50% { transform: translate(-10px, 10px) scale(0.95); }
    75% { transform: translate(15px, 15px) scale(1.02); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.header {
    background: linear-gradient(135deg, #1e4d6b 0%, #2c5f7c 50%, #1a3d54 100%);
    padding: 25px 0;
    box-shadow: 0 10px 40px rgba(44, 95, 124, 0.3);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-svg {
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.3); opacity: 0; }
}

.logo-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 400;
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #2c5f7c, transparent);
    border-radius: 2px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff9c4, #fff59d);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    color: #f57c00;
    margin-bottom: 30px;
    animation: slide-down 0.6s ease-out;
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.2);
}

.badge-icon-svg {
    width: 16px;
    height: 16px;
}

@keyframes slide-down {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a3d54;
    margin-bottom: 20px;
    line-height: 1.4;
    animation: fade-up 0.8s ease-out 0.2s both;
}

.title-line {
    display: block;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #2c5f7c, #4a90a4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-desc {
    font-size: 18px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fade-up 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    animation: fade-up 0.8s ease-out 0.6s both;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hero-stat .stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #2c5f7c;
    line-height: 1;
}

.hero-stat .stat-unit {
    font-size: 18px;
    color: #2c5f7c;
    font-weight: 600;
}

.hero-stat .stat-text {
    font-size: 14px;
    color: #94a3b8;
}

.hero-stat-divider {
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, transparent, #cbd5e1, transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a3d54;
    margin-bottom: 10px;
}

.section-desc {
    font-size: 16px;
    color: #94a3b8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.feature-card {
    background: #fff;
    border-radius: 24px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5f7c, #4a90a4);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(44, 95, 124, 0.15);
}

.feature-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.feature-icon-svg {
    width: 64px;
    height: 64px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-svg {
    transform: scale(1.1);
}

.feature-bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(44, 95, 124, 0.1), rgba(74, 144, 164, 0.1));
    border-radius: 50%;
    z-index: 1;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a3d54;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: #1976d2;
}

.tag-icon {
    width: 12px;
    height: 12px;
}

.feature-tag.emergency {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    color: #c62828;
}

.platforms {
    padding: 60px 0;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.platform-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(30px);
}

.platform-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.user-card::before { background: linear-gradient(90deg, #2c5f7c, #4a90a4); }
.tech-card::before { background: linear-gradient(90deg, #2e7d32, #4caf50); }
.admin-card::before { background: linear-gradient(90deg, #5d4037, #8d6e63); }
.gov-card::before { background: linear-gradient(90deg, #f57c00, #ff9800); }

.card-gloss {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.platform-card:hover .card-gloss {
    left: 100%;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.platform-icon {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.platform-icon svg {
    width: 64px;
    height: 64px;
}

.platform-card:hover .platform-icon {
    transform: scale(1.15);
}

.platform-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a3d54;
    margin-bottom: 8px;
}

.platform-card p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    color: #64748b;
    transition: all 0.3s ease;
}

.badge-mini-icon {
    width: 12px;
    height: 12px;
}

.platform-card:hover .platform-badge {
    background: linear-gradient(135deg, #2c5f7c, #4a90a4);
    color: #fff;
}

.card-hover-content {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c5f7c, #4a90a4);
    padding: 15px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: bottom 0.3s ease;
}

.platform-card:hover .card-hover-content {
    bottom: 0;
}

.card-decoration {
    position: absolute;
    top: 15px;
    right: 15px;
}

.decoration-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
    margin-bottom: 5px;
    opacity: 0.3;
}

.dot-1 { background: #2c5f7c; }
.dot-2 { background: #4caf50; width: 6px; height: 6px; }

.services-preview {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-item-large {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.service-item-large.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-item-large:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-icon-large {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-large svg {
    width: 48px;
    height: 48px;
}

.service-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a3d54;
    margin-bottom: 6px;
}

.service-content p {
    font-size: 14px;
    color: #94a3b8;
}

.business-loop {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e4d6b 0%, #2c5f7c 50%, #1a3d54 100%);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.business-loop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.business-loop .section-title {
    color: #fff;
}

.business-loop .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.loop-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.loop-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 35px;
    border-radius: 16px;
    min-width: 130px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.loop-item.animate-in {
    opacity: 1;
    transform: scale(1);
}

.loop-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.loop-icon-svg {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #00d4ff;
}

.loop-num {
    font-size: 28px;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 8px;
}

.loop-text {
    font-size: 15px;
    color: #fff;
    font-weight: 500;
}

.loop-connector {
    position: absolute;
    right: -25px;
    width: 10px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.loop-arrow {
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
}

.loop-arrow svg {
    width: 24px;
    height: 24px;
}

.footer {
    background: #0f2a3d;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-svg {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.footer-slogan {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
}

.link-group a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #00d4ff;
}

.link-icon {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.footer-bottom {
    text-align: center;
    padding: 30px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

@media (max-width: 768px) {
    .logo-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }

    .hero-stat-divider {
        width: 50px;
        height: 2px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .loop-container {
        flex-direction: column;
    }

    .loop-arrow {
        transform: rotate(90deg);
    }

    .loop-connector {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}