.home-hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 58px 0 48px;
    overflow: hidden;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% 0 42%;
    height: 58%;
    z-index: -1;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 62%);
    filter: blur(20px);
}

.hero-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-copy {
    max-width: 800px;
    margin: 0 auto;
}

.hero-copy .button-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.hero-copy .button-row .btn {
    flex: 1;
    text-align: center;
}

.hero-copy h1 {
    max-width: 100%;
    margin-bottom: 15px;
    font-size: clamp(1.25rem, 2vw, 2.5rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-copy p {
    max-width: 650px;
    margin: 0 auto 18px;
    color: var(--text-secondary);
    font-size: 0.96rem;
}

.value-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 640px;
    margin: 0 auto 22px;
}

.value-points span {
    padding: 10px 12px;
    border: 1px solid rgba(56, 189, 248, 0.24);
    border-radius: 16px;
    background: rgba(56, 189, 248, 0.08);
    color: var(--text-primary);
    font-size: 0.84rem;
    font-weight: 750;
}

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

.photo-card {
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow);
    background-size: cover;
    background-position: center;
}

.photo-main {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 360px;
    background-image:
        linear-gradient(180deg, rgba(5, 9, 20, 0.08), rgba(5, 9, 20, 0.78)),
        url("../image/hero-industrial-ai.svg");
}

.photo-main::before {
    content: "Industrial Software / AI Workflow";
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(5, 9, 20, 0.48);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.metric-card {
    position: absolute;
    width: 146px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(5, 9, 20, 0.76);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.metric-card strong {
    display: block;
    color: var(--accent);
    font-size: 1.55rem;
    line-height: 1;
}

.metric-card span {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.metric-card-a {
    right: -20px;
    top: 48px;
}

.metric-card-b {
    left: -20px;
    bottom: 0;
}

.timeline {
    position: relative;
    display: grid;
    gap: 18px;
    max-width: 940px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 119px;
    top: 18px;
    bottom: 18px;
    width: 1px;
    background: linear-gradient(var(--accent), rgba(45, 212, 191, 0.2));
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 28px;
    align-items: start;
}

.timeline-item time {
    position: relative;
    padding-top: 18px;
    color: var(--accent);
    font-weight: 900;
}

.timeline-item time::after {
    content: "";
    position: absolute;
    right: 23px;
    top: 24px;
    width: 12px;
    height: 12px;
    border: 4px solid var(--bg-dark);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.15);
}

.timeline-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.07);
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.timeline-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.55);
    background: rgba(255, 255, 255, 0.1);
}

.highlight-card {
    border-color: rgba(56, 189, 248, 0.36);
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(45, 212, 191, 0.07)),
        rgba(255, 255, 255, 0.07);
}

.card-role {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
}

.timeline-card h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.timeline-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.card-skills,
.card-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.card-achievements div {
    min-width: 110px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
}

.card-achievements strong,
.card-achievements span {
    display: block;
}

.card-achievements strong {
    color: var(--accent);
    font-size: 1rem;
}

.card-achievements span {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.ai-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 28px;
    align-items: start;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ai-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.ai-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(255, 255, 255, 0.11);
}

.ai-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.96rem;
}

.ai-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.capability-strip {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
    align-items: center;
}

.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 900px) {
    .hero-layout,
    .capability-strip,
    .ai-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 340px;
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-left: 34px;
    }

    .timeline-item time::after {
        left: -31px;
        right: auto;
    }
}

@media (max-width: 560px) {
    .home-hero {
        padding-top: 36px;
    }

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

    .photo-main {
        inset: 0 0 52px;
    }

    .metric-card {
        width: 136px;
    }

    .value-points {
        grid-template-columns: 1fr;
    }

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