/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background: #f5f5f7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== HEADER / HERO ===== */
.header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 30px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 48px;
    transition: all 0.3s ease;
}

.header:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.profile-img:hover {
    transform: scale(1.03);
}

.profile-info h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.profile-info h2 {
    font-size: 1.4rem;
    color: #6e6e73;
    margin-bottom: 16px;
    font-weight: 400;
}

.profile-info p {
    font-size: 1.1rem;
    color: #6e6e73;
    max-width: 600px;
}

/* ===== SECTIONS ===== */
.section {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 36px;
    margin-bottom: 30px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.section:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.section h3 {
    color: #1d1d1f;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8ed;
    letter-spacing: -0.02em;
}

/* ===== INFO GRID ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.info-item {
    background: #f5f5f7;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e8e8ed;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #ffffff;
    border-color: #d2d2d7;
    transform: translateY(-2px);
}

.info-item h4 {
    color: #1d1d1f;
    margin-bottom: 12px;
    font-size: 1.15rem;
    font-weight: 600;
}

.info-item p {
    color: #6e6e73;
    font-size: 0.95rem;
}

/* ===== SKILLS ===== */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.skill-tag {
    background: #1d1d1f;
    color: white;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background: #0071e3;
    transform: translateY(-1px);
}

/* ===== CONTACTS ===== */
.contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #f5f5f7;
    border-radius: 14px;
    text-decoration: none;
    color: #1d1d1f;
    border: 1px solid #e8e8ed;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-item:hover {
    background: #ffffff;
    border-color: #0071e3;
    color: #0071e3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

.contact-icon {
    font-size: 1.2rem;
}

/* ===== BRAND LINK ===== */
.brand-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.brand-link:hover {
    transform: scale(1.01);
}

/* ===== BRAND SECTION (Apple-style) ===== */
.brand-section {
    background: #000000;
    border-radius: 24px;
    padding: 80px 48px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.brand-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.brand-logo {
    margin-bottom: 32px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    padding: 16px;
}

.brand-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.brand-logo img:hover {
    transform: scale(1.05);
}

.brand-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.brand-title span {
    display: block;
    font-size: 2.8rem;
    font-weight: 400;
    color: #a1a1a6;
    margin-top: 4px;
}

.brand-description {
    font-size: 1.15rem;
    color: #a1a1a6;
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.brand-quote {
    font-size: 1.05rem;
    color: #86868b;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 24px;
    padding: 20px 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    line-height: 1.6;
}

.brand-est {
    font-size: 1rem;
    color: #6e6e73;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 32px 20px;
    color: #6e6e73;
    font-size: 0.9rem;
    border-top: 1px solid #e8e8ed;
    margin-top: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .brand-title {
        font-size: 2.6rem;
    }
    .brand-title span {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    .header {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }

    .profile-img {
        width: 140px;
        height: 140px;
    }

    .profile-info h1 {
        font-size: 2rem;
    }

    .profile-info h2 {
        font-size: 1.2rem;
    }

    .profile-info p {
        font-size: 1rem;
    }

    .section {
        padding: 24px 20px;
    }

    .section h3 {
        font-size: 1.5rem;
    }

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

    .brand-section {
        padding: 48px 24px;
    }

    .brand-title {
        font-size: 2rem;
    }
    .brand-title span {
        font-size: 1.6rem;
    }
    .brand-description {
        font-size: 1rem;
    }
    .brand-quote {
        font-size: 0.95rem;
        padding: 16px 20px;
    }
    .brand-logo img {
        width: 90px;
        height: 90px;
    }

    .contacts {
        flex-direction: column;
    }

    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 24px 16px;
    }

    .profile-img {
        width: 110px;
        height: 110px;
    }

    .profile-info h1 {
        font-size: 1.6rem;
    }

    .section {
        padding: 20px 16px;
    }

    .brand-section {
        padding: 36px 16px;
    }

    .brand-title {
        font-size: 1.6rem;
    }
    .brand-title span {
        font-size: 1.3rem;
    }
}