/* =========================================
   1. VARIABEL DAN RESET
========================================= */

:root {
    --primary: #3867f5;
    --primary-dark: #2448ce;
    --secondary: #8b5cf6;
    --gradient: linear-gradient(135deg, #3867f5, #8b5cf6);

    --text: #172033;
    --text-soft: #64748b;
    --background: #f5f7ff;
    --surface: #ffffff;
    --border: #e2e8f0;

    --shadow: 0 12px 35px rgba(35, 55, 100, 0.09);
    --shadow-hover: 0 18px 40px rgba(56, 103, 245, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================================
   2. LOADING SCREEN
========================================= */

#intro {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #0b1222,
        #111d38,
        #21183e
    );

    opacity: 1;
    visibility: visible;

    transition: opacity 0.7s ease, visibility 0.7s ease;
}

#intro.intro-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-content {
    position: relative;
    z-index: 2;
    width: min(360px, 85%);
    text-align: center;
}

.intro-content h1 {
    margin-bottom: 25px;
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 800;
    letter-spacing: -2px;
}

.loader-track {
    width: 100%;
    height: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
}

.loader-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #4385ff, #9c6bff);
    border-radius: 50px;
    transition: width 0.15s linear;
}

.loader-info {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
    color: #bdc9e5;
    font-size: 12px;
}

.intro-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.intro-orb-1 {
    top: 10%;
    left: 10%;
    width: 220px;
    height: 220px;
    background: rgba(56, 103, 245, 0.13);
}

.intro-orb-2 {
    right: 8%;
    bottom: 10%;
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.13);
}

.intro-orb-3 {
    top: 45%;
    right: 25%;
    width: 100px;
    height: 100px;
    background: rgba(56, 103, 245, 0.1);
}

/* =========================================
   3. NAVBAR
========================================= */

#navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    width: 100%;
    padding: 15px 7%;

    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow: 0 12px 35px rgba(50, 60, 120, 0.09);

    transition: background 0.3s ease, border-color 0.3s ease;
}

.logo {
    flex-shrink: 0;
    color: var(--text);
    font-size: 21px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.6px;
}

.logo:hover {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    display: inline-block;
    padding: 9px 14px;

    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    border-radius: 12px;
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(56, 103, 245, 0.09);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dark-mode-button,
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    flex-shrink: 0;

    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 13px;

    font-size: 19px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.dark-mode-button:hover,
.menu-toggle:hover {
    transform: translateY(-2px);
    background: rgba(56, 103, 245, 0.09);
}

.menu-toggle {
    display: none;
}

/* =========================================
   4. TOMBOL
========================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 48px;
    padding: 12px 21px;

    border: 1px solid transparent;
    border-radius: 13px;

    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    transition: transform 0.25s ease, box-shadow 0.25s ease,
        background 0.25s ease, color 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    color: #ffffff;
    background: var(--gradient);
    box-shadow: 0 9px 22px rgba(56, 103, 245, 0.2);
}

.button-primary:hover {
    box-shadow: 0 14px 30px rgba(56, 103, 245, 0.28);
}

.button-secondary {
    color: var(--text);
    background: var(--surface);
    border-color: var(--border);
}

.button-secondary:hover {
    border-color: var(--primary);
}

/* =========================================
   5. HOME
========================================= */

.hero {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 650px;
    padding: 80px 9%;
    overflow: hidden;

    color: #ffffff;
    background: linear-gradient(125deg, #10192c, #111e37 50%, #211a3d);
    transition: background 0.3s ease, color 0.3s ease;
}

.hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -120px;
    width: 430px;
    height: 430px;
    background: rgba(100, 90, 245, 0.12);
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -250px;
    left: 25%;
    width: 500px;
    height: 500px;
    background: rgba(56, 103, 245, 0.08);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 65px;

    width: 100%;
    max-width: 1150px;
    margin: 0 auto;

    opacity: 0;
    transform: translateY(20px);

    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero.hero-visible .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-text {
    max-width: 650px;
}

.hero-badge,
.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 15px;

    color: var(--primary);
    background: rgba(56, 103, 245, 0.1);
    border: 1px solid rgba(56, 103, 245, 0.13);
    border-radius: 50px;

    font-size: 12px;
    font-weight: 700;
}

.hero-badge {
    color: #a8c2ff;
    background: rgba(56, 103, 245, 0.15);
    border-color: rgba(105, 139, 255, 0.2);
}

.hero-text h1 {
    margin: 20px 0 12px;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -2px;
}

.hero-text h1 span {
    display: block;
    color: #8eaaff;
}

.hero-text h2 {
    margin-top: 20px;
    color: #dce5ff;
    font-size: clamp(17px, 2vw, 23px);
    font-weight: 600;
}

.nim {
    margin-top: 8px;
    color: #9cafd4;
    font-size: 13px;
}

.hero-description {
    max-width: 560px;
    margin-top: 22px;
    color: #b7c4df;
    font-size: 15px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.hero .button-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero .button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.hero-image-ring {
    position: relative;
    z-index: 2;
    width: min(320px, 100%);
    aspect-ratio: 1;
    padding: 10px;
    overflow: hidden;

    background: linear-gradient(135deg, #4285ff, #a36bff);
    border-radius: 50%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

.hero-image-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 5px solid #18233c;
    border-radius: 50%;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
}

.circle-big {
    width: 380px;
    height: 380px;
    border: 1px solid rgba(135, 160, 255, 0.23);
}

.circle-small-1 {
    top: 30px;
    right: 10px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #3979ff, #7b61ff);
}

.circle-small-2 {
    bottom: 40px;
    left: 0;
    width: 28px;
    height: 28px;
    background: #9b75ff;
}

/* =========================================
   6. SECTION UMUM
========================================= */

.section {
    position: relative;
    padding: 100px 9%;
    background: var(--background);
    transition: background 0.3s ease, color 0.3s ease;
}

.section-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 75px;

    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-title {
    margin-top: 15px;
    color: var(--text);
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
}

.section-title span {
    color: var(--primary);
}

.section-soft {
    background: #edf2ff;
}

.section p {
    color: var(--text-soft);
    line-height: 1.85;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   7. TENTANG SAYA
========================================= */

.about-photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
}

.about-photo-wrapper img {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    border: 8px solid var(--surface);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.about-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 65%;
    height: 65%;
    background: var(--gradient);
    border-radius: 28px;
}

.about-content > p {
    margin-top: 18px;
    font-size: 14px;
}

.info-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 16px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border-radius: 13px;
}

.info-icon.blue {
    background: #e6efff;
}

.info-icon.purple {
    background: #f0e8ff;
}

.info-card small,
.info-card strong {
    display: block;
}

.info-card small {
    color: var(--text-soft);
    font-size: 11px;
}

.info-card strong {
    margin-top: 4px;
    color: var(--text);
    font-size: 12px;
}

/* =========================================
   8. HOBI
========================================= */

.hobby-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.hobby-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
    padding: 25px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hobby-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.hobby-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 15px;
    font-size: 23px;
}

.hobby-blue {
    background: #e6efff;
}

.hobby-purple {
    background: #efe7ff;
}

.hobby-red {
    background: #ffe9ee;
}

.hobby-card h3 {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 16px;
}

.hobby-card p {
    font-size: 12px;
    line-height: 1.8;
}

/* =========================================
   9. SKILL
========================================= */

.skill-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.skill-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.skill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-bottom: 20px;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 800;
}

.skill-blue {
    color: #2563eb;
    background: #e4edff;
}

.skill-yellow {
    color: #9a6700;
    background: #fff1c9;
}

.skill-purple {
    color: #7c3aed;
    background: #f0e7ff;
}

.skill-card h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 17px;
}

.skill-card p {
    font-size: 13px;
}

/* =========================================
   10. PENDIDIKAN
========================================= */

.education-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;

    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 35px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.education-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    background: #e9edff;
    border-radius: 19px;
    font-size: 29px;
}

.education-status {
    display: inline-block;
    padding: 6px 12px;
    color: #2563eb;
    background: #e8efff;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

.education-content h3 {
    margin: 13px 0;
    color: var(--text);
    font-size: 22px;
}

.education-content p {
    font-size: 14px;
}

.education-nim {
    margin-top: 14px;
    font-weight: 700;
}

/* =========================================
   11. KONTAK
========================================= */

.contact-section {
    position: relative;
    display: block;
    min-height: auto;
    padding: 100px 9%;
    overflow: hidden;
    text-align: left;

    background: linear-gradient(
        135deg,
        #101827 0%,
        #111d34 52%,
        #1d1737 100%
    );

    transition: background 0.3s ease;
}

.contact-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-shape {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.contact-shape-1 {
    top: -230px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: rgba(81, 73, 220, 0.13);
}

.contact-shape-2 {
    bottom: -280px;
    left: -150px;
    width: 450px;
    height: 450px;
    background: rgba(41, 100, 245, 0.11);
}

.contact-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.contact-heading .section-title {
    color: #ffffff;
}

.contact-heading .section-title span {
    color: #8eacff;
}

.contact-heading .section-badge {
    color: #9db5ff;
    background: rgba(56, 103, 245, 0.15);
    border-color: rgba(105, 139, 255, 0.18);
}

.contact-heading .contact-description {
    max-width: 620px;
    margin: 18px auto 0;
    color: #b4c2df;
    font-size: 14px;
    line-height: 1.9;
}

/* BAGIAN YANG DIPERBAIKI */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.contact-panel {
    width: 100%;
    min-width: 0;
    padding: 30px;

    background: rgba(24, 34, 53, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.contact-panel-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 26px;
}

.contact-panel-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    color: #ffffff;
    background: var(--gradient);
    border-radius: 15px;

    box-shadow: 0 9px 22px rgba(79, 70, 229, 0.2);
    font-size: 23px;
}

.contact-panel-heading h3 {
    margin: 1px 0 6px;
    color: #ffffff;
    font-size: 21px;
    line-height: 1.4;
}

.contact-panel-heading p {
    color: #aab9d5;
    font-size: 12px;
    line-height: 1.7;
}

.social-links-grid {
    display: grid;
    gap: 14px;
}

.social-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 16px;

    color: #ffffff;
    text-decoration: none;

    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(148, 163, 184, 0.17);
    border-radius: 17px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.social-link-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(124, 153, 255, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.social-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    color: #ffffff;
    border-radius: 15px;
}

.social-link-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-link-icon.instagram {
    background: linear-gradient(
        135deg,
        #f97316,
        #ec4899 52%,
        #8b5cf6
    );
}

.social-link-icon.music {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.social-link-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.social-link-copy strong {
    color: #ffffff;
    font-size: 14px;
}

.social-link-copy small {
    overflow-wrap: anywhere;
    color: #aab9d5;
    font-size: 12px;
}

.social-link-arrow {
    flex: 0 0 auto;
    color: #91aaff;
    font-size: 22px;
    transition: transform 0.25s ease;
}

.social-link-card:hover .social-link-arrow {
    transform: translate(2px, -2px);
}

/* FORMULIR */

.contact-form {
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    color: #e7edff;
    font-size: 13px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 13px 15px;

    color: #f8faff;
    background: rgba(10, 19, 35, 0.7);

    border: 1px solid #34435f;
    border-radius: 13px;
    outline: none;

    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-group input {
    min-height: 48px;
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8291ad;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(10, 19, 35, 0.95);
    border-color: #718dff;
    box-shadow: 0 0 0 4px rgba(86, 116, 255, 0.13);
}

.form-submit {
    display: flex;
    width: 100%;
    min-height: 50px;
    justify-content: center;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
}

.form-submit span:last-child {
    font-size: 20px;
    line-height: 1;
}

.contact-form-note {
    margin-top: -5px;
    color: #9babc7;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
}

.contact-form-note.is-error {
    color: #fca5a5;
}

.contact-form-note.is-success {
    color: #86efac;
}

/* =========================================
   12. FOOTER
========================================= */

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 20px;

    color: #e3eaff;
    background: #0c1426;
    text-align: center;
}

footer p {
    font-size: 12px;
}

/* =========================================
   13. MODE TERANG
========================================= */

body:not(.dark) .hero {
    color: #172033;
    background: linear-gradient(
        135deg,
        #f0f5ff 0%,
        #ffffff 52%,
        #f1edff 100%
    );
}

body:not(.dark) .hero::before {
    background: rgba(100, 90, 245, 0.08);
}

body:not(.dark) .hero::after {
    background: rgba(56, 103, 245, 0.07);
}

body:not(.dark) .hero-text h1 {
    color: #172033;
}

body:not(.dark) .hero-text h1 span {
    color: #5578f5;
}

body:not(.dark) .hero-text h2 {
    color: #334155;
}

body:not(.dark) .hero-description,
body:not(.dark) .hero .nim {
    color: #64748b;
}

body:not(.dark) .hero-badge {
    color: #3867f5;
    background: #e8efff;
    border-color: #d6e2ff;
}

body:not(.dark) .hero .button-secondary {
    color: #334155;
    background: #ffffff;
    border-color: #dbe3f0;
}

body:not(.dark) .hero .button-secondary:hover {
    background: #edf2ff;
    border-color: #3867f5;
}

body:not(.dark) .hero-image-ring img {
    border-color: #ffffff;
}

body:not(.dark) .circle-big {
    border-color: rgba(56, 103, 245, 0.2);
}

body:not(.dark) .contact-section {
    background: linear-gradient(
        135deg,
        #eef5ff 0%,
        #ffffff 50%,
        #f2edff 100%
    );
}

body:not(.dark) .contact-shape-1 {
    background: rgba(124, 92, 246, 0.08);
}

body:not(.dark) .contact-shape-2 {
    background: rgba(56, 103, 245, 0.07);
}

body:not(.dark) .contact-heading .section-title {
    color: #172033;
}

body:not(.dark) .contact-heading .section-title span {
    color: #5578f5;
}

body:not(.dark) .contact-heading .section-badge {
    color: #3867f5;
    background: #e8efff;
    border-color: #d6e2ff;
}

body:not(.dark) .contact-heading .contact-description {
    color: #64748b;
}

body:not(.dark) .contact-panel {
    background: rgba(255, 255, 255, 0.9);
    border-color: #e0e7f3;
    box-shadow: 0 12px 35px rgba(35, 55, 100, 0.08);
}

body:not(.dark) .contact-panel-heading h3 {
    color: #172033;
}

body:not(.dark) .contact-panel-heading p {
    color: #64748b;
}

body:not(.dark) .social-link-card {
    color: #172033;
    background: #ffffff;
    border-color: #e0e7f3;
}

body:not(.dark) .social-link-card:hover {
    background: #f8faff;
    border-color: #9bb4ff;
}

body:not(.dark) .social-link-copy strong {
    color: #172033;
}

body:not(.dark) .social-link-copy small {
    color: #64748b;
}

body:not(.dark) .social-link-arrow {
    color: #5578f5;
}

body:not(.dark) .form-group label {
    color: #334155;
}

body:not(.dark) .form-group input,
body:not(.dark) .form-group textarea {
    color: #172033;
    background: #ffffff;
    border-color: #cbd5e1;
}

body:not(.dark) .form-group input::placeholder,
body:not(.dark) .form-group textarea::placeholder {
    color: #94a3b8;
}

body:not(.dark) .form-group input:focus,
body:not(.dark) .form-group textarea:focus {
    background: #ffffff;
    border-color: #5578f5;
    box-shadow: 0 0 0 4px rgba(56, 103, 245, 0.12);
}

body:not(.dark) .contact-form-note {
    color: #64748b;
}

body:not(.dark) .contact-form-note.is-error {
    color: #dc2626;
}

body:not(.dark) .contact-form-note.is-success {
    color: #15803d;
}

/* =========================================
   14. MODE GELAP
========================================= */

body.dark {
    --text: #e7edff;
    --text-soft: #aab8d2;
    --background: #101827;
    --surface: #182235;
    --border: #2b3850;

    --shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    --shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.25);

    background: var(--background);
    color: var(--text);
}

body.dark #navbar {
    background: rgba(15, 24, 41, 0.94);
    border-bottom-color: #263249;
}

body.dark .logo {
    color: #ffffff;
}

body.dark .section,
body.dark .section-about {
    background: #101827;
}

body.dark .section-soft {
    background: #131e31;
}

body.dark .info-card,
body.dark .hobby-card,
body.dark .skill-card,
body.dark .education-card {
    background: #182235;
    border-color: #2b3850;
}

body.dark .contact-section {
    background: linear-gradient(
        135deg,
        #101827,
        #111d34,
        #1d1737
    );
}

body.dark .contact-panel {
    background: rgba(24, 34, 53, 0.88);
    border-color: rgba(148, 163, 184, 0.16);
}

body.dark .contact-heading .section-title {
    color: #ffffff;
}

body.dark .contact-heading .section-title span {
    color: #8eacff;
}

body.dark .contact-heading .contact-description {
    color: #b4c2df;
}

body.dark .social-link-card {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(148, 163, 184, 0.17);
}

body.dark .social-link-card:hover {
    background: rgba(255, 255, 255, 0.07);
}

body.dark .form-group input,
body.dark .form-group textarea {
    color: #f8faff;
    background: rgba(10, 19, 35, 0.7);
    border-color: #34435f;
}

body.dark .form-group label {
    color: #e7edff;
}

body.dark .contact-form-note {
    color: #9babc7;
}

/* =========================================
   15. RESPONSIVE TABLET
========================================= */

@media (max-width: 1000px) {
    #navbar {
        padding: 15px 5%;
        gap: 15px;
    }

    .nav-menu {
        gap: 2px;
    }

    .nav-link {
        padding: 9px 10px;
        font-size: 12px;
    }

    .hero {
        padding: 75px 7%;
    }

    .hero-content {
        gap: 35px;
    }

    .hero-image-ring {
        width: min(280px, 100%);
    }

    .circle-big {
        width: 330px;
        height: 330px;
    }

    .section {
        padding: 85px 7%;
    }

    .section-container {
        gap: 45px;
    }

    .hobby-container,
    .skill-container {
        gap: 16px;
    }

    .hobby-card,
    .skill-card {
        padding: 22px;
    }

    .contact-section {
        padding: 85px 7%;
    }

    .contact-layout {
        max-width: 900px;
    }
}

/* =========================================
   16. RESPONSIVE HP
========================================= */

@media (max-width: 700px) {
    html {
        scroll-padding-top: 75px;
    }

    #navbar {
        padding: 13px 5%;
        gap: 10px;
    }

    .logo {
        margin-right: auto;
        font-size: 18px;
    }

    .navbar-actions {
        order: 2;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;

        padding: 15px 5% 20px;

        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 12px 15px;
        font-size: 14px;
    }

    .hero {
        min-height: auto;
        padding: 65px 7% 75px;
    }

    .hero-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 45px;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: clamp(42px, 12vw, 62px);
        letter-spacing: -1.5px;
    }

    .hero-description {
        margin-right: auto;
        margin-left: auto;
        font-size: 14px;
    }

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

    .hero-image-wrapper {
        min-height: 300px;
    }

    .hero-image-ring {
        width: min(250px, 75%);
    }

    .circle-big {
        width: 290px;
        height: 290px;
    }

    .circle-small-1 {
        right: 8%;
    }

    .circle-small-2 {
        left: 10%;
    }

    .section {
        padding: 75px 6%;
    }

    .section-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .about-photo-wrapper {
        width: min(300px, 90%);
    }

    .about-content {
        text-align: left;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .hobby-container,
    .skill-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .hobby-card {
        align-items: center;
    }

    .skill-card {
        padding: 25px;
    }

    .education-card {
        gap: 17px;
        padding: 25px;
    }

    .education-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .contact-section {
        padding: 75px 6%;
    }

    .contact-heading {
        margin-bottom: 32px;
    }

    .contact-layout {
        max-width: 100%;
        gap: 20px;
    }

    .contact-panel {
        padding: 24px;
        border-radius: 20px;
    }
}

@media (max-width: 420px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .info-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-panel {
        padding: 19px;
    }

    .contact-panel-heading {
        gap: 11px;
    }

    .contact-panel-heading-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 12px;
    }

    .contact-panel-heading h3 {
        font-size: 19px;
    }

    .social-link-card {
        gap: 11px;
        padding: 13px;
    }

    .social-link-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }

    .education-card {
        flex-direction: column;
    }
}

/* =========================================
   17. PENGATURAN ANIMASI
========================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}