/* Dian Febrianti Portfolio
   Edit warna utama pada :root untuk menyesuaikan tampilan. */
:root {
  --ink: #f1eee8;
  --muted: #aaa8b2;
  --paper: #101116;
  --purple: #c6a76a;
  --purple-dark: #ad8d50;
  --lavender: #292722;
  --line: #2d2e35;
  --white: #191a20;
  --orange: #d7b77a;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(16,17,22,.92); backdrop-filter: blur(16px); border-bottom: 1px solid #2d2e35; }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-size: 15px; font-weight: 800; letter-spacing: -.3px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--purple); border-radius: 11px; box-shadow: 0 6px 16px #7357e833; }
.brand-dot { color: var(--purple); }
.nav-links { display: flex; align-items: center; gap: 34px; color: #b6b2bf; font-size: 13px; font-weight: 600; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--purple); }
.nav-contact { padding: 11px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink) !important; background: #191a20; }
.nav-contact span { color: var(--purple); margin-left: 8px; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 25px; color: var(--ink); cursor: pointer; }
.hero { min-height: 590px; padding-block: 82px 75px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 55px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid #39342a; border-radius: 999px; background: #24221d; color: #d9bf88; font-size: 11px; font-weight: 700; letter-spacing: .2px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #64bf8a; box-shadow: 0 0 0 4px #64bf8a22; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, sans-serif; }
h1 { max-width: 620px; margin: 22px 0 20px; font-size: clamp(39px, 4.5vw, 59px); line-height: 1.12; letter-spacing: -2.7px; font-weight: 800; }
.gradient-text { color: var(--purple); }
.hero-description { max-width: 570px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 0 19px; border-radius: 13px; font-size: 13px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--purple); box-shadow: 0 9px 22px #7357e833; }
.button-primary:hover { background: var(--purple-dark); }
.button-secondary { background: #191a20; border: 1px solid var(--line); }
.button-secondary span { color: var(--purple); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 33px; color: #88869a; font-size: 11px; }
.note-line { width: 26px; height: 1px; background: #bdb4ee; }
.hero-art { min-height: 410px; position: relative; display: grid; place-items: center; }
.art-glow { position: absolute; width: 350px; height: 350px; border-radius: 50%; background: radial-gradient(circle, #302a20 0%, #1d1c1b 55%, transparent 72%); }
.profile-card { z-index: 1; position: relative; width: 275px; min-height: 355px; padding: 22px 25px; background: rgba(27,28,34,.96); border: 1px solid #383840; border-radius: 24px; box-shadow: 0 24px 70px #4a368b1c; transform: rotate(2deg); }
.profile-top, .profile-bottom { display: flex; align-items: center; justify-content: space-between; }
.tiny-label { color: #a9a5af; font-size: 8px; letter-spacing: 1.4px; font-weight: 700; }
.card-menu { color: #a9a5af; letter-spacing: 2px; }
.avatar-placeholder { width: 145px; height: 172px; margin: 23px auto 19px; display: grid; place-items: center; position: relative; border-radius: 28px; color: var(--purple); background: linear-gradient(145deg, #393329, #5a4930); font: 800 28px Manrope, sans-serif; }
.avatar-placeholder img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 35%; border-radius: inherit; position: relative; z-index: 1; }
.avatar-placeholder::before { content: ""; position: absolute; width: 159px; height: 186px; border: 1px solid #51432b; border-radius: 33px; transform: rotate(12deg); }
.avatar-placeholder i { position: absolute; right: -2px; bottom: -1px; width: 18px; height: 18px; background: #86b69a; border: 4px solid #1b1c22; border-radius: 50%; }
.profile-label { margin: 0 0 3px; color: #aaa6b2; font-size: 9px; font-weight: 800; letter-spacing: 1.6px; }
.profile-card h2 { margin: 0; font-size: 30px; line-height: 1.12; letter-spacing: -1.3px; }
.profile-role { margin: 11px 0 18px; color: #aaa6b2; font-size: 11px; line-height: 1.7; }
.profile-divider { height: 1px; background: #35343d; }
.profile-bottom { margin-top: 14px; color: #aaa6b2; font-size: 9px; }
.arrow-circle { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--lavender); color: var(--purple); font-size: 14px; }
.floating-chip { z-index: 2; position: absolute; display: flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid #ffffff; border-radius: 13px; background: #191a20; box-shadow: var(--shadow); color: #696579; font-size: 10px; font-weight: 700; }
.chip-top { top: 47px; right: -1px; transform: rotate(3deg); }
.chip-bottom { bottom: 46px; left: -8px; transform: rotate(-4deg); }
.chip-icon { color: #f0a16d; font-size: 19px; }
.code-icon { color: var(--purple); font-size: 14px; }
.art-spark { position: absolute; color: #a99af5; }
.spark-one { top: 69px; left: 25px; font-size: 26px; }
.spark-two { right: 24px; bottom: 75px; font-size: 22px; }
.quick-facts { background: #191a20; border-block: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 25px; }
.fact { display: flex; align-items: center; gap: 13px; padding-inline: 22px; border-right: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact:last-child { border: 0; }
.fact-number { color: #c6a76a; font: 800 12px Manrope, sans-serif; }
.fact div { display: flex; flex-direction: column; }
.fact strong { font-size: 12px; }
.fact div span { color: #aaa6b2; font-size: 10px; }
.section { padding-block: 105px; }
.section-kicker { margin-bottom: 13px; color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: 1.8px; }
.section-heading h2, .contact-inner h2 { margin-bottom: 16px; font-size: clamp(29px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -1.7px; }
.muted-heading { color: #aaa7b8; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 75px; align-items: start; margin-top: 42px; }
.about-lead { position: relative; padding: 28px 28px 30px; background: #25241f; border-radius: 20px; }
.quote-mark { display: block; height: 40px; color: var(--purple); font: 800 55px Georgia, serif; line-height: 1; }
.about-lead p { margin: 12px 0 0; font: 700 20px/1.55 Manrope, sans-serif; letter-spacing: -.5px; }
.about-text p { color: var(--muted); font-size: 13px; line-height: 1.95; }
.about-tags, .project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.about-tags span, .project-tags span { padding: 6px 10px; color: #6e5ac9; background: #25241f; border-radius: 7px; font-size: 10px; font-weight: 700; }
.skills-section { background: #15161c; }
.section-intro { max-width: 530px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 35px; }
.skill-card { min-height: 235px; padding: 24px 21px; background: #191a20; border: 1px solid #efedf6; border-radius: 18px; transition: transform .2s, box-shadow .2s; }
.skill-card:hover, .project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.skill-icon { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 23px; border-radius: 13px; font-size: 21px; font-weight: 700; }
.icon-purple { background: #30291f; color: #d5b878; }
.icon-orange { background: #34271f; color: #d9a171; font-size: 15px; }
.icon-green { background: #1f3029; color: #8cc8a6; }
.icon-blue { background: #202b38; color: #8eb9e8; }
.skill-card h3 { margin-bottom: 8px; font-size: 15px; letter-spacing: -.3px; }
.skill-card p { min-height: 65px; margin-bottom: 15px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.skill-level { display: inline-block; color: #a7a3ae; font-size: 9px; font-weight: 700; }
.project-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.project-heading .section-intro { max-width: 350px; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 35px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: #191a20; transition: transform .2s, box-shadow .2s; }
.project-preview { height: 210px; position: relative; overflow: hidden; display: grid; place-items: center; }
.project-image-preview { background: #22232a; padding: 0; }
.project-image-preview.figma-preview { height: 320px; background: #f5f3ee; }
.project-screenshot { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; background: #f5f3ee; }
.project-image-preview.figma-preview .project-screenshot { width: auto; max-width: 25%; height: 200%; object-fit: contain; margin-inline: auto; }
.project-image-preview .preview-label { padding: 6px 8px; border-radius: 6px; color: #f4e8c9; background: rgba(20, 20, 24, .82); }
.preview-one { background: linear-gradient(135deg, #28242d, #342b25); }
.browser-bar { position: absolute; top: 24px; width: 76%; height: 24px; display: flex; align-items: center; gap: 4px; padding-inline: 9px; border-radius: 7px 7px 0 0; background: #191a20; box-shadow: 0 8px 20px #44365a12; }
.browser-bar i { width: 5px; height: 5px; border-radius: 50%; background: #d6d0e6; }
.browser-bar span { margin-left: auto; color: #aaa4ba; font-size: 6px; }
.mock-content { width: 76%; height: 126px; margin-top: 30px; padding: 22px 17px; background: #191a20; border-radius: 0 0 8px 8px; box-shadow: 0 12px 30px #44365a12; }
.mock-line { height: 7px; margin-bottom: 8px; border-radius: 6px; background: #5a4b31; }
.mock-line.long { width: 65%; height: 11px; background: #c6a76a; }
.mock-line.short { width: 42%; background: #34343d; }
.mock-button { width: 46px; height: 12px; margin-top: 11px; border-radius: 4px; background: #a9854c; }
.mock-panels { display: flex; gap: 7px; margin-top: 14px; }
.mock-panels i { flex: 1; height: 22px; border-radius: 4px; background: #292a32; }
.preview-two { background: linear-gradient(135deg, #1e302b, #2d293b); }
.dashboard { width: 76%; height: 145px; display: flex; overflow: hidden; border-radius: 9px; background: #191a20; box-shadow: 0 12px 30px #44365a14; }
.dash-sidebar { width: 23px; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 12px; background: #806b43; }
.dash-sidebar b { color: white; font-size: 10px; }
.dash-sidebar i { width: 8px; height: 5px; border-radius: 2px; background: #d4bb83; }
.dash-main { flex: 1; padding: 13px; }
.dash-title { width: 55%; height: 7px; border-radius: 4px; background: #49454b; }
.dash-stats { display: flex; gap: 6px; margin-top: 12px; }
.dash-stats i { flex: 1; height: 24px; border-radius: 4px; background: #2b2c33; }
.dash-chart { height: 44px; display: flex; align-items: end; gap: 5px; margin-top: 9px; padding: 0 8px; border-bottom: 1px solid #eeeaf6; }
.dash-chart span { flex: 1; border-radius: 3px 3px 0 0; background: #b89b61; }
.dash-chart span:nth-child(1) { height: 35%; }.dash-chart span:nth-child(2) { height: 70%; }.dash-chart span:nth-child(3) { height: 48%; }.dash-chart span:nth-child(4) { height: 90%; }.dash-chart span:nth-child(5) { height: 61%; }.dash-chart span:nth-child(6) { height: 78%; }.dash-chart span:nth-child(7) { height: 52%; }
.dash-table { display: flex; gap: 5px; margin-top: 9px; }.dash-table i { flex: 1; height: 4px; border-radius: 3px; background: #383840; }
.preview-three { background: linear-gradient(135deg, #35271f, #29253a); }
.phone-mock { width: 83px; height: 164px; padding: 17px 10px 10px; position: relative; border: 4px solid #fff; border-radius: 17px; background: #191a20; box-shadow: 0 12px 30px #44365a18; }
.phone-notch { position: absolute; top: 5px; left: 28px; width: 20px; height: 4px; border-radius: 5px; background: #ded9e9; }
.phone-topline { width: 38px; height: 5px; margin: 4px 0 9px; border-radius: 3px; background: #c6a76a; }
.phone-hero { height: 45px; border-radius: 6px; background: linear-gradient(135deg, #756343, #42362b); }
.phone-line { height: 5px; margin-top: 8px; border-radius: 4px; background: #42414a; }.phone-line.small { width: 60%; margin-top: 5px; }
.phone-button { height: 12px; width: 40px; margin-top: 8px; border-radius: 4px; background: #b79a5d; }
.phone-list { display: flex; gap: 4px; margin-top: 8px; }.phone-list i { flex: 1; height: 15px; border-radius: 3px; background: #303139; }
.preview-label { position: absolute; right: 13px; bottom: 12px; color: #8b80b8; font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }
.project-info { padding: 20px; }
.project-meta { display: flex; justify-content: space-between; color: #a7a3ae; font-size: 9px; font-weight: 700; }
.project-info h3 { margin: 12px 0 8px; font-size: 17px; letter-spacing: -.4px; }
.project-info p { min-height: 62px; margin-bottom: 16px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.project-tags span { padding: 5px 8px; font-size: 9px; }
.project-disclaimer { margin: 18px 0 0; color: #aaa6b2; font-size: 10px; }
.contact-section { padding-block: 76px; color: white; background: #191a20; }
.contact-inner { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 80px; }
.contact-section .section-kicker { color: #d8bd80; }
.contact-inner h2 { margin-bottom: 18px; font-size: clamp(36px, 4vw, 48px); }
.contact-inner h2 .brand-dot { color: #d8bd80; }
.contact-inner > div:first-child > p:last-child { max-width: 420px; margin-bottom: 0; color: #b8b4c0; font-size: 13px; line-height: 1.9; }
.contact-links { display: flex; flex-direction: column; gap: 10px; }
.contact-links > a { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid #393a43; border-radius: 13px; transition: background .2s; }
.contact-links > a:hover { background: #24252c; }
.contact-symbol { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: #dfc991; background: #393124; }
.contact-links a > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; }
.contact-links small { color: #aaa6b2; font-size: 9px; }
.contact-links strong { font-size: 11px; font-weight: 600; }
.contact-arrow { color: #d8bd80; }
.contact-hint { color: #96929d; font-size: 9px; }
.footer { padding-block: 22px; background: #101116; color: #a8a5b0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { color: white; font-size: 12px; }.footer-brand .brand-mark { width: 29px; height: 29px; border-radius: 9px; }
.footer p, .back-top { margin: 0; color: #96929d; font-size: 10px; }
.back-top:hover { color: white; }

@media (max-width: 900px) {
  .hero { gap: 20px; padding-block: 60px; }
  h1 { font-size: clamp(37px, 5vw, 50px); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 35px; }
  .projects-grid { gap: 13px; }
  .project-info { padding: 16px; }
  .project-preview { height: 180px; }
  .contact-inner { gap: 35px; }
  .fact { padding-inline: 12px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 36px, 520px); }
  .nav { min-height: 68px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 67px; left: 0; right: 0; padding: 18px; flex-direction: column; align-items: stretch; gap: 0; background: #191a20; border-bottom: 1px solid var(--line); box-shadow: 0 15px 24px #33264a0c; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 10px; }
  .nav-contact { margin-top: 6px; text-align: center; }
  .hero { grid-template-columns: 1fr; padding-block: 54px 35px; gap: 12px; }
  h1 { max-width: 500px; font-size: clamp(39px, 10vw, 53px); letter-spacing: -2px; }
  .hero-description { font-size: 13px; }
  .hero-art { min-height: 370px; margin-top: 3px; }
  .profile-card { transform: scale(.94) rotate(2deg); }
  .chip-top { right: 0; top: 35px; }
  .chip-bottom { left: 0; bottom: 31px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; padding-block: 23px; }
  .fact { padding-inline: 10px; border: 0; }
  .fact:first-child { padding-left: 10px; }
  .section { padding-block: 72px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .about-lead p { font-size: 18px; }
  .skills-grid { gap: 12px; }
  .skill-card { padding: 18px 15px; min-height: 230px; }
  .skill-card h3 { font-size: 14px; }
  .skill-card p { font-size: 10px; }
  .project-heading { display: block; }
  .project-heading .section-intro { margin-top: 8px; }
  .projects-grid { grid-template-columns: 1fr; gap: 18px; }
  .project-preview { height: 220px; }
  .project-info { padding: 20px; }
  .project-info p { min-height: 0; }
  .contact-section { padding-block: 60px; }
  .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { order: 3; flex-basis: 100%; }
}
@media (max-width: 370px) {
  .container { width: calc(100% - 28px); }
  .skills-grid { grid-template-columns: 1fr; }
  .skill-card { min-height: 0; }
  .skill-card p { min-height: 0; }
  .contact-links strong { font-size: 10px; }
}


/* Final dark-elegant theme overrides */
body { background: #101116; color: #f1eee8; }
.site-header { background: rgba(16,17,22,.92); border-bottom-color: #2d2e35; }
.nav-contact, .skill-card, .project-card { background: #191a20; border-color: #303139; }
.button-secondary { background: #1b1c22; border-color: #383840; color: #f1eee8; }
.quick-facts { background: #15161b; border-color: #2d2e35; }
.fact { border-right-color: #303139; }
.about-lead { background: #24221d; }
.about-lead p { color: #f1eee8; }
.skills-section { background: #15161c; }
.skill-card p, .project-info p, .hero-description, .about-text p, .section-intro { color: #aaa8b2; }
.project-card { box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.project-tags span, .about-tags span { background: #30291f; color: #d9bf88; }
.profile-divider { background: #383840; }
.profile-role, .profile-bottom, .tiny-label, .profile-label { color: #aaa6b2; }
.avatar-placeholder img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 35%; border-radius: inherit; position: relative; z-index: 1; }
.avatar-placeholder::before { border-color: #51432b; }
.art-glow { opacity: .95; }
.contact-section { background: #191a20; border-top: 1px solid #2d2e35; }
.footer { background: #0b0c10; }
.mock-content, .browser-bar, .dashboard { background: #202128; }
.mock-line.short, .mock-panels i, .dash-stats i, .phone-list i { background: #34343d; }
.dash-title, .dash-table i, .phone-line { background: #49454b; }
.phone-mock { background: #202128; border-color: #34343d; }
.phone-notch { background: #5a5962; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
