:root {
    --primary-color: #3254ff;
    --dark-color: #141414;
    --text-color: #030303;
    --white-color: #ffffff;
    --container-width: 1440px;
    --main-font: 'Noto Sans SC', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--main-font);
}

html {
    font-family: var(--main-font);
    font-size: 16px;
}

body {
    font-family: var(--main-font);
    background-color: var(--white-color);
    color: var(--text-color);
    line-height: 1.5;
    min-height: 100vh;
}

input, button, textarea, select {
    font-family: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 80px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
}

.contact-btn {
    cursor: pointer;
    border: none;
    border-radius: 8px;
    font-family: var(--main-font);
    outline: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color) 0%, #cd2e1a 100%);
    color: var(--white-color);
    box-shadow: 0 4px 15px rgba(50, 84, 255, 0.2),
                inset 0 1px 2px rgba(255, 255, 255, 0.3),
                inset 0 -2px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    perspective: 1000px;
}

.contact-btn:hover {
    transform: translateY(-2px) scale3d(1.02, 1.02, 1.02);
    box-shadow: 0 8px 25px rgba(50, 84, 255, 0.3),
                inset 0 1px 3px rgba(255, 255, 255, 0.4),
                inset 0 -2px 3px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #cd2e1a 0%, var(--primary-color) 100%);
}

.contact-btn:active {
    transform: translateY(1px) scale3d(0.98, 0.98, 0.98);
    box-shadow: 0 2px 8px rgba(50, 84, 255, 0.2),
                inset 0 1px 1px rgba(255, 255, 255, 0.2),
                inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}

.header-btn {
    padding: 14px 32px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    overflow: hidden;
}

.hero-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.hero-content {
    flex: 0.85;
    max-width: 600px;
}

.hero-title {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 32px;
}

.hero-description {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 480px;
    color: rgba(0, 0, 0, 0.85);
}

.hero-btn {
    padding: 16px 40px;
    font-size: 18px;
}

.hero-image-section {
    position: relative;
    width: 554px;
    height: 348px;
}

.blue-card {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 552px;
    height: 348px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #cd2e1a 100%);
    border-radius: 12px;
    z-index: 1;
}

.hero-image-container {
    position: relative;
    width: 554px;
    height: 348px;
    border-radius: 12px;
    overflow: hidden;
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(20,20,20,0.16);
}

/* Blue Section */
.blue-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #cd2e1a 100%);
    color: var(--white-color);
    padding: 100px 0;
    text-align: center;
}

.section-title {
    font-size: 24px;
    margin-bottom: 32px;
}

.section-description {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Page Styles */
.screen {
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contact-main {
    flex: 1;
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    width: 599px;
    height: 900px;
    background-color: rgba(20,20,20,0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.contact-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.contact-title {
    color: #030303;
    font-size: 36px;
    font-family: var(--main-font);
    font-weight: 600;
    line-height: 54px;
    text-align: center;
    margin: 0;
}

.qr-code-container {
    width: 232px;
    height: 232px;
    border-radius: 8px;
    overflow: hidden;
}

.qr-code {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 100px 0 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-brand {
    text-align: center;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

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

.icp {
    font-family: var(--main-font);
    font-size: 16px;
    color: var(--white-color);
    opacity: 0.8;
}

.icp {
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    margin: 0;
}

.icp a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.icp a:hover {
    opacity: 0.8;
}

.text {
    color: #ffffff;
    font-size: 20px;
    font-family: var(--main-font);
    font-weight: 600;
    line-height: 30px;
    text-align: center;
}

.footer-contact {
    display: flex;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .container {
        padding: 0 60px;
    }

    .hero-image-section,
    .hero-image-container {
        width: 500px;
        height: 313px;
    }

    .blue-card {
        width: 500px;
        height: 313px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 48px;
    }

    .hero-flex-container {
        gap: 60px;
    }

    .hero-image-section,
    .hero-image-container {
        width: 440px;
        height: 276px;
    }

    .blue-card {
        width: 440px;
        height: 276px;
        top: -20px;
        right: -20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .card {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .hero {
        padding-top: 160px;
        padding-bottom: 100px;
    }

    .hero-flex-container {
        flex-direction: column;
        gap: 60px;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-section {
        width: 100%;
        max-width: 554px;
        margin: 0 auto;
    }

    .hero-image-container,
    .blue-card {
        width: 100%;
    }

    .blue-section {
        padding: 80px 0;
    }

    .footer {
        padding: 80px 0 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }
    
    .header {
        height: 80px;
    }

    .nav-wrapper {
        flex-direction: row;
        height: 80px;
        padding: 0;
    }
    
    .logo-wrapper {
        gap: 10px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .header-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 80px;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .hero-description {
        margin-bottom: 32px;
    }

    .hero-image-section,
    .hero-image-container,
    .blue-card {
        height: 300px;
    }

    .blue-card {
        top: -16px;
        right: -16px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
        margin-bottom: 40px;
    }

    .contact-main {
        padding: 40px 0;
    }

    .contact-title {
        font-size: 28px;
        line-height: 42px;
    }

    .qr-code-container {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .header {
        height: 70px;
    }
    
    .nav-wrapper {
        height: 70px;
    }
    
    .brand-name {
        font-size: 18px;
    }
    
    .header-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
        color: rgba(0, 0, 0, 0.85);
    }
    
    .section-description {
        font-size: 16px;
    }

    .hero-image-section,
    .hero-image-container,
    .blue-card {
        height: 250px;
    }

    .blue-card {
        top: -12px;
        right: -12px;
    }
}
