

.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 5% 72px;
    overflow: hidden;
    background: linear-gradient(168deg, #F7F2ED 0%, #F3EDE6 50%, #F0EBE5 100%);
}

.hero-inner {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 48px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 720px;
}

.hero-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 16px;
    font-size: clamp(48px, 5.5vw, 82px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -2.5px;
    margin-bottom: 12px;
}

.hero-title__dark {
    color: #0F172A;
}

.hero-title__gradient {
    background: linear-gradient(100deg, #EC4899 0%, #A855F7 45%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-underline {
    width: 120px;
    height: 4px;
    border-radius: 50px;
    margin: 16px 0 24px;
    background: linear-gradient(90deg, #EC4899, #6366F1);
}

.hero-subtitle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 500;
    color: #1E293B;
    margin-bottom: 10px;
    line-height: 1.5;
}

.hero-subtitle__sep {
    color: #D946EF;
    font-weight: 400;
    opacity: 0.7;
}

.hero-skills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 400;
    color: #64748B;
    margin-bottom: 36px;
}

.hero-skills__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
    background: #A855F7;
    opacity: 0.6;
}

.feature-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
}

.feature-line {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    height: 0;
    border-top: 1.5px dashed rgba(168, 85, 247, 0.25);
    z-index: 0;
}

.feature-card {
    position: relative;
    z-index: 2;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid rgba(233, 213, 255, 0.7);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(15, 23, 42, 0.08);
}

.feature-card__icon {
    width: 26px;
    height: 26px;
    color: #7C3AED;
}

.feature-card__icon svg {
    width: 100%;
    height: 100%;
}

.feature-card p {
    font-size: 10px;
    font-weight: 700;
    color: #475569;
    text-align: center;
    line-height: 1.15;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 380px;
}

.hero-visual__glow {
    position: absolute;
    width: 360px;
    height: 360px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(
        circle at 40% 40%,
        rgba(236, 72, 153, 0.18),
        rgba(168, 85, 247, 0.14),
        rgba(99, 102, 241, 0.06)
    );
    filter: blur(2px);
}

.hero-visual__ring {
    position: absolute;
    width: 340px;
    height: 340px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1.5px dashed rgba(168, 85, 247, 0.22);
}

.hero-visual__avatar {
    position: relative;
    z-index: 3;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-visual__img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-left: 115px;
    filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.1));
}

.hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.dot-grid {
    position: absolute;
    display: grid;
    gap: 8px;
}

.dot-grid span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(148, 115, 220, 0.3);
}

.dot-grid--tl {
    top: 60px;
    left: 40px;
    grid-template-columns: repeat(4, 4px);
}

.dot-grid--br {
    bottom: 50px;
    right: 60px;
    grid-template-columns: repeat(3, 4px);
}

.sparkle {
    position: absolute;
    width: 12px;
    height: 12px;
    z-index: 2;
}

.sparkle::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #A855F7, #EC4899);
    opacity: 0.35;
    clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
}

.sparkle--1 {
    top: 28%;
    left: 3%;
}

.sparkle--2 {
    bottom: 18%;
    right: 4%;
}

.social-page {
    max-width: 1000px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(16px, 3vw, 20px);
}

.social-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.social-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.social-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #ffffff;
    transition: transform 0.25s ease;
}

.social-card:hover .social-card__icon {
    transform: scale(1.06);
}

.social-card__icon svg {
    width: 22px;
    height: 22px;
}

.social-card__icon--linkedin {
    background: #0A66C2;
}

.social-card__icon--github {
    background: #1F2328;
}

.social-card__icon--youtube {
    background: #FF0000;
}

.social-card__icon--instagram {
    background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.social-card__body {
    flex: 1;
    min-width: 0;
}

.social-card__body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.social-card__body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.45;
}

.social-card__arrow {
    flex-shrink: 0;
    font-size: 18px;
    color: var(--muted);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.social-card:hover .social-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

.social-card:hover:nth-child(1) { border-left-color: #0A66C2; }
.social-card:hover:nth-child(2) { border-left-color: #1F2328; }
.social-card:hover:nth-child(3) { border-left-color: #FF0000; }
.social-card:hover:nth-child(4) { border-left-color: #DD2A7B; }

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 48px 5% 56px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        order: 1;
    }

    .hero-visual {
        order: 0;
        justify-content: center;
        min-height: 280px;
    }

    .hero-visual__glow {
        right: 50%;
        transform: translate(50%, -50%);
        width: 300px;
        height: 300px;
    }

    .hero-visual__ring {
        right: 50%;
        transform: translate(50%, -50%);
        width: 280px;
        height: 280px;
    }

    .hero-visual__avatar {
        width: 240px;
    }

    .hero-visual__img {
        margin-left: 0;
    }

    .hero-title {
        justify-content: center;
        font-size: clamp(42px, 7vw, 68px);
    }

    .hero-underline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtitle {
        justify-content: center;
        font-size: 17px;
    }

    .hero-skills {
        justify-content: center;
    }

    .feature-row {
        justify-content: center;
    }

    .feature-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 36px 5% 44px;
    }

    .hero-title {
        gap: 10px;
        font-size: clamp(36px, 9vw, 52px);
        letter-spacing: -1.5px;
    }

    .hero-subtitle {
        font-size: 15px;
        gap: 8px;
    }

    .hero-skills {
        font-size: 13px;
        gap: 10px;
    }

    .feature-card {
        width: 80px;
        height: 80px;
    }

    .feature-card__icon {
        width: 22px;
        height: 22px;
    }

    .feature-card p {
        font-size: 9px;
    }

    .feature-row {
        gap: 16px;
    }

    .hero-visual__avatar {
        width: 200px;
    }


}

@media (max-width: 480px) {
    .hero {
        padding: 28px 4% 36px;
    }

    .hero-title {
        font-size: 38px;
        gap: 8px;
    }

    .hero-underline {
        width: 80px;
        height: 3px;
        margin: 10px auto 18px;
    }

    .hero-subtitle {
        font-size: 14px;
        flex-direction: column;
        gap: 4px;
    }

    .hero-subtitle__sep {
        display: none;
    }

    .hero-skills {
        font-size: 12px;
        margin-bottom: 28px;
    }

    .feature-card {
        width: 90px;
        height: 90px;
    }

    .feature-card__icon {
        width: 20px;
        height: 20px;
    }

    .hero-visual {
        min-height: 220px;
    }

    .hero-visual__avatar {
        width: 170px;
    }

    .hero-visual__glow {
        width: 220px;
        height: 220px;
    }

    .hero-visual__ring {
        width: 200px;
        height: 200px;
    }

    .social-card {
        padding: 20px 22px;
        gap: 14px;
    }

    .social-card__icon {
        width: 42px;
        height: 42px;
    }

    .social-card__icon svg {
        width: 18px;
        height: 18px;
    }

    .dot-grid--tl {
        top: 20px;
        left: 16px;
    }

    .dot-grid--br {
        bottom: 20px;
        right: 16px;
    }
}