@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700&display=swap');

:root {
    --primary: #0c3a91;
    --primary-light: #00a6ff;
    --primary-dark: #051a3d;
    --accent: #00f2ff;
    --text: #2d3436;
    --text-light: #636e72;
    --bg: #f8faff;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 26, 61, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled {
    padding: 0.8rem 5%;
    background: rgba(5, 26, 61, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo {
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(to right, #fff, #00a6ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu-toggle {
    display: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: 0.3s;
}

nav a:hover {
    color: var(--white);
}

nav a:hover::after {
    width: 100%;
}

.lang-selector {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    display: none;
    min-width: 120px;
    animation: fadeIn 0.3s ease;
}

.lang-dropdown.active {
    display: block;
}

.lang-dropdown a {
    color: var(--text);
    padding: 0.6rem 1rem;
    display: block;
    border-radius: 8px;
    font-size: 0.9rem;
}

.lang-dropdown a:hover {
    background: #f0f4ff;
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, rgba(5, 26, 61, 0.9) 0%, rgba(12, 58, 145, 0.8) 100%),
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=2072') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    color: var(--white);
    position: relative;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero .en-title {
    font-size: clamp(1.1rem, 2vw, 1.8rem);
    opacity: 0.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero .btn-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
}

.btn-primary {
    background: var(--primary-light);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 166, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 166, 255, 0.5);
    background: #0095e6;
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

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

/* Sections */
.section {
    padding: 100px 5%;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 2px;
}

/* About Section */
.about-content {
    background: var(--white);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 2;
}

/* Business Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f4ff;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 58, 145, 0.08);
    border-color: var(--primary-light);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
}

.card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Brand Display */
.brand-box {
    background: linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
    padding: 4rem;
    border-radius: 24px;
    border-left: 6px solid var(--primary-light);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.brand-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.brand-item strong {
    color: var(--primary-light);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 5% 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.footer-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {

    .card-grid,
    .card-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-meaning-grid {
        grid-template-columns: 1fr;
    }
}

/* Brand Meaning Grid - Base Styles */
.brand-meaning-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }

    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle span {
        display: block;
        width: 30px;
        height: 2px;
        background: var(--white);
        transition: 0.3s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    nav.active {
        right: 0;
    }

    nav a {
        font-size: 1.2rem;
    }

    .hero {
        padding-top: 80px;
        height: auto;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero .en-title {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero .btn-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 1rem;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
    }

    .section {
        padding: 50px 5%;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .card-grid,
    .card-grid-3 {
        grid-template-columns: 1fr;
    }

    .about-content,
    .brand-box {
        padding: 2.5rem 1.5rem;
    }

    .card {
        padding: 2rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }
}