/* ================================
   DASAR
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #090d1a;
    color: #f5f3ff;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ================================
   BACKGROUND
================================ */

.background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: floating 8s ease-in-out infinite;
}

.circle-1 {
    width: 350px;
    height: 350px;
    background: #7c3aed;
    top: 5%;
    left: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: #2563eb;
    right: -100px;
    top: 35%;
    animation-delay: 2s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: #9333ea;
    left: 40%;
    bottom: -100px;
    animation-delay: 4s;
}


/* ================================
   NAVBAR
================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    padding: 22px 7%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(9, 13, 26, 0.75);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    z-index: 1000;
}

.logo {
    font-size: 25px;
    font-weight: 700;
}

.logo span {
    color: #a78bfa;
}

.navbar nav {
    display: flex;
    gap: 25px;
}

.navbar nav a {
    font-size: 14px;
    color: #cbd5e1;
    transition: 0.3s;
}

.navbar nav a:hover {
    color: #a78bfa;
}


/* ================================
   HERO
================================ */

.hero {
    min-height: 100vh;

    padding: 150px 8% 90px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 80px;
}

.hero-content {
    max-width: 680px;

    animation: slideUp 1s ease forwards;
}

.small-title {
    color: #a78bfa;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1.05;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: #a78bfa;
}

.intro {
    max-width: 600px;

    color: #b9c2d0;
    font-size: 18px;
}

.motto-box {
    position: relative;

    margin-top: 25px;
    padding: 20px 25px 20px 45px;

    max-width: 620px;

    background: rgba(255, 255, 255, 0.04);

    border-left: 3px solid #8b5cf6;

    border-radius: 0 15px 15px 0;
}

.motto-box p {
    color: #cbd5e1;
    font-style: italic;
}

.quote {
    position: absolute;

    left: 15px;
    top: 8px;

    font-size: 35px;
    color: #a78bfa;
}

.hero-buttons {
    display: flex;
    gap: 15px;

    margin-top: 30px;
}

.primary-button,
.secondary-button {
    padding: 12px 24px;

    border-radius: 30px;

    font-size: 14px;

    transition: 0.3s;
}

.primary-button {
    background: #8b5cf6;
    color: white;

    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.25);
}

.primary-button:hover {
    transform: translateY(-4px);
    background: #7c3aed;
}

.secondary-button {
    border: 1px solid #475569;
    color: #cbd5e1;
}

.secondary-button:hover {
    transform: translateY(-4px);
    border-color: #a78bfa;
    color: white;
}


/* ================================
   PROFILE
================================ */

.profile-area {
    position: relative;

    width: 350px;
    height: 350px;

    display: flex;
    justify-content: center;
    align-items: center;

    animation: fadeIn 1.5s ease forwards;
}

.profile-glow {
    position: absolute;

    width: 280px;
    height: 280px;

    background: #7c3aed;

    border-radius: 50%;

    filter: blur(70px);

    opacity: 0.4;

    animation: pulse 4s ease-in-out infinite;
}

.profile-card {
    position: relative;

    width: 300px;

    padding: 30px;

    text-align: center;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 30px;

    backdrop-filter: blur(15px);

    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);

    transition: 0.4s;
}

.profile-card:hover {
    transform: translateY(-10px) rotate(1deg);
}

.profile-image {
    width: 190px;
    height: 190px;

    margin: auto;

    padding: 5px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #a78bfa,
        #6366f1,
        #8b5cf6
    );

    animation: profileFloat 5s ease-in-out infinite;
}

.profile-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    display: block;

    border: 4px solid #101528;
}

.profile-info h3 {
    margin-top: 20px;
    font-size: 18px;
}

.profile-info p {
    margin-top: 5px;
    color: #a78bfa;
}


/* ================================
   SECTION
================================ */

.section {
    max-width: 1100px;

    margin: auto;

    padding: 110px 8%;
}

.alternate {
    max-width: none;

    background: rgba(255, 255, 255, 0.025);
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading p {
    color: #a78bfa;

    font-size: 13px;

    letter-spacing: 3px;

    margin-bottom: 8px;
}

.section-heading h2 {
    font-size: clamp(32px, 5vw, 48px);
}


/* ================================
   ABOUT
================================ */

.about-card {
    max-width: 850px;

    padding: 35px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 25px;

    transition: 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);

    border-color: rgba(167, 139, 250, 0.4);
}

.about-card p {
    color: #cbd5e1;

    margin-bottom: 18px;
}

.about-card p:last-child {
    margin-bottom: 0;
}


/* ================================
   MINAT
================================ */

.interest-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.interest-card {
    padding: 30px;

    min-height: 240px;

    background: #111827;

    border: 1px solid #1f2937;

    border-radius: 22px;

    transition: 0.35s;
}

.interest-card:hover {
    transform: translateY(-10px);

    border-color: #8b5cf6;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.icon {
    font-size: 40px;

    margin-bottom: 20px;
}

.interest-card h3 {
    margin-bottom: 10px;
}

.interest-card p {
    color: #94a3b8;

    font-size: 14px;
}


/* ================================
   EXPERIENCE
================================ */

.experience-card {
    display: flex;

    gap: 25px;

    padding: 35px;

    background: rgba(255, 255, 255, 0.04);

    border-radius: 25px;

    border-left: 4px solid #8b5cf6;

    transition: 0.3s;
}

.experience-card:hover {
    transform: translateX(8px);
}

.experience-icon {
    font-size: 45px;
}

.experience-card h3 {
    margin-bottom: 12px;
}

.experience-card p {
    color: #cbd5e1;
}


/* ================================
   FUTURE
================================ */

.future-content {
    max-width: 850px;
}

.future-content > p {
    color: #cbd5e1;

    font-size: 17px;

    margin-bottom: 20px;
}

.future-message {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 35px;

    padding: 25px;

    background: #111827;

    border-radius: 20px;

    border: 1px solid #1f2937;
}

.future-message span {
    font-size: 45px;
}

.future-message h3 {
    color: #a78bfa;

    margin-bottom: 5px;
}

.future-message p {
    color: #94a3b8;
}


/* ================================
   CONTACT
================================ */

.contact {
    text-align: center;
}

.contact-text {
    max-width: 600px;

    margin: -15px auto 35px;

    color: #94a3b8;
}

.contact-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;
}

.contact-button {
    display: flex;

    align-items: center;

    gap: 15px;

    min-width: 250px;

    padding: 18px 22px;

    text-align: left;

    background: #111827;

    border: 1px solid #1f2937;

    border-radius: 18px;

    transition: 0.3s;
}

.contact-button:hover {
    transform: translateY(-6px);

    border-color: #8b5cf6;

    background: #151b2e;
}

.contact-button > span {
    font-size: 28px;
}

.contact-button strong {
    display: block;
}

.contact-button small {
    color: #94a3b8;
}


/* ================================
   FOOTER
================================ */

footer {
    padding: 30px;

    text-align: center;

    color: #64748b;

    border-top: 1px solid #1f2937;

    font-size: 13px;
}

footer p:first-child {
    margin-bottom: 5px;
}


/* ================================
   ANIMATIONS
================================ */

@keyframes slideUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }

}

@keyframes pulse {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }

}

@keyframes profileFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


/* ================================
   RESPONSIVE — TABLET
================================ */

@media (max-width: 900px) {

    .navbar {
        padding: 20px 5%;
    }

    .navbar nav {
        gap: 15px;
    }

    .hero {
        padding-left: 6%;
        padding-right: 6%;

        gap: 40px;
    }

    .interest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ================================
   RESPONSIVE — HP
================================ */

@media (max-width: 700px) {

    .navbar {
        position: relative;

        flex-direction: column;

        gap: 15px;
    }

    .navbar nav {
        flex-wrap: wrap;

        justify-content: center;

        gap: 12px;
    }

    .hero {
        min-height: auto;

        padding-top: 80px;

        flex-direction: column;

        text-align: center;
    }

    .hero h1 {
        font-size: 50px;
    }

    .intro {
        margin: auto;
    }

    .motto-box {
        text-align: left;
    }

    .hero-buttons {
        justify-content: center;
    }

    .profile-area {
        width: 100%;

        margin-top: 30px;
    }

    .section {
        padding: 80px 6%;
    }

    .interest-grid {
        grid-template-columns: 1fr;
    }

    .experience-card {
        flex-direction: column;
    }

    .future-message {
        align-items: flex-start;
    }

    .contact-button {
        width: 100%;
    }

}


/* ================================
   HP KECIL
================================ */

@media (max-width: 450px) {

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .profile-card {
        width: 270px;
    }

    .profile-image {
        width: 170px;
        height: 170px;
    }

}