* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg-white: #ffffff;
    --color-bg-gray: #f8f9fa;
    --color-bg-light: #f5f7fa;
    --color-primary: #165DFF;
    --color-secondary: #36CFC9;
    --color-text-dark: #2c3e50;
    --color-text-gray: #6b7280;
    --color-text-light: #9ca3af;
    --color-border: #e5e7eb;
    --gradient-primary: linear-gradient(135deg, rgba(22, 93, 255, 0.08) 0%, rgba(54, 207, 201, 0.04) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(22, 93, 255, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 40px rgba(22, 93, 255, 0.12);
    --border-radius-small: 8px;
    --border-radius-medium: 16px;
    --border-radius-large: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.logo-container {
    text-align: center;
}

.logo-container .logo {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    animation: logoPulse 2s ease-in-out infinite;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes logoPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: var(--shadow-light);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    color: var(--color-text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text-dark);
    transition: all 0.3s ease;
}

.main-content {
    opacity: 0;
    transition: opacity 1s ease;
}

.main-content.fade-in {
    opacity: 1;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.tech-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(22, 93, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 93, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 2rem;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    letter-spacing: 0.05rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.title-part {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.8rem;
    animation: expandFromCenter 0.8s ease forwards;
    opacity: 0;
}

.title-part:nth-child(1) {
    transform-origin: right center;
    animation-delay: 0.2s;
}

.title-part:nth-child(3) {
    transform-origin: left center;
    animation-delay: 0.2s;
}

.title-divider {
    font-size: 3.5rem;
    color: var(--color-secondary);
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandFromCenter {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-gray);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin: 0 auto 2.5rem;
    border-radius: 2px;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--color-primary), #0f4cd3);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-large);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(22, 93, 255, 0.3);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(22, 93, 255, 0.4);
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-gray);
    font-weight: 300;
}

.personal-services {
    background: var(--color-bg-white);
}

.enterprise-services {
    background: var(--color-bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-bg-white);
    border-radius: var(--border-radius-medium);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-card.enterprise {
    border-left: 4px solid var(--color-primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    padding: 18px;
    max-width: 100%;
    max-height: 100%;
}

.service-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.service-desc {
    color: var(--color-text-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    display: inline-block;
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
}

.service-link:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.logo-wall {
    background: var(--color-bg-white);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    align-items: center;
}

.logo-item {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

.footer {
    background: var(--color-text-dark);
    color: var(--color-bg-white);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-info {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.footer-mission,
.footer-vision {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.footer-contact {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease;
    margin-right: 3.5rem;
}

.contact-item:last-child {
    margin-right: 0;
}

.contact-item:hover {
    transform: scale(1.02);
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
}

.copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(54, 207, 201, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.copy-btn img {
    width: 18px;
    height: 18px;
}

.copy-btn:hover {
    background: rgba(54, 207, 201, 0.2);
    opacity: 1;
    transform: scale(1.1);
}

.copy-success {
    display: none;
    font-size: 0.85rem;
    color: var(--color-secondary);
    animation: fadeInOut 2s ease;
}

.copy-success.show {
    display: inline-block;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }
    20% {
        opacity: 1;
        transform: translateY(0);
    }
    80% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-5px);
    }
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.icp-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-link:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: var(--shadow-light);
    }
    
    .nav-menu.active {
        max-height: 300px;
    }
    
    .nav-menu li {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .title-divider {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-container {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .title-divider {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .logo-container .logo {
        font-size: 2rem;
    }
    
    .service-icon {
        width: 65px;
        height: 65px;
        padding: 12px;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-name {
        font-size: 1.15rem;
    }
    
    .service-desc {
        font-size: 0.9rem;
    }
    
    .contact-value {
        font-size: 1.2rem;
        flex-wrap: wrap;
    }
    
    .footer-info {
        padding: 0 1rem;
    }
    
    .footer-mission,
    .footer-vision {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3rem;
        gap: 1rem;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .nav-container,
    .section-container,
    .footer-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1281px) {
    .hero-title {
        font-size: 4.5rem;
        gap: 2rem;
    }
    
    .title-divider {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
}