/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --bg-primary: #070a09;
    --bg-secondary: #0c110f;
    --accent-color: #00f5c2;
    --accent-2: #3ba1ff;
    --accent-soft: rgba(0, 245, 194, 0.12);
    --accent-border: rgba(0, 245, 194, 0.22);
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-primary: #e8ecea;
    --text-secondary: #97a3a0;
    --spacing-unit: 8px;
    --radius: 20px;
    --font-family: 'Poppins', 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Poppins', sans-serif;
    --max-width: 1180px;
}

/* ============================================
   GLOBAL RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: calc(var(--spacing-unit) * 13) calc(var(--spacing-unit) * 3);
    position: relative;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

/* Progres scroll */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-2));
    box-shadow: 0 0 14px rgba(0, 245, 194, 0.7);
    z-index: 1200;
    transition: width 0.1s linear;
}

/* Judul section */
.section-head {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 8);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-color);
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.section-head .section-title {
    background: linear-gradient(120deg, #ffffff 15%, var(--accent-color) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    max-width: 600px;
    margin: calc(var(--spacing-unit) * 1.5) auto 0;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.sub-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.sub-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    margin: calc(var(--spacing-unit) * 1.5) auto 0;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 3px;
    box-shadow: 0 0 12px var(--accent-color);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: rgba(7, 10, 9, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 245, 194, 0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(7, 10, 9, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 calc(var(--spacing-unit) * 3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-logo a span,
.footer-logo span {
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-color);
}

.nav-logo a:hover {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing-unit) * 4);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: calc(var(--spacing-unit) * 1);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--accent-color);
    margin: 3px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.93rem;
    position: relative;
    transition: all 0.3s ease;
    padding: calc(var(--spacing-unit) * 1) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ============================================
   HERO / BERANDA
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: calc(var(--spacing-unit) * 14);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
}

.aurora-1 {
    width: 520px;
    height: 520px;
    top: -140px;
    right: -80px;
    background: radial-gradient(circle, rgba(0, 245, 194, 0.35), transparent 68%);
    animation: drift 16s ease-in-out infinite;
}

.aurora-2 {
    width: 460px;
    height: 460px;
    bottom: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(59, 161, 255, 0.22), transparent 68%);
    animation: drift 20s ease-in-out infinite reverse;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(40px, 30px) scale(1.12); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 245, 194, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 194, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 25%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 25%, transparent 78%);
}

.floating-elements {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(0, 245, 194, 0.14);
    border: 2px solid rgba(0, 245, 194, 0.4);
    box-shadow: 0 0 14px rgba(0, 245, 194, 0.3);
}

.shape1 { top: 14%; left: 5%;   width: 44px; height: 44px; border-radius: 50%; animation: float1 6s ease-in-out infinite; }
.shape2 { top: 22%; right: 8%;  width: 26px; height: 26px; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float2 8s ease-in-out infinite; }
.shape3 { bottom: 22%; left: 8%; width: 34px; height: 34px; border-radius: 10px; animation: float3 7s ease-in-out infinite; }
.shape4 { top: 58%; right: 5%;  width: 22px; height: 22px; animation: float4 9s ease-in-out infinite; }
.shape5 { top: 8%;  right: 34%; width: 24px; height: 24px; border-radius: 50%; animation: float5 10s ease-in-out infinite; }
.shape6 { bottom: 12%; right: 26%; width: 18px; height: 18px; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float6 7.5s ease-in-out infinite; }

@keyframes float1 { 0%, 100% { transform: translateY(0) rotate(0deg); }  50% { transform: translateY(-28px) rotate(180deg); } }
@keyframes float2 { 0%, 100% { transform: translateY(0) rotate(0deg); }  50% { transform: translateY(-24px) rotate(120deg); } }
@keyframes float3 { 0%, 100% { transform: translateY(0) rotate(0deg); }  50% { transform: translateY(-32px) rotate(-90deg); } }
@keyframes float4 { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(-20px) rotate(135deg); } }
@keyframes float5 { 0%, 100% { transform: translateY(0) rotate(0deg); }  50% { transform: translateY(-36px) rotate(270deg); } }
@keyframes float6 { 0%, 100% { transform: translateY(0) rotate(0deg); }  50% { transform: translateY(-26px) rotate(180deg); } }

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: calc(var(--spacing-unit) * 8);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-greeting {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-color);
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.hero-greeting .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.8); }
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 6vw, 3.7rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    line-height: 1.15;
}

.name-glow {
    background: linear-gradient(120deg, var(--accent-color), #7ef0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 22px rgba(0, 245, 194, 0.45));
}

.subtitle {
    font-size: clamp(1.05rem, 3vw, 1.5rem);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-unit) * 2.5);
    min-height: 2.2em;
}

.typing-text {
    color: var(--accent-color);
}

.caret {
    color: var(--accent-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%   { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-unit) * 4);
    max-width: 540px;
}

.hero-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 5);
}

.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--accent-color);
    color: #04211b;
    font-weight: 600;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transition: left 0.45s ease;
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
    background: transparent;
    color: var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 245, 194, 0.5);
    transform: translateY(-3px);
}

.btn-ghost {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid var(--accent-border);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.35s ease;
}

.btn-ghost:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 0 22px rgba(0, 245, 194, 0.28);
}

/* Statistik hero */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 4);
    padding-top: calc(var(--spacing-unit) * 3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Bingkai foto hero */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-frame {
    position: relative;
    width: min(360px, 78vw);
    aspect-ratio: 4 / 5;
}

.photo-frame .frame-accent {
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent-color);
    border-radius: calc(var(--radius) + 8px);
    transform: translate(18px, 18px);
    opacity: 0.55;
    transition: transform 0.5s ease;
}

.photo-frame:hover .frame-accent {
    transform: translate(10px, 10px);
}

.hero-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: calc(var(--radius) + 8px);
    border: 1px solid rgba(0, 245, 194, 0.35);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 50px rgba(0, 245, 194, 0.18);
}

.photo-chip {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 16, 14, 0.92);
    border: 1px solid var(--accent-border);
    border-radius: 14px;
    padding: 10px 14px;
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.photo-chip i {
    color: var(--accent-color);
    font-size: 1rem;
}

.photo-chip strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.photo-chip small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.photo-chip-top {
    top: 26px;
    left: -34px;
    animation: floatUpDown 5s ease-in-out infinite;
}

.photo-chip-bottom {
    bottom: 34px;
    right: -30px;
    animation: floatUpDown 6s ease-in-out infinite 0.6s;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

.scroll-hint {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    z-index: 3;
}

.scroll-hint i {
    color: var(--accent-color);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-hint:hover {
    color: var(--accent-color);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

/* ============================================
   RUNNING TEXT
   ============================================ */
.marquee {
    overflow: hidden;
    border-top: 1px solid rgba(0, 245, 194, 0.14);
    border-bottom: 1px solid rgba(0, 245, 194, 0.14);
    background: linear-gradient(90deg, rgba(0, 245, 194, 0.06), rgba(59, 161, 255, 0.05));
    padding: 14px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollX 28s linear infinite;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    padding-right: 28px;
    white-space: nowrap;
}

.marquee-track i {
    font-size: 0.55rem;
    color: var(--accent-color);
    vertical-align: middle;
    margin: 0 10px;
}

@keyframes scrollX {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================
   TENTANG SAYA
   ============================================ */
.about-section {
    background:
        radial-gradient(ellipse 60% 50% at 80% 0%, rgba(0, 245, 194, 0.07), transparent 70%),
        var(--bg-secondary);
}

.about-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: calc(var(--spacing-unit) * 6);
    align-items: start;
}

.about-aside {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 3);
}

.about-photo {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--accent-border);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

.about-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.about-photo:hover img {
    transform: scale(1.05);
}

.photo-tag {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    padding: calc(var(--spacing-unit) * 3);
    background: linear-gradient(to top, rgba(4, 8, 7, 0.96), transparent);
}

.photo-tag-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
}

.photo-tag-role {
    font-size: 0.85rem;
    color: var(--accent-color);
}

.quote-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--accent-border);
    border-left: 3px solid var(--accent-color);
    border-radius: 14px;
    padding: calc(var(--spacing-unit) * 3);
}

.quote-card i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
    opacity: 0.8;
}

.quote-card p {
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-primary);
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 4);
}

.about-block h3 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.about-block .num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.about-block p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.95;
}

.about-block strong {
    color: var(--text-primary);
}

/* Timeline */
.timeline {
    position: relative;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    padding: calc(var(--spacing-unit) * 4);
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 3);
    color: var(--accent-color);
}

.timeline-item {
    position: relative;
    display: flex;
    gap: calc(var(--spacing-unit) * 2.5);
    padding-bottom: calc(var(--spacing-unit) * 3.5);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 46px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-border), transparent);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    color: var(--accent-color);
    box-shadow: 0 0 18px rgba(0, 245, 194, 0.18);
    transition: all 0.35s ease;
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-color);
    color: #04211b;
    box-shadow: 0 0 24px rgba(0, 245, 194, 0.5);
}

.timeline-step {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.timeline-body h5 {
    font-size: 1.02rem;
    font-weight: 600;
    margin: 2px 0 4px;
}

.timeline-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ============================================
   BIODATA
   ============================================ */
.biodata-section {
    background: var(--bg-primary);
}

.biodata-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: calc(var(--spacing-unit) * 5);
    align-items: start;
}

/* Kartu mahasiswa */
.id-card {
    position: sticky;
    top: 100px;
    background: linear-gradient(150deg, rgba(0, 245, 194, 0.12), rgba(12, 17, 15, 0.9) 45%);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 26px 55px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.id-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 65px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 245, 194, 0.15);
}

.id-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 14px calc(var(--spacing-unit) * 3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.id-card-head i {
    margin-right: 6px;
}

.id-card-univ {
    color: var(--text-secondary);
}

.id-card-body {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2.5);
    padding: calc(var(--spacing-unit) * 3);
}

.id-photo {
    flex-shrink: 0;
    width: 92px;
    height: 112px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--accent-border);
}

.id-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.id-info h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
}

.id-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.id-nim {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-color);
    background: rgba(0, 245, 194, 0.1);
    border: 1px dashed var(--accent-border);
    border-radius: 8px;
    padding: 4px 12px;
}

.id-card-foot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.id-card-foot > div {
    padding: 14px 10px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.id-card-foot > div:last-child {
    border-right: none;
}

.id-card-foot span {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.id-card-foot strong {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-primary);
}

/* Daftar biodata */
.bio-list {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    overflow: hidden;
}

.bio-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--spacing-unit) * 2);
    padding: 15px calc(var(--spacing-unit) * 3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease, padding-left 0.3s ease;
}

.bio-row:last-child {
    border-bottom: none;
}

.bio-row:hover {
    background: rgba(0, 245, 194, 0.06);
    padding-left: calc(var(--spacing-unit) * 4);
}

.bio-key {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
}

.bio-key i {
    color: var(--accent-color);
    width: 18px;
    text-align: center;
}

.bio-val {
    font-size: 0.98rem;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

/* Hobi & Minat */
.hobi-block {
    margin-top: calc(var(--spacing-unit) * 10);
}

.hobi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}

.hobi-card {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius);
    padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 3.5);
    transition: all 0.4s ease;
}

.hobi-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transition: width 0.45s ease;
}

.hobi-card:hover::after {
    width: 100%;
}

.hobi-card:hover {
    transform: translateY(-8px);
    background: rgba(0, 245, 194, 0.05);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.hobi-num {
    position: absolute;
    top: 14px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.hobi-card i {
    font-size: 1.8rem;
    color: var(--accent-color);
    text-shadow: 0 0 22px rgba(0, 245, 194, 0.5);
    margin-bottom: calc(var(--spacing-unit) * 2);
    display: inline-block;
    transition: transform 0.4s ease;
}

.hobi-card:hover i {
    transform: translateY(-4px) scale(1.12);
}

.hobi-card h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
}

/* ============================================
   GALERI
   ============================================ */
.galeri-section {
    background:
        radial-gradient(ellipse 55% 45% at 15% 100%, rgba(59, 161, 255, 0.07), transparent 70%),
        var(--bg-secondary);
}

.galeri-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: calc(var(--spacing-unit) * 3);
}

.galeri-item {
    position: relative;
    margin: 0;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--accent-border);
    background: var(--bg-primary);
    cursor: pointer;
    transition: all 0.4s ease;
}

.galeri-featured {
    grid-row: span 2;
}

.galeri-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 245, 194, 0.18);
    border-color: var(--accent-color);
}

.galeri-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.galeri-featured img {
    aspect-ratio: 4 / 5;
    min-height: 100%;
}

.galeri-item:hover img {
    transform: scale(1.06);
}

.galeri-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    padding: calc(var(--spacing-unit) * 3);
    background: linear-gradient(to top, rgba(4, 8, 7, 0.95), rgba(4, 8, 7, 0.55) 55%, transparent);
}

.galeri-index {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-color);
}

.galeri-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
}

.galeri-zoom {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(4, 8, 7, 0.75);
    border: 1px solid var(--accent-border);
    color: var(--accent-color);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.35s ease;
}

.galeri-item:hover .galeri-zoom {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   KONTAK
   ============================================ */
.kontak-section {
    background: var(--bg-primary);
}

.cta-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0, 245, 194, 0.14), transparent 70%),
        var(--card-bg);
    border: 1px solid var(--accent-border);
    border-radius: calc(var(--radius) + 8px);
    padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 4);
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 5);
    background: linear-gradient(120deg, #ffffff 15%, var(--accent-color) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}



.kontak-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 2.5);
    text-align: left;
}

.kontak-card {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: calc(var(--spacing-unit) * 2.5);
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
}

.kontak-card:not(.static):hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
    background: rgba(0, 245, 194, 0.07);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.kontak-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    color: var(--accent-color);
    font-size: 1.3rem;
    transition: all 0.35s ease;
}

.kontak-card:not(.static):hover .kontak-icon {
    background: var(--accent-color);
    color: #04211b;
    box-shadow: 0 0 22px rgba(0, 245, 194, 0.5);
}

.kontak-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kontak-label {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.kontak-value {
    font-size: 0.98rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.kontak-arrow {
    margin-left: auto;
    color: var(--accent-color);
    font-size: 0.8rem;
    opacity: 0.6;
    transition: all 0.35s ease;
}

.kontak-card:hover .kontak-arrow {
    opacity: 1;
    transform: translate(3px, -3px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(0, 245, 194, 0.12);
    padding: calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 3);
    text-align: center;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-logo {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 3);
    list-style: none;
    margin: calc(var(--spacing-unit) * 2) 0 calc(var(--spacing-unit) * 3);
}

.footer-nav a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.footer-copy {
    margin-top: 6px;
    font-size: 0.8rem;
    opacity: 0.75;
}

/* ============================================
   TOMBOL KE ATAS
   ============================================ */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-color);
    color: #04211b;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    box-shadow: 0 10px 28px rgba(0, 245, 194, 0.35);
    transition: all 0.35s ease;
    z-index: 900;
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 245, 194, 0.55);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing-unit) * 3);
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(6px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 100%;
    text-align: center;
    animation: zoomIn 0.35s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
    width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 0 50px rgba(0, 245, 194, 0.32);
}

.lightbox-caption {
    margin-top: calc(var(--spacing-unit) * 2);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: #ff6b6b;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.animate-left,
.animate-right,
.animate-up,
.animate-stagger {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.animate-left    { transform: translateX(-45px); }
.animate-right   { transform: translateX(45px); }
.animate-up      { transform: translateY(45px); }
.animate-stagger { transform: translateY(35px); }

.animate-left.reveal,
.animate-right.reveal,
.animate-up.reveal,
.animate-stagger.reveal {
    opacity: 1;
    transform: translate(0, 0);
}

.animate-stagger:nth-child(1) { transition-delay: 0.05s; }
.animate-stagger:nth-child(2) { transition-delay: 0.15s; }
.animate-stagger:nth-child(3) { transition-delay: 0.25s; }
.animate-stagger:nth-child(4) { transition-delay: 0.35s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container,
    .about-layout,
    .biodata-layout {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 6);
    }

    .hero-image {
        order: -1;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-stats {
        justify-content: center;
    }

    .about-aside,
    .id-card {
        position: static;
    }

    .about-aside {
        max-width: 460px;
        margin: 0 auto;
        width: 100%;
    }

    .id-card {
        max-width: 460px;
        margin: 0 auto;
        width: 100%;
    }

    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .galeri-featured {
        grid-row: span 1;
        grid-column: span 2;
    }

    .galeri-featured img {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    section {
        padding: calc(var(--spacing-unit) * 9) calc(var(--spacing-unit) * 2.5);
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(7, 10, 9, 0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(0, 245, 194, 0.15);
        flex-direction: column;
        align-items: center;
        padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 2);
        gap: calc(var(--spacing-unit) * 2.5);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        font-size: 1rem;
    }

    .hero-section {
        min-height: auto;
        padding-top: 108px;
    }

    .photo-chip-top {
        left: -10px;
        top: 14px;
    }

    .photo-chip-bottom {
        right: -10px;
        bottom: 20px;
    }

    .scroll-hint {
        display: none;
    }

    .shape5,
    .shape6 {
        display: none;
    }

    .bio-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .bio-val {
        text-align: left;
    }

    .bio-row:hover {
        padding-left: calc(var(--spacing-unit) * 3);
    }

    .galeri-grid {
        grid-template-columns: 1fr;
    }

    .galeri-featured {
        grid-column: span 1;
    }

    .galeri-item img,
    .galeri-featured img {
        aspect-ratio: 4 / 5;
    }

    .cta-card {
        padding: calc(var(--spacing-unit) * 5) calc(var(--spacing-unit) * 2.5);
    }

    .timeline {
        padding: calc(var(--spacing-unit) * 3);
    }

    .lightbox-close {
        top: -44px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 calc(var(--spacing-unit) * 2);
    }

    .hero-stats {
        gap: calc(var(--spacing-unit) * 3);
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .btn-primary,
    .btn-ghost {
        width: 100%;
        text-align: center;
    }

    .id-card-body {
        flex-direction: column;
        text-align: center;
    }

    .id-card-foot {
        grid-template-columns: 1fr;
    }

    .id-card-foot > div {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .id-card-foot > div:last-child {
        border-bottom: none;
    }

    .marquee-track span {
        font-size: 0.85rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }
}

/* Hormati preferensi pengguna yang membatasi animasi */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-left,
    .animate-right,
    .animate-up,
    .animate-stagger {
        opacity: 1;
        transform: none;
    }
}
