:root {
    --bg-color: #F7F7F8;
    --card-bg: #FFFFFF;
    --text-main: #000000;
    --text-muted: #6B7280;
    --border-color: #E5E7EB;
    --hover-bg: #F3F4F6;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --space-sm: 12px;
    --space-md: 20px;
    --space-lg: 30px;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.37;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    padding: var(--space-md);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    padding: var(--space-lg) 0 var(--space-md);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lang-switcher {
    align-self: flex-end;
    margin-bottom: 20px;
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-color);
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: #FFFFFF;
}

.lang-btn.active {
    background: linear-gradient(135deg, #E30613, #B7050F);
    color: #FFFFFF;
    border-color: #E30613;
}

.logo {
    width: 60%;
    max-width: 240px;
    height: auto;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft), inset 0 0 20px rgba(255, 255, 255, 0.5);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.glare {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8), transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
    z-index: 10;
}

.profile-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--space-md);
    border: 3px solid var(--border-color);
    background-color: var(--hover-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.job-title {
    font-size: 16px;
    color: var(--text-main);
    font-weight: 500;
}

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: linear-gradient(135deg, #E30613, #B7050F);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(227, 6, 19, 0.25);
    margin-top: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    text-decoration: none;
    color: #FFFFFF;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-item:hover,
.contact-item:active {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
    box-shadow: none;
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    font-size: 20px;
    color: #FFFFFF;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info .label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.contact-info .value {
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: var(--space-lg) 0;
}

.section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 16px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #FFFFFF;
    background: linear-gradient(135deg, #E30613, #B7050F);
    padding: 12px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(227, 6, 19, 0.2);
}

.social-item i {
    font-size: 20px;
}

.social-item:hover,
.social-item:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(227, 6, 19, 0.3);
}

.address-section {
    display: flex;
    align-items: center;
    padding: 14px;
    background-color: rgba(227, 6, 19, 0.03);
    border: 2px solid #E30613;
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 10px rgba(227, 6, 19, 0.05);
}

.address-section .icon-wrapper {
    background-color: #E30613;
    color: #FFFFFF;
}

.address-info p {
    font-size: 14px;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.4;
}

.scroll-container {
    display: flex;
    overflow-x: auto;
    gap: var(--space-md);
    padding-bottom: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-item {
    flex: 0 0 auto;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    padding: var(--space-md) var(--space-sm);
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.scroll-item i {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.scroll-item span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.scroll-item:hover,
.scroll-item:active {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 0 0 1px #E5E7EB, 0 8px 16px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.project-item {
    color: #FFFFFF;
    background: linear-gradient(135deg, #E30613, #B7050F);
    border: none;
    box-shadow: 0 4px 10px rgba(227, 6, 19, 0.2);
}

.project-item i {
    color: #FFFFFF;
}

.project-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 8px;
    background-color: #FFFFFF;
    padding: 4px;
}

.project-item:hover,
.project-item:active {
    background: linear-gradient(135deg, #B7050F, #8a030b);
    color: #FFFFFF;
    box-shadow: 0 6px 14px rgba(227, 6, 19, 0.3);
}

.partner-item {
    cursor: default;
    padding: var(--space-sm);
}

.partner-item img {
    width: 100%;
    height: 60px;
    object-fit: contain;
}

.partner-item:hover,
.partner-item:active {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    background-color: rgba(255, 255, 255, 0.4);
}

.action-section {
    margin-bottom: var(--space-lg);
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px;
    background-color: var(--text-main);
    color: var(--card-bg);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover,
.btn-primary:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-hover);
    background-color: #222222;
}

.btn-primary i {
    font-size: 22px;
}

.footer {
    text-align: center;
    padding-bottom: var(--space-md);
    display: flex;
    justify-content: center;
}

.logo-footer {
    width: 40%;
    max-width: 160px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.logo-footer:hover {
    opacity: 0.6;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}